/[bison]/bison/src/parse-gram.y
ViewVC logotype

Diff of /bison/src/parse-gram.y

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.44 by eggert, Tue Sep 30 20:11:29 2003 UTC revision 1.45 by eggert, Wed Oct 1 21:33:24 2003 UTC
# Line 126  int current_prec = 0; Line 126  int current_prec = 0;
126    PERCENT_LEX_PARAM       "%lex-param {...}"    PERCENT_LEX_PARAM       "%lex-param {...}"
127    PERCENT_LOCATIONS       "%locations"    PERCENT_LOCATIONS       "%locations"
128    PERCENT_NAME_PREFIX     "%name-prefix"    PERCENT_NAME_PREFIX     "%name-prefix"
129      PERCENT_NO_DEFAULT_PREC "%no-default-prec"
130    PERCENT_NO_LINES        "%no-lines"    PERCENT_NO_LINES        "%no-lines"
131    PERCENT_NONDETERMINISTIC_PARSER    PERCENT_NONDETERMINISTIC_PARSER
132                            "%nondeterministic-parser"                            "%nondeterministic-parser"
# Line 241  grammar_declaration: Line 242  grammar_declaration:
242          symbol_printer_set (list->sym, $1, list->location);          symbol_printer_set (list->sym, $1, list->location);
243        symbol_list_free ($2);        symbol_list_free ($2);
244      }      }
245  | "%default-prec" INT  | "%default-prec"
246      {      {
247        if (0 <= $2 && $2 <= 1)        default_prec = true;
248          default_prec = $2;      }
249        else  | "%no-default-prec"
250          complain_at (@1, _("invalid value for `%default-prec'"));      {
251          default_prec = false;
252      }      }
253  ;  ;
254    

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26