/[bison]/bison/tests/cxx-type.at
ViewVC logotype

Diff of /bison/tests/cxx-type.at

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

revision 1.12 by eggert, Thu Nov 21 05:28:44 2002 UTC revision 1.13 by hilfinger, Wed Jan 29 23:39:11 2003 UTC
# Line 72  stmt : expr ';'  $2 Line 72  stmt : expr ';'  $2
72       | '@'  { YYACCEPT; }       | '@'  { YYACCEPT; }
73       ;       ;
74    
75  expr : ID               { printf ("%s ", $$); }  expr : ID               { printf ("%s ", ]$[1); }
76       | TYPENAME '(' expr ')'       | TYPENAME '(' expr ')'
77                          { printf ("%s <cast> ", ]$[1); }                          { printf ("%s <cast> ", ]$[1); }
78       | expr '+' expr    { printf ("+ "); }       | expr '+' expr    { printf ("+ "); }

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

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