X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/4e8d992c7d4b826ddfe7183ac7488c9039041179..6d9e8019e18d6c480cfbc8a6bc298c5a6bf3cc4e:/ChangeLog diff --git a/ChangeLog b/ChangeLog index 90cf9337..c9f9cbb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,76 @@ +2002-11-16 Paul Eggert + + * data/yacc.c: Avoid over-quoting of __line__ and __file__. + +2002-11-15 Paul Eggert + + * tests/actions.at (Actions after errors): New test case. + + * data/glr.c, data/lalr1.cc, data/yacc.cc, doc/bison.texinfo, + src/conflicts.c, src/parse-gram.y, src/tables.c, src/tables.h, + tests/action.at, tests/calc.at, tests/conflicts.at, + tests/cxx-type.at, tests/regression.at: + "parse error" -> "syntax error" for POSIX compatibility. + "parsing stack overflow..." -> "parser stack overflow" so + that code matches Bison documentation. + +2002-11-15 Akim Demaille + + * src/parse-gram.y (declaration): Have %parse-param and %lex-param + take two BRACED_CODE, not two string_content. + Free the scanner's obstack when we are done. + (code_content): New. + * tests/calc.at: Adjust. + * doc/bison.texinfo: Adjust. + Also, make sure to include the `,' for these declarations. + +2002-11-15 Tim Van Holder + + * m4/prereq.m4: Removed the commented jm_PREREQ_HASH + definition; avoids potential autoreconf problems. + +2002-11-15 Akim Demaille + + Always check the value returned by yyparse. + + * tests/calc.at (_AT_DATA_CALC_Y): Have `main' exit with the value + returned by yyparse. + (_AT_CHECK_CALC_ERROR): Take the expected exit value as argument. + Adjust calls. + * tests/glr-regr1.at (glr-regr1.y): Have `main' exit with the value + returned by yyparse. + +2002-11-14 Paul Hilfinger + + * data/glr.c (yyFail): Always set yyerrflag. Corrects regression + on input.at test. + +2002-11-14 Paul Eggert + + * src/output.c (output_skeleton): Call xfopen instead of + duplicating xfopen's body. + + Fix bugs reported by Nelson H. F. Beebe in + . + + * tests/headers.at (AT_TEST_CPP_GUARD_H): Don't assume that + "$CC -E foo.h" is allowed, as this doesn't work with the Portland + Group compiler. Instead, use "$CC -E bar.c". Include the .h + file twice in the grammar, as an extra check. + + * tests/input.at (Torturing the Scanner): Surround the + backslash-newline tests with "#if 0", to make it less likely that + we'll run into compiler bugs. Bring back solitary \ inside + comment, but add a closing comment to work around HP C bug. Don't + test backslash-newline in C character constant. This should fix + the input.at bug reported by Nelson H. F. Beebe in + . + 2002-11-14 Akim Demaille * tests/synclines.at (AT_SYNCLINES_COMPILE): Ignore the exit status of the compiler. + Calling `exit 1' is no longer needed. Reported by Nelson H. F. Beebe. 2002-11-14 Akim Demaille @@ -30,13 +99,12 @@ . * tests/input.at (Torturing the Scanner): Don't invoke "cc a.c b.c - -o c"; the HP-UX 11i C compiler chatters during compilation. + -o c"; the HP C compiler chatters during compilation. Instead, invoke "cc -c a.c -o a.o; cc -c b.c -o b.o; cc a.o b.o -o c". * tests/headers.at (export YYLTYPE): Likewise. * tests/input.at (Torturing the Scanner): Remove lines containing - solitary backslashes, as they tickle a bug in the HP-UX 11i C - compiler. + solitary backslashes, as they tickle a bug in the HP C compiler. * tests/glr-regr1.at (Badly Collapsed GLR States): Avoid // comments, since they're not portable. Use GNU coding style.