Lines Matching full:loc
62 symbol_new (uniqstr tag, location loc)
71 yacc_at (loc, _("POSIX Yacc forbids dashes in symbol names: %s"),
75 res->location = loc;
177 symbol_type_set (symbol *sym, uniqstr type_name, location loc)
182 symbol_redeclaration (sym, "%type", sym->type_location, loc);
185 sym->type_location = loc;
306 symbol_precedence_set (symbol *sym, int prec, assoc a, location loc)
312 loc);
315 sym->prec_location = loc;
319 symbol_class_set (sym, token_sym, loc, false);
328 symbol_class_set (symbol *sym, symbol_class class, location loc, bool declaring)
332 complain_at (loc, _("symbol %s redefined"), sym->tag);
346 warn_at (loc, _("symbol %s redeclared"), sym->tag);
357 symbol_user_token_number_set (symbol *sym, int user_token_number, location loc)
367 complain_at (loc, _("redefining user token number of %s"), sym->tag);
412 symbol_make_alias (symbol *sym, symbol *str, location loc)
415 warn_at (loc, _("symbol %s used more than once as a literal string"),
418 warn_at (loc, _("symbol %s given more than one literal string"),
428 symbol_type_set (str, sym->type_name, loc);
662 symbol_from_uniqstr (const uniqstr key, location loc)
674 entry = symbol_new (key, loc);
713 symbol_get (const char *key, location loc)
715 return symbol_from_uniqstr (uniqstr_new (key), loc);
737 dummy_symbol_get (location loc)
746 sym = symbol_get (buf, loc);