Home | History | Annotate | Download | only in glcpp

Lines Matching full:identifier

99 			  const char *identifier,
106 _parser_active_list_contains (glcpp_parser_t *parser, const char *identifier);
163 %token COMMA_FINAL DEFINED ELIF_EXPANDED HASH HASH_DEFINE FUNC_IDENTIFIER OBJ_IDENTIFIER HASH_ELIF HASH_ELSE HASH_ENDIF HASH_IF HASH_IFDEF HASH_IFNDEF HASH_LINE HASH_UNDEF HASH_VERSION IDENTIFIER IF_EXPANDED INTEGER INTEGER_STRING LINE_EXPANDED NEWLINE OTHER PLACEHOLDER SPACE
166 %type <str> IDENTIFIER FUNC_IDENTIFIER OBJ_IDENTIFIER INTEGER_STRING OTHER
239 | HASH_UNDEF IDENTIFIER NEWLINE {
285 | HASH_IFDEF IDENTIFIER junk NEWLINE {
290 | HASH_IFNDEF IDENTIFIER junk NEWLINE {
376 | IDENTIFIER {
461 IDENTIFIER {
466 | identifier_list ',' IDENTIFIER {
498 DEFINED IDENTIFIER {
502 | DEFINED '(' IDENTIFIER ')' {
534 IDENTIFIER {
535 $$ = _token_create_str (parser, IDENTIFIER, $1);
922 case IDENTIFIER:
952 case IDENTIFIER:
1065 if ((token->type == IDENTIFIER || token->type == OTHER || token->type == INTEGER_STRING) &&
1066 (other->type == IDENTIFIER || other->type == OTHER || other->type == INTEGER_STRING))
1377 * although 'node' corresponds to an identifier defined as a
1396 const char *identifier;
1402 identifier = node->token->value.str;
1404 macro = hash_table_find (parser->defines, identifier);
1417 glcpp_error (&node->token->location, parser, "Macro %s call has unbalanced parentheses\n", identifier);
1435 identifier,
1446 if (node->token->type == IDENTIFIER &&
1509 const char *identifier;
1513 if (token->type != IDENTIFIER) {
1525 /* Look up this identifier in the hash table. */
1526 identifier = token->value.str;
1527 macro = hash_table_find (parser->defines, identifier);
1535 if (_parser_active_list_contains (parser, identifier)) {
1536 /* We change the token type here from IDENTIFIER to
1568 /* Push a new identifier onto the parser's active list.
1571 * expansion of 'identifier'. That is, when the list iterator begins
1577 const char *identifier,
1583 node->identifier = ralloc_strdup (node, identifier);
1607 _parser_active_list_contains (glcpp_parser_t *parser, const char *identifier)
1615 if (strcmp (node->identifier, identifier) == 0)
1713 const char *identifier)
1718 if (strstr(identifier, "__")) {
1721 if (strncmp(identifier, "GL_", 3) == 0) {
1744 const char *identifier,
1750 _check_for_reserved_macro_name(parser, loc, identifier);
1756 macro->identifier = ralloc_strdup (macro, identifier);
1760 previous = hash_table_find (parser->defines, identifier);
1767 identifier);
1770 hash_table_insert (parser->defines, macro, identifier);
1776 const char *identifier,
1782 _check_for_reserved_macro_name(parser, loc, identifier);
1790 macro->identifier = ralloc_strdup (macro, identifier);
1792 previous = hash_table_find (parser->defines, identifier);
1799 identifier);
1802 hash_table_insert (parser->defines, macro, identifier);
1854 else if (ret == IDENTIFIER)