Home
last modified time | relevance | path

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

/external/bison/src/
Dreader.c360 grammar_current_rule_dprec_set (int dprec, location loc) in grammar_current_rule_dprec_set() argument
364 if (dprec <= 0) in grammar_current_rule_dprec_set()
366 else if (current_rule->dprec != 0) in grammar_current_rule_dprec_set()
368 current_rule->dprec = dprec; in grammar_current_rule_dprec_set()
435 rules[ruleno].dprec = p->dprec; in packgram()
Doutput.c215 int *dprec = xnmalloc (nrules, sizeof *dprec); in prepare_rules() local
235 dprec[r] = rules[r].dprec; in prepare_rules()
246 muscle_insert_int_table ("dprec", dprec, 0, 0, nrules); in prepare_rules()
257 free (dprec); in prepare_rules()
Dsymlist.h48 int dprec; member
Dreader.h71 void grammar_current_rule_dprec_set (int dprec, location loc);
Dgram.h189 int dprec; member
Dsymlist.c47 res->dprec = 0; in symbol_list_new()
/external/bison/tests/
Dcxx-type.at414 [%dprec 1], [%dprec 2])
420 _AT_TEST_GLR_CXXTYPES([%locations],[%dprec 1],[%dprec 2])
427 [%dprec 1], [%dprec 2])
434 [%dprec 1], [%dprec 2])
Dglr-regression.at672 InterfaceDeclaration : OptConstantWord %dprec 1
673 | OptSignalWord %dprec 2
839 %dprec 2 { $$ = garbage; YYACCEPT; }
840 | %dprec 1 { $$ = garbage; YYACCEPT; }
901 'a' %dprec 2 { USE ($1); destructors += 1; YYACCEPT; }
902 | 'a' %dprec 1 { USE ($1); destructors += 1; YYACCEPT; }
973 alt1 %dprec 1
974 | alt2 %dprec 2
1261 nonconflict1 'a' 'b' nonconflict2 %dprec 1 {
1265 | conflict defstate_look 'a' nonconflict2 'b' defstate_shift %dprec 2 {
[all …]
Dtestsuite60334 stmt : expr ';' %dprec 1 { $$ = $1; }
60335 | decl %dprec 2
61287 stmt : expr ';' %dprec 1 { $$ = $1; }
61288 | decl %dprec 2
65875 'a' %dprec 2 { USE ($1); destructors += 1; YYACCEPT; }
65876 | 'a' %dprec 1 { USE ($1); destructors += 1; YYACCEPT; }
/external/bison/
DNEWS315 %dprec and %merge on grammar rules allow parse-time resolution of
DChangeLog8638 * src/symlist.h: Add dprec and merger fields to symbol_list_s.
8639 * src/symlist.c (symbol_list_new): Initialize dprec and merger fields.
8669 Handle %dprec and %merge declarations.
8670 (packgram): Initialize dprec and merger fields in rules array.
8675 (prepare_rules): Output dprec and merger tables.
8707 * src/gram.h (rule_s): Add dprec and merger fields.
8712 * src/options.c (option_table): Add %dprec, %merge, and %glr-parser.
8717 (Table of Symbols): Add %dprec, %glr-parser, %merge, GLR
8730 * src/scan-gram.l: Add %dprec, %glr-parser, %merge.
8732 * src/parse-gram.y: Grammar for %dprec, %merge, %glr-parser.
/external/bison/doc/
Dbison.texinfo935 @findex %dprec
963 stmt : expr ';' %dprec 1
964 | decl %dprec 2
1011 In the example above, the two @code{%dprec}
1021 The @code{%dprec} declarations only come into play when more than one
5806 has the highest dynamic precedence, as set by the @samp{%dprec}
8194 @deffn {Directive} %dprec
8695 @c LocalWords: glr YYSTYPE TYPENAME prog dprec printf decl init stmtMerge
Dbison.info1205 stmt : expr ';' %dprec 1
1206 | decl %dprec 2
1247 above, the two `%dprec' declarations specify that Bison is to give
1253 The `%dprec' declarations only come into play when more than one
5363 the highest dynamic precedence, as set by the `%dprec' declaration.
7483 -- Directive: %dprec
8382 * %dprec <1>: Table of Symbols. (line 64)
8383 * %dprec: Merging GLR Parses. (line 6)