/[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.43 by akim, Mon Aug 25 15:16:24 2003 UTC revision 1.44 by eggert, Tue Sep 30 20:11:29 2003 UTC
# Line 115  int current_prec = 0; Line 115  int current_prec = 0;
115    
116  %token  %token
117    PERCENT_DEBUG           "%debug"    PERCENT_DEBUG           "%debug"
118      PERCENT_DEFAULT_PREC    "%default-prec"
119    PERCENT_DEFINE          "%define"    PERCENT_DEFINE          "%define"
120    PERCENT_DEFINES         "%defines"    PERCENT_DEFINES         "%defines"
121    PERCENT_ERROR_VERBOSE   "%error-verbose"    PERCENT_ERROR_VERBOSE   "%error-verbose"
# Line 240  grammar_declaration: Line 241  grammar_declaration:
241          symbol_printer_set (list->sym, $1, list->location);          symbol_printer_set (list->sym, $1, list->location);
242        symbol_list_free ($2);        symbol_list_free ($2);
243      }      }
244    | "%default-prec" INT
245        {
246          if (0 <= $2 && $2 <= 1)
247            default_prec = $2;
248          else
249            complain_at (@1, _("invalid value for `%default-prec'"));
250        }
251  ;  ;
252    
253  symbol_declaration:  symbol_declaration:

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

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