]> git.saurik.com Git - bison.git/blobdiff - tests/cxx-type.at
Credit Satya for the graphviz change.
[bison.git] / tests / cxx-type.at
index c22c44a8d37f88fb936cb0bc1c346e4963c4baf4..260457287f9159f58d33b9dccc006c9cddb58b96 100644 (file)
@@ -98,7 +98,7 @@ prog :
                             @2.first_line, @2.first_column,
                             @2.last_line, @2.last_column);])[
                        output = node_to_string (]$[2);
-                       printf ("%s\n", output);
+                       printf ("%s\n", output);
                        free (output);
                        free_node (]$[2);
                   }
@@ -163,6 +163,8 @@ yylex (LEX_PARAMETERS)
 
   while (1)
     {
+      if (feof (stdin))
+       abort ();
       c = getchar ();
       switch (c)
        {