]> git.saurik.com Git - bison.git/blobdiff - tests/cxx-type.at
As in semantic actions, make @$ in %initial-action, %destructor, and
[bison.git] / tests / cxx-type.at
index b716a1d476f95b41627a5f77eedb539954f0960a..260457287f9159f58d33b9dccc006c9cddb58b96 100644 (file)
@@ -163,6 +163,8 @@ yylex (LEX_PARAMETERS)
 
   while (1)
     {
+      if (feof (stdin))
+       abort ();
       c = getchar ();
       switch (c)
        {