CHANGES revision 272954
1272954Srodrigc2014-10-02 Thomas E. Dickey <tom@invisible-island.net> 2272954Srodrigc 3272954Srodrigc * reader.c, defs.h: 4272954Srodrigc use calloc in get_line() when allocating line to ensure it is fully initialized, 5272954Srodrigc fixes a later uninitialized value in copy_param() (FreeBSD #193499). 6272954Srodrigc 7272953Srodrigc2014-07-15 Thomas E. Dickey <tom@invisible-island.net> 8272953Srodrigc 9272953Srodrigc * aclocal.m4: resync with my-autoconf (no change to configure script) 10272953Srodrigc 11272953Srodrigc * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 12272953Srodrigc bump 13272953Srodrigc 14272953Srodrigc * test/run_test.sh: 15272953Srodrigc make top-level "make check" work again, by adding another step to filtering 16272953Srodrigc the test results. 17272953Srodrigc 18272953Srodrigc2014-07-14 Thomas E. Dickey <tom@invisible-island.net> 19272953Srodrigc 20272953Srodrigc * test/run_test.sh: changes from Garrett Cooper's patch: 21272953Srodrigc a) ensure that the script returns an error-code if there are differences 22272953Srodrigc b) escape "." character in left side of sed expression for $YACC 23272953Srodrigc c) ensure that $ifBTYACC has a value 24272953Srodrigc 25272953Srodrigc * test/btyacc/big_b.output, test/btyacc/big_l.output, test/btyacc/help.output, test/btyacc/no_b_opt.output, test/btyacc/no_output2.output, test/btyacc/no_p_opt.output, test/btyacc/nostdin.output: 26272953Srodrigc regen (reminder by Garrett Cooper) 27272953Srodrigc 28272953Srodrigc2014-07-14 Garrett.Cooper 29272953Srodrigc 30272953Srodrigc * test/btyacc/err_inherit1.error, test/btyacc/err_inherit2.error, test/btyacc/err_inherit3.error, test/btyacc/err_inherit4.error, test/btyacc/err_inherit5.error, test/btyacc/err_syntax1.error, test/btyacc/err_syntax10.error, test/btyacc/err_syntax11.error, test/btyacc/err_syntax12.error, test/btyacc/err_syntax13.error, test/btyacc/err_syntax14.error, test/btyacc/err_syntax15.error, test/btyacc/err_syntax16.error, test/btyacc/err_syntax17.error, test/btyacc/err_syntax18.error, test/btyacc/err_syntax19.error, test/btyacc/err_syntax2.error, test/btyacc/err_syntax21.error, test/btyacc/err_syntax22.error, test/btyacc/err_syntax23.error, test/btyacc/err_syntax24.error, test/btyacc/err_syntax25.error, test/btyacc/err_syntax26.error, test/btyacc/err_syntax27.error, test/btyacc/err_syntax3.error, test/btyacc/err_syntax4.error, test/btyacc/err_syntax5.error, test/btyacc/err_syntax6.error, test/btyacc/err_syntax7.error, test/btyacc/err_syntax7a.error, test/btyacc/err_syntax7b.error, test/btyacc/err_syntax8.error, test/btyacc/err_syntax8a.error, test/btyacc/err_syntax9.error, test/yacc/err_syntax1.error, test/yacc/err_syntax10.error, test/yacc/err_syntax11.error, test/yacc/err_syntax12.error, test/yacc/err_syntax13.error, test/yacc/err_syntax14.error, test/yacc/err_syntax15.error, test/yacc/err_syntax16.error, test/yacc/err_syntax17.error, test/yacc/err_syntax18.error, test/yacc/err_syntax19.error, test/yacc/err_syntax2.error, test/yacc/err_syntax21.error, test/yacc/err_syntax22.error, test/yacc/err_syntax23.error, test/yacc/err_syntax24.error, test/yacc/err_syntax25.error, test/yacc/err_syntax26.error, test/yacc/err_syntax27.error, test/yacc/err_syntax3.error, test/yacc/err_syntax4.error, test/yacc/err_syntax5.error, test/yacc/err_syntax6.error, test/yacc/err_syntax7.error, test/yacc/err_syntax7a.error, test/yacc/err_syntax7b.error, test/yacc/err_syntax8.error, test/yacc/err_syntax8a.error, test/yacc/err_syntax9.error: 31272953Srodrigc regen 32272953Srodrigc 33272953Srodrigc2014-05-27 Tom.Shields 34272953Srodrigc 35272953Srodrigc * main.c: remove obsolete -D option from usage message 36272953Srodrigc 37272953Srodrigc2014-05-27 Thomas E. Dickey <tom@invisible-island.net> 38272953Srodrigc 39272953Srodrigc * VERSION, package/byacc.spec, package/debian/changelog, test/yacc/big_b.output, test/yacc/big_l.output, test/yacc/help.output, test/yacc/no_b_opt.output, test/yacc/no_output2.output, test/yacc/no_p_opt.output, test/yacc/nostdin.output: 40272953Srodrigc bump 41272953Srodrigc 42268899Sbapt2014-04-22 Thomas E. Dickey <tom@invisible-island.net> 43268899Sbapt 44268899Sbapt * mstring.c: 45268899Sbapt use vsnprintf() to ensure that msprintf's buffer is large enough. 46268899Sbapt 47268899Sbapt * main.c, defs.h: add mstring_leaks() 48268899Sbapt 49268899Sbapt * configure: regen 50268899Sbapt 51268899Sbapt * output.c: fix a complementary warning 52268899Sbapt 53268899Sbapt * mstring.c: introduce vsnprintf 54268899Sbapt 55268899Sbapt * configure.in, config_h.in: add check for vsnprintf 56268899Sbapt 57268899Sbapt * output.c: quiet a type-conversion warning 58268899Sbapt 59268899Sbapt * mstring.c: fix a potential memory leak on ENOMEM 60268899Sbapt quiet a couple of type-conversion warnings 61268899Sbapt 62268899Sbapt * defs.h: add/use GCC_PRINTFLIKE for msprintf() 63268899Sbapt 64268899Sbapt2014-04-22 Tom.Shields 65268899Sbapt 66268899Sbapt * README.BTYACC: 67268899Sbapt drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant 68268899Sbapt content into README.BTYACC 69268899Sbapt 70268899Sbapt2014-04-22 Thomas E. Dickey <tom@invisible-island.net> 71268899Sbapt 72268899Sbapt * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec: 73268899Sbapt bump 74268899Sbapt 75268899Sbapt2014-04-19 Thomas E. Dickey <tom@invisible-island.net> 76268899Sbapt 77268899Sbapt * config.sub: 2014-04-03 78268899Sbapt 79268899Sbapt * config.guess: 2014-03-23 80268899Sbapt 81268899Sbapt2014-04-09 Rick.Spates 82268899Sbapt 83268899Sbapt * main.c, defs.h: patch to allow DEBUG build with WIN32 system 84268899Sbapt 85268899Sbapt2014-04-09 Thomas E. Dickey <tom@invisible-island.net> 86268899Sbapt 87268899Sbapt * output.c, reader.c: gcc warnings 88268899Sbapt 89268899Sbapt * reader.c: fix const-cast warnings 90268899Sbapt 91268899Sbapt * test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/code_error.tab.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/error.tab.c, test/btyacc/rename_debug.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.tab.c, output.c: 92268899Sbapt fix a few clang --analyze warnings; one was a case where output_ctable emitted 93268899Sbapt an empty table (which should be an error). 94268899Sbapt 95268899Sbapt * reader.c: appease clang --analyze 96268899Sbapt 97268899Sbapt * defs.h: mark two functions as no-return. 98268899Sbapt 99268899Sbapt * package/debian/changelog: reason for release 100268899Sbapt 101268899Sbapt * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 102268899Sbapt bump 103268899Sbapt 104268899Sbapt * makefile.in: use $LINT_OPTS from environment via configure script 105268899Sbapt 106268899Sbapt * test/btyacc/ok_syntax1.output, test/btyacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.c, test/ok_syntax1.y, test/yacc/ok_syntax1.output: 107268899Sbapt tweaks to make generated files from ok_syntax1.y compile with check_make rule 108268899Sbapt 109268899Sbapt * test/btyacc/rename_debug.c, test/btyacc/rename_debug.error, test/btyacc/rename_debug.h, test/btyacc/rename_debug.i, test/btyacc/rename_debug.output, test/yacc/rename_debug.c: 110268899Sbapt reference output for testing 111268899Sbapt 112268899Sbapt * test/run_test.sh: 113268899Sbapt retain the renaming done for code_debug.y so that check_make will work. 114268899Sbapt 115268899Sbapt * test/yacc/rename_debug.error, test/yacc/rename_debug.h, test/yacc/rename_debug.i, test/yacc/rename_debug.output: 116268899Sbapt reference output for testing 117268899Sbapt 118268899Sbapt * test/btyacc/ok_syntax1.error: RCS_BASE 119268899Sbapt 120268899Sbapt * test/yacc/quote_calc4-s.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, yaccpar.c: 121268899Sbapt regen 122268899Sbapt 123268899Sbapt * yacc.1: 124268899Sbapt clarify relationship of btyacc features to default configuration. 125268899Sbapt 126268899Sbapt2014-04-08 Thomas E. Dickey <tom@invisible-island.net> 127268899Sbapt 128268899Sbapt * test/yacc/ok_syntax1.output, test/yacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.h, test/btyacc/ok_syntax1.output, test/btyacc/ok_syntax1.tab.c, test/btyacc/ok_syntax1.tab.h: 129268899Sbapt reference output for testing 130268899Sbapt 131268899Sbapt * test/ok_syntax1.y: RCS_BASE 132268899Sbapt 133268899Sbapt * test/yacc/ok_syntax1.error: reference output for testing 134268899Sbapt 135268899Sbapt * test/yacc/big_b.error, test/yacc/big_b.output, test/yacc/big_l.error, test/yacc/big_l.output, test/btyacc/big_b.error, test/btyacc/big_b.output, test/btyacc/big_l.error, test/btyacc/big_l.output, test/run_test.sh: 136268899Sbapt exercise -L/-B options 137268899Sbapt 138268899Sbapt * test/yacc/code_debug.c, test/btyacc/code_debug.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax27.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/run_test.sh, test/yacc/no_b_opt1.output: 139268899Sbapt use a better renaming of the YYPATCH definition (none of the test-cases rely 140268899Sbapt upon it, but redefinition in the "make check_make" rule is a problem). 141268899Sbapt 142268899Sbapt * test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, test/btyacc/varsyntax_calc1.tab.c: 143268899Sbapt undid temporary reordering in reader() by Tom Shields to align with byacc outputs 144268899Sbapt 145268899Sbapt * test/run_test.sh: remove a repeated test-case 146268899Sbapt 147268899Sbapt * mstring.c: minor reformatting to make coverage analysis simpler 148268899Sbapt 149268899Sbapt2014-04-07 Thomas E. Dickey <tom@invisible-island.net> 150268899Sbapt 151268899Sbapt * test/run_test.sh: tidy 152268899Sbapt 153268899Sbapt * test/yacc/help.error, test/yacc/help.output, test/yacc/no_b_opt.error, test/yacc/no_b_opt.output, test/yacc/no_b_opt1.error, test/yacc/no_b_opt1.output, test/yacc/no_code_c.error, test/yacc/no_code_c.output, test/yacc/no_defines.error, test/yacc/no_defines.output, test/yacc/no_graph.error, test/yacc/no_graph.output, test/yacc/no_include.error, test/yacc/no_include.output, test/yacc/no_opts.error, test/yacc/no_opts.output, test/yacc/no_output.error, test/yacc/no_output.output, test/yacc/no_output1.error, test/yacc/no_output1.output, test/yacc/no_output2.error, test/yacc/no_output2.output, test/yacc/no_p_opt.error, test/yacc/no_p_opt.output, test/yacc/no_p_opt1.error, test/yacc/no_p_opt1.output, test/yacc/no_verbose.error, test/yacc/no_verbose.output, test/yacc/nostdin.error, test/yacc/nostdin.output, test/yacc/test-no_b_opt1.output: 154268899Sbapt reference output for testing 155268899Sbapt 156268899Sbapt * test/run_test.sh: 157268899Sbapt add special checks for flags which depend on writable/existing files 158268899Sbapt 159268899Sbapt * test/btyacc/no_b_opt1.output, test/btyacc/no_p_opt1.output, test/btyacc/no_b_opt.error, test/btyacc/no_b_opt.output, test/btyacc/no_b_opt1.error, test/btyacc/no_code_c.output, test/btyacc/no_p_opt.error, test/btyacc/no_p_opt.output, test/btyacc/no_p_opt1.error, test/btyacc/no_output2.output, test/btyacc/no_code_c.error, test/btyacc/no_output2.error, test/btyacc/no_include.error, test/btyacc/no_include.output, test/btyacc/no_defines.output, test/btyacc/no_defines.error, test/btyacc/no_verbose.output, test/btyacc/no_graph.output, test/btyacc/no_graph.error, test/btyacc/no_opts.error, test/btyacc/no_opts.output, test/btyacc/no_verbose.error, test/btyacc/nostdin.error, test/btyacc/nostdin.output, test/btyacc/no_output.error, test/btyacc/no_output.output, test/btyacc/no_output1.error, test/btyacc/no_output1.output: 160268899Sbapt reference output for testing 161268899Sbapt 162268899Sbapt * main.c: 163268899Sbapt change CREATE_FILE_NAMES() to use local function rather than inline code, 164268899Sbapt to simplify coverage analysis. 165268899Sbapt 166268899Sbapt * test/btyacc/err_syntax27.error, test/btyacc/err_syntax27.output, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax27.tab.h, test/btyacc/help.error, test/btyacc/help.output, test/yacc/err_syntax27.error, test/yacc/err_syntax27.output, test/yacc/err_syntax27.tab.c, test/yacc/err_syntax27.tab.h: 167268899Sbapt reference output for testing 168268899Sbapt 169268899Sbapt * test/err_syntax27.y: testcase for missing_brace() 170268899Sbapt 171268899Sbapt * error.c: ifdef'd non-btyacc function 172268899Sbapt 173268899Sbapt * lr0.c: ifdef'd debug-code 174268899Sbapt 175268899Sbapt * yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel 176268899Sbapt 177268899Sbapt * test/btyacc/code_debug.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_debug.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, output.c, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/run_test.sh: 178268899Sbapt 2010/11/26 simplification of output.c using putc_code() and putl_code() 179268899Sbapt omitted an adjustment of the #line value used for code-file. Fix that. 180268899Sbapt Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for 181268899Sbapt YYPATCH #define's to make test-outputs easier to compare #line's (report 182268899Sbapt by Tom Shields) 183268899Sbapt 184268899Sbapt2014-04-06 Thomas E. Dickey <tom@invisible-island.net> 185268899Sbapt 186268899Sbapt * reader.c: fix for valgrind 187268899Sbapt (the calloc's are intentional - valgrind reported use of uninitialized memory) 188268899Sbapt 189268899Sbapt * lr0.c, output.c: fix for valgrind 190268899Sbapt 191268899Sbapt * test/btyacc/code_debug.c, test/btyacc/code_debug.error, test/btyacc/code_debug.h, test/btyacc/code_debug.i, test/btyacc/code_debug.output: 192268899Sbapt RCS_BASE 193268899Sbapt 194268899Sbapt * test/yacc/code_debug.c, test/yacc/code_debug.h: 195268899Sbapt exercise the -i option 196268899Sbapt 197268899Sbapt * test/yacc/code_debug.i: reference output for testing 198268899Sbapt 199268899Sbapt * test/run_test.sh: exercise the -i option 200268899Sbapt 201268899Sbapt * test/yacc/code_debug.c: reference output for testing 202268899Sbapt 203268899Sbapt * test/run_test.sh: exercise the "-o" option 204268899Sbapt 205268899Sbapt * test/yacc/code_debug.error, test/yacc/code_debug.h, test/yacc/code_debug.output: 206268899Sbapt reference output for testing 207268899Sbapt 208268899Sbapt * output.c: don't call exit() without giving a chance to cleanup. 209268899Sbapt 210268899Sbapt * mstring.c: ifdef'd functions not used in byacc 211268899Sbapt 212268899Sbapt * btyaccpar.c: generated from btyaccpar.skel 213268899Sbapt 214268899Sbapt * yaccpar.c: generated from yaccpar.skel 215268899Sbapt 216268899Sbapt * skel2c: 217268899Sbapt change the generated-by comment to show which version of this script (and 218268899Sbapt which version of the given skeleton file) were used to produce the C-file. 219268899Sbapt 220268899Sbapt * configure: regen 221268899Sbapt 222268899Sbapt * makefile.in: 223268899Sbapt add rules to generate byacc and btyacc parser skeleton files independently 224268899Sbapt 225268899Sbapt * aclocal.m4: CF_PROG_AWK - add to byacc's configure script 226268899Sbapt CF_INTEL_COMPILER 227268899Sbapt cleanup the -no-gcc option which was leftover from testing - prcs does 228268899Sbapt not build with this option. 229268899Sbapt CF_MAKE_DOCS 230268899Sbapt protect $2 from substitution, for luit's "$(manext)" 231268899Sbapt CF_XOPEN_SOURCE 232268899Sbapt for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2 233268899Sbapt on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE 234268899Sbapt because it is not needed, as well as because g++ 4.7.3 (no package, 235268899Sbapt used in Sage for Solaris 10) has some unspecified header breakage which 236268899Sbapt is triggered by the duplicate definition. 237268899Sbapt 238268899Sbapt * configure.in: 239268899Sbapt modify so skeleton-source is determined by configure options rather than by 240268899Sbapt having developer rename yaccpar.skel.old to yaccpar.skel 241268899Sbapt 242268899Sbapt * descrip.mms: rename skeleton 243268899Sbapt 244268899Sbapt * vmsbuild.com: 245268899Sbapt fwiw, renamed the skeleton for consistency with makefile 246268899Sbapt 247268899Sbapt * skel2c, skeleton.c: resync skeleton and its generating files 248268899Sbapt 249268899Sbapt * yaccpar.skel: 250268899Sbapt renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules 251268899Sbapt 252268899Sbapt * yaccpar.skel.old: resync skeleton and its generating files 253268899Sbapt 254268899Sbapt * test/run_make.sh: improve cleanup after error recovery 255268899Sbapt 256268899Sbapt * test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, output.c, skeleton.c, defs.h: 257268899Sbapt use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton 258268899Sbapt 259268899Sbapt * output.c: simplify output_yyerror_decl() 260268899Sbapt 261268899Sbapt * test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.tab.c, test/yacc/code_error.tab.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, output.c: 262268899Sbapt add second "const" to string-table declarations, from Tom Shield's btyacc changes 263268899Sbapt 264268899Sbapt * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c: 265268899Sbapt discard unnecessary call on write_code_lineno() from Tom Shield's changes 266268899Sbapt 267268899Sbapt * test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, test/yacc/code_error.code.c, test/yacc/code_error.tab.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, output.c: 268268899Sbapt use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short" 269268899Sbapt 270268899Sbapt * test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c: 271268899Sbapt use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL() 272268899Sbapt 273268899Sbapt * test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c: 274268899Sbapt discard unnecessary call on write_code_lineno() from Tom Shield's changes 275268899Sbapt 276268899Sbapt * output.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/code_calc.tab.c, test/yacc/code_error.tab.c: 277268899Sbapt use fix from Tom Shield's btyacc changes: prefix-definitions went to the 278268899Sbapt output (.tab.c) file in a case where they should have gone to the code 279268899Sbapt (.code.c) file. Remove now-redundant call to output_prefix(). 280268899Sbapt 281268899Sbapt * main.c: do the same for help-message 282268899Sbapt 283268899Sbapt * main.c: use OUTPUT_SUFFIX symbol in an overlooked case 284268899Sbapt 285268899Sbapt * test/run_make.sh: 286268899Sbapt modify to avoid use of VPATH, which has no standard implementation 287268899Sbapt 288268899Sbapt2014-04-05 Thomas E. Dickey <tom@invisible-island.net> 289268899Sbapt 290268899Sbapt * test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c: 291268899Sbapt discard a change which merged CountLines() with explicit comparisons against 292268899Sbapt code_file because that adds extra to the #line values 293268899Sbapt 294268899Sbapt * test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/calc.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/error.tab.c, output.c: 295268899Sbapt add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to 296268899Sbapt override fallback typedef for YYSTYPE when that symbol is undefined 297268899Sbapt 298268899Sbapt * test/btyacc/error.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c: 299268899Sbapt minor tweak to coding style - use parenthesis for "defined" operator's parameter 300268899Sbapt 301268899Sbapt * test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c: 302268899Sbapt regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent 303268899Sbapt 304268899Sbapt * test/yacc/err_syntax20.tab.c, test/yacc/grammar.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, test/yacc/code_error.code.c, test/yacc/code_error.tab.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c: 305268899Sbapt regen after adding the YYUNDFTOKEN symbol 306268899Sbapt 307268899Sbapt * output.c: 308268899Sbapt integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol 309268899Sbapt (I changed order of output to keep this adjacent to YYMAXTOKEN) 310268899Sbapt 311268899Sbapt * reader.c: 312268899Sbapt merge all but one small change from Tom Shield's btyacc changes - that 313268899Sbapt changes the order of code-file in the tests. 314268899Sbapt 315268899Sbapt * test/btyacc/btyacc_demo.tab.c: regen 316268899Sbapt 317268899Sbapt * test/btyacc_demo.y: fix prototypes 318268899Sbapt 319268899Sbapt2014-04-04 Thomas E. Dickey <tom@invisible-island.net> 320268899Sbapt 321268899Sbapt * reader.c, defs.h, main.c: 322268899Sbapt more merging of Tom Shield's btyacc changes. In the merge, I moved the 323268899Sbapt symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs 324268899Sbapt 325268899Sbapt2014-04-03 Thomas E. Dickey <tom@invisible-island.net> 326268899Sbapt 327268899Sbapt * reader.c: 328268899Sbapt merge-in 3/4 of btyacc's changes, deferring those which change test-outputs. 329268899Sbapt Tom Shield's changes split-out copy_string() and copy_comment() functions 330268899Sbapt to simplify some logic, as well as adding btyacc-only chunks 331268899Sbapt 332268899Sbapt * makefile.in: build mstring.o, needed for changes in reader.c 333268899Sbapt 334268899Sbapt * output.c: 335268899Sbapt merge-in all of btyacc's changes which do not change byacc's test-output. 336268899Sbapt Some of the merge uses ifdef-changes which I applied to ongoing resync, 337268899Sbapt e.g., the introduction of PER_STATE. 338268899Sbapt 339268899Sbapt2014-04-02 Thomas E. Dickey <tom@invisible-island.net> 340268899Sbapt 341268899Sbapt * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen 342268899Sbapt 343268899Sbapt * output.c: fix typo 344268899Sbapt 345268899Sbapt * output.c, reader.c: 346268899Sbapt merge in some chunks of reader and output files which do not affect byacc tests 347268899Sbapt 348268899Sbapt * test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen 349268899Sbapt 350268899Sbapt * test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, skeleton.c: 351268899Sbapt incorporate YYENOMEM and YYEOF symbols from btyacc 352268899Sbapt 353268899Sbapt * output.c: merge chunk from btyacc changes for header-guards 354268899Sbapt 355268899Sbapt * btyaccpar.skel: RCS_BASE 356268899Sbapt 357268899Sbapt * yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues 358268899Sbapt remove GCC_UNUSED to reduce name-pollution as well as being simpler 359268899Sbapt 360268899Sbapt * main.c: 361268899Sbapt move a btyacc symbol outside ifdef to work around current state of merge 362268899Sbapt 363268899Sbapt * defs.h: 364268899Sbapt add USE_HEADER_GUARDS to defer whether to modify byacc's header-output 365268899Sbapt 366268899Sbapt * test/run_make.sh: 367268899Sbapt do not try to compile files used for testing syntax-errors, since they are 368268899Sbapt likely to be incomplete 369268899Sbapt 370268899Sbapt2014-04-02 Tom.Shields 371268899Sbapt 372268899Sbapt * main.c: changes for btyacc 373268899Sbapt 374268899Sbapt2014-04-01 Thomas E. Dickey <tom@invisible-island.net> 375268899Sbapt 376268899Sbapt * reader.c: 377268899Sbapt integrate change by Tom Shields to use bsearch rather than successive 378268899Sbapt calls to matchec() 379268899Sbapt 380268899Sbapt * defs.h: typedef __compar_fn_t is unnecessary 381268899Sbapt 382268899Sbapt * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c: 383268899Sbapt omit the GCC_UNUSED, as noted by Tom Shields not really essential 384268899Sbapt 385268899Sbapt2014-04-01 Tom.Shields 386268899Sbapt 387268899Sbapt * verbose.c: changes for btyacc, ifdef'd 388268899Sbapt 389268899Sbapt2014-04-01 Thomas E. Dickey <tom@invisible-island.net> 390268899Sbapt 391268899Sbapt * mkpar.c: eliminate most of the ifdef's using macros 392268899Sbapt 393268899Sbapt2014-04-01 Tom.Shields 394268899Sbapt 395268899Sbapt * mkpar.c: merge btyacc changes (ifdef'd - no change to byacc) 396268899Sbapt 397268899Sbapt * error.c: 398268899Sbapt new functions used for reporting errors from the btyacc configuration 399268899Sbapt (I reordered some, and ifdef'd the new ones -TD) 400268899Sbapt 401268899Sbapt2014-03-31 Thomas E. Dickey <tom@invisible-island.net> 402268899Sbapt 403268899Sbapt * test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c: 404268899Sbapt omit the GCC_UNUSED, as noted by Tom Shields not really essential 405268899Sbapt 406268899Sbapt * test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c: 407268899Sbapt regen 408268899Sbapt 409268899Sbapt2014-03-29 Thomas E. Dickey <tom@invisible-island.net> 410268899Sbapt 411268899Sbapt * test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, skeleton.c: 412268899Sbapt comment-out yysccsid in the banner because it produces unnecessary compiler 413268899Sbapt warnings. The suggested alternative (using #pragma ident) in the preceding 414268899Sbapt comment is also obsolete; remove that comment (request by Gleb Smirnoff). 415268899Sbapt 416268899Sbapt * test/run_test.sh: 417268899Sbapt for yacc, ignore the inherit testcases, since they are btyacc-specific 418268899Sbapt 419268899Sbapt2014-03-28 Thomas E. Dickey <tom@invisible-island.net> 420268899Sbapt 421268899Sbapt * test/yacc/varsyntax_calc1.error, test/yacc/varsyntax_calc1.output, test/yacc/varsyntax_calc1.tab.c, test/yacc/varsyntax_calc1.tab.h, test/yacc/err_inherit3.error, test/yacc/err_inherit3.output, test/yacc/err_inherit3.tab.c, test/yacc/err_inherit3.tab.h, test/yacc/err_inherit4.error, test/yacc/err_inherit4.output, test/yacc/err_inherit4.tab.c, test/yacc/err_inherit4.tab.h, test/yacc/err_inherit5.error, test/yacc/err_inherit5.output, test/yacc/err_inherit5.tab.c, test/yacc/err_inherit5.tab.h, test/yacc/inherit0.error, test/yacc/inherit0.output, test/yacc/inherit0.tab.c, test/yacc/inherit0.tab.h, test/yacc/inherit1.error, test/yacc/inherit1.output, test/yacc/inherit1.tab.c, test/yacc/inherit1.tab.h, test/yacc/inherit2.error, test/yacc/inherit2.output, test/yacc/inherit2.tab.c, test/yacc/inherit2.tab.h, test/yacc/empty.error, test/yacc/empty.output, test/yacc/empty.tab.c, test/yacc/empty.tab.h, test/yacc/err_inherit1.error, test/yacc/err_inherit1.output, test/yacc/err_inherit1.tab.c, test/yacc/err_inherit1.tab.h, test/yacc/err_inherit2.error, test/yacc/err_inherit2.output, test/yacc/err_inherit2.tab.c, test/yacc/err_inherit2.tab.h: 422268899Sbapt reference output for testing 423268899Sbapt 424268899Sbapt * test/run_lint.sh, test/run_make.sh, test/run_test.sh: 425268899Sbapt moving #define's out of makefile broke check for yacc vs btyacc (fix) 426268899Sbapt 427268899Sbapt2014-03-28 Tom.Shields 428268899Sbapt 429268899Sbapt * test/btyacc/btyacc_demo.tab.c, test/btyacc/err_inherit3.error, test/btyacc/err_inherit3.output, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit3.tab.h, test/btyacc/err_inherit2.error, test/btyacc/err_inherit2.output, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit2.tab.h, test/btyacc/err_inherit4.error, test/btyacc/err_inherit4.output, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit4.tab.h, test/btyacc/err_inherit5.error, test/btyacc/err_inherit5.output, test/btyacc/err_inherit5.tab.c, test/btyacc/err_inherit5.tab.h, test/btyacc/inherit0.error, test/btyacc/inherit0.output, test/btyacc/inherit0.tab.c, test/btyacc/inherit0.tab.h, test/btyacc/inherit1.error, test/btyacc/inherit1.output, test/btyacc/inherit1.tab.c, test/btyacc/inherit1.tab.h, test/btyacc/inherit2.error, test/btyacc/inherit2.output, test/btyacc/inherit2.tab.c, test/btyacc/inherit2.tab.h, test/btyacc/calc.error, test/btyacc/err_inherit1.error, test/btyacc/err_inherit1.output, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit1.tab.h: 430268899Sbapt reference output for testing 431268899Sbapt 432268899Sbapt * defs.h: new functions/variables for btyacc 433268899Sbapt (I reordered and ifdef'd -TD) 434268899Sbapt 435268899Sbapt * test/inherit0.y, test/inherit1.y: testcase for btyacc 436268899Sbapt 437268899Sbapt2014-03-27 Tom.Shields 438268899Sbapt 439268899Sbapt * test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y, test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y: 440268899Sbapt testcase for btyacc 441268899Sbapt 442268899Sbapt2014-03-25 Tom.Shields 443268899Sbapt 444268899Sbapt * symtab.c: extra initialization needed for btyacc 445268899Sbapt (I ifdef'd -TD) 446268899Sbapt 447268899Sbapt * yacc.1: document -L/-B features from btyacc 448268899Sbapt 449268899Sbapt2014-03-25 Thomas E. Dickey <tom@invisible-island.net> 450268899Sbapt 451268899Sbapt * yacc.1: typo 452268899Sbapt 453268899Sbapt * configure: regen 454268899Sbapt 455268899Sbapt * configure.in: 456268899Sbapt modified new options to act like those in my other configure-scripts, e.g., 457268899Sbapt showing what option is being tested, and the resulting value. Put the 458268899Sbapt definitions in config.h rather than in the makefile. 459268899Sbapt 460268899Sbapt2014-03-25 Tom.Shields 461268899Sbapt 462268899Sbapt * makefile.in: add/use LINTFLAGS variable 463268899Sbapt make all of the objects (not just skeleton) rebuild if makefile changes 464268899Sbapt modify check-rule to reflect updates to run_test.sh vs subdirectory 465268899Sbapt 466268899Sbapt * mstring.c: byacc-btyacc-20140323 467268899Sbapt 468268899Sbapt2014-03-25 Thomas E. Dickey <tom@invisible-island.net> 469268899Sbapt 470268899Sbapt * test/btyacc/RCS, test/yacc/RCS: PERMIT FILE 471268899Sbapt 472268899Sbapt * config_h.in: updated with autoheader-252 473268899Sbapt 474268899Sbapt2014-03-25 Tom.Shields 475268899Sbapt 476268899Sbapt * README.BTYACC: byacc-btyacc-20140323 477268899Sbapt 478268899Sbapt2014-03-24 Tom.Shields 479268899Sbapt 480268899Sbapt * test/btyacc/err_syntax1.output, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax1.tab.h, test/btyacc/err_syntax10.error, test/btyacc/err_syntax10.output, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax10.tab.h, test/btyacc/err_syntax11.error, test/btyacc/err_syntax11.output, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax11.tab.h, test/btyacc/err_syntax12.error, test/btyacc/err_syntax12.output, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax12.tab.h, test/btyacc/err_syntax13.error, test/btyacc/err_syntax13.output, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax13.tab.h, test/btyacc/err_syntax14.error, test/btyacc/err_syntax14.output, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax14.tab.h, test/btyacc/err_syntax15.error, test/btyacc/err_syntax15.output, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax15.tab.h, test/btyacc/err_syntax16.error, test/btyacc/err_syntax16.output, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax16.tab.h, test/btyacc/err_syntax17.error, test/btyacc/err_syntax17.output, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax17.tab.h, test/btyacc/err_syntax18.error, test/btyacc/err_syntax18.output, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax18.tab.h, test/btyacc/err_syntax19.error, test/btyacc/err_syntax19.output, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax19.tab.h, test/btyacc/err_syntax2.output, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax2.tab.h, test/btyacc/err_syntax20.error, test/btyacc/err_syntax20.output, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax20.tab.h, test/btyacc/err_syntax21.error, test/btyacc/err_syntax21.output, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax21.tab.h, test/btyacc/err_syntax22.error, test/btyacc/err_syntax22.output, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax22.tab.h, test/btyacc/err_syntax23.error, test/btyacc/err_syntax23.output, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax23.tab.h, test/btyacc/err_syntax24.error, test/btyacc/err_syntax24.output, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax24.tab.h, test/btyacc/err_syntax25.error, test/btyacc/err_syntax25.output, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax25.tab.h, test/btyacc/err_syntax26.error, test/btyacc/err_syntax26.output, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax26.tab.h, test/btyacc/err_syntax3.output, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax3.tab.h, test/btyacc/err_syntax4.output, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax4.tab.h, test/btyacc/err_syntax5.output, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax5.tab.h, test/btyacc/err_syntax6.output, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax6.tab.h, test/btyacc/err_syntax7.output, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7.tab.h, test/btyacc/err_syntax7a.output, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7a.tab.h, test/btyacc/err_syntax7b.output, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax7b.tab.h, test/btyacc/err_syntax8.output, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8.tab.h, test/btyacc/err_syntax8a.output, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax8a.tab.h, test/btyacc/err_syntax9.output, test/btyacc/err_syntax9.tab.c, test/btyacc/err_syntax9.tab.h: 481268899Sbapt reference output for testing 482268899Sbapt 483268899Sbapt2014-03-24 Thomas E. Dickey <tom@invisible-island.net> 484268899Sbapt 485268899Sbapt * defs.h: fix compiler warnings due to mputc() 486268899Sbapt 487268899Sbapt2014-03-23 Tom.Shields 488268899Sbapt 489268899Sbapt * test/btyacc_demo.y: testcase for btyacc 490268899Sbapt 491268899Sbapt * test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h: 492268899Sbapt reference output for testing 493268899Sbapt 494268899Sbapt * test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc 495268899Sbapt 496268899Sbapt2014-03-23 Thomas E. Dickey <tom@invisible-island.net> 497268899Sbapt 498268899Sbapt * test/err_syntax26.error, test/err_syntax26.output, test/err_syntax26.tab.c, test/err_syntax26.tab.h, test/yacc/err_syntax26.error, test/yacc/err_syntax26.output, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax26.tab.h: 499268899Sbapt reference output for testing 500268899Sbapt 501268899Sbapt * test/err_syntax26.y: testcase for missing_brace() 502268899Sbapt 503268899Sbapt * test/err_syntax25.error, test/err_syntax25.output, test/err_syntax25.tab.c, test/err_syntax25.tab.h, test/yacc/err_syntax25.error, test/yacc/err_syntax25.output, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax25.tab.h: 504268899Sbapt reference output for testing 505268899Sbapt 506268899Sbapt * test/err_syntax25.y: testcase for over_unionized() 507268899Sbapt 508268899Sbapt * test/err_syntax24.error, test/err_syntax24.output, test/err_syntax24.tab.c, test/err_syntax24.tab.h, test/yacc/err_syntax24.error, test/yacc/err_syntax24.output, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax24.tab.h: 509268899Sbapt reference output for testing 510268899Sbapt 511268899Sbapt * test/err_syntax24.y: testcase for default_action_warning() 512268899Sbapt 513268899Sbapt2014-03-23 Tom.Shields 514268899Sbapt 515268899Sbapt * test/btyacc/quote_calc3-s.error, test/btyacc/quote_calc4-s.error, test/btyacc/quote_calc4.error, test/btyacc/grammar.dot, test/btyacc/grammar.error, test/btyacc/pure_calc.error, test/btyacc/pure_error.error, test/btyacc/quote_calc-s.error, test/btyacc/quote_calc.error, test/btyacc/quote_calc2-s.error, test/btyacc/quote_calc2.error, test/btyacc/quote_calc3.error, test/btyacc/err_syntax2.error, test/btyacc/err_syntax3.error, test/btyacc/err_syntax4.error, test/btyacc/err_syntax5.error, test/btyacc/err_syntax6.error, test/btyacc/err_syntax7.error, test/btyacc/err_syntax7a.error, test/btyacc/err_syntax7b.error, test/btyacc/err_syntax8.error, test/btyacc/err_syntax8a.error, test/btyacc/err_syntax9.error, test/btyacc/error.error, test/btyacc/calc1.error, test/btyacc/calc2.error, test/btyacc/calc3.error, test/btyacc/code_calc.error, test/btyacc/code_error.error, test/btyacc/empty.error, test/btyacc/err_syntax1.error, test/btyacc/btyacc_calc1.error, test/btyacc/btyacc_demo.error: 516268899Sbapt reference output for testing 517268899Sbapt 518268899Sbapt2014-03-23 Thomas E. Dickey <tom@invisible-island.net> 519268899Sbapt 520268899Sbapt * test/err_syntax23.error, test/err_syntax23.output, test/err_syntax23.tab.c, test/err_syntax23.tab.h, test/yacc/err_syntax23.error, test/yacc/err_syntax23.output, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax23.tab.h: 521268899Sbapt reference output for testing 522268899Sbapt 523268899Sbapt * test/err_syntax23.y: testcase for untyped_lhs() 524268899Sbapt 525268899Sbapt2014-03-23 Tom.Shields 526268899Sbapt 527268899Sbapt * test/run_test.sh: 528268899Sbapt move test-outputs into subdirectories to keep btyacc/yacc results separate 529268899Sbapt 530268899Sbapt2014-03-23 Thomas E. Dickey <tom@invisible-island.net> 531268899Sbapt 532268899Sbapt * test/err_syntax22.error, test/err_syntax22.output, test/err_syntax22.tab.c, test/err_syntax22.tab.h, test/yacc/err_syntax22.error, test/yacc/err_syntax22.output, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax22.tab.h: 533268899Sbapt reference output for testing 534268899Sbapt 535268899Sbapt * test/err_syntax22.y: testcase for untyped_rhs() 536268899Sbapt 537268899Sbapt * test/err_syntax21.error, test/err_syntax21.output, test/err_syntax21.tab.c, test/err_syntax21.tab.h, test/yacc/err_syntax21.error, test/yacc/err_syntax21.output, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax21.tab.h, test/err_syntax20.error, test/err_syntax20.output, test/err_syntax20.tab.c, test/err_syntax20.tab.h, test/yacc/err_syntax20.error, test/yacc/err_syntax20.output, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax20.tab.h: 538268899Sbapt reference output for testing 539268899Sbapt 540268899Sbapt * test/err_syntax20.y: testcase for undefined_symbol_warning() 541268899Sbapt 542268899Sbapt * test/err_syntax21.y: testcase for unknown_rhs() 543268899Sbapt 544268899Sbapt * test/err_syntax19.error, test/err_syntax19.output, test/err_syntax19.tab.c, test/err_syntax19.tab.h, test/yacc/err_syntax19.error, test/yacc/err_syntax19.output, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax19.tab.h: 545268899Sbapt reference output for testing 546268899Sbapt 547268899Sbapt * test/err_syntax19.y: testcase for dollar_error() 548268899Sbapt 549268899Sbapt * test/err_syntax18.error, test/err_syntax18.output, test/err_syntax18.tab.c, test/err_syntax18.tab.h, test/yacc/err_syntax18.error, test/yacc/err_syntax18.output, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax18.tab.h: 550268899Sbapt reference output for testing 551268899Sbapt 552268899Sbapt * test/err_syntax18.y: testcase for dollar_warning() 553268899Sbapt 554268899Sbapt * test/err_syntax17.error, test/err_syntax17.output, test/err_syntax17.tab.c, test/err_syntax17.tab.h, test/yacc/err_syntax17.error, test/yacc/err_syntax17.output, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax17.tab.h: 555268899Sbapt reference output for testing 556268899Sbapt 557268899Sbapt * test/err_syntax17.y: testcase for unterminated_action() 558268899Sbapt 559268899Sbapt2014-03-22 Thomas E. Dickey <tom@invisible-island.net> 560268899Sbapt 561268899Sbapt * test/err_syntax16.error, test/err_syntax16.output, test/err_syntax16.tab.c, test/err_syntax16.tab.h, test/yacc/err_syntax16.error, test/yacc/err_syntax16.output, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax16.tab.h: 562268899Sbapt reference output for testing 563268899Sbapt 564268899Sbapt * test/err_syntax16.y: testcase for terminal_lhs() 565268899Sbapt 566268899Sbapt * test/err_syntax15.error, test/err_syntax15.output, test/err_syntax15.tab.c, test/err_syntax15.tab.h, test/yacc/err_syntax15.error, test/yacc/err_syntax15.output, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax15.tab.h: 567268899Sbapt reference output for testing 568268899Sbapt 569268899Sbapt * test/err_syntax15.y: testcase for no_grammar() 570268899Sbapt 571268899Sbapt * test/err_syntax14.error, test/err_syntax14.output, test/err_syntax14.tab.c, test/err_syntax14.tab.h, test/yacc/err_syntax14.error, test/yacc/err_syntax14.output, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax14.tab.h: 572268899Sbapt reference output for testing 573268899Sbapt 574268899Sbapt * test/err_syntax14.y: 575268899Sbapt testcase for restarted_warning() and undefined_goal() 576268899Sbapt 577268899Sbapt * test/err_syntax13.error, test/err_syntax13.output, test/err_syntax13.tab.c, test/err_syntax13.tab.h, test/yacc/err_syntax13.error, test/yacc/err_syntax13.output, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax13.tab.h: 578268899Sbapt reference output for testing 579268899Sbapt 580268899Sbapt * test/err_syntax13.y: testcase for terminal_start() 581268899Sbapt 582268899Sbapt * test/err_syntax12.error, test/err_syntax12.output, test/err_syntax12.tab.c, test/err_syntax12.tab.h, test/yacc/err_syntax12.error, test/yacc/err_syntax12.output, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax12.tab.h: 583268899Sbapt reference output for testing 584268899Sbapt 585268899Sbapt * test/err_syntax12.y: testcase for revalued_warning() 586268899Sbapt 587268899Sbapt * test/err_syntax11.error, test/err_syntax11.output, test/err_syntax11.tab.c, test/err_syntax11.tab.h, test/yacc/err_syntax11.error, test/yacc/err_syntax11.output, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax11.tab.h: 588268899Sbapt reference output for testing 589268899Sbapt 590268899Sbapt * test/err_syntax11.y: testcase for reprec_warning() 591268899Sbapt 592268899Sbapt * test/err_syntax10.error, test/err_syntax10.output, test/err_syntax10.tab.c, test/err_syntax10.tab.h, test/yacc/err_syntax10.error, test/yacc/err_syntax10.output, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax10.tab.h: 593268899Sbapt reference output for testing 594268899Sbapt 595268899Sbapt * test/err_syntax10.y: testcase for retyped_warning() 596268899Sbapt 597268899Sbapt2014-03-21 Thomas E. Dickey <tom@invisible-island.net> 598268899Sbapt 599268899Sbapt * test/err_syntax9.error, test/err_syntax9.output, test/err_syntax9.tab.c, test/err_syntax9.tab.h, test/yacc/err_syntax9.error, test/yacc/err_syntax9.output, test/yacc/err_syntax9.tab.c, test/yacc/err_syntax9.tab.h: 600268899Sbapt reference output for testing 601268899Sbapt 602268899Sbapt * test/err_syntax9.y: testcase for tokenized_start() 603268899Sbapt 604268899Sbapt * test/err_syntax8.error, test/err_syntax8.output, test/err_syntax8.tab.c, test/err_syntax8.tab.h, test/err_syntax8a.error, test/err_syntax8a.output, test/err_syntax8a.tab.c, test/err_syntax8a.tab.h, test/yacc/err_syntax8.error, test/yacc/err_syntax8.output, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8.tab.h, test/yacc/err_syntax8a.error, test/yacc/err_syntax8a.output, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax8a.tab.h: 605268899Sbapt reference output for testing 606268899Sbapt 607268899Sbapt * test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved() 608268899Sbapt 609268899Sbapt * test/err_syntax7.error, test/err_syntax7.output, test/err_syntax7.tab.c, test/err_syntax7.tab.h, test/err_syntax7a.error, test/err_syntax7a.output, test/err_syntax7a.tab.c, test/err_syntax7a.tab.h, test/err_syntax7b.error, test/err_syntax7b.output, test/err_syntax7b.tab.c, test/err_syntax7b.tab.h, test/yacc/err_syntax7.error, test/yacc/err_syntax7.output, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7.tab.h, test/yacc/err_syntax7a.error, test/yacc/err_syntax7a.output, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7a.tab.h, test/yacc/err_syntax7b.error, test/yacc/err_syntax7b.output, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax7b.tab.h: 610268899Sbapt reference output for testing 611268899Sbapt 612268899Sbapt * test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y: 613268899Sbapt testcase for illegal_character() 614268899Sbapt 615268899Sbapt * test/err_syntax6.error, test/err_syntax6.output, test/err_syntax6.tab.c, test/err_syntax6.tab.h, test/yacc/err_syntax6.error, test/yacc/err_syntax6.output, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax6.tab.h: 616268899Sbapt reference output for testing 617268899Sbapt 618268899Sbapt * test/err_syntax6.y: testcase for illegal_tag() 619268899Sbapt 620268899Sbapt * test/err_syntax5.error, test/err_syntax5.output, test/err_syntax5.tab.c, test/err_syntax5.tab.h, test/yacc/err_syntax5.error, test/yacc/err_syntax5.output, test/yacc/err_syntax5.tab.c, test/yacc/err_syntax5.tab.h: 621268899Sbapt reference output for testing 622268899Sbapt 623268899Sbapt * test/err_syntax5.y: testcase for unterminated_union() 624268899Sbapt 625268899Sbapt * test/err_syntax4.error, test/err_syntax4.output, test/err_syntax4.tab.c, test/err_syntax4.tab.h, test/yacc/err_syntax4.error, test/yacc/err_syntax4.output, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax4.tab.h: 626268899Sbapt reference output for testing 627268899Sbapt 628268899Sbapt * test/err_syntax4.y: testcase for unterminated_text() 629268899Sbapt 630268899Sbapt * test/err_syntax3.error, test/err_syntax3.output, test/err_syntax3.tab.c, test/err_syntax3.tab.h, test/yacc/err_syntax3.error, test/yacc/err_syntax3.output, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax3.tab.h: 631268899Sbapt reference output for testing 632268899Sbapt 633268899Sbapt * test/err_syntax3.y: testcase for unterminated_string() 634268899Sbapt 635268899Sbapt * test/err_syntax2.error, test/err_syntax2.output, test/err_syntax2.tab.c, test/err_syntax2.tab.h, test/yacc/err_syntax2.error, test/yacc/err_syntax2.output, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax2.tab.h: 636268899Sbapt reference output for testing 637268899Sbapt 638268899Sbapt * test/err_syntax2.y: testcase for unterminated_comment() 639268899Sbapt 640268899Sbapt * test/err_syntax1.error, test/yacc/err_syntax1.error: 641268899Sbapt reference output for testing 642268899Sbapt 643268899Sbapt * test/err_syntax1.y: 644268899Sbapt test-case with syntax error (and nonprinting character) 645268899Sbapt 646268899Sbapt * test/calc.error, test/calc1.error, test/calc2.error, test/calc3.error, test/code_calc.error, test/code_error.error, test/err_syntax1.error, test/error.error, test/grammar.error, test/pure_calc.error, test/pure_error.error, test/quote_calc-s.error, test/quote_calc.error, test/quote_calc2-s.error, test/quote_calc2.error, test/quote_calc3-s.error, test/quote_calc3.error, test/quote_calc4-s.error, test/quote_calc4.error, test/yacc/calc.error, test/yacc/calc1.error, test/yacc/calc2.error, test/yacc/calc3.error, test/yacc/code_calc.error, test/yacc/code_error.error, test/yacc/error.error, test/yacc/grammar.error, test/yacc/pure_calc.error, test/yacc/pure_error.error, test/yacc/quote_calc-s.error, test/yacc/quote_calc.error, test/yacc/quote_calc2-s.error, test/yacc/quote_calc2.error, test/yacc/quote_calc3-s.error, test/yacc/quote_calc3.error, test/yacc/quote_calc4-s.error, test/yacc/quote_calc4.error: 647268899Sbapt reference output for testing 648268899Sbapt 649268899Sbapt * test/run_test.sh: 650268899Sbapt save stderr to reference files, to capture shift/reduce messages as well 651268899Sbapt as syntax-error messages 652268899Sbapt 653268899Sbapt * test/err_syntax1.output, test/err_syntax1.tab.c, test/err_syntax1.tab.h, test/yacc/err_syntax1.output, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax1.tab.h: 654268899Sbapt reference output for testing 655268899Sbapt 656268899Sbapt * test/run_test.sh: generate a ".dot" file for the grammar file 657268899Sbapt 658268899Sbapt * test/grammar.dot: RCS_BASE 659268899Sbapt 660268899Sbapt * test/yacc/grammar.dot: reference output for testing 661268899Sbapt 662268899Sbapt2014-03-19 Tom.Shields 663268899Sbapt 664268899Sbapt * output.c: rename MAXSHORT to MAXYYINT 665268899Sbapt 666268899Sbapt2014-03-18 Tom.Shields 667268899Sbapt 668268899Sbapt * yaccpar.skel: skeleton with btyacc additions 669268899Sbapt 670268899Sbapt * NOTES-btyacc-Changes: byacc-btyacc-20140323 671268899Sbapt 672268899Sbapt * test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h: 673268899Sbapt reference output for testing 674268899Sbapt 675268899Sbapt * test/run_make.sh: 676268899Sbapt move test-outputs into subdirectories to keep btyacc/yacc results separate 677268899Sbapt 678268899Sbapt * test/btyacc/pure_calc.tab.c, test/btyacc/pure_calc.tab.h, test/btyacc/pure_error.output, test/btyacc/pure_error.tab.c, test/btyacc/pure_error.tab.h, test/btyacc/quote_calc-s.output, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc-s.tab.h, test/btyacc/quote_calc.output, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc.tab.h, test/btyacc/quote_calc2-s.output, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2-s.tab.h, test/btyacc/quote_calc2.output, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc2.tab.h, test/btyacc/quote_calc3-s.output, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3-s.tab.h, test/btyacc/quote_calc3.output, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc3.tab.h, test/btyacc/quote_calc4-s.output, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4-s.tab.h, test/btyacc/quote_calc4.output, test/btyacc/quote_calc4.tab.c, test/btyacc/quote_calc4.tab.h, test/btyacc/calc1.output, test/btyacc/calc1.tab.c, test/btyacc/calc1.tab.h, test/btyacc/calc2.output, test/btyacc/calc2.tab.c, test/btyacc/calc2.tab.h, test/btyacc/calc3.output, test/btyacc/calc3.tab.c, test/btyacc/calc3.tab.h, test/btyacc/code_calc.code.c, test/btyacc/code_calc.output, test/btyacc/code_calc.tab.c, test/btyacc/code_calc.tab.h, test/btyacc/code_error.code.c, test/btyacc/code_error.output, test/btyacc/code_error.tab.c, test/btyacc/code_error.tab.h, test/btyacc/empty.output, test/btyacc/empty.tab.c, test/btyacc/empty.tab.h, test/btyacc/error.output, test/btyacc/error.tab.c, test/btyacc/error.tab.h, test/btyacc/grammar.output, test/btyacc/grammar.tab.c, test/btyacc/grammar.tab.h, test/btyacc/pure_calc.output, test/btyacc/btyacc_demo.output, test/btyacc/btyacc_demo.tab.h, test/btyacc/calc.output, test/btyacc/calc.tab.c, test/btyacc/calc.tab.h: 679268899Sbapt reference output for testing 680268899Sbapt 681268899Sbapt * defs.h: 682268899Sbapt several changes to help decouple the use of 'short' as the type of value 683268899Sbapt used in yacc parsers. 684268899Sbapt 685268899Sbapt * NOTES-btyacc-Disposition: byacc-btyacc-20140323 686268899Sbapt 687268899Sbapt2014-03-17 Tom.Shields 688268899Sbapt 689268899Sbapt * skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE 690268899Sbapt 691268899Sbapt * test/run_lint.sh: 692268899Sbapt move test-outputs into subdirectories to keep btyacc/yacc results separate 693268899Sbapt 694268899Sbapt * configure.in: add --with-max-table-size and --enable-btyacc options 695268899Sbapt 696268899Sbapt2014-03-16 Tom.Shields 697268899Sbapt 698268899Sbapt * main.c: use Value_t rather than short 699268899Sbapt 700268899Sbapt2014-03-11 Tom.Shields 701268899Sbapt 702268899Sbapt * test/empty.y: testcase for btyacc 703268899Sbapt 704268899Sbapt2014-03-10 Tom.Shields 705268899Sbapt 706268899Sbapt * test/calc3.y, test/calc2.y: fix unused-variable warning 707268899Sbapt 708268899Sbapt2014-02-18 Tom.Shields 709268899Sbapt 710268899Sbapt * lr0.c, graph.c: use Value_t rather than short 711268899Sbapt 712268899Sbapt * closure.c: use Value_t rather than short 713268899Sbapt ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions 714268899Sbapt 715268899Sbapt * lalr.c: rename MAXSHORT to MAXYYINT 716268899Sbapt 717268899Sbapt2014-01-01 Thomas E. Dickey <tom@invisible-island.net> 718268899Sbapt 719268899Sbapt * yacc.1: document %token-table, improve presentation of double-quotes 720268899Sbapt 721268899Sbapt * VERSION, package/byacc.spec, package/debian/changelog: bump 722268899Sbapt 723268899Sbapt * test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, test/yacc/code_error.code.c, test/yacc/code_error.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c: 724268899Sbapt reference output for testing 725268899Sbapt 726268899Sbapt * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_calc.tab.c, test/code_error.code.c, test/code_error.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc2.tab.c, test/quote_calc3-s.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c: 727268899Sbapt regen 728268899Sbapt 729268899Sbapt * output.c, skeleton.c: 730268899Sbapt amend the last change so that yytname is #define'd as needed rather than 731268899Sbapt permanent - to avoid breaking cproto for instance. 732268899Sbapt 733268899Sbapt2014-01-01 Christos.Zoulas 734268899Sbapt 735268899Sbapt * output.c, defs.h, main.c, reader.c, skeleton.c: 736268899Sbapt changes to build ntpd using byacc: 737268899Sbapt - rename yyname[] to yytname[] 738268899Sbapt - add YYTRANSLATE() macro 739268899Sbapt - recognize bison's %token-table declaration 740268899Sbapt 741268899Sbapt2014-01-01 Thomas E. Dickey <tom@invisible-island.net> 742268899Sbapt 743268899Sbapt * configure: regen 744268899Sbapt 745268899Sbapt * yacc.1: s/EE/XE/ to work around groff bug on Debian 6 746268899Sbapt 747268899Sbapt * makefile.in: use CF_MAKE_DOCS 748268899Sbapt 749268899Sbapt * aclocal.m4: add CF_MAKE_DOCS 750268899Sbapt 751268899Sbapt * configure.in: use CF_MAKE_DOCS 752268899Sbapt 753268899Sbapt2013-12-26 Thomas E. Dickey <tom@invisible-island.net> 754268899Sbapt 755268899Sbapt * config.guess: 2013-11-29 756268899Sbapt 757268899Sbapt2013-11-19 Thomas E. Dickey <tom@invisible-island.net> 758268899Sbapt 759268899Sbapt * aclocal.m4: resync with my-autoconf (fixes for clang and mingw) 760268899Sbapt 761268899Sbapt2013-10-25 Thomas E. Dickey <tom@invisible-island.net> 762268899Sbapt 763268899Sbapt * config.sub: 2013-10-01 764268899Sbapt 765268899Sbapt2013-09-25 Thomas E. Dickey <tom@invisible-island.net> 766268899Sbapt 767268899Sbapt * reader.c: fix two loop-limits found by clang 3.3 --analyze 768268899Sbapt 769268899Sbapt * configure: regen 770268899Sbapt 771268899Sbapt * aclocal.m4: 772268899Sbapt tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses 773268899Sbapt 774268899Sbapt * package/mingw-byacc.spec: RCS_BASE 775268899Sbapt 776268899Sbapt * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc2.tab.c, test/quote_calc3-s.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c: 777268899Sbapt regen 778268899Sbapt 779268899Sbapt * skeleton.c: 780268899Sbapt Increase default stack-size to match FreeBSD version noted as from 781268899Sbapt "BSD 4.4 Lite Usr.bin Sources". See 782268899Sbapt 783268899Sbapt http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/ 784268899Sbapt http://svnweb.freebsd.org/base/head/usr.bin/yacc/ 785268899Sbapt http://svnweb.freebsd.org/base/vendor/byacc/ 786268899Sbapt 787268899Sbapt The original 1.9 sources (on which I based development) used 500 for 788268899Sbapt stacksize; the BSD Lite sources (a year or two later) used 10000. 789268899Sbapt 790268899Sbapt This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE 791268899Sbapt symbols have "always" been overridable by applications, but rarely 792268899Sbapt needed to do this. RedHat began using the FreeBSD source in 2000, 793268899Sbapt and switched to this source in 2007 using the 20050813 snapshot. 794268899Sbapt 795268899Sbapt RedHat #743343 misattributed the change in default stacksize to 796268899Sbapt a regression in byacc, but did not report the issue upstream. 797268899Sbapt 798268899Sbapt * package/debian/changelog, VERSION, package/byacc.spec: bump 799268899Sbapt 800268899Sbapt2013-09-07 Thomas E. Dickey <tom@invisible-island.net> 801268899Sbapt 802268899Sbapt * config.sub: update to 2013-09-15 803268899Sbapt 804268899Sbapt * config.guess: update to 2013-06-10 805268899Sbapt 806251143Sbapt2013-03-04 Thomas E. Dickey <tom@invisible-island.net> 807251143Sbapt 808251143Sbapt * package/debian/changelog, VERSION, package/byacc.spec: bump 809251143Sbapt 810251143Sbapt * aclocal.m4: 811251143Sbapt adapt tweak from Dave Becket to work around long-ago breakage in "new" autoconf. 812251143Sbapt 813251143Sbapt * output.c: 814251143Sbapt fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton). 815251143Sbapt also while testing that, found a case where the union_file is unused; added 816251143Sbapt a check for address that. 817251143Sbapt 818251143Sbapt * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen 819251143Sbapt 820251143Sbapt * test/ftp.y: fix most compiler warnings for "make check_make" 821251143Sbapt 822251143Sbapt * test/calc1.tab.c: regen 823251143Sbapt 824251143Sbapt * test/calc1.y: fix most compiler warnings for "make check_make" 825251143Sbapt 826251143Sbapt * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc2.tab.c, test/quote_calc3-s.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c: 827251143Sbapt regen 828251143Sbapt 829251143Sbapt * skeleton.c: quiet a gcc conversion-warning in yygrowstack() 830251143Sbapt 831251143Sbapt * configure: regen 832251143Sbapt 833251143Sbapt * aclocal.m4: 834251143Sbapt another fix for CF_GCC_VERSION to handle Debian's modification of gcc message. 835251143Sbapt 836251143Sbapt2013-02-10 Thomas E. Dickey <tom@invisible-island.net> 837251143Sbapt 838268899Sbapt * config.sub, config.guess: update to 2013-02-04 839251143Sbapt 840251143Sbapt2012-10-03 Thomas E. Dickey <tom@invisible-island.net> 841251143Sbapt 842251143Sbapt * package/debian/changelog, package/byacc.spec, VERSION: bump 843251143Sbapt 844251143Sbapt * configure: regen 845251143Sbapt 846251143Sbapt * configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC 847251143Sbapt 848251143Sbapt * aclocal.m4: 849251143Sbapt moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc) 850251143Sbapt the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor. 851251143Sbapt 852251143Sbapt * aclocal.m4, configure.in: 853251143Sbapt Arian's change dropped my check for misused $CC variable - restore that with 854251143Sbapt alternate macro CF_PROG_CC. 855251143Sbapt 856251143Sbapt2012-10-03 Adrian.Bunk 857251143Sbapt 858251143Sbapt * aclocal.m4: 859251143Sbapt suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since 860251143Sbapt they are not needed. 861251143Sbapt 862251143Sbapt2012-10-03 Thomas E. Dickey <tom@invisible-island.net> 863251143Sbapt 864251143Sbapt * aclocal.m4: 865251143Sbapt split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in 866251143Sbapt Adrian's suggested changes. 867251143Sbapt 868251143Sbapt * aclocal.m4: 869251143Sbapt CF_CLANG_COMPILER - check if the given compiler is really clang. 870251143Sbapt 871251143Sbapt * aclocal.m4: 872251143Sbapt add check for clang to CF_GCC_WARNINGS. modify CF_GCC_WARNINGS to work around 873251143Sbapt old gcc warning: ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1 874251143Sbapt on my Sarge system (versus 3.3.5 for the normal gcc). The 2.8.1's 875251143Sbapt pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work 876251143Sbapt around by excluding that check for pre-3.x compilers. 877251143Sbapt 878251143Sbapt * aclocal.m4: 879251143Sbapt modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions 880251143Sbapt provided by this macro. use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather 881251143Sbapt than appending to confdefs.h, since long-ago concern about the ability to 882251143Sbapt pass-through parameterized macros appears to be not a problem, testing with 883251143Sbapt 2.13 and 2.52 884251143Sbapt 885251143Sbapt2012-10-03 Adrian.Bunk 886251143Sbapt 887251143Sbapt * aclocal.m4: 888251143Sbapt add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by 889251143Sbapt autoheader, updated macros: 890251143Sbapt CF_CHECK_CACHE 891251143Sbapt CF_DISABLE_LEAKS 892251143Sbapt CF_MKSTEMP 893251143Sbapt CF_MIXEDCASE_FILENAMES 894251143Sbapt CF_NO_LEAKS_OPTION 895251143Sbapt 896251143Sbapt2012-10-03 Thomas E. Dickey <tom@invisible-island.net> 897251143Sbapt 898251143Sbapt * aclocal.m4: 899251143Sbapt move existence-check for mkstemp out of the AC_TRY_RUN, to help with 900251143Sbapt cross-compiles 901251143Sbapt 902251143Sbapt2012-10-02 Thomas E. Dickey <tom@invisible-island.net> 903251143Sbapt 904251143Sbapt * config_h.in: 905251143Sbapt Adrian Bunk request - replace this with the output from autoheader 906251143Sbapt 907251143Sbapt2012-09-29 Adrian.Bunk 908251143Sbapt 909251143Sbapt * configure.in: 910251143Sbapt suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no 911251143Sbapt check is needed anymore for standard C compilers), drop AC_CONST (same 912251143Sbapt reason), modify AC_OUTPUT to rely upon template generated by autoheader. 913251143Sbapt bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT 914251143Sbapt as being obsolete with autoconf 2.52x 915251143Sbapt 916251143Sbapt * configure.in, main.c: drop check for atexit, because it is standard C 917251143Sbapt 918251143Sbapt * makefile.in: add assignment for datarootdir variable. 919251143Sbapt 920240517Sbapt2012-05-26 Thomas E. Dickey <tom@invisible-island.net> 921240517Sbapt 922240517Sbapt * package/debian/changelog, package/byacc.spec, VERSION: bump 923240517Sbapt 924240517Sbapt * reader.c: 925240517Sbapt some versions of gcc may warn that bp is not set in mark_symbol, e.g., 926240517Sbapt if GCC_NORETURN is not handled; appease the compiler. 927240517Sbapt 928240517Sbapt * reader.c: 929240517Sbapt use the declared types Assoc_t and Value_t in some places where compiler only 930240517Sbapt cared about char versus short. 931240517Sbapt 932240517Sbapt * reader.c: 933240517Sbapt use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 934240517Sbapt (no object change) 935240517Sbapt 936240517Sbapt * defs.h: 937240517Sbapt add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD 938240517Sbapt packagers to build without configure script. Also remove duplicate declaration 939240517Sbapt of pure_parser variable (prompted by patch by Baptiste Daroussin). 940240517Sbapt 941240517Sbapt Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and 942240517Sbapt REALLOC macros. 943240517Sbapt 944240517Sbapt * symtab.c: 945240517Sbapt use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 946240517Sbapt (no object change) 947240517Sbapt 948240517Sbapt2012-05-25 Thomas E. Dickey <tom@invisible-island.net> 949240517Sbapt 950240517Sbapt * output.c, main.c, verbose.c, mkpar.c, lr0.c: 951240517Sbapt use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 952240517Sbapt (no object change) 953240517Sbapt 954234949Sbapt2012-01-15 Thomas E. Dickey <tom@invisible-island.net> 955234949Sbapt 956234949Sbapt * package/debian/copyright: bump 957234949Sbapt 958234949Sbapt * test/run_make.sh: workaround for breakage due to GNU make 3.82 959234949Sbapt 960234949Sbapt * test/run_make.sh: 961234949Sbapt tested with Solaris 10 (bison 1.875) and added scripting to exercise 962234949Sbapt the /usr/ccs/bin/yacc executable 963234949Sbapt 964234949Sbapt * test/grammar.tab.c: regen 965234949Sbapt 966234949Sbapt * test/grammar.y: modify to also build with Solaris yacc 967234949Sbapt 968234949Sbapt * VERSION, package/debian/changelog, package/byacc.spec: bump 969234949Sbapt 970268899Sbapt * test/yacc/calc1.output: reference output for testing 971268899Sbapt 972234949Sbapt * test/calc1.output, test/calc1.tab.c: regen 973234949Sbapt 974234949Sbapt * test/calc1.y: 975234949Sbapt undo the change made to appease bison, since it was only a warning. 976234949Sbapt 977234949Sbapt * test/pure_calc.tab.c, test/pure_error.tab.c: regen 978234949Sbapt 979234949Sbapt * test/run_make.sh: another fix for running from top-level directory 980234949Sbapt 981234949Sbapt * makefile.in: 982234949Sbapt ensure that check_make rule depends on having byacc built. 983234949Sbapt 984234949Sbapt * test/run_make.sh: fixes for building from parent directory 985234949Sbapt 986234949Sbapt * test/pure_error.y, test/pure_calc.y: bison-fixes 987234949Sbapt 988234949Sbapt * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c, test/ftp.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c: 989234949Sbapt regen 990234949Sbapt 991268899Sbapt * test/code_debug.y: RCS_BASE 992268899Sbapt 993234949Sbapt * test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y: 994234949Sbapt byacc already declares yyerror 995234949Sbapt 996234949Sbapt * test/pure_error.y, test/pure_calc.y: 997234949Sbapt modified to help make the files build with bison 998234949Sbapt 999234949Sbapt * test/run_make.sh: 1000234949Sbapt supply a "%pure-parser" directive when bison needs it. 1001234949Sbapt 1002234949Sbapt * test/code_calc.code.c: regen 1003234949Sbapt 1004234949Sbapt * test/code_calc.y: modified to help make the files build with bison 1005234949Sbapt 1006234949Sbapt * yacc.1: 1007234949Sbapt in testing, found that %expect did not work as documented for bison. 1008234949Sbapt do not recommend it for portable code. 1009234949Sbapt 1010234949Sbapt * test/run_make.sh: workaround breakage in bison's %expect directive 1011234949Sbapt 1012234949Sbapt * test/grammar.y: modified to help make the files build with bison 1013234949Sbapt 1014234949Sbapt * test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen 1015234949Sbapt 1016234949Sbapt * test/calc1.y: quiet a spurious warning from bison 2.3 1017234949Sbapt 1018234949Sbapt * test/calc1.tab.c: regen 1019234949Sbapt 1020234949Sbapt * test/calc1.y: modified to help make the files build with bison 1021234949Sbapt 1022234949Sbapt * yacc.1: comment on "-y" and "-P" options. 1023234949Sbapt 1024234949Sbapt * yacc.1: comment on portability 1025234949Sbapt 1026234949Sbapt * test/ftp.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc3-s.tab.c: 1027234949Sbapt regen 1028234949Sbapt 1029234949Sbapt * test/ftp.y: modified to help make the files build with bison 1030234949Sbapt (bison's "-y" option is of no use in providing "yacc" compatibility) 1031234949Sbapt 1032234949Sbapt * test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c: 1033234949Sbapt regen 1034234949Sbapt 1035234949Sbapt * test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, test/quote_calc4.y, test/quote_calc3.y: 1036234949Sbapt modified to help make the files build with bison 1037234949Sbapt 1038234949Sbapt * test/calc.tab.c: regen 1039234949Sbapt 1040234949Sbapt * test/calc.y: modified to help make the files build with bison 1041234949Sbapt 1042234949Sbapt * test/error.tab.c: regen 1043234949Sbapt 1044234949Sbapt * test/error.y: modified to help make the files build with bison 1045234949Sbapt 1046234949Sbapt * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen 1047234949Sbapt 1048234949Sbapt * test/run_make.sh: 1049234949Sbapt check for older bisons which (2.3 for instance) do not support pure parsers 1050234949Sbapt 1051234949Sbapt * test/code_error.y, test/calc3.y, test/calc2.y: 1052234949Sbapt modified to help make the files build with bison 1053234949Sbapt 1054234949Sbapt * test/run_test.sh: use $opt2 in filenames of the generated files 1055234949Sbapt 1056234949Sbapt * test/quote_calc2-s.tab.c, test/quote_calc3-s.tab.c, test/quote_calc4-s.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4.tab.c: 1057234949Sbapt regen 1058234949Sbapt 1059234949Sbapt2012-01-14 Thomas E. Dickey <tom@invisible-island.net> 1060234949Sbapt 1061234949Sbapt * test/calc2.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/calc1.tab.c: 1062234949Sbapt regen 1063234949Sbapt 1064234949Sbapt * output.c: Several changes: 1065234949Sbapt a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex. 1066234949Sbapt b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL, 1067234949Sbapt using YYLEX_PARAM_TYPE and YYLEX_PARAM. 1068234949Sbapt c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL, 1069234949Sbapt to help with redefinitions. 1070234949Sbapt 1071234949Sbapt * test/pure_calc.tab.c: 1072234949Sbapt modified to help make the files build with bison 1073234949Sbapt 1074234949Sbapt * test/run_make.sh: 1075234949Sbapt start work on followup, to check if the generated files build with bison. 1076234949Sbapt 1077234949Sbapt * test/pure_calc.y, test/pure_error.tab.c: 1078234949Sbapt modified to help make the files build with bison 1079234949Sbapt 1080234949Sbapt * test/calc3.tab.c: regen 1081234949Sbapt 1082234949Sbapt * test/quote_calc-s.output, test/quote_calc-s.tab.c, test/quote_calc-s.tab.h, test/quote_calc2-s.output, test/quote_calc2-s.tab.c, test/quote_calc2-s.tab.h, test/quote_calc3-s.output, test/quote_calc3-s.tab.c, test/quote_calc3-s.tab.h, test/quote_calc4-s.output, test/quote_calc4-s.tab.c, test/quote_calc4-s.tab.h: 1083234949Sbapt RCS_BASE 1084234949Sbapt 1085268899Sbapt * test/yacc/quote_calc-s.output, test/yacc/quote_calc-s.tab.h, test/yacc/quote_calc2-s.output, test/yacc/quote_calc2-s.tab.h, test/yacc/quote_calc3-s.output, test/yacc/quote_calc3-s.tab.h, test/yacc/quote_calc4-s.output, test/yacc/quote_calc4-s.tab.h: 1086268899Sbapt reference output for testing 1087268899Sbapt 1088234949Sbapt * test/run_test.sh: generate/test with "-s" option applied. 1089234949Sbapt 1090234949Sbapt2012-01-13 Thomas E. Dickey <tom@invisible-island.net> 1091234949Sbapt 1092234949Sbapt * package/debian/changelog, package/byacc.spec, VERSION: bump 1093234949Sbapt 1094234949Sbapt * yacc.1: improve documentation of -s option 1095234949Sbapt 1096234949Sbapt * yacc.1: note that yacc ignores -y 1097234949Sbapt 1098234949Sbapt * main.c: add -s option to usage message. 1099234949Sbapt 1100268899Sbapt * test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h: 1101234949Sbapt RCS_BASE 1102234949Sbapt 1103268899Sbapt * test/yacc/quote_calc3.output, test/yacc/quote_calc4.output, test/yacc/quote_calc4.tab.h: 1104268899Sbapt reference output for testing 1105268899Sbapt 1106268899Sbapt * test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE 1107268899Sbapt 1108268899Sbapt * test/yacc/quote_calc.tab.h: reference output for testing 1109268899Sbapt 1110268899Sbapt * test/quote_calc.output, test/quote_calc.tab.c, test/quote_calc2.output, test/quote_calc2.tab.c, test/quote_calc2.tab.h, test/quote_calc3.tab.h: 1111268899Sbapt RCS_BASE 1112268899Sbapt 1113268899Sbapt * test/yacc/quote_calc.output, test/yacc/quote_calc2.output, test/yacc/quote_calc2.tab.h, test/yacc/quote_calc3.tab.h: 1114268899Sbapt reference output for testing 1115268899Sbapt 1116268899Sbapt * test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE 1117268899Sbapt 1118234949Sbapt * configure: regen 1119234949Sbapt 1120234949Sbapt * aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE 1121234949Sbapt 1122234949Sbapt2011-12-19 Thomas E. Dickey <tom@invisible-island.net> 1123234949Sbapt 1124234949Sbapt * package/debian/changelog, package/byacc.spec, VERSION: bump 1125234949Sbapt 1126234949Sbapt * yacc.1, output.c, main.c, defs.h: 1127234949Sbapt add "-s" option to suppress generating #define's based on string contents 1128234949Sbapt in a %token statement. For instance 1129234949Sbapt %token EQLS "Equals" 1130234949Sbapt would generate 1131234949Sbapt #define EQLS 256 1132234949Sbapt #define Equals 257 1133234949Sbapt Simply suppressing the second #define makes the behavior closer to yacc. 1134234949Sbapt (report by Paulo Andrade). 1135234949Sbapt 1136234949Sbapt2011-09-08 Thomas E. Dickey <tom@invisible-island.net> 1137234949Sbapt 1138234949Sbapt * package/debian/changelog, package/byacc.spec, VERSION: bump 1139234949Sbapt 1140234949Sbapt * output.c: 1141234949Sbapt fix some more interaction between -i and -d flags to ensure YYERRCODE 1142234949Sbapt and YYSTYPE are declared, tested with cproto. 1143234949Sbapt 1144234949Sbapt2011-09-07 Thomas E. Dickey <tom@invisible-island.net> 1145234949Sbapt 1146234949Sbapt * yacc.1: document "-i" option. 1147234949Sbapt 1148234949Sbapt * package/debian/changelog, package/byacc.spec, VERSION: bump 1149234949Sbapt 1150234949Sbapt * output.c: fix an interaction between -i and -d 1151234949Sbapt 1152234949Sbapt * test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c: 1153234949Sbapt regen - changes for "-i" option move the global/impure variables near the 1154234949Sbapt macros that may add a prefix, etc. 1155234949Sbapt 1156234949Sbapt * skeleton.c, output.c, defs.h: changes to support "-i" option. 1157234949Sbapt 1158234949Sbapt2011-09-06 Thomas E. Dickey <tom@invisible-island.net> 1159234949Sbapt 1160234949Sbapt * reader.c: pass explicit file-pointer to write_section() 1161234949Sbapt 1162234949Sbapt * main.c: 1163234949Sbapt add "-i" option, to generate interface-file (suggested by Denis M. Wilson) 1164234949Sbapt 1165234949Sbapt2011-09-05 Thomas E. Dickey <tom@invisible-island.net> 1166234949Sbapt 1167234949Sbapt * configure: regen 1168234949Sbapt 1169234949Sbapt * aclocal.m4: 1170234949Sbapt resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC) 1171234949Sbapt and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks) 1172234949Sbapt 1173234949Sbapt * defs.h, error.c, reader.c: 1174234949Sbapt add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson) 1175234949Sbapt 1176234949Sbapt2011-04-01 Thomas E. Dickey <tom@invisible-island.net> 1177234949Sbapt 1178268899Sbapt * config.sub: update to 2011-04-01 1179234949Sbapt 1180234949Sbapt2011-02-02 Thomas E. Dickey <tom@invisible-island.net> 1181234949Sbapt 1182268899Sbapt * config.guess: update to 2011-01-01 1183234949Sbapt 1184234949Sbapt2010-12-29 Thomas E. Dickey <tom@invisible-island.net> 1185234949Sbapt 1186234949Sbapt * defs.h, skeleton.c: 1187234949Sbapt add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas) 1188234949Sbapt 1189234949Sbapt * defs.h: 1190234949Sbapt mark all of the error-functions as non-returning (report by Christos Zoulas) 1191234949Sbapt 1192234949Sbapt * test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c: 1193234949Sbapt regen 1194234949Sbapt 1195234949Sbapt * skeleton.c: 1196234949Sbapt use only realloc() rather than realloc+malloc, agree that systems needing this 1197234949Sbapt are very rare (prompted by NetBSD change). 1198234949Sbapt 1199234949Sbapt * test/ftp.tab.c: regen 1200234949Sbapt 1201234949Sbapt2010-12-29 Christos.Zoulas 1202234949Sbapt 1203234949Sbapt * test/ftp.y: 1204234949Sbapt improve example, which was stuck in 19XX and assumed file sizes were longs. 1205234949Sbapt 1206234949Sbapt2010-12-29 Thomas E. Dickey <tom@invisible-island.net> 1207234949Sbapt 1208234949Sbapt * test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c: 1209234949Sbapt regen 1210234949Sbapt 1211234949Sbapt * test/pure_error.y, test/pure_calc.y, test/ftp.y, test/error.y, test/code_error.y, test/code_calc.y, test/calc.y, test/calc3.y, test/calc2.y, test/calc1.y: 1212234949Sbapt use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror 1213234949Sbapt 1214234949Sbapt * skeleton.c: 1215234949Sbapt remove explicit prototype for yylex() via YYLEX_DECL() macro, since that 1216234949Sbapt would prevent declaring yylex() static (request by Christos Zoulas). 1217234949Sbapt 1218234949Sbapt * test/calc2.tab.c, test/calc3.tab.c: regen 1219234949Sbapt 1220234949Sbapt2010-12-29 Christos.Zoulas 1221234949Sbapt 1222234949Sbapt * output.c: correct definition for YYERROR_DECL() 1223234949Sbapt 1224234949Sbapt2010-12-29 Thomas E. Dickey <tom@invisible-island.net> 1225234949Sbapt 1226234949Sbapt * package/debian/changelog, package/byacc.spec, VERSION: bump 1227234949Sbapt 1228234949Sbapt2010-12-26 Thomas E. Dickey <tom@invisible-island.net> 1229234949Sbapt 1230234949Sbapt * defs.h, main.c: 1231234949Sbapt change return-type of allocate() to avoid warnings of alignment problems 1232234949Sbapt 1233234949Sbapt * main.c: Solaris declares chmod() in <sys/stat.h> 1234234949Sbapt 1235234949Sbapt * configure: regen 1236234949Sbapt 1237234949Sbapt * main.c: ifdef'd use of fcntl.h 1238234949Sbapt 1239234949Sbapt * configure.in: add configure checks for fcntl.h, atexit and mkstemp 1240234949Sbapt 1241234949Sbapt * main.c: for cases where mkstemp() is not available, use tempnam/open 1242234949Sbapt 1243234949Sbapt * aclocal.m4: add CF_MKSTEMP 1244234949Sbapt 1245234949Sbapt * aclocal.m4: 1246234949Sbapt improve quoting, deprecate ${name-value} in favor of standard ${name:-value} 1247234949Sbapt 1248234949Sbapt2010-12-25 Thomas E. Dickey <tom@invisible-island.net> 1249234949Sbapt 1250234949Sbapt * main.c: 1251234949Sbapt start revising use of tmpfile(), to make this work with MinGW. Start by 1252234949Sbapt implementing a mkstemp() alternative - noting that mkstemp() also is broken 1253234949Sbapt for MinGW. 1254234949Sbapt 1255234949Sbapt * package/debian/changelog, package/byacc.spec, VERSION: bump 1256234949Sbapt 1257234949Sbapt2010-11-27 Thomas E. Dickey <tom@invisible-island.net> 1258234949Sbapt 1259234949Sbapt * package/byacc.spec, package/debian/changelog, VERSION: bump 1260234949Sbapt 1261234949Sbapt * test/calc2.tab.c, test/calc3.tab.c: regen 1262234949Sbapt 1263234949Sbapt * output.c: 1264234949Sbapt corrected use of %parse-param value in yyerror(); it doesn't use &yylval 1265234949Sbapt (report by Clifford Yapp) 1266234949Sbapt 1267234949Sbapt2010-11-26 Thomas E. Dickey <tom@invisible-island.net> 1268234949Sbapt 1269234949Sbapt * skeleton.c: typo 1270234949Sbapt 1271234949Sbapt * output.c: 1272234949Sbapt correct line-numbering when "-r" option is used; the 'outline' variable 1273234949Sbapt should only be incremented when writing to the code-file. 1274234949Sbapt 1275234949Sbapt * test/code_calc.code.c, test/code_error.code.c: regen 1276234949Sbapt 1277234949Sbapt * yacc.1: bump date 1278234949Sbapt 1279234949Sbapt * yacc.1: comment on -b option vs -r 1280234949Sbapt 1281234949Sbapt * test/calc2.tab.c, test/calc2.y, test/calc3.tab.c, test/calc3.y, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c: 1282234949Sbapt regen 1283234949Sbapt 1284234949Sbapt * output.c: 1285234949Sbapt improve on YYERROR_DECL(), adding dummy params which can be used for the 1286234949Sbapt actual function declaration. Also add YYERROR_CALL(). The two macros 1287234949Sbapt simplify maintaining sets of grammars which may/may not be pure. 1288234949Sbapt 1289234949Sbapt * test/calc1.y, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c: 1290234949Sbapt regen 1291234949Sbapt 1292234949Sbapt * output.c: generate yyerror() calls in output.c 1293234949Sbapt This is for compatibility with bison, which passes the yylval to yyerror 1294234949Sbapt when the %parse-param feature is used. 1295234949Sbapt 1296234949Sbapt * skeleton.c, defs.h: generate yyerror() calls in output.c 1297234949Sbapt 1298234949Sbapt * output.c: simplified a little, using putc_code() and putl_code() 1299234949Sbapt 1300268899Sbapt * test/yacc/calc1.tab.h: reference output for testing 1301268899Sbapt 1302234949Sbapt * test/calc1.tab.h: regen 1303234949Sbapt 1304234949Sbapt * reader.c: 1305234949Sbapt improve ifdef for YYSTYPE union declaration (report by Clifford Yapp) 1306234949Sbapt 1307234949Sbapt * reader.c: 1308234949Sbapt accept underscore as a replacement for dash in command names, e.g., 1309234949Sbapt "%pure_parser" vs "%pure-parser". 1310234949Sbapt 1311234949Sbapt * test/calc1.tab.c: regen 1312234949Sbapt 1313234949Sbapt * output.c, reader.c: 1314234949Sbapt also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp) 1315234949Sbapt 1316234949Sbapt * package/debian/changelog, package/byacc.spec, VERSION: bump 1317234949Sbapt 1318234949Sbapt2010-11-24 Thomas E. Dickey <tom@invisible-island.net> 1319234949Sbapt 1320234949Sbapt * main.c, defs.h, symtab.c, error.c: reduce global variables 1321234949Sbapt 1322234949Sbapt * package/debian/changelog, package/byacc.spec, VERSION: bump 1323234949Sbapt 1324234949Sbapt * reader.c: 1325234949Sbapt amend fix for Redhat #112617 to still call default_action_warning() for 1326234949Sbapt empty rules (report by Bruce Cran). 1327234949Sbapt 1328234949Sbapt2010-11-22 Thomas E. Dickey <tom@invisible-island.net> 1329234949Sbapt 1330234949Sbapt * output.c: 1331234949Sbapt add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp). 1332234949Sbapt 1333234949Sbapt * test/calc1.tab.c: regen 1334234949Sbapt 1335234949Sbapt * test/calc1.y: cleanup compiler warnings 1336234949Sbapt 1337234949Sbapt * test/grammar.y: add "%expect" 1338234949Sbapt 1339234949Sbapt * test/calc1.tab.h: regen 1340234949Sbapt 1341234949Sbapt * test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE 1342234949Sbapt 1343234949Sbapt * test/calc2.tab.c, test/calc3.tab.c: regen 1344234949Sbapt 1345234949Sbapt * test/calc1.y: 1346234949Sbapt advanced example from Steve Johnson's paper, uses unions 1347234949Sbapt 1348234949Sbapt * test/calc3.y, test/calc2.y: init 'base', so examples can run 1349234949Sbapt 1350234949Sbapt * test/ftp.tab.c, test/ftp.y: tweaks to compile with g++ 1351234949Sbapt 1352234949Sbapt * output.c: compensate for fix in reader.c 1353234949Sbapt 1354234949Sbapt * reader.c: 1355234949Sbapt add/use putc_both() and puts_both(), incidentally fixing a place where 1356234949Sbapt a union copied to the union_file may be missing the end of the last line. 1357234949Sbapt 1358234949Sbapt * package/debian/changelog, package/byacc.spec, VERSION: bump 1359234949Sbapt 1360234949Sbapt2010-09-28 Thomas E. Dickey <tom@invisible-island.net> 1361234949Sbapt 1362268899Sbapt * config.guess: update to 2010-09-24 1363234949Sbapt 1364234949Sbapt2010-09-10 Thomas E. Dickey <tom@invisible-island.net> 1365234949Sbapt 1366268899Sbapt * config.sub: update to 2010-09-11 1367234949Sbapt 1368234949Sbapt2010-06-10 Thomas E. Dickey <tom@invisible-island.net> 1369234949Sbapt 1370234949Sbapt * yacc.1, package/debian/changelog, package/byacc.spec, VERSION: 1371234949Sbapt bump to 2010/06/10 1372234949Sbapt 1373234949Sbapt2010-06-09 Thomas E. Dickey <tom@invisible-island.net> 1374234949Sbapt 1375234949Sbapt * reader.c: free declarations in leak-testing code. 1376234949Sbapt 1377234949Sbapt * main.c: close code_file if -r option used, for leak-testing 1378234949Sbapt 1379234949Sbapt * defs.h, reader.c: 1380234949Sbapt improve %lex-param / %parse-param implementation by allowing for arrays to 1381234949Sbapt be passed as parameters, e.g., "int regs[26]". 1382234949Sbapt 1383268899Sbapt * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h: 1384234949Sbapt RCS_BASE 1385234949Sbapt 1386268899Sbapt * test/yacc/calc3.output, test/yacc/calc3.tab.h: 1387268899Sbapt reference output for testing 1388268899Sbapt 1389268899Sbapt * test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE 1390268899Sbapt 1391268899Sbapt * test/yacc/calc2.tab.h: reference output for testing 1392268899Sbapt 1393268899Sbapt * test/calc2.output: RCS_BASE 1394268899Sbapt 1395268899Sbapt * test/yacc/calc2.output: reference output for testing 1396268899Sbapt 1397234949Sbapt * output.c: 1398234949Sbapt improve %lex-param / %parse-param implementation by allowing for arrays to 1399234949Sbapt be passed as parameters, e.g., "int regs[26]". 1400234949Sbapt 1401234949Sbapt * test/calc.tab.c, test/calc.y: 1402234949Sbapt test-cases and reference files for %lex-param / %parse-param 1403234949Sbapt 1404234949Sbapt * makefile.in: add docs-rule, for html/pdf/txt form of manpage 1405234949Sbapt 1406234949Sbapt * configure: regen 1407234949Sbapt 1408234949Sbapt * aclocal.m4: add CF_XOPEN_SOURCE, etc. 1409234949Sbapt 1410234949Sbapt * configure.in: 1411234949Sbapt use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89 1412234949Sbapt 1413234949Sbapt * test/ftp.tab.c, test/ftp.y, reader.c, symtab.c, verbose.c, lr0.c, main.c, mkpar.c, output.c, defs.h, closure.c: 1414234949Sbapt fix warnings from clang --analyze 1415234949Sbapt 1416234949Sbapt2010-06-08 Thomas E. Dickey <tom@invisible-island.net> 1417234949Sbapt 1418234949Sbapt * output.c: fix to build with c89, etc. 1419234949Sbapt 1420234949Sbapt * reader.c: gcc warning 1421234949Sbapt 1422234949Sbapt * test/ftp.tab.c, test/ftp.y, test/calc.tab.c, test/code_calc.code.c, test/code_error.code.c, test/code_error.y, test/code_calc.y, test/calc.y, test/pure_error.tab.c, test/error.tab.c, test/error.y, test/pure_error.y, test/pure_calc.tab.c, test/pure_calc.y: 1423234949Sbapt modified test-cases to allow them to compile, to validate pure-parser changes. 1424234949Sbapt updated reference files to match. 1425234949Sbapt 1426234949Sbapt * output.c: 1427234949Sbapt move call for output_stype() earlier since it is used in pure-parser declarations 1428234949Sbapt 1429234949Sbapt * test/grammar.tab.c, test/grammar.y: 1430234949Sbapt modified test-cases to allow them to compile, to validate pure-parser changes. 1431234949Sbapt updated reference files to match. 1432234949Sbapt 1433234949Sbapt * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1434234949Sbapt regen 1435234949Sbapt 1436234949Sbapt * yacc.1: document %lex-param and %parse-param 1437234949Sbapt 1438234949Sbapt * test/run_lint.sh, test/run_make.sh: RCS_BASE 1439234949Sbapt 1440234949Sbapt * test/run_test.sh: 1441234949Sbapt further modify to allow build-directory to be in a different location by 1442234949Sbapt passing this directory's location as a parameter to the script. 1443234949Sbapt 1444234949Sbapt * makefile.in: 1445234949Sbapt add check_make and check_lint rules to help validate the generated files 1446234949Sbapt in the test-directory 1447234949Sbapt 1448234949Sbapt2010-06-07 Thomas E. Dickey <tom@invisible-island.net> 1449234949Sbapt 1450234949Sbapt * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE 1451234949Sbapt 1452234949Sbapt * test/run_test.sh: 1453234949Sbapt provide for testing -r and -P options by checking if the ".y" filename 1454234949Sbapt begins with "code_" or "pure_", respectively. 1455234949Sbapt 1456268899Sbapt * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h: 1457234949Sbapt RCS_BASE 1458234949Sbapt 1459268899Sbapt * test/yacc/code_error.tab.h: reference output for testing 1460268899Sbapt 1461268899Sbapt * test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h: 1462268899Sbapt RCS_BASE 1463268899Sbapt 1464268899Sbapt * test/yacc/code_calc.tab.h: reference output for testing 1465268899Sbapt 1466268899Sbapt * test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h: 1467268899Sbapt RCS_BASE 1468268899Sbapt 1469268899Sbapt * test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h, test/yacc/pure_error.output, test/yacc/pure_error.tab.h: 1470268899Sbapt reference output for testing 1471268899Sbapt 1472268899Sbapt * test/code_calc.output, test/code_error.output: RCS_BASE 1473268899Sbapt 1474268899Sbapt * test/yacc/code_calc.output, test/yacc/code_error.output: 1475268899Sbapt reference output for testing 1476268899Sbapt 1477234949Sbapt * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen 1478234949Sbapt 1479234949Sbapt * test/run_test.sh: 1480234949Sbapt changes to support running "make check" in a separate build-tree 1481234949Sbapt 1482234949Sbapt * main.c: add "-P" to usage message 1483234949Sbapt 1484234949Sbapt * reader.c: use UCH() macro to hide casts. 1485234949Sbapt 1486234949Sbapt2010-06-07 Andres.Mejia 1487234949Sbapt 1488234949Sbapt * main.c, output.c, reader.c, defs.h, skeleton.c: 1489234949Sbapt Fix the output order of the generated parse code file. This allows for 1490234949Sbapt the use of YYPARSE_PARAM, by having the output that checks for 1491234949Sbapt YYPARSE_PARAM to be defined come after the C code block in the 1492234949Sbapt definitions section of a yacc file. 1493234949Sbapt 1494234949Sbapt Implement support for YYLEX_PARAM, similar to bison. This is useful for 1495234949Sbapt support for building reentrant lexers with flex. 1496234949Sbapt 1497234949Sbapt Fix a compatibility issue with bison's pure-parser option. Bison 1498234949Sbapt defines yylex as sending at least one parameter, &yylval, as the first 1499234949Sbapt parameter and doesn't seem to have an easy way to remove that parameter. 1500234949Sbapt This on the other hand is rather convenient to support saving to yylval 1501234949Sbapt from flex when building reentrant lexers and parsers. 1502234949Sbapt 1503234949Sbapt Add support for the %parse-param and %lex-param directives used in 1504234949Sbapt bison. This change bears some similarity to NetBSD's changes to byacc 1505234949Sbapt at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html 1506234949Sbapt 1507234949Sbapt Bison allows for POSIX yacc emulation via a yacc directive in the yacc 1508234949Sbapt file, and also via a command line switch. Implement this feature as a 1509234949Sbapt no-op for byacc, since byacc is designed to be POSIX yacc compatible 1510234949Sbapt anyway. This allows for better compatibility with yacc sources written 1511234949Sbapt for bison. 1512234949Sbapt 1513234949Sbapt2010-06-07 Thomas E. Dickey <tom@invisible-island.net> 1514234949Sbapt 1515234949Sbapt * VERSION: bump to 2010/06/07 1516234949Sbapt 1517234949Sbapt2010-06-06 Thomas E. Dickey <tom@invisible-island.net> 1518234949Sbapt 1519234949Sbapt * test/calc.tab.c, configure: regen 1520234949Sbapt 1521234949Sbapt * skeleton.c: 1522234949Sbapt move #include's down into the generated code, to allow user-defined code 1523234949Sbapt to override feature definitions, particularly with stdlib.h (request by 1524234949Sbapt Marcus Kool). 1525234949Sbapt 1526234949Sbapt * lr0.c, error.c, reader.c, defs.h: 1527234949Sbapt strict gcc 3.4.6 warnings on 64-bit platform 1528234949Sbapt 1529234949Sbapt * aclocal.m4, configure.in: add check for lint 1530234949Sbapt 1531234949Sbapt * makefile.in: add lint rule 1532234949Sbapt 1533234949Sbapt * defs.h, closure.c, lr0.c, warshall.c, main.c: 1534234949Sbapt fix gcc warnings, mostly for 64-bit platform 1535234949Sbapt 1536234949Sbapt * aclocal.m4: 1537234949Sbapt add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc 1538234949Sbapt 1539234949Sbapt * makefile.in: add etags/TAGS if available 1540234949Sbapt 1541234949Sbapt * configure.in: add configure check for actual ctags and etags programs 1542234949Sbapt 1543234949Sbapt * package/debian/copyright: add copyright notices for non-PD files 1544234949Sbapt 1545234949Sbapt * package/debian/changelog: 1546234949Sbapt incorporated scripts in upstream to use for test-builds 1547234949Sbapt 1548234949Sbapt * makefile.in: drop mkdirs.sh, just use "mkdir -p" 1549234949Sbapt 1550234949Sbapt * AUTHORS: nicknames for some contributors (see CHANGES for details) 1551234949Sbapt 1552234949Sbapt * package/byacc.spec: RPM file for byacc 1553234949Sbapt 1554234949Sbapt * VERSION: bump to 2010/06/06 1555234949Sbapt 1556234949Sbapt * aclocal.m4: add copyright notice, from "my-autoconf" macros 1557234949Sbapt http://invisible-island.net/autoconf/autoconf.html 1558234949Sbapt 1559234949Sbapt * package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS: 1560234949Sbapt PERMIT FILE 1561234949Sbapt 1562234949Sbapt * aclocal.m4: resync with my-autoconf. summary of changes: 1563234949Sbapt a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter 1564234949Sbapt b) CF_DISABLE_ECHO, change indent-convention for substituted makefile 1565234949Sbapt c) CF_GCC_VERSION, ignore stderr 1566234949Sbapt d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc 1567234949Sbapt 1568234949Sbapt2010-04-20 Thomas E. Dickey <tom@invisible-island.net> 1569234949Sbapt 1570234949Sbapt * package/debian/changelog, package/debian/compat, package/debian/control, package/debian/copyright, package/debian/docs, package/debian/postinst, package/debian/prerm, package/debian/rules, package/debian/watch: 1571234949Sbapt scripts from Debian package 1572234949Sbapt 1573234949Sbapt2010-02-16 Thomas E. Dickey <tom@invisible-island.net> 1574234949Sbapt 1575234949Sbapt * yacc.1: document -P and bison-extensions 1576234949Sbapt 1577234949Sbapt * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 1578234949Sbapt regen 1579234949Sbapt 1580234949Sbapt * output.c: implement %pure-parser 1581234949Sbapt 1582234949Sbapt * skeleton.c: 1583234949Sbapt implement %pure-parser, like bison. To help with this, changed the stack 1584234949Sbapt variables, putting them into a struct. 1585234949Sbapt 1586234949Sbapt * reader.c: implement %pure-parser 1587234949Sbapt 1588234949Sbapt * defs.h: modified skeleton to support %pure-parser feature 1589234949Sbapt 1590234949Sbapt * main.c: add -P option to set %pure-parser 1591234949Sbapt 1592234949Sbapt * output.c: 1593234949Sbapt make -r and -p options work together. The -r option splits the generated 1594234949Sbapt parser into code/table files; for this case we cannot use static data. 1595234949Sbapt Also, we have to repeat the #define's used for prefix (-p) as well as the 1596234949Sbapt redeclaration of yyparse(). Finally, allow any of the prefixed names to 1597234949Sbapt be overridden, e.g., by passing a -D option to the compiler. Make that 1598234949Sbapt a little more readable by putting a blank line before each chunk. 1599234949Sbapt 1600234949Sbapt * defs.h: add definitions for %pure-parser 1601234949Sbapt 1602234949Sbapt * skeleton.c: 1603234949Sbapt put blank line before/after the redeclaration of yyparse() 1604234949Sbapt 1605234949Sbapt * output.c: allow for other program redefining yylex() 1606234949Sbapt 1607234949Sbapt * skeleton.c: 1608234949Sbapt split-off xdecls[] array, to move declaration of yyparse() after #define's 1609234949Sbapt 1610234949Sbapt * defs.h: split-out xdecls[] 1611234949Sbapt 1612234949Sbapt * VERSION: bump 1613234949Sbapt 1614234949Sbapt * configure: regen 1615234949Sbapt 1616234949Sbapt * aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS 1617234949Sbapt 1618234949Sbapt * aclocal.m4: 1619234949Sbapt resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes. 1620234949Sbapt 1621234949Sbapt2010-02-16 Ostap.Cherkashi 1622234949Sbapt 1623234949Sbapt * skeleton.c: fix a memory leak in the generated skeleton 1624234949Sbapt 1625234949Sbapt2010-01-01 Thomas E. Dickey <tom@invisible-island.net> 1626234949Sbapt 1627234949Sbapt * package/debian/source/format: scripts from Debian package 1628234949Sbapt 1629234949Sbapt2009-12-31 Thomas E. Dickey <tom@invisible-island.net> 1630234949Sbapt 1631268899Sbapt * config.guess: update to 2009-12-30 1632234949Sbapt 1633268899Sbapt * config.sub: update to 2009-12-31 1634234949Sbapt 1635234949Sbapt2009-10-27 Thomas E. Dickey <tom@invisible-island.net> 1636234949Sbapt 1637234949Sbapt * VERSION: 20091027 1638234949Sbapt 1639234949Sbapt * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c: 1640234949Sbapt strict compiler warnings 1641234949Sbapt 1642234949Sbapt2009-10-26 Thomas E. Dickey <tom@invisible-island.net> 1643234949Sbapt 1644234949Sbapt * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 1645234949Sbapt resync 1646234949Sbapt 1647234949Sbapt * main.c, defs.h: introduce some typedefs for portability, etc. 1648234949Sbapt 1649234949Sbapt * makefile.in: 1650234949Sbapt don't remove "*.log" in mostlyclean rule since it interferes with regression 1651234949Sbapt script. 1652234949Sbapt 1653234949Sbapt * configure: regen 1654234949Sbapt 1655234949Sbapt * aclocal.m4: resync with my-autoconf 1656234949Sbapt 1657234949Sbapt2009-08-25 Thomas E. Dickey <tom@invisible-island.net> 1658234949Sbapt 1659268899Sbapt * config.guess, config.sub: update to 2009-08-19 1660234949Sbapt 1661234949Sbapt2009-02-21 Thomas E. Dickey <tom@invisible-island.net> 1662234949Sbapt 1663234949Sbapt * VERSION: bump 1664234949Sbapt 1665234949Sbapt * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25 1666234949Sbapt 1667234949Sbapt2008-12-26 Thomas E. Dickey <tom@invisible-island.net> 1668234949Sbapt 1669234949Sbapt * configure: regen with autoconf-2.52 (patched) 1670234949Sbapt 1671234949Sbapt2008-12-25 Thomas E. Dickey <tom@invisible-island.net> 1672234949Sbapt 1673234949Sbapt * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c: 1674234949Sbapt regenerated 1675234949Sbapt 1676234949Sbapt2008-12-24 Thomas E. Dickey <tom@invisible-island.net> 1677234949Sbapt 1678234949Sbapt * VERSION: bump 1679234949Sbapt 1680234949Sbapt * skeleton.c: 1681234949Sbapt remove ifdef-lint from goto yyerrlab, to quiet gcc warning 1682234949Sbapt 1683234949Sbapt2008-11-26 Thomas E. Dickey <tom@invisible-island.net> 1684234949Sbapt 1685234949Sbapt * verbose.c, main.c, defs.h, mkpar.c, reader.c: 1686234949Sbapt completed implementation of "%expect" (report by Perry E. Metzger). 1687234949Sbapt add "%expect-rr", which is (unlike bison) allowable in LALR parsers. 1688234949Sbapt 1689234949Sbapt2008-11-24 Thomas E. Dickey <tom@invisible-island.net> 1690234949Sbapt 1691234949Sbapt * closure.c, defs.h, error.c, graph.c, lalr.c, lr0.c, main.c, mkpar.c, output.c, reader.c, skeleton.c, symtab.c, verbose.c, warshall.c: 1692234949Sbapt change indent-style (request by Perry E. Metzger) 1693234949Sbapt 1694234949Sbapt2008-08-27 Thomas E. Dickey <tom@invisible-island.net> 1695234949Sbapt 1696234949Sbapt * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1697234949Sbapt better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro 1698234949Sbapt 1699234949Sbapt * VERSION: bump 1700234949Sbapt 1701234949Sbapt * skeleton.c: 1702234949Sbapt better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro 1703234949Sbapt 1704234949Sbapt * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c: 1705234949Sbapt change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's. 1706234949Sbapt 1707234949Sbapt * configure: regen'd 1708234949Sbapt 1709234949Sbapt * configure.in: add -Wwrite-strings to warnings 1710234949Sbapt 1711234949Sbapt * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 1712234949Sbapt add YYPARSE_PARAM and YYPARSE_PARAM_TYPE 1713234949Sbapt 1714234949Sbapt * skeleton.c: 1715234949Sbapt add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features. 1716234949Sbapt 1717234949Sbapt * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c: 1718234949Sbapt fixes for gcc -Wwrite-strings 1719234949Sbapt 1720234949Sbapt * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1721234949Sbapt generate the tables as static-const (this is an interface change) 1722234949Sbapt 1723234949Sbapt * output.c: realign columns in start_table() 1724234949Sbapt 1725234949Sbapt * output.c: 1726234949Sbapt generate the tables as static-const (this is an interface change) 1727234949Sbapt 1728234949Sbapt * output.c: reorder functions to eliminate forward-references 1729234949Sbapt 1730234949Sbapt * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1731234949Sbapt remove 'register' keywords 1732234949Sbapt 1733234949Sbapt2008-08-26 Thomas E. Dickey <tom@invisible-island.net> 1734234949Sbapt 1735234949Sbapt * warshall.c, verbose.c, symtab.c, skeleton.c, reader.c, output.c, mkpar.c, main.c, lr0.c, lalr.c, graph.c, error.c, closure.c: 1736234949Sbapt remove 'register' keywords 1737234949Sbapt 1738234949Sbapt2008-08-25 Thomas E. Dickey <tom@invisible-island.net> 1739234949Sbapt 1740234949Sbapt * test/ftp.tab.c: regen'd 1741234949Sbapt 1742234949Sbapt * reader.c: 1743234949Sbapt improve the left-curly fix by testing after blanks, to avoid having a 1744234949Sbapt " {" at the beginning of a line. 1745234949Sbapt 1746234949Sbapt * test/error.tab.c, test/grammar.tab.c: regen'd 1747234949Sbapt 1748234949Sbapt * output.c: 1749234949Sbapt move the remaining newline-counting into write_XXX functions. 1750234949Sbapt 1751234949Sbapt * test/calc.tab.c: regen'd 1752234949Sbapt 1753234949Sbapt * output.c: 1754234949Sbapt simplify part of the output_file formatting using new functions, e.g., 1755234949Sbapt start_int_table(), output_newline(). 1756234949Sbapt 1757234949Sbapt * reader.c: 1758234949Sbapt modify copy_action() to indent the first character, it if is is left-curly 1759234949Sbapt brace. That makes the output look more like the original, as well as makes 1760234949Sbapt it simpler to edit (not confuse editors which look for a left-curly in the 1761234949Sbapt first column as if it were the beginning of a function). 1762234949Sbapt 1763234949Sbapt * skeleton.c: minor fixes to avoid gcc -Wconversion warnings 1764234949Sbapt 1765234949Sbapt * output.c: align the #define's produced for "-p" option 1766234949Sbapt 1767234949Sbapt * test/run_test.sh: use the "-p" option for better coverage. 1768234949Sbapt 1769234949Sbapt * output.c: simplify output_prefix() with new define_prefixed() 1770234949Sbapt 1771234949Sbapt * skeleton.c: include string.h, for memset() 1772234949Sbapt change stack size to unsigned to fix gcc -Wconversion warnings. 1773234949Sbapt 1774234949Sbapt * VERSION: bump to 2008/8/25 1775234949Sbapt 1776234949Sbapt * makefile.in: add dependency on VERSION file. 1777234949Sbapt 1778234949Sbapt2008-08-24 Thomas E. Dickey <tom@invisible-island.net> 1779234949Sbapt 1780234949Sbapt * VERSION: bump 1781234949Sbapt 1782234949Sbapt * lalr.c: improved memory-leak checking by freeing data in includes[] 1783234949Sbapt 1784234949Sbapt * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c: 1785234949Sbapt update to match skeleton-change 1786234949Sbapt 1787234949Sbapt * configure: regen'd 1788234949Sbapt 1789234949Sbapt * skeleton.c: Add fix for stack discussed 1790234949Sbapt http://undeadly.org/cgi?action=article&sid=20080708155228 1791234949Sbapt and applied 1792234949Sbapt http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29 1793234949Sbapt 1794234949Sbapt * aclocal.m4: resync with my-autoconf (no major changes) 1795234949Sbapt 1796234949Sbapt2008-07-24 Thomas E. Dickey <tom@invisible-island.net> 1797234949Sbapt 1798234949Sbapt * package/pkgsrc/Makefile, package/pkgsrc/distinfo: 1799234949Sbapt scripts from NetBSD pkgsrc, for test-builds 1800234949Sbapt 1801234949Sbapt2008-03-14 Thomas E. Dickey <tom@invisible-island.net> 1802234949Sbapt 1803234949Sbapt * config.sub: update to 2008-03-08 1804234949Sbapt 1805234949Sbapt * config.guess: update to 2008-03-12 1806234949Sbapt 1807234949Sbapt2007-05-09 Thomas E. Dickey <tom@invisible-island.net> 1808234949Sbapt 1809234949Sbapt * main.c: close graph, verbose files if opened, on exit. 1810234949Sbapt 1811234949Sbapt * main.c: 1812234949Sbapt audit memory leaks - valgrind reported some memory still in use on exit. 1813234949Sbapt 1814234949Sbapt * lalr.c, output.c, reader.c, mkpar.c, lr0.c: 1815234949Sbapt add hook for auditing memory leaks 1816234949Sbapt 1817234949Sbapt * defs.h: add hooks for auditing memory leaks 1818234949Sbapt 1819234949Sbapt * configure: regen'd 1820234949Sbapt 1821234949Sbapt * configure.in: 1822234949Sbapt use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind, 1823234949Sbapt --with-dbmalloc and --with-dmalloc 1824234949Sbapt 1825234949Sbapt * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND 1826234949Sbapt 1827234949Sbapt * aclocal.m4: improve version-checking in CF_GCC_VERSION 1828234949Sbapt rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro 1829234949Sbapt 1830234949Sbapt * VERSION: 2007/5/9 1831234949Sbapt 1832234949Sbapt * main.c: file_prefix did not always have a trailing null. 1833234949Sbapt 1834234949Sbapt2007-03-25 Thomas E. Dickey <tom@invisible-island.net> 1835234949Sbapt 1836234949Sbapt * mkdirs.sh: improved version for "make -j" 1837234949Sbapt 1838234949Sbapt2006-12-22 Thomas E. Dickey <tom@invisible-island.net> 1839234949Sbapt 1840268899Sbapt * config.guess: update to 2006/12/22 1841234949Sbapt 1842234949Sbapt2006-12-08 Thomas E. Dickey <tom@invisible-island.net> 1843234949Sbapt 1844268899Sbapt * config.sub: update to 2006/12/08 1845234949Sbapt 1846234949Sbapt2005-08-13 Thomas E. Dickey <tom@invisible-island.net> 1847234949Sbapt 1848234949Sbapt * main.c: add -V to usage message 1849234949Sbapt 1850234949Sbapt * makefile.in: remove -t option from ctags 1851234949Sbapt 1852234949Sbapt * VERSION: 2005/8/13 1853234949Sbapt 1854234949Sbapt2005-08-13 schmitz 1855234949Sbapt 1856234949Sbapt * main.c: Sylvain Schmitz: 1857234949Sbapt modify the '-o' option to work like bison's, which sets the file-prefix. 1858234949Sbapt 1859234949Sbapt2005-08-13 Matt.Kraai 1860234949Sbapt 1861234949Sbapt * output.c: 1862234949Sbapt Debian #322858 (don't close union_file, which contained data). 1863234949Sbapt This feature is used in groff. 1864234949Sbapt 1865234949Sbapt2005-08-13 Thomas E. Dickey <tom@invisible-island.net> 1866234949Sbapt 1867234949Sbapt * configure: regenerated 1868234949Sbapt 1869234949Sbapt * aclocal.m4: improve checks for Intel compiler warnings 1870234949Sbapt 1871234949Sbapt2005-06-25 Thomas E. Dickey <tom@invisible-island.net> 1872234949Sbapt 1873268899Sbapt * config.sub: update to 2005/6/2 1874234949Sbapt 1875268899Sbapt * config.guess: update to 2005/5/27 1876234949Sbapt 1877234949Sbapt2005-05-05 Thomas E. Dickey <tom@invisible-island.net> 1878234949Sbapt 1879234949Sbapt * defs.h: add a fallback for GCC_UNUSED 1880234949Sbapt 1881234949Sbapt2005-05-04 Thomas E. Dickey <tom@invisible-island.net> 1882234949Sbapt 1883234949Sbapt * makefile.in: add "." to include-path to pickup config.h 1884234949Sbapt 1885234949Sbapt * reader.c: 1886234949Sbapt apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617. 1887234949Sbapt 1888234949Sbapt * output.c: 1889234949Sbapt correct a limit check in pack_vector() - report/analysis by William Evans 1890234949Sbapt 1891234949Sbapt * main.c: 1892234949Sbapt exit after printing version. Otherwise "yacc -V" will exit with an erro 1893234949Sbapt after printing the usage message. 1894234949Sbapt 1895234949Sbapt * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1896234949Sbapt regenerated after skeleton-changes 1897234949Sbapt 1898234949Sbapt * skeleton.c: replace a few -1's with YYEMPTY 1899234949Sbapt 1900234949Sbapt * skeleton.c: 1901234949Sbapt delete yynewerror (no one uses it any more, and it just makes compiler warnings) 1902234949Sbapt 1903234949Sbapt * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD 1904234949Sbapt 1905234949Sbapt * test/run_test.sh: 1906234949Sbapt filter out lines with YYPATCH, since that will change with each update 1907234949Sbapt 1908234949Sbapt * yacc.1: add -V option 1909234949Sbapt 1910234949Sbapt * main.c: add -V option to print the version. 1911234949Sbapt simplify option-parsing by moving the duplicate logic for setting flags into 1912234949Sbapt new function setflag(). 1913234949Sbapt 1914234949Sbapt * skeleton.c: 1915234949Sbapt move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers). 1916234949Sbapt add YYPATCH here so it can be tested by applications. 1917234949Sbapt 1918234949Sbapt * defs.h: 1919234949Sbapt add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and 1920234949Sbapt YYPATCH symbols. 1921234949Sbapt 1922234949Sbapt * lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c: 1923234949Sbapt reduce externs by making static the procedures that are not referenced outside 1924234949Sbapt the module in which they are defined. 1925234949Sbapt 1926234949Sbapt * makefile.in: 1927234949Sbapt the VERSION file holds the patch-date. Define YYPATCH, so this will be 1928234949Sbapt compiled into the skeleton. 1929234949Sbapt 1930234949Sbapt * VERSION: patch-level for byacc 1931234949Sbapt 1932234949Sbapt * main.c: 1933234949Sbapt add "-o" to usage message. It is too long for a single line; rewrite usage() 1934234949Sbapt to show one option per line. 1935234949Sbapt 1936234949Sbapt2005-05-03 Thomas E. Dickey <tom@invisible-island.net> 1937234949Sbapt 1938234949Sbapt * main.c: add -o option, to work with scripts that assume bison. 1939234949Sbapt simplify create_file_names() with a macro. 1940234949Sbapt simplify done() with a macro. 1941234949Sbapt adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by 1942234949Sbapt onintr(), do not flush output via exit(), but use _exit() instead. 1943234949Sbapt 1944234949Sbapt * defs.h: remove unnecessary externs for main.c 1945234949Sbapt 1946234949Sbapt * yacc.1: add -o option 1947234949Sbapt 1948234949Sbapt * graph.c: remove unused parameter 1949234949Sbapt 1950234949Sbapt * mkpar.c, defs.h, reader.c: 1951234949Sbapt add support for "%expect", a bison feature from FreeBSD sources 1952234949Sbapt 1953234949Sbapt * lr0.c, reader.c, main.c, skeleton.c, graph.c, symtab.c, closure.c, mkpar.c, lalr.c, error.c, warshall.c, verbose.c, output.c: 1954234949Sbapt indent'd 1955234949Sbapt 1956234949Sbapt * configure: regenerated for 2005/5/5 1957234949Sbapt 1958234949Sbapt * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER) 1959234949Sbapt 1960234949Sbapt2005-04-27 schmitz 1961234949Sbapt 1962234949Sbapt * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1: 1963234949Sbapt Sylvain Schmitz <schmitz@i3s.unice.fr>: 1964234949Sbapt add graphical output of the LALR(1) automaton for graphviz, 1965234949Sbapt associated with command-line option `-g' 1966234949Sbapt 1967234949Sbapt2005-04-16 Thomas E. Dickey <tom@invisible-island.net> 1968234949Sbapt 1969268899Sbapt * config.sub: update to 2005/2/10 1970234949Sbapt 1971268899Sbapt * config.guess: update to 2005/3/24 1972234949Sbapt 1973234949Sbapt2005-04-13 Thomas E. Dickey <tom@invisible-island.net> 1974234949Sbapt 1975234949Sbapt * package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds 1976234949Sbapt 1977234949Sbapt2005-03-21 Thomas E. Dickey <tom@invisible-island.net> 1978234949Sbapt 1979234949Sbapt * package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds 1980234949Sbapt 1981234949Sbapt2004-03-28 Thomas E. Dickey <tom@invisible-island.net> 1982234949Sbapt 1983234949Sbapt * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1984234949Sbapt updates due to adding yyparse() prototype 1985234949Sbapt 1986234949Sbapt * configure: RCS_BASE 1987234949Sbapt 1988234949Sbapt * configure.in: 1989234949Sbapt add AC_ARG_PROGRAM to make --program-prefix, etc., work. 1990234949Sbapt 1991234949Sbapt * makefile.in: first cut of script to support --program-prefix 1992234949Sbapt 1993234949Sbapt * configure.in: 1994234949Sbapt reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52 1995234949Sbapt 1996234949Sbapt * makefile.in: modify so DESTDIR works 1997234949Sbapt 1998234949Sbapt * makefile.in: use EXEEXT and OBJEXT 1999234949Sbapt 2000234949Sbapt * configure.in: use CF_PROG_EXT 2001234949Sbapt generate a config.h 2002234949Sbapt 2003234949Sbapt * defs.h: make this use the generated config.h 2004234949Sbapt 2005234949Sbapt * skeleton.c: add a forward-reference for yyparse() 2006234949Sbapt 2007234949Sbapt * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT 2008234949Sbapt 2009234949Sbapt * yacc.1: remove the discussion of TMPDIR since it is obsolete 2010234949Sbapt 2011234949Sbapt * skeleton.c: fix a couple of minor compiler-warnings in the skeleton 2012234949Sbapt 2013234949Sbapt * defs.h: remove action_file_name, etc., since we use tmpfile() now. 2014234949Sbapt 2015234949Sbapt * main.c: 2016234949Sbapt use tmpfile() for opening the working files. This quiets a warning 2017234949Sbapt advising the use of mkstemp(). 2018234949Sbapt 2019234949Sbapt * output.c: 2020234949Sbapt Do not close temporary-files here, since they are opened with tmpfile(). 2021234949Sbapt Just rewind them, and they're ready to read back the data stored in them. 2022234949Sbapt 2023234949Sbapt * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE 2024234949Sbapt 2025268899Sbapt * test/yacc/grammar.output, test/yacc/grammar.tab.h: 2026268899Sbapt reference output for testing 2027268899Sbapt 2028234949Sbapt * makefile.in: turn on "make check" rule 2029234949Sbapt 2030268899Sbapt * test/calc.output: RCS_BASE 2031234949Sbapt 2032268899Sbapt * test/yacc/calc.output: reference output for testing 2033268899Sbapt 2034268899Sbapt * test/run_test.sh, test/calc.tab.h: RCS_BASE 2035268899Sbapt 2036268899Sbapt * test/yacc/calc.tab.h: reference output for testing 2037268899Sbapt 2038234949Sbapt * test/ftp.tab.c: yyparse() is now yyparse(void) 2039234949Sbapt 2040234949Sbapt * test/calc.tab.c: RCS_BASE 2041234949Sbapt 2042234949Sbapt * test/error.tab.c: yyparse() is now yyparse(void) 2043234949Sbapt 2044234949Sbapt * test/README: RCS_BASE 2045234949Sbapt 2046234949Sbapt * yacc.1: various typography fixes prompted by Debian #100947 2047234949Sbapt 2048234949Sbapt * aclocal.m4, makefile.in, configure.in: RCS_BASE 2049234949Sbapt 2050234949Sbapt * README: updated to note that this is not the original 2051234949Sbapt 2052234949Sbapt2004-03-24 Thomas E. Dickey <tom@invisible-island.net> 2053234949Sbapt 2054234949Sbapt * test/grammar.y: RCS_BASE 2055234949Sbapt 2056234949Sbapt2004-02-23 Thomas E. Dickey <tom@invisible-island.net> 2057234949Sbapt 2058234949Sbapt * config.sub: RCS_BASE 2059234949Sbapt 2060234949Sbapt2004-02-17 Thomas E. Dickey <tom@invisible-island.net> 2061234949Sbapt 2062234949Sbapt * config.guess: RCS_BASE 2063234949Sbapt 2064234949Sbapt2003-11-29 Thomas E. Dickey <tom@invisible-island.net> 2065234949Sbapt 2066234949Sbapt * install-sh: improved quoting 2067234949Sbapt 2068234949Sbapt2002-06-29 Thomas E. Dickey <tom@invisible-island.net> 2069234949Sbapt 2070234949Sbapt * mkdirs.sh: 2071234949Sbapt don't use character range, since some locales don't work as expected 2072234949Sbapt 2073234949Sbapt2001-06-22 Thomas E. Dickey <tom@invisible-island.net> 2074234949Sbapt 2075234949Sbapt * install-sh: RCS_BASE 2076234949Sbapt 2077234949Sbapt2000-11-20 Thomas E. Dickey <tom@invisible-island.net> 2078234949Sbapt 2079234949Sbapt * test/calc.y: RCS_BASE 2080234949Sbapt 2081234949Sbapt * test/code_calc.y, test/pure_calc.y: copy of calc.y 2082234949Sbapt 2083234949Sbapt * vmsbuild.com: original version 2084234949Sbapt 2085234949Sbapt2000-02-23 Thomas E. Dickey <dickey@invisible-island.net> 2086234949Sbapt 2087234949Sbapt * test/RCS, RCS: PERMIT FILE 2088234949Sbapt 2089234949Sbapt2000-02-14 Thomas E. Dickey <tom@invisible-island.net> 2090234949Sbapt 2091234949Sbapt * main.c: fix for VMS port - making pathname for temp-file 2092234949Sbapt 2093234949Sbapt * descrip.mms: original version 2094234949Sbapt 2095234949Sbapt2000-02-13 Thomas E. Dickey <tom@invisible-island.net> 2096234949Sbapt 2097234949Sbapt * defs.h, verbose.c, reader.c, main.c, skeleton.c, warshall.c, symtab.c, closure.c, mkpar.c, lalr.c, lr0.c, output.c, error.c: 2098234949Sbapt ansify 2099234949Sbapt 2100234949Sbapt1999-11-30 Thomas E. Dickey <tom@invisible-island.net> 2101234949Sbapt 2102234949Sbapt * mkdirs.sh: RCS_BASE 2103234949Sbapt 2104234949Sbapt1995-01-01 Thomas E. Dickey <tom@invisible-island.net> 2105234949Sbapt 2106234949Sbapt * config_h.in: RCS_BASE 2107234949Sbapt 2108234949Sbapt1993-12-23 unknown 2109234949Sbapt 2110234949Sbapt * README.DOS, main.c: MSDOS-port 2111234949Sbapt 2112234949Sbapt1993-12-22 unknown 2113234949Sbapt 2114234949Sbapt * reader.c, defs.h: MSDOS-port 2115234949Sbapt 2116234949Sbapt1993-03-02 unknown 2117234949Sbapt 2118234949Sbapt * README: original version 2119234949Sbapt 2120234949Sbapt1993-02-22 unknown 2121234949Sbapt 2122268899Sbapt * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE 2123234949Sbapt 2124268899Sbapt1993-02-22 Thomas E. Dickey <tom@invisible-island.net> 2125268899Sbapt 2126268899Sbapt * test/yacc/error.output, test/yacc/error.tab.h: 2127268899Sbapt reference output for testing 2128268899Sbapt 2129268899Sbapt1993-02-22 unknown 2130268899Sbapt 2131268899Sbapt * test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE 2132268899Sbapt 2133234949Sbapt * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES: 2134234949Sbapt original version 2135234949Sbapt 2136234949Sbapt1992-10-12 unknown 2137234949Sbapt 2138234949Sbapt * yacc.1: original version 2139234949Sbapt 2140234949Sbapt1992-10-11 unknown 2141234949Sbapt 2142234949Sbapt * defs.h: original version 2143234949Sbapt 2144234949Sbapt1991-01-20 unknown 2145234949Sbapt 2146234949Sbapt * mkpar.c, verbose.c: original version 2147234949Sbapt 2148234949Sbapt1991-01-14 unknown 2149234949Sbapt 2150234949Sbapt * lr0.c, Makefile, Makefile.old: original version 2151234949Sbapt 2152234949Sbapt1990-07-16 unknown 2153234949Sbapt 2154234949Sbapt * NEW_FEATURES: original version 2155234949Sbapt 2156234949Sbapt1990-06-03 unknown 2157234949Sbapt 2158234949Sbapt * ACKNOWLEDGEMENTS: original version 2159234949Sbapt 2160234949Sbapt1990-02-05 unknown 2161234949Sbapt 2162234949Sbapt * symtab.c, lalr.c, error.c: original version 2163234949Sbapt 2164234949Sbapt1990-01-16 Thomas E. Dickey <tom@invisible-island.net> 2165234949Sbapt 2166234949Sbapt * test/code_error.y, test/pure_error.y: RCS_BASE 2167234949Sbapt 2168234949Sbapt1990-01-16 unknown 2169234949Sbapt 2170234949Sbapt * test/error.y: RCS_BASE 2171234949Sbapt 2172234949Sbapt1989-11-22 unknown 2173234949Sbapt 2174234949Sbapt * NO_WARRANTY: original version 2175234949Sbapt 2176234949Sbapt1989-09-23 unknown 2177234949Sbapt 2178234949Sbapt * test/ftp.y: RCS_BASE 2179234949Sbapt 2180