Home
last modified time | relevance | path

Searched refs:named_ref (Results 1 – 14 of 14) sorted by relevance

/external/bison/src/
Dnamed-ref.h28 typedef struct named_ref struct
35 } named_ref; typedef
38 named_ref *named_ref_new (uniqstr id, location loc);
41 named_ref *named_ref_copy (const named_ref *r);
44 void named_ref_free (named_ref *r);
Dnamed-ref.c25 named_ref *
28 named_ref *res = xmalloc (sizeof *res); in named_ref_new()
36 named_ref *
37 named_ref_copy (const named_ref *r) in named_ref_copy()
43 named_ref_free (named_ref *r) in named_ref_free()
Dscan-code.h73 named_ref *named_ref; member
140 named_ref *name);
Dreader.h47 named_ref *lhs_named_ref);
54 named_ref *nref);
56 named_ref *nref);
Dparse-gram.y68 static named_ref *current_lhs_named_ref;
76 current_lhs(symbol *sym, location loc, named_ref *ref) in current_lhs()
124 named_ref *named_ref; member
225 %type <named_ref> named_ref.opt
560 id_colon named_ref.opt { current_lhs ($1, @1, $2); } rhses.1
577 | rhs symbol named_ref.opt
579 | rhs "{...}" named_ref.opt
589 named_ref.opt:
Dsymlist.c51 res->named_ref = NULL; in symbol_list_sym_new()
71 res->named_ref = NULL; in symbol_list_type_new()
89 res->named_ref = NULL; in symbol_list_default_tagged_new()
107 res->named_ref = NULL; in symbol_list_default_tagless_new()
154 named_ref_free (node->named_ref); in symbol_list_free()
Dscan-code.l322 named_ref* hidden_by;
567 if (var && l->named_ref) in parse_ref()
568 var->hidden_by = l->named_ref; in parse_ref()
570 if (l->named_ref) in parse_ref()
571 variant_add (l->named_ref->id, l->named_ref->loc, in parse_ref()
897 self->named_ref = NULL; in code_props_plain_init()
909 self->named_ref = NULL; in code_props_symbol_action_init()
915 named_ref *name) in code_props_rule_action_init()
922 self->named_ref = name; in code_props_rule_action_init()
Dreader.c198 assign_named_ref (symbol_list *p, named_ref *name) in assign_named_ref()
210 p->named_ref = name; in assign_named_ref()
227 named_ref *lhs_name) in grammar_current_rule_begin()
380 named_ref *action_name = current_rule->action_props.named_ref; in grammar_midrule_action()
468 named_ref *name) in grammar_current_rule_symbol_append()
482 named_ref *name) in grammar_current_rule_action_append()
Dsymlist.h78 named_ref *named_ref; member
Dparse-gram.h189 named_ref *named_ref; member
Dscan-code.c2511 named_ref* hidden_by;
2756 if (var && l->named_ref) in parse_ref()
2757 var->hidden_by = l->named_ref; in parse_ref()
2759 if (l->named_ref) in parse_ref()
2760 variant_add (l->named_ref->id, l->named_ref->loc, in parse_ref()
3086 self->named_ref = NULL; in code_props_plain_init()
3098 self->named_ref = NULL; in code_props_symbol_action_init()
3104 named_ref *name) in code_props_rule_action_init()
3111 self->named_ref = name; in code_props_rule_action_init()
Dparse-gram.c144 static named_ref *current_lhs_named_ref;
152 current_lhs(symbol *sym, location loc, named_ref *ref) in current_lhs()
348 named_ref *named_ref; member
2745 { current_lhs ((yyvsp[(1) - (2)].symbol), (yylsp[(1) - (2)]), (yyvsp[(2) - (2)].named_ref)); }
2779 …rule_symbol_append ((yyvsp[(2) - (3)].symbol), (yylsp[(2) - (3)]), (yyvsp[(3) - (3)].named_ref)); }
2785 …t_rule_action_append ((yyvsp[(2) - (3)].code), (yylsp[(2) - (3)]), (yyvsp[(3) - (3)].named_ref)); }
2809 { (yyval.named_ref) = 0; }
2815 { (yyval.named_ref) = named_ref_new((yyvsp[(1) - (1)].uniqstr), (yylsp[(1) - (1)])); }
/external/bison/
DChangeLog878 src/reader.h:56: warning: declaration of 'named_ref' shadows a
890 * src/reader.h: Don't use "named_ref" as a formal argument name.
DChangeLog-20121937 named_ref arg to name so it doesn't shadow named_ref type. This
2421 * src/parse-gram.y: Add new syntax (named_ref.opt).
2425 * src/scan-code.h: Add new field (named_ref) into
2432 * src/symlist.h: New field in symbol list: named_ref.
2433 * src/named-ref.h: New file, a struct for named_ref.