Home
last modified time | relevance | path

Searched refs:dprec (Results 1 – 13 of 13) sorted by relevance

/external/bison/src/
Dreader.c438 grammar_current_rule_dprec_set (int dprec, location loc) in grammar_current_rule_dprec_set() argument
442 if (dprec <= 0) in grammar_current_rule_dprec_set()
444 else if (current_rule->dprec != 0) in grammar_current_rule_dprec_set()
446 current_rule->dprec = dprec; in grammar_current_rule_dprec_set()
523 rules[ruleno].dprec = p->dprec; in packgram()
Doutput.c227 int *dprec = xnmalloc (nrules, sizeof *dprec); in prepare_rules() local
247 dprec[r] = rules[r].dprec; in prepare_rules()
258 muscle_insert_int_table ("dprec", dprec, 0, 0, nrules); in prepare_rules()
269 free (dprec); in prepare_rules()
Dreader.h51 void grammar_current_rule_dprec_set (int dprec, location loc);
Dsymlist.h73 int dprec; member
Dgram.h189 int dprec; member
Dsymlist.c48 res->dprec = 0; in symbol_list_sym_new()
/external/bison/tests/
Dcxx-type.at396 [%dprec 1], [%dprec 2])
402 _AT_TEST_GLR_CXXTYPES([%locations],[%dprec 1],[%dprec 2])
409 [%dprec 1], [%dprec 2])
416 [%dprec 1], [%dprec 2])
Dglr-regression.at686 InterfaceDeclaration : OptConstantWord %dprec 1
687 | OptSignalWord %dprec 2
850 %dprec 2 { $$ = garbage; YYACCEPT; }
851 | %dprec 1 { $$ = garbage; YYACCEPT; }
904 'a' %dprec 2 { USE ($1); destructors += 1; YYACCEPT; }
905 | 'a' %dprec 1 { USE ($1); destructors += 1; YYACCEPT; }
969 alt1 %dprec 1
970 | alt2 %dprec 2
1240 nonconflict1 'a' 'b' nonconflict2 %dprec 1 {
1244 | conflict defstate_look 'a' nonconflict2 'b' defstate_shift %dprec 2 {
[all …]
/external/bison/po/
Dde.po1275 #~ msgid "only one %%dprec allowed per rule"
1276 #~ msgstr "nur ein %%dprec pro Regel erlaubt"
/external/bison/
DNEWS1615 %dprec and %merge on grammar rules allow parse-time resolution of
2042 LocalWords: Heriyanto Reenable dprec Hilfinger Eggert MYEOF Folle Menezes EOF
DChangeLog-201216899 * src/symlist.h: Add dprec and merger fields to symbol_list_s.
16900 * src/symlist.c (symbol_list_new): Initialize dprec and merger fields.
16930 Handle %dprec and %merge declarations.
16931 (packgram): Initialize dprec and merger fields in rules array.
16936 (prepare_rules): Output dprec and merger tables.
16968 * src/gram.h (rule_s): Add dprec and merger fields.
16973 * src/options.c (option_table): Add %dprec, %merge, and %glr-parser.
16978 (Table of Symbols): Add %dprec, %glr-parser, %merge, GLR
16991 * src/scan-gram.l: Add %dprec, %glr-parser, %merge.
16993 * src/parse-gram.y: Grammar for %dprec, %merge, %glr-parser.
/external/bison/doc/
Dbison.texi983 @findex %dprec
1013 expr ';' %dprec 1
1014 | decl %dprec 2
1064 In the example above, the two @code{%dprec}
1074 The @code{%dprec} declarations only come into play when more than one
7886 has the highest dynamic precedence, as set by the @samp{%dprec}
11648 @deffn {Directive} %dprec
12310 @c LocalWords: glr YYSTYPE TYPENAME prog dprec printf decl init stmtMerge POSIX
Dbison.info1629 expr ';' %dprec 1
1630 | decl %dprec 2
1674 above, the two `%dprec' declarations specify that Bison is to give
1680 The `%dprec' declarations only come into play when more than one
7488 the highest dynamic precedence, as set by the `%dprec' declaration.
10818 -- Directive: %dprec
12024 * %dprec <1>: Table of Symbols. (line 119)
12025 * %dprec: Merging GLR Parses. (line 6)