CHANGES revision 272957
1251881Speter2014-10-06 Thomas E. Dickey <tom@invisible-island.net> 2251881Speter 3251881Speter * package/debian/source/format: 4251881Speter change to native format to work around regression in Debian packaging. 5251881Speter 6251881Speter * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 7251881Speter bump 8251881Speter 9251881Speter * configure: regen 10251881Speter 11251881Speter * main.c: 12251881Speter correct parameter for umask - for very old mkstemp's - and use type mode_t 13251881Speter to quiet compiler warning 14251881Speter 15251881Speter * configure.in: add configure check for mode_t 16251881Speter 17251881Speter * reader.c: 18251881Speter better fix for get_line, by ensuring there is enough space to null-terminate 19251881Speter its result (prompted by discussion with Craig Rodrigues). 20251881Speter 21251881Speter2014-10-05 Thomas E. Dickey <tom@invisible-island.net> 22251881Speter 23251881Speter * main.c: 24251881Speter make change to umask before calling mkstemp, as suggested in Coverity #56902 25251881Speter 26251881Speter * reader.c: 27251881Speter adjust logic in copy_action to avoid potential null-pointer dereference 28251881Speter (Coverity #56901) 29251881Speter 30251881Speter * reader.c: 31251881Speter adjust logic to avoid potential null-pointer dereference in compile_args 32251881Speter (Coverity #63407) 33251881Speter 34251881Speter * reader.c: eliminate strcpy into fixed-size buffer (Coverity #63408) 35251881Speter 36251881Speter * yacc.1: document changes made with respect to %parse-param 37251881Speter 38251881Speter * output.c: 39251881Speter add parameters from %parse-param to destructor. The order of the parameters 40251881Speter is intentionally inconsistent with yyparse/yyerror, for "compatibility" with 41251881Speter bison. 42251881Speter 43251881Speter * test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c: 44251881Speter regen 45251881Speter 46251881Speter * output.c: 47251881Speter use puts_param_types/puts_param_names to output lex_param data. 48251881Speter 49251881Speter * test/btyacc/ok_syntax1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.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/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/rename_debug.c: 50251881Speter regen 51251881Speter 52251881Speter * btyaccpar.c: add casts, change types to fix strict compiler warnings 53251881Speter 54251881Speter * test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.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/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.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: 55251881Speter regen 56251881Speter 57251881Speter * output.c: gcc-warning 58251881Speter 59251881Speter * test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c: regen 60251881Speter 61251881Speter * output.c: fix limit when merging real/workaround tables 62251881Speter 63251881Speter * output.c: 64251881Speter for btyacc, it is possible to have no conflicts - but in that case, the 65251881Speter "ctable" was not generated at all, while the skeleton uses the table. 66251881Speter The most straightforward (workaround) is generating a dummy table which 67251881Speter rejects any state. 68251881Speter 69251881Speter * test/btyacc_destroy3.y, test/btyacc_destroy2.y, test/btyacc_destroy1.y: 70251881Speter fix "make check_make" 71251881Speter 72251881Speter * test/yacc/calc3.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/calc2.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c: 73251881Speter regen 74251881Speter 75251881Speter * reader.c: 76251881Speter trim blanks from interim value in copy_param() to handle special case when 77251881Speter a space precedes a comma. 78251881Speter 79251881Speter * output.c: 80251881Speter use two new functions, puts_param_types and puts_param_names, to improve 81251881Speter format of the parse_param list (by trimming space after "*") as well as 82251881Speter correcting the output of the comma-separated names (only the last name 83251881Speter was output). 84251881Speter 85251881Speter * test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c: 86251881Speter regen 87251881Speter 88251881Speter * reader.c: 89251881Speter modify copy_param() to handle resulting comma-separated list. Before, it 90251881Speter only expected a single parameter. 91251881Speter 92251881Speter2014-10-04 Thomas E. Dickey <tom@invisible-island.net> 93251881Speter 94251881Speter * reader.c: split-out save_param() from copy_param() 95251881Speter 96251881Speter * reader.c: trim_blanks() did not always convert spaces - fix. 97251881Speter 98251881Speter * reader.c: fix some minor regressions with error-reporting 99251881Speter 100251881Speter * aclocal.m4: update CF_XOPEN_SOURCE for Unixware change from lynx 101251881Speter 102251881Speter * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 103251881Speter bump 104251881Speter 105251881Speter * reader.c: 106251881Speter modify copy_param() to accept multiple parameters, each in curly braces like 107251881Speter recent bison, as well as honoring bison's undocumented feature to accept the 108251881Speter parameters as a comma-separated list. 109251881Speter 110251881Speter * test/btyacc/btyacc_destroy3.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.error, test/btyacc/btyacc_destroy3.output, test/btyacc/btyacc_destroy3.tab.h, test/btyacc/btyacc_destroy2.error, test/btyacc/btyacc_destroy2.output, test/btyacc/btyacc_destroy2.tab.h: 111251881Speter RCS_BASE 112251881Speter 113251881Speter2014-10-03 Thomas E. Dickey <tom@invisible-island.net> 114251881Speter 115251881Speter * test/btyacc/btyacc_demo2.error, test/btyacc/btyacc_demo2.output, test/btyacc/btyacc_demo2.tab.c, test/btyacc/btyacc_demo2.tab.h, test/btyacc/btyacc_destroy1.error, test/btyacc/btyacc_destroy1.output, test/btyacc/btyacc_destroy1.tab.h, test/btyacc_destroy3.y, test/btyacc_destroy1.y, test/btyacc_destroy2.y: 116251881Speter RCS_BASE 117251881Speter 118251881Speter2014-10-02 Thomas E. Dickey <tom@invisible-island.net> 119251881Speter 120251881Speter * main.c, reader.c, defs.h: 121251881Speter use calloc in get_line() when allocating line to ensure it is fully initialized, 122251881Speter fixes a later uninitialized value in copy_param() (FreeBSD #193499). 123251881Speter 124251881Speter2014-09-17 Thomas E. Dickey <tom@invisible-island.net> 125251881Speter 126251881Speter * closure.c, lalr.c, output.c, defs.h: 127251881Speter rephrase odd addressing to fix Coverity #48848, #38950, #38860, not actually 128251881Speter a bug. 129251881Speter 130251881Speter2014-09-01 Thomas E. Dickey <tom@invisible-island.net> 131251881Speter 132251881Speter * config.sub: update to 2014-07-28 133251881Speter 134251881Speter2014-07-27 Thomas E. Dickey <tom@invisible-island.net> 135251881Speter 136251881Speter * configure: regen 137251881Speter 138251881Speter * aclocal.m4: modified to support port to Minix3.2 139251881Speter 140251881Speter * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec: 141251881Speter bump 142251881Speter 143251881Speter2014-07-15 Thomas E. Dickey <tom@invisible-island.net> 144251881Speter 145251881Speter * aclocal.m4: resync with my-autoconf (no change to configure script) 146251881Speter 147251881Speter * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 148251881Speter bump 149251881Speter 150251881Speter * test/run_test.sh: 151251881Speter make top-level "make check" work again, by adding another step to filtering 152251881Speter the test results. 153251881Speter 154251881Speter2014-07-14 Thomas E. Dickey <tom@invisible-island.net> 155251881Speter 156251881Speter * test/run_test.sh: changes from Garrett Cooper's patch: 157251881Speter a) ensure that the script returns an error-code if there are differences 158251881Speter b) escape "." character in left side of sed expression for $YACC 159251881Speter c) ensure that $ifBTYACC has a value 160251881Speter 161251881Speter * 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: 162251881Speter regen (reminder by Garrett Cooper) 163251881Speter 164251881Speter2014-07-14 Garrett.Cooper 165251881Speter 166251881Speter * 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: 167251881Speter regen 168251881Speter 169251881Speter2014-05-27 Tom.Shields 170251881Speter 171251881Speter * main.c: remove obsolete -D option from usage message 172251881Speter 173251881Speter2014-05-27 Thomas E. Dickey <tom@invisible-island.net> 174251881Speter 175251881Speter * 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: 176251881Speter bump 177251881Speter 178251881Speter2014-04-22 Thomas E. Dickey <tom@invisible-island.net> 179251881Speter 180251881Speter * mstring.c: 181251881Speter use vsnprintf() to ensure that msprintf's buffer is large enough. 182251881Speter 183251881Speter * main.c, defs.h: add mstring_leaks() 184251881Speter 185251881Speter * configure: regen 186251881Speter 187251881Speter * output.c: fix a complementary warning 188251881Speter 189251881Speter * mstring.c: introduce vsnprintf 190251881Speter 191251881Speter * configure.in, config_h.in: add check for vsnprintf 192251881Speter 193251881Speter * output.c: quiet a type-conversion warning 194251881Speter 195251881Speter * mstring.c: fix a potential memory leak on ENOMEM 196251881Speter quiet a couple of type-conversion warnings 197251881Speter 198251881Speter * defs.h: add/use GCC_PRINTFLIKE for msprintf() 199251881Speter 200251881Speter2014-04-22 Tom.Shields 201251881Speter 202251881Speter * README.BTYACC: 203251881Speter drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant 204251881Speter content into README.BTYACC 205251881Speter 206251881Speter2014-04-22 Thomas E. Dickey <tom@invisible-island.net> 207251881Speter 208251881Speter * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec: 209251881Speter bump 210251881Speter 211251881Speter2014-04-19 Thomas E. Dickey <tom@invisible-island.net> 212251881Speter 213251881Speter * config.sub: 2014-04-03 214251881Speter 215251881Speter * config.guess: 2014-03-23 216251881Speter 217251881Speter2014-04-09 Rick.Spates 218251881Speter 219251881Speter * main.c, defs.h: patch to allow DEBUG build with WIN32 system 220251881Speter 221251881Speter2014-04-09 Thomas E. Dickey <tom@invisible-island.net> 222251881Speter 223251881Speter * output.c, reader.c: gcc warnings 224251881Speter 225251881Speter * reader.c: fix const-cast warnings 226251881Speter 227251881Speter * 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: 228251881Speter fix a few clang --analyze warnings; one was a case where output_ctable emitted 229251881Speter an empty table (which should be an error). 230251881Speter 231251881Speter * reader.c: appease clang --analyze 232251881Speter 233251881Speter * defs.h: mark two functions as no-return. 234251881Speter 235251881Speter * package/debian/changelog: reason for release 236251881Speter 237251881Speter * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 238251881Speter bump 239251881Speter 240251881Speter * makefile.in: use $LINT_OPTS from environment via configure script 241251881Speter 242251881Speter * 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: 243251881Speter tweaks to make generated files from ok_syntax1.y compile with check_make rule 244251881Speter 245251881Speter * 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: 246251881Speter reference output for testing 247251881Speter 248251881Speter * test/run_test.sh: 249251881Speter retain the renaming done for code_debug.y so that check_make will work. 250251881Speter 251251881Speter * test/yacc/rename_debug.error, test/yacc/rename_debug.h, test/yacc/rename_debug.i, test/yacc/rename_debug.output: 252251881Speter reference output for testing 253251881Speter 254251881Speter * test/btyacc/ok_syntax1.error: RCS_BASE 255251881Speter 256251881Speter * 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: 257251881Speter regen 258251881Speter 259251881Speter * yacc.1: 260251881Speter clarify relationship of btyacc features to default configuration. 261251881Speter 262251881Speter2014-04-08 Thomas E. Dickey <tom@invisible-island.net> 263251881Speter 264251881Speter * 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: 265251881Speter reference output for testing 266251881Speter 267251881Speter * test/ok_syntax1.y: RCS_BASE 268251881Speter 269251881Speter * test/yacc/ok_syntax1.error: reference output for testing 270251881Speter 271251881Speter * 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: 272251881Speter exercise -L/-B options 273251881Speter 274251881Speter * 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: 275251881Speter use a better renaming of the YYPATCH definition (none of the test-cases rely 276251881Speter upon it, but redefinition in the "make check_make" rule is a problem). 277251881Speter 278251881Speter * 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: 279251881Speter undid temporary reordering in reader() by Tom Shields to align with byacc outputs 280251881Speter 281251881Speter * test/run_test.sh: remove a repeated test-case 282251881Speter 283251881Speter * mstring.c: minor reformatting to make coverage analysis simpler 284251881Speter 285251881Speter2014-04-07 Thomas E. Dickey <tom@invisible-island.net> 286251881Speter 287251881Speter * test/run_test.sh: tidy 288251881Speter 289251881Speter * 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: 290251881Speter reference output for testing 291251881Speter 292251881Speter * test/run_test.sh: 293251881Speter add special checks for flags which depend on writable/existing files 294251881Speter 295251881Speter * 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: 296251881Speter reference output for testing 297251881Speter 298251881Speter * main.c: 299251881Speter change CREATE_FILE_NAMES() to use local function rather than inline code, 300251881Speter to simplify coverage analysis. 301251881Speter 302251881Speter * 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: 303251881Speter reference output for testing 304251881Speter 305251881Speter * test/err_syntax27.y: testcase for missing_brace() 306251881Speter 307251881Speter * error.c: ifdef'd non-btyacc function 308251881Speter 309251881Speter * lr0.c: ifdef'd debug-code 310251881Speter 311251881Speter * yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel 312251881Speter 313251881Speter * 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: 314251881Speter 2010/11/26 simplification of output.c using putc_code() and putl_code() 315251881Speter omitted an adjustment of the #line value used for code-file. Fix that. 316251881Speter Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for 317251881Speter YYPATCH #define's to make test-outputs easier to compare #line's (report 318251881Speter by Tom Shields) 319251881Speter 320251881Speter2014-04-06 Thomas E. Dickey <tom@invisible-island.net> 321251881Speter 322251881Speter * reader.c: fix for valgrind 323251881Speter (the calloc's are intentional - valgrind reported use of uninitialized memory) 324251881Speter 325251881Speter * lr0.c, output.c: fix for valgrind 326251881Speter 327251881Speter * 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: 328251881Speter RCS_BASE 329251881Speter 330251881Speter * test/yacc/code_debug.c, test/yacc/code_debug.h: 331251881Speter exercise the -i option 332251881Speter 333251881Speter * test/yacc/code_debug.i: reference output for testing 334251881Speter 335251881Speter * test/run_test.sh: exercise the -i option 336251881Speter 337251881Speter * test/yacc/code_debug.c: reference output for testing 338251881Speter 339251881Speter * test/run_test.sh: exercise the "-o" option 340251881Speter 341251881Speter * test/yacc/code_debug.error, test/yacc/code_debug.h, test/yacc/code_debug.output: 342251881Speter reference output for testing 343251881Speter 344251881Speter * output.c: don't call exit() without giving a chance to cleanup. 345251881Speter 346251881Speter * mstring.c: ifdef'd functions not used in byacc 347251881Speter 348251881Speter * btyaccpar.c: generated from btyaccpar.skel 349251881Speter 350251881Speter * yaccpar.c: generated from yaccpar.skel 351251881Speter 352251881Speter * skel2c: 353251881Speter change the generated-by comment to show which version of this script (and 354251881Speter which version of the given skeleton file) were used to produce the C-file. 355251881Speter 356251881Speter * configure: regen 357251881Speter 358251881Speter * makefile.in: 359251881Speter add rules to generate byacc and btyacc parser skeleton files independently 360251881Speter 361251881Speter * aclocal.m4: CF_PROG_AWK - add to byacc's configure script 362251881Speter CF_INTEL_COMPILER 363251881Speter cleanup the -no-gcc option which was leftover from testing - prcs does 364251881Speter not build with this option. 365251881Speter CF_MAKE_DOCS 366251881Speter protect $2 from substitution, for luit's "$(manext)" 367251881Speter CF_XOPEN_SOURCE 368251881Speter for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2 369251881Speter on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE 370251881Speter because it is not needed, as well as because g++ 4.7.3 (no package, 371251881Speter used in Sage for Solaris 10) has some unspecified header breakage which 372251881Speter is triggered by the duplicate definition. 373251881Speter 374251881Speter * configure.in: 375251881Speter modify so skeleton-source is determined by configure options rather than by 376251881Speter having developer rename yaccpar.skel.old to yaccpar.skel 377251881Speter 378251881Speter * descrip.mms: rename skeleton 379251881Speter 380251881Speter * vmsbuild.com: 381251881Speter fwiw, renamed the skeleton for consistency with makefile 382251881Speter 383251881Speter * skel2c, skeleton.c: resync skeleton and its generating files 384251881Speter 385251881Speter * yaccpar.skel: 386251881Speter renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules 387251881Speter 388251881Speter * yaccpar.skel.old: resync skeleton and its generating files 389362181Sdim 390362181Sdim * test/run_make.sh: improve cleanup after error recovery 391362181Sdim 392362181Sdim * 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: 393362181Sdim use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton 394362181Sdim 395362181Sdim * output.c: simplify output_yyerror_decl() 396362181Sdim 397251881Speter * 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: 398362181Sdim add second "const" to string-table declarations, from Tom Shield's btyacc changes 399362181Sdim 400362181Sdim * 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: 401362181Sdim discard unnecessary call on write_code_lineno() from Tom Shield's changes 402362181Sdim 403362181Sdim * 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: 404362181Sdim use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short" 405362181Sdim 406362181Sdim * test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c: 407362181Sdim use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL() 408362181Sdim 409362181Sdim * 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: 410362181Sdim discard unnecessary call on write_code_lineno() from Tom Shield's changes 411362181Sdim 412362181Sdim * 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: 413362181Sdim use fix from Tom Shield's btyacc changes: prefix-definitions went to the 414362181Sdim output (.tab.c) file in a case where they should have gone to the code 415362181Sdim (.code.c) file. Remove now-redundant call to output_prefix(). 416362181Sdim 417362181Sdim * main.c: do the same for help-message 418362181Sdim 419362181Sdim * main.c: use OUTPUT_SUFFIX symbol in an overlooked case 420362181Sdim 421362181Sdim * test/run_make.sh: 422362181Sdim modify to avoid use of VPATH, which has no standard implementation 423362181Sdim 424362181Sdim2014-04-05 Thomas E. Dickey <tom@invisible-island.net> 425251881Speter 426251881Speter * 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: 427251881Speter discard a change which merged CountLines() with explicit comparisons against 428251881Speter code_file because that adds extra to the #line values 429251881Speter 430251881Speter * 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: 431251881Speter add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to 432251881Speter override fallback typedef for YYSTYPE when that symbol is undefined 433251881Speter 434 * 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: 435 minor tweak to coding style - use parenthesis for "defined" operator's parameter 436 437 * 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: 438 regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent 439 440 * 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: 441 regen after adding the YYUNDFTOKEN symbol 442 443 * output.c: 444 integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol 445 (I changed order of output to keep this adjacent to YYMAXTOKEN) 446 447 * reader.c: 448 merge all but one small change from Tom Shield's btyacc changes - that 449 changes the order of code-file in the tests. 450 451 * test/btyacc/btyacc_demo.tab.c: regen 452 453 * test/btyacc_demo.y: fix prototypes 454 4552014-04-04 Thomas E. Dickey <tom@invisible-island.net> 456 457 * reader.c, defs.h, main.c: 458 more merging of Tom Shield's btyacc changes. In the merge, I moved the 459 symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs 460 4612014-04-03 Thomas E. Dickey <tom@invisible-island.net> 462 463 * reader.c: 464 merge-in 3/4 of btyacc's changes, deferring those which change test-outputs. 465 Tom Shield's changes split-out copy_string() and copy_comment() functions 466 to simplify some logic, as well as adding btyacc-only chunks 467 468 * makefile.in: build mstring.o, needed for changes in reader.c 469 470 * output.c: 471 merge-in all of btyacc's changes which do not change byacc's test-output. 472 Some of the merge uses ifdef-changes which I applied to ongoing resync, 473 e.g., the introduction of PER_STATE. 474 4752014-04-02 Thomas E. Dickey <tom@invisible-island.net> 476 477 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen 478 479 * output.c: fix typo 480 481 * output.c, reader.c: 482 merge in some chunks of reader and output files which do not affect byacc tests 483 484 * test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen 485 486 * 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: 487 incorporate YYENOMEM and YYEOF symbols from btyacc 488 489 * output.c: merge chunk from btyacc changes for header-guards 490 491 * btyaccpar.skel: RCS_BASE 492 493 * yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues 494 remove GCC_UNUSED to reduce name-pollution as well as being simpler 495 496 * main.c: 497 move a btyacc symbol outside ifdef to work around current state of merge 498 499 * defs.h: 500 add USE_HEADER_GUARDS to defer whether to modify byacc's header-output 501 502 * test/run_make.sh: 503 do not try to compile files used for testing syntax-errors, since they are 504 likely to be incomplete 505 5062014-04-02 Tom.Shields 507 508 * main.c: changes for btyacc 509 5102014-04-01 Thomas E. Dickey <tom@invisible-island.net> 511 512 * reader.c: 513 integrate change by Tom Shields to use bsearch rather than successive 514 calls to matchec() 515 516 * defs.h: typedef __compar_fn_t is unnecessary 517 518 * 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: 519 omit the GCC_UNUSED, as noted by Tom Shields not really essential 520 5212014-04-01 Tom.Shields 522 523 * verbose.c: changes for btyacc, ifdef'd 524 5252014-04-01 Thomas E. Dickey <tom@invisible-island.net> 526 527 * mkpar.c: eliminate most of the ifdef's using macros 528 5292014-04-01 Tom.Shields 530 531 * mkpar.c: merge btyacc changes (ifdef'd - no change to byacc) 532 533 * error.c: 534 new functions used for reporting errors from the btyacc configuration 535 (I reordered some, and ifdef'd the new ones -TD) 536 5372014-03-31 Thomas E. Dickey <tom@invisible-island.net> 538 539 * test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c: 540 omit the GCC_UNUSED, as noted by Tom Shields not really essential 541 542 * 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: 543 regen 544 5452014-03-29 Thomas E. Dickey <tom@invisible-island.net> 546 547 * 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: 548 comment-out yysccsid in the banner because it produces unnecessary compiler 549 warnings. The suggested alternative (using #pragma ident) in the preceding 550 comment is also obsolete; remove that comment (request by Gleb Smirnoff). 551 552 * test/run_test.sh: 553 for yacc, ignore the inherit testcases, since they are btyacc-specific 554 5552014-03-28 Thomas E. Dickey <tom@invisible-island.net> 556 557 * 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: 558 reference output for testing 559 560 * test/run_lint.sh, test/run_make.sh, test/run_test.sh: 561 moving #define's out of makefile broke check for yacc vs btyacc (fix) 562 5632014-03-28 Tom.Shields 564 565 * 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: 566 reference output for testing 567 568 * defs.h: new functions/variables for btyacc 569 (I reordered and ifdef'd -TD) 570 571 * test/inherit0.y, test/inherit1.y: testcase for btyacc 572 5732014-03-27 Tom.Shields 574 575 * test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y, test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y: 576 testcase for btyacc 577 5782014-03-25 Tom.Shields 579 580 * symtab.c: extra initialization needed for btyacc 581 (I ifdef'd -TD) 582 583 * yacc.1: document -L/-B features from btyacc 584 5852014-03-25 Thomas E. Dickey <tom@invisible-island.net> 586 587 * yacc.1: typo 588 589 * configure: regen 590 591 * configure.in: 592 modified new options to act like those in my other configure-scripts, e.g., 593 showing what option is being tested, and the resulting value. Put the 594 definitions in config.h rather than in the makefile. 595 5962014-03-25 Tom.Shields 597 598 * makefile.in: add/use LINTFLAGS variable 599 make all of the objects (not just skeleton) rebuild if makefile changes 600 modify check-rule to reflect updates to run_test.sh vs subdirectory 601 602 * mstring.c: byacc-btyacc-20140323 603 6042014-03-25 Thomas E. Dickey <tom@invisible-island.net> 605 606 * test/btyacc/RCS, test/yacc/RCS: PERMIT FILE 607 608 * config_h.in: updated with autoheader-252 609 6102014-03-25 Tom.Shields 611 612 * README.BTYACC: byacc-btyacc-20140323 613 6142014-03-24 Tom.Shields 615 616 * 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: 617 reference output for testing 618 6192014-03-24 Thomas E. Dickey <tom@invisible-island.net> 620 621 * defs.h: fix compiler warnings due to mputc() 622 6232014-03-23 Tom.Shields 624 625 * test/btyacc_demo.y: testcase for btyacc 626 627 * test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h: 628 reference output for testing 629 630 * test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc 631 6322014-03-23 Thomas E. Dickey <tom@invisible-island.net> 633 634 * 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: 635 reference output for testing 636 637 * test/err_syntax26.y: testcase for missing_brace() 638 639 * 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: 640 reference output for testing 641 642 * test/err_syntax25.y: testcase for over_unionized() 643 644 * 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: 645 reference output for testing 646 647 * test/err_syntax24.y: testcase for default_action_warning() 648 6492014-03-23 Tom.Shields 650 651 * 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: 652 reference output for testing 653 6542014-03-23 Thomas E. Dickey <tom@invisible-island.net> 655 656 * 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: 657 reference output for testing 658 659 * test/err_syntax23.y: testcase for untyped_lhs() 660 6612014-03-23 Tom.Shields 662 663 * test/run_test.sh: 664 move test-outputs into subdirectories to keep btyacc/yacc results separate 665 6662014-03-23 Thomas E. Dickey <tom@invisible-island.net> 667 668 * 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: 669 reference output for testing 670 671 * test/err_syntax22.y: testcase for untyped_rhs() 672 673 * 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: 674 reference output for testing 675 676 * test/err_syntax20.y: testcase for undefined_symbol_warning() 677 678 * test/err_syntax21.y: testcase for unknown_rhs() 679 680 * 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: 681 reference output for testing 682 683 * test/err_syntax19.y: testcase for dollar_error() 684 685 * 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: 686 reference output for testing 687 688 * test/err_syntax18.y: testcase for dollar_warning() 689 690 * 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: 691 reference output for testing 692 693 * test/err_syntax17.y: testcase for unterminated_action() 694 6952014-03-22 Thomas E. Dickey <tom@invisible-island.net> 696 697 * 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: 698 reference output for testing 699 700 * test/err_syntax16.y: testcase for terminal_lhs() 701 702 * 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: 703 reference output for testing 704 705 * test/err_syntax15.y: testcase for no_grammar() 706 707 * 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: 708 reference output for testing 709 710 * test/err_syntax14.y: 711 testcase for restarted_warning() and undefined_goal() 712 713 * 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: 714 reference output for testing 715 716 * test/err_syntax13.y: testcase for terminal_start() 717 718 * 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: 719 reference output for testing 720 721 * test/err_syntax12.y: testcase for revalued_warning() 722 723 * 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: 724 reference output for testing 725 726 * test/err_syntax11.y: testcase for reprec_warning() 727 728 * 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: 729 reference output for testing 730 731 * test/err_syntax10.y: testcase for retyped_warning() 732 7332014-03-21 Thomas E. Dickey <tom@invisible-island.net> 734 735 * 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: 736 reference output for testing 737 738 * test/err_syntax9.y: testcase for tokenized_start() 739 740 * 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: 741 reference output for testing 742 743 * test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved() 744 745 * 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: 746 reference output for testing 747 748 * test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y: 749 testcase for illegal_character() 750 751 * 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: 752 reference output for testing 753 754 * test/err_syntax6.y: testcase for illegal_tag() 755 756 * 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: 757 reference output for testing 758 759 * test/err_syntax5.y: testcase for unterminated_union() 760 761 * 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: 762 reference output for testing 763 764 * test/err_syntax4.y: testcase for unterminated_text() 765 766 * 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: 767 reference output for testing 768 769 * test/err_syntax3.y: testcase for unterminated_string() 770 771 * 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: 772 reference output for testing 773 774 * test/err_syntax2.y: testcase for unterminated_comment() 775 776 * test/err_syntax1.error, test/yacc/err_syntax1.error: 777 reference output for testing 778 779 * test/err_syntax1.y: 780 test-case with syntax error (and nonprinting character) 781 782 * 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: 783 reference output for testing 784 785 * test/run_test.sh: 786 save stderr to reference files, to capture shift/reduce messages as well 787 as syntax-error messages 788 789 * 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: 790 reference output for testing 791 792 * test/run_test.sh: generate a ".dot" file for the grammar file 793 794 * test/grammar.dot: RCS_BASE 795 796 * test/yacc/grammar.dot: reference output for testing 797 7982014-03-19 Tom.Shields 799 800 * output.c: rename MAXSHORT to MAXYYINT 801 8022014-03-18 Tom.Shields 803 804 * yaccpar.skel: skeleton with btyacc additions 805 806 * NOTES-btyacc-Changes: byacc-btyacc-20140323 807 808 * test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h: 809 reference output for testing 810 811 * test/run_make.sh: 812 move test-outputs into subdirectories to keep btyacc/yacc results separate 813 814 * 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: 815 reference output for testing 816 817 * defs.h: 818 several changes to help decouple the use of 'short' as the type of value 819 used in yacc parsers. 820 821 * NOTES-btyacc-Disposition: byacc-btyacc-20140323 822 8232014-03-17 Tom.Shields 824 825 * skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE 826 827 * test/run_lint.sh: 828 move test-outputs into subdirectories to keep btyacc/yacc results separate 829 830 * configure.in: add --with-max-table-size and --enable-btyacc options 831 8322014-03-16 Tom.Shields 833 834 * main.c: use Value_t rather than short 835 8362014-03-11 Tom.Shields 837 838 * test/empty.y: testcase for btyacc 839 8402014-03-10 Tom.Shields 841 842 * test/calc3.y, test/calc2.y: fix unused-variable warning 843 8442014-02-18 Tom.Shields 845 846 * lr0.c, graph.c: use Value_t rather than short 847 848 * closure.c: use Value_t rather than short 849 ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions 850 851 * lalr.c: rename MAXSHORT to MAXYYINT 852 8532014-01-01 Thomas E. Dickey <tom@invisible-island.net> 854 855 * yacc.1: document %token-table, improve presentation of double-quotes 856 857 * VERSION, package/byacc.spec, package/debian/changelog: bump 858 859 * 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: 860 reference output for testing 861 862 * 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: 863 regen 864 865 * output.c, skeleton.c: 866 amend the last change so that yytname is #define'd as needed rather than 867 permanent - to avoid breaking cproto for instance. 868 8692014-01-01 Christos.Zoulas 870 871 * output.c, defs.h, main.c, reader.c, skeleton.c: 872 changes to build ntpd using byacc: 873 - rename yyname[] to yytname[] 874 - add YYTRANSLATE() macro 875 - recognize bison's %token-table declaration 876 8772014-01-01 Thomas E. Dickey <tom@invisible-island.net> 878 879 * configure: regen 880 881 * yacc.1: s/EE/XE/ to work around groff bug on Debian 6 882 883 * makefile.in: use CF_MAKE_DOCS 884 885 * aclocal.m4: add CF_MAKE_DOCS 886 887 * configure.in: use CF_MAKE_DOCS 888 8892013-12-26 Thomas E. Dickey <tom@invisible-island.net> 890 891 * config.guess: 2013-11-29 892 8932013-11-19 Thomas E. Dickey <tom@invisible-island.net> 894 895 * aclocal.m4: resync with my-autoconf (fixes for clang and mingw) 896 8972013-10-25 Thomas E. Dickey <tom@invisible-island.net> 898 899 * config.sub: 2013-10-01 900 9012013-09-25 Thomas E. Dickey <tom@invisible-island.net> 902 903 * reader.c: fix two loop-limits found by clang 3.3 --analyze 904 905 * configure: regen 906 907 * aclocal.m4: 908 tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses 909 910 * package/mingw-byacc.spec: RCS_BASE 911 912 * 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: 913 regen 914 915 * skeleton.c: 916 Increase default stack-size to match FreeBSD version noted as from 917 "BSD 4.4 Lite Usr.bin Sources". See 918 919 http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/ 920 http://svnweb.freebsd.org/base/head/usr.bin/yacc/ 921 http://svnweb.freebsd.org/base/vendor/byacc/ 922 923 The original 1.9 sources (on which I based development) used 500 for 924 stacksize; the BSD Lite sources (a year or two later) used 10000. 925 926 This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE 927 symbols have "always" been overridable by applications, but rarely 928 needed to do this. RedHat began using the FreeBSD source in 2000, 929 and switched to this source in 2007 using the 20050813 snapshot. 930 931 RedHat #743343 misattributed the change in default stacksize to 932 a regression in byacc, but did not report the issue upstream. 933 934 * package/debian/changelog, VERSION, package/byacc.spec: bump 935 9362013-09-07 Thomas E. Dickey <tom@invisible-island.net> 937 938 * config.sub: update to 2013-09-15 939 940 * config.guess: update to 2013-06-10 941 9422013-03-04 Thomas E. Dickey <tom@invisible-island.net> 943 944 * package/debian/changelog, VERSION, package/byacc.spec: bump 945 946 * aclocal.m4: 947 adapt tweak from Dave Becket to work around long-ago breakage in "new" autoconf. 948 949 * output.c: 950 fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton). 951 also while testing that, found a case where the union_file is unused; added 952 a check for address that. 953 954 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen 955 956 * test/ftp.y: fix most compiler warnings for "make check_make" 957 958 * test/calc1.tab.c: regen 959 960 * test/calc1.y: fix most compiler warnings for "make check_make" 961 962 * 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: 963 regen 964 965 * skeleton.c: quiet a gcc conversion-warning in yygrowstack() 966 967 * configure: regen 968 969 * aclocal.m4: 970 another fix for CF_GCC_VERSION to handle Debian's modification of gcc message. 971 9722013-02-10 Thomas E. Dickey <tom@invisible-island.net> 973 974 * config.sub, config.guess: update to 2013-02-04 975 9762012-10-03 Thomas E. Dickey <tom@invisible-island.net> 977 978 * package/debian/changelog, package/byacc.spec, VERSION: bump 979 980 * configure: regen 981 982 * configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC 983 984 * aclocal.m4: 985 moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc) 986 the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor. 987 988 * aclocal.m4, configure.in: 989 Arian's change dropped my check for misused $CC variable - restore that with 990 alternate macro CF_PROG_CC. 991 9922012-10-03 Adrian.Bunk 993 994 * aclocal.m4: 995 suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since 996 they are not needed. 997 9982012-10-03 Thomas E. Dickey <tom@invisible-island.net> 999 1000 * aclocal.m4: 1001 split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in 1002 Adrian's suggested changes. 1003 1004 * aclocal.m4: 1005 CF_CLANG_COMPILER - check if the given compiler is really clang. 1006 1007 * aclocal.m4: 1008 add check for clang to CF_GCC_WARNINGS. modify CF_GCC_WARNINGS to work around 1009 old gcc warning: ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1 1010 on my Sarge system (versus 3.3.5 for the normal gcc). The 2.8.1's 1011 pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work 1012 around by excluding that check for pre-3.x compilers. 1013 1014 * aclocal.m4: 1015 modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions 1016 provided by this macro. use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather 1017 than appending to confdefs.h, since long-ago concern about the ability to 1018 pass-through parameterized macros appears to be not a problem, testing with 1019 2.13 and 2.52 1020 10212012-10-03 Adrian.Bunk 1022 1023 * aclocal.m4: 1024 add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by 1025 autoheader, updated macros: 1026 CF_CHECK_CACHE 1027 CF_DISABLE_LEAKS 1028 CF_MKSTEMP 1029 CF_MIXEDCASE_FILENAMES 1030 CF_NO_LEAKS_OPTION 1031 10322012-10-03 Thomas E. Dickey <tom@invisible-island.net> 1033 1034 * aclocal.m4: 1035 move existence-check for mkstemp out of the AC_TRY_RUN, to help with 1036 cross-compiles 1037 10382012-10-02 Thomas E. Dickey <tom@invisible-island.net> 1039 1040 * config_h.in: 1041 Adrian Bunk request - replace this with the output from autoheader 1042 10432012-09-29 Adrian.Bunk 1044 1045 * configure.in: 1046 suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no 1047 check is needed anymore for standard C compilers), drop AC_CONST (same 1048 reason), modify AC_OUTPUT to rely upon template generated by autoheader. 1049 bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT 1050 as being obsolete with autoconf 2.52x 1051 1052 * configure.in, main.c: drop check for atexit, because it is standard C 1053 1054 * makefile.in: add assignment for datarootdir variable. 1055 10562012-05-26 Thomas E. Dickey <tom@invisible-island.net> 1057 1058 * package/debian/changelog, package/byacc.spec, VERSION: bump 1059 1060 * reader.c: 1061 some versions of gcc may warn that bp is not set in mark_symbol, e.g., 1062 if GCC_NORETURN is not handled; appease the compiler. 1063 1064 * reader.c: 1065 use the declared types Assoc_t and Value_t in some places where compiler only 1066 cared about char versus short. 1067 1068 * reader.c: 1069 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 1070 (no object change) 1071 1072 * defs.h: 1073 add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD 1074 packagers to build without configure script. Also remove duplicate declaration 1075 of pure_parser variable (prompted by patch by Baptiste Daroussin). 1076 1077 Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and 1078 REALLOC macros. 1079 1080 * symtab.c: 1081 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 1082 (no object change) 1083 10842012-05-25 Thomas E. Dickey <tom@invisible-island.net> 1085 1086 * output.c, main.c, verbose.c, mkpar.c, lr0.c: 1087 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 1088 (no object change) 1089 10902012-01-15 Thomas E. Dickey <tom@invisible-island.net> 1091 1092 * package/debian/copyright: bump 1093 1094 * test/run_make.sh: workaround for breakage due to GNU make 3.82 1095 1096 * test/run_make.sh: 1097 tested with Solaris 10 (bison 1.875) and added scripting to exercise 1098 the /usr/ccs/bin/yacc executable 1099 1100 * test/grammar.tab.c: regen 1101 1102 * test/grammar.y: modify to also build with Solaris yacc 1103 1104 * VERSION, package/debian/changelog, package/byacc.spec: bump 1105 1106 * test/yacc/calc1.output: reference output for testing 1107 1108 * test/calc1.output, test/calc1.tab.c: regen 1109 1110 * test/calc1.y: 1111 undo the change made to appease bison, since it was only a warning. 1112 1113 * test/pure_calc.tab.c, test/pure_error.tab.c: regen 1114 1115 * test/run_make.sh: another fix for running from top-level directory 1116 1117 * makefile.in: 1118 ensure that check_make rule depends on having byacc built. 1119 1120 * test/run_make.sh: fixes for building from parent directory 1121 1122 * test/pure_error.y, test/pure_calc.y: bison-fixes 1123 1124 * 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: 1125 regen 1126 1127 * test/code_debug.y: RCS_BASE 1128 1129 * test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y: 1130 byacc already declares yyerror 1131 1132 * test/pure_error.y, test/pure_calc.y: 1133 modified to help make the files build with bison 1134 1135 * test/run_make.sh: 1136 supply a "%pure-parser" directive when bison needs it. 1137 1138 * test/code_calc.code.c: regen 1139 1140 * test/code_calc.y: modified to help make the files build with bison 1141 1142 * yacc.1: 1143 in testing, found that %expect did not work as documented for bison. 1144 do not recommend it for portable code. 1145 1146 * test/run_make.sh: workaround breakage in bison's %expect directive 1147 1148 * test/grammar.y: modified to help make the files build with bison 1149 1150 * test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen 1151 1152 * test/calc1.y: quiet a spurious warning from bison 2.3 1153 1154 * test/calc1.tab.c: regen 1155 1156 * test/calc1.y: modified to help make the files build with bison 1157 1158 * yacc.1: comment on "-y" and "-P" options. 1159 1160 * yacc.1: comment on portability 1161 1162 * 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: 1163 regen 1164 1165 * test/ftp.y: modified to help make the files build with bison 1166 (bison's "-y" option is of no use in providing "yacc" compatibility) 1167 1168 * test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c: 1169 regen 1170 1171 * test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, test/quote_calc4.y, test/quote_calc3.y: 1172 modified to help make the files build with bison 1173 1174 * test/calc.tab.c: regen 1175 1176 * test/calc.y: modified to help make the files build with bison 1177 1178 * test/error.tab.c: regen 1179 1180 * test/error.y: modified to help make the files build with bison 1181 1182 * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen 1183 1184 * test/run_make.sh: 1185 check for older bisons which (2.3 for instance) do not support pure parsers 1186 1187 * test/code_error.y, test/calc3.y, test/calc2.y: 1188 modified to help make the files build with bison 1189 1190 * test/run_test.sh: use $opt2 in filenames of the generated files 1191 1192 * 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: 1193 regen 1194 11952012-01-14 Thomas E. Dickey <tom@invisible-island.net> 1196 1197 * 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: 1198 regen 1199 1200 * output.c: Several changes: 1201 a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex. 1202 b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL, 1203 using YYLEX_PARAM_TYPE and YYLEX_PARAM. 1204 c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL, 1205 to help with redefinitions. 1206 1207 * test/pure_calc.tab.c: 1208 modified to help make the files build with bison 1209 1210 * test/run_make.sh: 1211 start work on followup, to check if the generated files build with bison. 1212 1213 * test/pure_calc.y, test/pure_error.tab.c: 1214 modified to help make the files build with bison 1215 1216 * test/calc3.tab.c: regen 1217 1218 * 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: 1219 RCS_BASE 1220 1221 * 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: 1222 reference output for testing 1223 1224 * test/run_test.sh: generate/test with "-s" option applied. 1225 12262012-01-13 Thomas E. Dickey <tom@invisible-island.net> 1227 1228 * package/debian/changelog, package/byacc.spec, VERSION: bump 1229 1230 * yacc.1: improve documentation of -s option 1231 1232 * yacc.1: note that yacc ignores -y 1233 1234 * main.c: add -s option to usage message. 1235 1236 * test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h: 1237 RCS_BASE 1238 1239 * test/yacc/quote_calc3.output, test/yacc/quote_calc4.output, test/yacc/quote_calc4.tab.h: 1240 reference output for testing 1241 1242 * test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE 1243 1244 * test/yacc/quote_calc.tab.h: reference output for testing 1245 1246 * 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: 1247 RCS_BASE 1248 1249 * test/yacc/quote_calc.output, test/yacc/quote_calc2.output, test/yacc/quote_calc2.tab.h, test/yacc/quote_calc3.tab.h: 1250 reference output for testing 1251 1252 * test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE 1253 1254 * configure: regen 1255 1256 * aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE 1257 12582011-12-19 Thomas E. Dickey <tom@invisible-island.net> 1259 1260 * package/debian/changelog, package/byacc.spec, VERSION: bump 1261 1262 * yacc.1, output.c, main.c, defs.h: 1263 add "-s" option to suppress generating #define's based on string contents 1264 in a %token statement. For instance 1265 %token EQLS "Equals" 1266 would generate 1267 #define EQLS 256 1268 #define Equals 257 1269 Simply suppressing the second #define makes the behavior closer to yacc. 1270 (report by Paulo Andrade). 1271 12722011-09-08 Thomas E. Dickey <tom@invisible-island.net> 1273 1274 * package/debian/changelog, package/byacc.spec, VERSION: bump 1275 1276 * output.c: 1277 fix some more interaction between -i and -d flags to ensure YYERRCODE 1278 and YYSTYPE are declared, tested with cproto. 1279 12802011-09-07 Thomas E. Dickey <tom@invisible-island.net> 1281 1282 * yacc.1: document "-i" option. 1283 1284 * package/debian/changelog, package/byacc.spec, VERSION: bump 1285 1286 * output.c: fix an interaction between -i and -d 1287 1288 * 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: 1289 regen - changes for "-i" option move the global/impure variables near the 1290 macros that may add a prefix, etc. 1291 1292 * skeleton.c, output.c, defs.h: changes to support "-i" option. 1293 12942011-09-06 Thomas E. Dickey <tom@invisible-island.net> 1295 1296 * reader.c: pass explicit file-pointer to write_section() 1297 1298 * main.c: 1299 add "-i" option, to generate interface-file (suggested by Denis M. Wilson) 1300 13012011-09-05 Thomas E. Dickey <tom@invisible-island.net> 1302 1303 * configure: regen 1304 1305 * aclocal.m4: 1306 resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC) 1307 and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks) 1308 1309 * defs.h, error.c, reader.c: 1310 add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson) 1311 13122011-04-01 Thomas E. Dickey <tom@invisible-island.net> 1313 1314 * config.sub: update to 2011-04-01 1315 13162011-02-02 Thomas E. Dickey <tom@invisible-island.net> 1317 1318 * config.guess: update to 2011-01-01 1319 13202010-12-29 Thomas E. Dickey <tom@invisible-island.net> 1321 1322 * defs.h, skeleton.c: 1323 add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas) 1324 1325 * defs.h: 1326 mark all of the error-functions as non-returning (report by Christos Zoulas) 1327 1328 * 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: 1329 regen 1330 1331 * skeleton.c: 1332 use only realloc() rather than realloc+malloc, agree that systems needing this 1333 are very rare (prompted by NetBSD change). 1334 1335 * test/ftp.tab.c: regen 1336 13372010-12-29 Christos.Zoulas 1338 1339 * test/ftp.y: 1340 improve example, which was stuck in 19XX and assumed file sizes were longs. 1341 13422010-12-29 Thomas E. Dickey <tom@invisible-island.net> 1343 1344 * 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: 1345 regen 1346 1347 * 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: 1348 use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror 1349 1350 * skeleton.c: 1351 remove explicit prototype for yylex() via YYLEX_DECL() macro, since that 1352 would prevent declaring yylex() static (request by Christos Zoulas). 1353 1354 * test/calc2.tab.c, test/calc3.tab.c: regen 1355 13562010-12-29 Christos.Zoulas 1357 1358 * output.c: correct definition for YYERROR_DECL() 1359 13602010-12-29 Thomas E. Dickey <tom@invisible-island.net> 1361 1362 * package/debian/changelog, package/byacc.spec, VERSION: bump 1363 13642010-12-26 Thomas E. Dickey <tom@invisible-island.net> 1365 1366 * defs.h, main.c: 1367 change return-type of allocate() to avoid warnings of alignment problems 1368 1369 * main.c: Solaris declares chmod() in <sys/stat.h> 1370 1371 * configure: regen 1372 1373 * main.c: ifdef'd use of fcntl.h 1374 1375 * configure.in: add configure checks for fcntl.h, atexit and mkstemp 1376 1377 * main.c: for cases where mkstemp() is not available, use tempnam/open 1378 1379 * aclocal.m4: add CF_MKSTEMP 1380 1381 * aclocal.m4: 1382 improve quoting, deprecate ${name-value} in favor of standard ${name:-value} 1383 13842010-12-25 Thomas E. Dickey <tom@invisible-island.net> 1385 1386 * main.c: 1387 start revising use of tmpfile(), to make this work with MinGW. Start by 1388 implementing a mkstemp() alternative - noting that mkstemp() also is broken 1389 for MinGW. 1390 1391 * package/debian/changelog, package/byacc.spec, VERSION: bump 1392 13932010-11-27 Thomas E. Dickey <tom@invisible-island.net> 1394 1395 * package/byacc.spec, package/debian/changelog, VERSION: bump 1396 1397 * test/calc2.tab.c, test/calc3.tab.c: regen 1398 1399 * output.c: 1400 corrected use of %parse-param value in yyerror(); it doesn't use &yylval 1401 (report by Clifford Yapp) 1402 14032010-11-26 Thomas E. Dickey <tom@invisible-island.net> 1404 1405 * skeleton.c: typo 1406 1407 * output.c: 1408 correct line-numbering when "-r" option is used; the 'outline' variable 1409 should only be incremented when writing to the code-file. 1410 1411 * test/code_calc.code.c, test/code_error.code.c: regen 1412 1413 * yacc.1: bump date 1414 1415 * yacc.1: comment on -b option vs -r 1416 1417 * 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: 1418 regen 1419 1420 * output.c: 1421 improve on YYERROR_DECL(), adding dummy params which can be used for the 1422 actual function declaration. Also add YYERROR_CALL(). The two macros 1423 simplify maintaining sets of grammars which may/may not be pure. 1424 1425 * 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: 1426 regen 1427 1428 * output.c: generate yyerror() calls in output.c 1429 This is for compatibility with bison, which passes the yylval to yyerror 1430 when the %parse-param feature is used. 1431 1432 * skeleton.c, defs.h: generate yyerror() calls in output.c 1433 1434 * output.c: simplified a little, using putc_code() and putl_code() 1435 1436 * test/yacc/calc1.tab.h: reference output for testing 1437 1438 * test/calc1.tab.h: regen 1439 1440 * reader.c: 1441 improve ifdef for YYSTYPE union declaration (report by Clifford Yapp) 1442 1443 * reader.c: 1444 accept underscore as a replacement for dash in command names, e.g., 1445 "%pure_parser" vs "%pure-parser". 1446 1447 * test/calc1.tab.c: regen 1448 1449 * output.c, reader.c: 1450 also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp) 1451 1452 * package/debian/changelog, package/byacc.spec, VERSION: bump 1453 14542010-11-24 Thomas E. Dickey <tom@invisible-island.net> 1455 1456 * main.c, defs.h, symtab.c, error.c: reduce global variables 1457 1458 * package/debian/changelog, package/byacc.spec, VERSION: bump 1459 1460 * reader.c: 1461 amend fix for Redhat #112617 to still call default_action_warning() for 1462 empty rules (report by Bruce Cran). 1463 14642010-11-22 Thomas E. Dickey <tom@invisible-island.net> 1465 1466 * output.c: 1467 add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp). 1468 1469 * test/calc1.tab.c: regen 1470 1471 * test/calc1.y: cleanup compiler warnings 1472 1473 * test/grammar.y: add "%expect" 1474 1475 * test/calc1.tab.h: regen 1476 1477 * test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE 1478 1479 * test/calc2.tab.c, test/calc3.tab.c: regen 1480 1481 * test/calc1.y: 1482 advanced example from Steve Johnson's paper, uses unions 1483 1484 * test/calc3.y, test/calc2.y: init 'base', so examples can run 1485 1486 * test/ftp.tab.c, test/ftp.y: tweaks to compile with g++ 1487 1488 * output.c: compensate for fix in reader.c 1489 1490 * reader.c: 1491 add/use putc_both() and puts_both(), incidentally fixing a place where 1492 a union copied to the union_file may be missing the end of the last line. 1493 1494 * package/debian/changelog, package/byacc.spec, VERSION: bump 1495 14962010-09-28 Thomas E. Dickey <tom@invisible-island.net> 1497 1498 * config.guess: update to 2010-09-24 1499 15002010-09-10 Thomas E. Dickey <tom@invisible-island.net> 1501 1502 * config.sub: update to 2010-09-11 1503 15042010-06-10 Thomas E. Dickey <tom@invisible-island.net> 1505 1506 * yacc.1, package/debian/changelog, package/byacc.spec, VERSION: 1507 bump to 2010/06/10 1508 15092010-06-09 Thomas E. Dickey <tom@invisible-island.net> 1510 1511 * reader.c: free declarations in leak-testing code. 1512 1513 * main.c: close code_file if -r option used, for leak-testing 1514 1515 * defs.h, reader.c: 1516 improve %lex-param / %parse-param implementation by allowing for arrays to 1517 be passed as parameters, e.g., "int regs[26]". 1518 1519 * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h: 1520 RCS_BASE 1521 1522 * test/yacc/calc3.output, test/yacc/calc3.tab.h: 1523 reference output for testing 1524 1525 * test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE 1526 1527 * test/yacc/calc2.tab.h: reference output for testing 1528 1529 * test/calc2.output: RCS_BASE 1530 1531 * test/yacc/calc2.output: reference output for testing 1532 1533 * output.c: 1534 improve %lex-param / %parse-param implementation by allowing for arrays to 1535 be passed as parameters, e.g., "int regs[26]". 1536 1537 * test/calc.tab.c, test/calc.y: 1538 test-cases and reference files for %lex-param / %parse-param 1539 1540 * makefile.in: add docs-rule, for html/pdf/txt form of manpage 1541 1542 * configure: regen 1543 1544 * aclocal.m4: add CF_XOPEN_SOURCE, etc. 1545 1546 * configure.in: 1547 use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89 1548 1549 * 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: 1550 fix warnings from clang --analyze 1551 15522010-06-08 Thomas E. Dickey <tom@invisible-island.net> 1553 1554 * output.c: fix to build with c89, etc. 1555 1556 * reader.c: gcc warning 1557 1558 * 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: 1559 modified test-cases to allow them to compile, to validate pure-parser changes. 1560 updated reference files to match. 1561 1562 * output.c: 1563 move call for output_stype() earlier since it is used in pure-parser declarations 1564 1565 * test/grammar.tab.c, test/grammar.y: 1566 modified test-cases to allow them to compile, to validate pure-parser changes. 1567 updated reference files to match. 1568 1569 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1570 regen 1571 1572 * yacc.1: document %lex-param and %parse-param 1573 1574 * test/run_lint.sh, test/run_make.sh: RCS_BASE 1575 1576 * test/run_test.sh: 1577 further modify to allow build-directory to be in a different location by 1578 passing this directory's location as a parameter to the script. 1579 1580 * makefile.in: 1581 add check_make and check_lint rules to help validate the generated files 1582 in the test-directory 1583 15842010-06-07 Thomas E. Dickey <tom@invisible-island.net> 1585 1586 * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE 1587 1588 * test/run_test.sh: 1589 provide for testing -r and -P options by checking if the ".y" filename 1590 begins with "code_" or "pure_", respectively. 1591 1592 * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h: 1593 RCS_BASE 1594 1595 * test/yacc/code_error.tab.h: reference output for testing 1596 1597 * test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h: 1598 RCS_BASE 1599 1600 * test/yacc/code_calc.tab.h: reference output for testing 1601 1602 * test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h: 1603 RCS_BASE 1604 1605 * test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h, test/yacc/pure_error.output, test/yacc/pure_error.tab.h: 1606 reference output for testing 1607 1608 * test/code_calc.output, test/code_error.output: RCS_BASE 1609 1610 * test/yacc/code_calc.output, test/yacc/code_error.output: 1611 reference output for testing 1612 1613 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen 1614 1615 * test/run_test.sh: 1616 changes to support running "make check" in a separate build-tree 1617 1618 * main.c: add "-P" to usage message 1619 1620 * reader.c: use UCH() macro to hide casts. 1621 16222010-06-07 Andres.Mejia 1623 1624 * main.c, output.c, reader.c, defs.h, skeleton.c: 1625 Fix the output order of the generated parse code file. This allows for 1626 the use of YYPARSE_PARAM, by having the output that checks for 1627 YYPARSE_PARAM to be defined come after the C code block in the 1628 definitions section of a yacc file. 1629 1630 Implement support for YYLEX_PARAM, similar to bison. This is useful for 1631 support for building reentrant lexers with flex. 1632 1633 Fix a compatibility issue with bison's pure-parser option. Bison 1634 defines yylex as sending at least one parameter, &yylval, as the first 1635 parameter and doesn't seem to have an easy way to remove that parameter. 1636 This on the other hand is rather convenient to support saving to yylval 1637 from flex when building reentrant lexers and parsers. 1638 1639 Add support for the %parse-param and %lex-param directives used in 1640 bison. This change bears some similarity to NetBSD's changes to byacc 1641 at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html 1642 1643 Bison allows for POSIX yacc emulation via a yacc directive in the yacc 1644 file, and also via a command line switch. Implement this feature as a 1645 no-op for byacc, since byacc is designed to be POSIX yacc compatible 1646 anyway. This allows for better compatibility with yacc sources written 1647 for bison. 1648 16492010-06-07 Thomas E. Dickey <tom@invisible-island.net> 1650 1651 * VERSION: bump to 2010/06/07 1652 16532010-06-06 Thomas E. Dickey <tom@invisible-island.net> 1654 1655 * test/calc.tab.c, configure: regen 1656 1657 * skeleton.c: 1658 move #include's down into the generated code, to allow user-defined code 1659 to override feature definitions, particularly with stdlib.h (request by 1660 Marcus Kool). 1661 1662 * lr0.c, error.c, reader.c, defs.h: 1663 strict gcc 3.4.6 warnings on 64-bit platform 1664 1665 * aclocal.m4, configure.in: add check for lint 1666 1667 * makefile.in: add lint rule 1668 1669 * defs.h, closure.c, lr0.c, warshall.c, main.c: 1670 fix gcc warnings, mostly for 64-bit platform 1671 1672 * aclocal.m4: 1673 add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc 1674 1675 * makefile.in: add etags/TAGS if available 1676 1677 * configure.in: add configure check for actual ctags and etags programs 1678 1679 * package/debian/copyright: add copyright notices for non-PD files 1680 1681 * package/debian/changelog: 1682 incorporated scripts in upstream to use for test-builds 1683 1684 * makefile.in: drop mkdirs.sh, just use "mkdir -p" 1685 1686 * AUTHORS: nicknames for some contributors (see CHANGES for details) 1687 1688 * package/byacc.spec: RPM file for byacc 1689 1690 * VERSION: bump to 2010/06/06 1691 1692 * aclocal.m4: add copyright notice, from "my-autoconf" macros 1693 http://invisible-island.net/autoconf/autoconf.html 1694 1695 * package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS: 1696 PERMIT FILE 1697 1698 * aclocal.m4: resync with my-autoconf. summary of changes: 1699 a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter 1700 b) CF_DISABLE_ECHO, change indent-convention for substituted makefile 1701 c) CF_GCC_VERSION, ignore stderr 1702 d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc 1703 17042010-04-20 Thomas E. Dickey <tom@invisible-island.net> 1705 1706 * 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: 1707 scripts from Debian package 1708 17092010-02-16 Thomas E. Dickey <tom@invisible-island.net> 1710 1711 * yacc.1: document -P and bison-extensions 1712 1713 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 1714 regen 1715 1716 * output.c: implement %pure-parser 1717 1718 * skeleton.c: 1719 implement %pure-parser, like bison. To help with this, changed the stack 1720 variables, putting them into a struct. 1721 1722 * reader.c: implement %pure-parser 1723 1724 * defs.h: modified skeleton to support %pure-parser feature 1725 1726 * main.c: add -P option to set %pure-parser 1727 1728 * output.c: 1729 make -r and -p options work together. The -r option splits the generated 1730 parser into code/table files; for this case we cannot use static data. 1731 Also, we have to repeat the #define's used for prefix (-p) as well as the 1732 redeclaration of yyparse(). Finally, allow any of the prefixed names to 1733 be overridden, e.g., by passing a -D option to the compiler. Make that 1734 a little more readable by putting a blank line before each chunk. 1735 1736 * defs.h: add definitions for %pure-parser 1737 1738 * skeleton.c: 1739 put blank line before/after the redeclaration of yyparse() 1740 1741 * output.c: allow for other program redefining yylex() 1742 1743 * skeleton.c: 1744 split-off xdecls[] array, to move declaration of yyparse() after #define's 1745 1746 * defs.h: split-out xdecls[] 1747 1748 * VERSION: bump 1749 1750 * configure: regen 1751 1752 * aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS 1753 1754 * aclocal.m4: 1755 resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes. 1756 17572010-02-16 Ostap.Cherkashi 1758 1759 * skeleton.c: fix a memory leak in the generated skeleton 1760 17612010-01-01 Thomas E. Dickey <tom@invisible-island.net> 1762 1763 * package/debian/source/format: scripts from Debian package 1764 17652009-12-31 Thomas E. Dickey <tom@invisible-island.net> 1766 1767 * config.guess: update to 2009-12-30 1768 1769 * config.sub: update to 2009-12-31 1770 17712009-10-27 Thomas E. Dickey <tom@invisible-island.net> 1772 1773 * VERSION: 20091027 1774 1775 * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c: 1776 strict compiler warnings 1777 17782009-10-26 Thomas E. Dickey <tom@invisible-island.net> 1779 1780 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 1781 resync 1782 1783 * main.c, defs.h: introduce some typedefs for portability, etc. 1784 1785 * makefile.in: 1786 don't remove "*.log" in mostlyclean rule since it interferes with regression 1787 script. 1788 1789 * configure: regen 1790 1791 * aclocal.m4: resync with my-autoconf 1792 17932009-08-25 Thomas E. Dickey <tom@invisible-island.net> 1794 1795 * config.guess, config.sub: update to 2009-08-19 1796 17972009-02-21 Thomas E. Dickey <tom@invisible-island.net> 1798 1799 * VERSION: bump 1800 1801 * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25 1802 18032008-12-26 Thomas E. Dickey <tom@invisible-island.net> 1804 1805 * configure: regen with autoconf-2.52 (patched) 1806 18072008-12-25 Thomas E. Dickey <tom@invisible-island.net> 1808 1809 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c: 1810 regenerated 1811 18122008-12-24 Thomas E. Dickey <tom@invisible-island.net> 1813 1814 * VERSION: bump 1815 1816 * skeleton.c: 1817 remove ifdef-lint from goto yyerrlab, to quiet gcc warning 1818 18192008-11-26 Thomas E. Dickey <tom@invisible-island.net> 1820 1821 * verbose.c, main.c, defs.h, mkpar.c, reader.c: 1822 completed implementation of "%expect" (report by Perry E. Metzger). 1823 add "%expect-rr", which is (unlike bison) allowable in LALR parsers. 1824 18252008-11-24 Thomas E. Dickey <tom@invisible-island.net> 1826 1827 * 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: 1828 change indent-style (request by Perry E. Metzger) 1829 18302008-08-27 Thomas E. Dickey <tom@invisible-island.net> 1831 1832 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1833 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro 1834 1835 * VERSION: bump 1836 1837 * skeleton.c: 1838 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro 1839 1840 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c: 1841 change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's. 1842 1843 * configure: regen'd 1844 1845 * configure.in: add -Wwrite-strings to warnings 1846 1847 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 1848 add YYPARSE_PARAM and YYPARSE_PARAM_TYPE 1849 1850 * skeleton.c: 1851 add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features. 1852 1853 * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c: 1854 fixes for gcc -Wwrite-strings 1855 1856 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1857 generate the tables as static-const (this is an interface change) 1858 1859 * output.c: realign columns in start_table() 1860 1861 * output.c: 1862 generate the tables as static-const (this is an interface change) 1863 1864 * output.c: reorder functions to eliminate forward-references 1865 1866 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1867 remove 'register' keywords 1868 18692008-08-26 Thomas E. Dickey <tom@invisible-island.net> 1870 1871 * 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: 1872 remove 'register' keywords 1873 18742008-08-25 Thomas E. Dickey <tom@invisible-island.net> 1875 1876 * test/ftp.tab.c: regen'd 1877 1878 * reader.c: 1879 improve the left-curly fix by testing after blanks, to avoid having a 1880 " {" at the beginning of a line. 1881 1882 * test/error.tab.c, test/grammar.tab.c: regen'd 1883 1884 * output.c: 1885 move the remaining newline-counting into write_XXX functions. 1886 1887 * test/calc.tab.c: regen'd 1888 1889 * output.c: 1890 simplify part of the output_file formatting using new functions, e.g., 1891 start_int_table(), output_newline(). 1892 1893 * reader.c: 1894 modify copy_action() to indent the first character, it if is is left-curly 1895 brace. That makes the output look more like the original, as well as makes 1896 it simpler to edit (not confuse editors which look for a left-curly in the 1897 first column as if it were the beginning of a function). 1898 1899 * skeleton.c: minor fixes to avoid gcc -Wconversion warnings 1900 1901 * output.c: align the #define's produced for "-p" option 1902 1903 * test/run_test.sh: use the "-p" option for better coverage. 1904 1905 * output.c: simplify output_prefix() with new define_prefixed() 1906 1907 * skeleton.c: include string.h, for memset() 1908 change stack size to unsigned to fix gcc -Wconversion warnings. 1909 1910 * VERSION: bump to 2008/8/25 1911 1912 * makefile.in: add dependency on VERSION file. 1913 19142008-08-24 Thomas E. Dickey <tom@invisible-island.net> 1915 1916 * VERSION: bump 1917 1918 * lalr.c: improved memory-leak checking by freeing data in includes[] 1919 1920 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c: 1921 update to match skeleton-change 1922 1923 * configure: regen'd 1924 1925 * skeleton.c: Add fix for stack discussed 1926 http://undeadly.org/cgi?action=article&sid=20080708155228 1927 and applied 1928 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29 1929 1930 * aclocal.m4: resync with my-autoconf (no major changes) 1931 19322008-07-24 Thomas E. Dickey <tom@invisible-island.net> 1933 1934 * package/pkgsrc/Makefile, package/pkgsrc/distinfo: 1935 scripts from NetBSD pkgsrc, for test-builds 1936 19372008-03-14 Thomas E. Dickey <tom@invisible-island.net> 1938 1939 * config.sub: update to 2008-03-08 1940 1941 * config.guess: update to 2008-03-12 1942 19432007-05-09 Thomas E. Dickey <tom@invisible-island.net> 1944 1945 * main.c: close graph, verbose files if opened, on exit. 1946 1947 * main.c: 1948 audit memory leaks - valgrind reported some memory still in use on exit. 1949 1950 * lalr.c, output.c, reader.c, mkpar.c, lr0.c: 1951 add hook for auditing memory leaks 1952 1953 * defs.h: add hooks for auditing memory leaks 1954 1955 * configure: regen'd 1956 1957 * configure.in: 1958 use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind, 1959 --with-dbmalloc and --with-dmalloc 1960 1961 * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND 1962 1963 * aclocal.m4: improve version-checking in CF_GCC_VERSION 1964 rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro 1965 1966 * VERSION: 2007/5/9 1967 1968 * main.c: file_prefix did not always have a trailing null. 1969 19702007-03-25 Thomas E. Dickey <tom@invisible-island.net> 1971 1972 * mkdirs.sh: improved version for "make -j" 1973 19742006-12-22 Thomas E. Dickey <tom@invisible-island.net> 1975 1976 * config.guess: update to 2006/12/22 1977 19782006-12-08 Thomas E. Dickey <tom@invisible-island.net> 1979 1980 * config.sub: update to 2006/12/08 1981 19822005-08-13 Thomas E. Dickey <tom@invisible-island.net> 1983 1984 * main.c: add -V to usage message 1985 1986 * makefile.in: remove -t option from ctags 1987 1988 * VERSION: 2005/8/13 1989 19902005-08-13 schmitz 1991 1992 * main.c: Sylvain Schmitz: 1993 modify the '-o' option to work like bison's, which sets the file-prefix. 1994 19952005-08-13 Matt.Kraai 1996 1997 * output.c: 1998 Debian #322858 (don't close union_file, which contained data). 1999 This feature is used in groff. 2000 20012005-08-13 Thomas E. Dickey <tom@invisible-island.net> 2002 2003 * configure: regenerated 2004 2005 * aclocal.m4: improve checks for Intel compiler warnings 2006 20072005-06-25 Thomas E. Dickey <tom@invisible-island.net> 2008 2009 * config.sub: update to 2005/6/2 2010 2011 * config.guess: update to 2005/5/27 2012 20132005-05-05 Thomas E. Dickey <tom@invisible-island.net> 2014 2015 * defs.h: add a fallback for GCC_UNUSED 2016 20172005-05-04 Thomas E. Dickey <tom@invisible-island.net> 2018 2019 * makefile.in: add "." to include-path to pickup config.h 2020 2021 * reader.c: 2022 apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617. 2023 2024 * output.c: 2025 correct a limit check in pack_vector() - report/analysis by William Evans 2026 2027 * main.c: 2028 exit after printing version. Otherwise "yacc -V" will exit with an erro 2029 after printing the usage message. 2030 2031 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 2032 regenerated after skeleton-changes 2033 2034 * skeleton.c: replace a few -1's with YYEMPTY 2035 2036 * skeleton.c: 2037 delete yynewerror (no one uses it any more, and it just makes compiler warnings) 2038 2039 * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD 2040 2041 * test/run_test.sh: 2042 filter out lines with YYPATCH, since that will change with each update 2043 2044 * yacc.1: add -V option 2045 2046 * main.c: add -V option to print the version. 2047 simplify option-parsing by moving the duplicate logic for setting flags into 2048 new function setflag(). 2049 2050 * skeleton.c: 2051 move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers). 2052 add YYPATCH here so it can be tested by applications. 2053 2054 * defs.h: 2055 add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and 2056 YYPATCH symbols. 2057 2058 * lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c: 2059 reduce externs by making static the procedures that are not referenced outside 2060 the module in which they are defined. 2061 2062 * makefile.in: 2063 the VERSION file holds the patch-date. Define YYPATCH, so this will be 2064 compiled into the skeleton. 2065 2066 * VERSION: patch-level for byacc 2067 2068 * main.c: 2069 add "-o" to usage message. It is too long for a single line; rewrite usage() 2070 to show one option per line. 2071 20722005-05-03 Thomas E. Dickey <tom@invisible-island.net> 2073 2074 * main.c: add -o option, to work with scripts that assume bison. 2075 simplify create_file_names() with a macro. 2076 simplify done() with a macro. 2077 adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by 2078 onintr(), do not flush output via exit(), but use _exit() instead. 2079 2080 * defs.h: remove unnecessary externs for main.c 2081 2082 * yacc.1: add -o option 2083 2084 * graph.c: remove unused parameter 2085 2086 * mkpar.c, defs.h, reader.c: 2087 add support for "%expect", a bison feature from FreeBSD sources 2088 2089 * 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: 2090 indent'd 2091 2092 * configure: regenerated for 2005/5/5 2093 2094 * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER) 2095 20962005-04-27 schmitz 2097 2098 * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1: 2099 Sylvain Schmitz <schmitz@i3s.unice.fr>: 2100 add graphical output of the LALR(1) automaton for graphviz, 2101 associated with command-line option `-g' 2102 21032005-04-16 Thomas E. Dickey <tom@invisible-island.net> 2104 2105 * config.sub: update to 2005/2/10 2106 2107 * config.guess: update to 2005/3/24 2108 21092005-04-13 Thomas E. Dickey <tom@invisible-island.net> 2110 2111 * package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds 2112 21132005-03-21 Thomas E. Dickey <tom@invisible-island.net> 2114 2115 * package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds 2116 21172004-03-28 Thomas E. Dickey <tom@invisible-island.net> 2118 2119 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 2120 updates due to adding yyparse() prototype 2121 2122 * configure: RCS_BASE 2123 2124 * configure.in: 2125 add AC_ARG_PROGRAM to make --program-prefix, etc., work. 2126 2127 * makefile.in: first cut of script to support --program-prefix 2128 2129 * configure.in: 2130 reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52 2131 2132 * makefile.in: modify so DESTDIR works 2133 2134 * makefile.in: use EXEEXT and OBJEXT 2135 2136 * configure.in: use CF_PROG_EXT 2137 generate a config.h 2138 2139 * defs.h: make this use the generated config.h 2140 2141 * skeleton.c: add a forward-reference for yyparse() 2142 2143 * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT 2144 2145 * yacc.1: remove the discussion of TMPDIR since it is obsolete 2146 2147 * skeleton.c: fix a couple of minor compiler-warnings in the skeleton 2148 2149 * defs.h: remove action_file_name, etc., since we use tmpfile() now. 2150 2151 * main.c: 2152 use tmpfile() for opening the working files. This quiets a warning 2153 advising the use of mkstemp(). 2154 2155 * output.c: 2156 Do not close temporary-files here, since they are opened with tmpfile(). 2157 Just rewind them, and they're ready to read back the data stored in them. 2158 2159 * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE 2160 2161 * test/yacc/grammar.output, test/yacc/grammar.tab.h: 2162 reference output for testing 2163 2164 * makefile.in: turn on "make check" rule 2165 2166 * test/calc.output: RCS_BASE 2167 2168 * test/yacc/calc.output: reference output for testing 2169 2170 * test/run_test.sh, test/calc.tab.h: RCS_BASE 2171 2172 * test/yacc/calc.tab.h: reference output for testing 2173 2174 * test/ftp.tab.c: yyparse() is now yyparse(void) 2175 2176 * test/calc.tab.c: RCS_BASE 2177 2178 * test/error.tab.c: yyparse() is now yyparse(void) 2179 2180 * test/README: RCS_BASE 2181 2182 * yacc.1: various typography fixes prompted by Debian #100947 2183 2184 * aclocal.m4, makefile.in, configure.in: RCS_BASE 2185 2186 * README: updated to note that this is not the original 2187 21882004-03-24 Thomas E. Dickey <tom@invisible-island.net> 2189 2190 * test/grammar.y: RCS_BASE 2191 21922004-02-23 Thomas E. Dickey <tom@invisible-island.net> 2193 2194 * config.sub: RCS_BASE 2195 21962004-02-17 Thomas E. Dickey <tom@invisible-island.net> 2197 2198 * config.guess: RCS_BASE 2199 22002003-11-29 Thomas E. Dickey <tom@invisible-island.net> 2201 2202 * install-sh: improved quoting 2203 22042002-06-29 Thomas E. Dickey <tom@invisible-island.net> 2205 2206 * mkdirs.sh: 2207 don't use character range, since some locales don't work as expected 2208 22092001-06-22 Thomas E. Dickey <tom@invisible-island.net> 2210 2211 * install-sh: RCS_BASE 2212 22132000-11-20 Thomas E. Dickey <tom@invisible-island.net> 2214 2215 * test/calc.y: RCS_BASE 2216 2217 * test/code_calc.y, test/pure_calc.y: copy of calc.y 2218 2219 * vmsbuild.com: original version 2220 22212000-02-23 Thomas E. Dickey <dickey@invisible-island.net> 2222 2223 * test/RCS, RCS: PERMIT FILE 2224 22252000-02-14 Thomas E. Dickey <tom@invisible-island.net> 2226 2227 * main.c: fix for VMS port - making pathname for temp-file 2228 2229 * descrip.mms: original version 2230 22312000-02-13 Thomas E. Dickey <tom@invisible-island.net> 2232 2233 * 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: 2234 ansify 2235 22361999-11-30 Thomas E. Dickey <tom@invisible-island.net> 2237 2238 * mkdirs.sh: RCS_BASE 2239 22401995-01-01 Thomas E. Dickey <tom@invisible-island.net> 2241 2242 * config_h.in: RCS_BASE 2243 22441993-12-23 unknown 2245 2246 * README.DOS, main.c: MSDOS-port 2247 22481993-12-22 unknown 2249 2250 * reader.c, defs.h: MSDOS-port 2251 22521993-03-02 unknown 2253 2254 * README: original version 2255 22561993-02-22 unknown 2257 2258 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE 2259 22601993-02-22 Thomas E. Dickey <tom@invisible-island.net> 2261 2262 * test/yacc/error.output, test/yacc/error.tab.h: 2263 reference output for testing 2264 22651993-02-22 unknown 2266 2267 * test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE 2268 2269 * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES: 2270 original version 2271 22721992-10-12 unknown 2273 2274 * yacc.1: original version 2275 22761992-10-11 unknown 2277 2278 * defs.h: original version 2279 22801991-01-20 unknown 2281 2282 * mkpar.c, verbose.c: original version 2283 22841991-01-14 unknown 2285 2286 * lr0.c, Makefile, Makefile.old: original version 2287 22881990-07-16 unknown 2289 2290 * NEW_FEATURES: original version 2291 22921990-06-03 unknown 2293 2294 * ACKNOWLEDGEMENTS: original version 2295 22961990-02-05 unknown 2297 2298 * symtab.c, lalr.c, error.c: original version 2299 23001990-01-16 Thomas E. Dickey <tom@invisible-island.net> 2301 2302 * test/code_error.y, test/pure_error.y: RCS_BASE 2303 23041990-01-16 unknown 2305 2306 * test/error.y: RCS_BASE 2307 23081989-11-22 unknown 2309 2310 * NO_WARRANTY: original version 2311 23121989-09-23 unknown 2313 2314 * test/ftp.y: RCS_BASE 2315 2316