/[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.16 by hilfinger, Fri Jun 28 02:26:44 2002 UTC revision 1.17 by akim, Sun Jun 30 17:27:57 2002 UTC
# Line 368  rhs: Line 368  rhs:
368  symbol:  symbol:
369    ID              { $$ = $1; }    ID              { $$ = $1; }
370  | string_as_id    { $$ = $1; }  | string_as_id    { $$ = $1; }
371  | CHARACTER       { $$ = getsym ($1, @1); }  | CHARACTER       { $$ = symbol_get ($1, @1); }
372  ;  ;
373    
374  action:  action:
# Line 380  action: Line 380  action:
380  string_as_id:  string_as_id:
381    STRING    STRING
382      {      {
383        $$ = getsym ($1, @1);        $$ = symbol_get ($1, @1);
384        symbol_class_set ($$, token_sym, @1);        symbol_class_set ($$, token_sym, @1);
385      }      }
386  ;  ;

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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