Home | History | Annotate | Download | only in glcpp

Lines Matching defs:IDENTIFIER

177 		   const char *identifier,
184 _active_list_contains (active_list_t *list, const char *identifier);
263 IDENTIFIER = 272,
657 "HASH_IFNDEF", "HASH_UNDEF", "HASH_VERSION", "IDENTIFIER", "IF_EXPANDED",
2399 (yyval.token) = _token_create_str (parser, IDENTIFIER, (yyvsp[(1) - (1)].str));
3191 case IDENTIFIER:
3221 case IDENTIFIER:
3334 if ((token->type == IDENTIFIER || token->type == OTHER || token->type == INTEGER_STRING) &&
3335 (other->type == IDENTIFIER || other->type == OTHER || other->type == INTEGER_STRING))
3578 * although 'node' corresponds to an identifier defined as a
3597 const char *identifier;
3603 identifier = node->token->value.str;
3605 macro = hash_table_find (parser->defines, identifier);
3618 glcpp_error (&node->token->location, parser, "Macro %s call has unbalanced parentheses\n", identifier);
3636 identifier,
3647 if (node->token->type == IDENTIFIER &&
3746 const char *identifier;
3750 if (token->type != IDENTIFIER) {
3762 /* Look up this identifier in the hash table. */
3763 identifier = token->value.str;
3764 macro = hash_table_find (parser->defines, identifier);
3772 if (_active_list_contains (parser->active, identifier)) {
3773 /* We change the token type here from IDENTIFIER to
3802 /* Push a new identifier onto the active list, returning the new list.
3805 * expansion of 'identifier'. That is, when the list iterator begins
3811 const char *identifier,
3817 node->identifier = hieralloc_strdup (node, identifier);
3839 _active_list_contains (active_list_t *list, const char *identifier)
3847 if (strcmp (node->identifier, identifier) == 0)
3943 const char *identifier)
3948 if (strncmp(identifier, "__", 2) == 0) {
3951 if (strncmp(identifier, "GL_", 3) == 0) {
3974 const char *identifier,
3980 _check_for_reserved_macro_name(parser, loc, identifier);
3986 macro->identifier = hieralloc_strdup (macro, identifier);
3989 previous = hash_table_find (parser->defines, identifier);
3996 identifier);
3999 hash_table_insert (parser->defines, macro, identifier);
4005 const char *identifier,
4011 _check_for_reserved_macro_name(parser, loc, identifier);
4017 macro->identifier = hieralloc_strdup (macro, identifier);
4020 previous = hash_table_find (parser->defines, identifier);
4027 identifier);
4030 hash_table_insert (parser->defines, macro, identifier);
4082 else if (ret == IDENTIFIER)