X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/f0064700f86c809c4b91637d3c012e3893ebf637..b36e835baaac5e9dce17ae90d85575a58a1ef829:/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) {