Lines Matching defs:pragma
40 /* Contains a registered pragma or pragma namespace. */
45 const cpp_hashnode *pragma; /* Name and length. */
160 D(pragma, T_PRAGMA, STDC89, IN_I) \
783 #pragma dependency. The string is malloced and the caller should
815 dir = UC"pragma dependency";
826 /* This pragma allows extra tokens after the file name. */
1257 /* Lookup a PRAGMA name in a singly-linked CHAIN. Returns the
1259 be the start of a namespace chain, or a pragma. */
1261 lookup_pragma_entry (struct pragma_entry *chain, const cpp_hashnode *pragma)
1263 while (chain && chain->pragma != pragma)
1269 /* Create and insert a blank pragma entry at the beginning of a
1286 /* Register a pragma NAME in namespace SPACE. If SPACE is null, it
1303 entry->pragma = node;
1321 "registering pragma \"%s\" with name expansion "
1332 entry->pragma = node;
1339 "registering \"%s\" as both a pragma and a pragma namespace",
1342 cpp_error (pfile, CPP_DL_ICE, "#pragma %s %s is already registered",
1345 cpp_error (pfile, CPP_DL_ICE, "#pragma %s is already registered", name);
1350 /* Register a cpplib internal pragma SPACE NAME with HANDLER. */
1362 /* Register a pragma NAME in namespace SPACE. If SPACE is null, it
1365 expansion while parsing pragma NAME. This function is exported
1375 cpp_error (pfile, CPP_DL_ICE, "registering pragma with NULL handler");
1387 /* Similarly, but create mark the pragma for deferred processing.
1389 with IDENT in the token->u.pragma slot. */
1449 *sd++ = (char *) xmemdup (HT_STR (&pe->pragma->ident),
1450 HT_LEN (&pe->pragma->ident),
1451 HT_LEN (&pe->pragma->ident) + 1);
1479 pe->pragma = cpp_lookup (pfile, UC *sd, strlen (*sd));
1543 pfile->directive_result.val.pragma = p->u.ident;
1587 /* Handle #pragma once. */
1592 cpp_error (pfile, CPP_DL_WARNING, "#pragma once in main file");
1598 /* Handle #pragma push_macro(STRING). */
1615 "invalid #pragma push_macro directive");
1659 /* Handle #pragma pop_macro(STRING). */
1672 "invalid #pragma pop_macro directive");
1710 /* Handle #pragma GCC poison, to poison one or more identifiers so
1727 "invalid #pragma GCC poison directive");
1758 "#pragma system_header ignored outside include file");
1798 /* Issue a diagnostic with the message taken from the pragma. If
1811 cpp_error (pfile, CPP_DL_ERROR, "invalid \"#pragma GCC %s\" directive",
1878 \" and \\ sequences, and process the result as a #pragma directive. */
1940 /* If we're not handling the pragma internally, read all of the tokens from
1971 if the pragma allowed expansion. */
1981 /* If we handled the entire pragma internally, make sure we get the