]> git.saurik.com Git - bison.git/blobdiff - tests/cxx-type.at
Rename tests/glr-regr1.at to tests/glr-regression.at.
[bison.git] / tests / cxx-type.at
index 41ff56049c5ca844fa91c8dea6e39efb686a219d..d424c870e6f027d8c16cf16e6be700c1100a6a95 100644 (file)
@@ -72,7 +72,7 @@ stmt : expr ';'  $2
      | '@'  { YYACCEPT; }
      ;
 
-expr : ID              { printf ("%s ", $$); }
+expr : ID              { printf ("%s ", ]$[1); }
      | TYPENAME '(' expr ')'
                        { printf ("%s <cast> ", ]$[1); }
      | expr '+' expr   { printf ("+ "); }