/[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.6 by akim, Sat Jun 15 18:21:11 2002 UTC revision 1.7 by akim, Sat Jun 15 18:21:46 2002 UTC
# Line 336  rhs: Line 336  rhs:
336  symbol:  symbol:
337    ID              { $$ = $1; }    ID              { $$ = $1; }
338  | string_as_id    { $$ = $1; }  | string_as_id    { $$ = $1; }
339  | CHARACTER       { $$ = getsym ($1); }  | CHARACTER       { $$ = getsym ($1, @1); }
340  ;  ;
341    
342  action:  action:
# Line 348  action: Line 348  action:
348  string_as_id:  string_as_id:
349    STRING    STRING
350      {      {
351        $$ = getsym ($1);        $$ = getsym ($1, @1);
352        symbol_class_set ($$, token_sym);        symbol_class_set ($$, token_sym);
353      }      }
354  ;  ;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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