X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/0e2f006a23874bfc9f419e030c58670ea5d97627..cf8067530b3e075230051d459782a1074db5b211:/tests/cxx-type.at diff --git a/tests/cxx-type.at b/tests/cxx-type.at index b716a1d4..26045728 100644 --- a/tests/cxx-type.at +++ b/tests/cxx-type.at @@ -163,6 +163,8 @@ yylex (LEX_PARAMETERS) while (1) { + if (feof (stdin)) + abort (); c = getchar (); switch (c) {