12014-04-22 Thomas E. Dickey <tom@invisible-island.net> 2 3 * mstring.c: 4 use vsnprintf() to ensure that msprintf's buffer is large enough. 5 6 * main.c, defs.h: add mstring_leaks() 7 8 * configure: regen 9 10 * output.c: fix a complementary warning 11 12 * mstring.c: introduce vsnprintf 13 14 * configure.in, config_h.in: add check for vsnprintf 15 16 * output.c: quiet a type-conversion warning 17 18 * mstring.c: fix a potential memory leak on ENOMEM 19 quiet a couple of type-conversion warnings 20 21 * defs.h: add/use GCC_PRINTFLIKE for msprintf() 22 232014-04-22 Tom.Shields 24 25 * README.BTYACC: 26 drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant 27 content into README.BTYACC 28 292014-04-22 Thomas E. Dickey <tom@invisible-island.net> 30 31 * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec: 32 bump 33 342014-04-19 Thomas E. Dickey <tom@invisible-island.net> 35 36 * config.sub: 2014-04-03 37 38 * config.guess: 2014-03-23 39 402014-04-09 Rick.Spates 41 42 * main.c, defs.h: patch to allow DEBUG build with WIN32 system 43 442014-04-09 Thomas E. Dickey <tom@invisible-island.net> 45 46 * output.c, reader.c: gcc warnings 47 48 * reader.c: fix const-cast warnings 49 50 * 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: 51 fix a few clang --analyze warnings; one was a case where output_ctable emitted 52 an empty table (which should be an error). 53 54 * reader.c: appease clang --analyze 55 56 * defs.h: mark two functions as no-return. 57 58 * package/debian/changelog: reason for release 59 60 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 61 bump 62 63 * makefile.in: use $LINT_OPTS from environment via configure script 64 65 * 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: 66 tweaks to make generated files from ok_syntax1.y compile with check_make rule 67 68 * 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: 69 reference output for testing 70 71 * test/run_test.sh: 72 retain the renaming done for code_debug.y so that check_make will work. 73 74 * test/yacc/rename_debug.error, test/yacc/rename_debug.h, test/yacc/rename_debug.i, test/yacc/rename_debug.output: 75 reference output for testing 76 77 * test/btyacc/ok_syntax1.error: RCS_BASE 78 79 * 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: 80 regen 81 82 * yacc.1: 83 clarify relationship of btyacc features to default configuration. 84 852014-04-08 Thomas E. Dickey <tom@invisible-island.net> 86 87 * 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: 88 reference output for testing 89 90 * test/ok_syntax1.y: RCS_BASE 91 92 * test/yacc/ok_syntax1.error: reference output for testing 93 94 * 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: 95 exercise -L/-B options 96 97 * 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: 98 use a better renaming of the YYPATCH definition (none of the test-cases rely 99 upon it, but redefinition in the "make check_make" rule is a problem). 100 101 * 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: 102 undid temporary reordering in reader() by Tom Shields to align with byacc outputs 103 104 * test/run_test.sh: remove a repeated test-case 105 106 * mstring.c: minor reformatting to make coverage analysis simpler 107 1082014-04-07 Thomas E. Dickey <tom@invisible-island.net> 109 110 * test/run_test.sh: tidy 111 112 * 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: 113 reference output for testing 114 115 * test/run_test.sh: 116 add special checks for flags which depend on writable/existing files 117 118 * 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: 119 reference output for testing 120 121 * main.c: 122 change CREATE_FILE_NAMES() to use local function rather than inline code, 123 to simplify coverage analysis. 124 125 * 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: 126 reference output for testing 127 128 * test/err_syntax27.y: testcase for missing_brace() 129 130 * error.c: ifdef'd non-btyacc function 131 132 * lr0.c: ifdef'd debug-code 133 134 * yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel 135 136 * 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: 137 2010/11/26 simplification of output.c using putc_code() and putl_code() 138 omitted an adjustment of the #line value used for code-file. Fix that. 139 Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for 140 YYPATCH #define's to make test-outputs easier to compare #line's (report 141 by Tom Shields) 142 1432014-04-06 Thomas E. Dickey <tom@invisible-island.net> 144 145 * reader.c: fix for valgrind 146 (the calloc's are intentional - valgrind reported use of uninitialized memory) 147 148 * lr0.c, output.c: fix for valgrind 149 150 * 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: 151 RCS_BASE 152 153 * test/yacc/code_debug.c, test/yacc/code_debug.h: 154 exercise the -i option 155 156 * test/yacc/code_debug.i: reference output for testing 157 158 * test/run_test.sh: exercise the -i option 159 160 * test/yacc/code_debug.c: reference output for testing 161 162 * test/run_test.sh: exercise the "-o" option 163 164 * test/yacc/code_debug.error, test/yacc/code_debug.h, test/yacc/code_debug.output: 165 reference output for testing 166 167 * output.c: don't call exit() without giving a chance to cleanup. 168 169 * mstring.c: ifdef'd functions not used in byacc 170 171 * btyaccpar.c: generated from btyaccpar.skel 172 173 * yaccpar.c: generated from yaccpar.skel 174 175 * skel2c: 176 change the generated-by comment to show which version of this script (and 177 which version of the given skeleton file) were used to produce the C-file. 178 179 * configure: regen 180 181 * makefile.in: 182 add rules to generate byacc and btyacc parser skeleton files independently 183 184 * aclocal.m4: CF_PROG_AWK - add to byacc's configure script 185 CF_INTEL_COMPILER 186 cleanup the -no-gcc option which was leftover from testing - prcs does 187 not build with this option. 188 CF_MAKE_DOCS 189 protect $2 from substitution, for luit's "$(manext)" 190 CF_XOPEN_SOURCE 191 for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2 192 on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE 193 because it is not needed, as well as because g++ 4.7.3 (no package, 194 used in Sage for Solaris 10) has some unspecified header breakage which 195 is triggered by the duplicate definition. 196 197 * configure.in: 198 modify so skeleton-source is determined by configure options rather than by 199 having developer rename yaccpar.skel.old to yaccpar.skel 200 201 * descrip.mms: rename skeleton 202 203 * vmsbuild.com: 204 fwiw, renamed the skeleton for consistency with makefile 205 206 * skel2c, skeleton.c: resync skeleton and its generating files 207 208 * yaccpar.skel: 209 renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules 210 211 * yaccpar.skel.old: resync skeleton and its generating files 212 213 * test/run_make.sh: improve cleanup after error recovery 214 215 * 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: 216 use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton 217 218 * output.c: simplify output_yyerror_decl() 219 220 * 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: 221 add second "const" to string-table declarations, from Tom Shield's btyacc changes 222 223 * 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: 224 discard unnecessary call on write_code_lineno() from Tom Shield's changes 225 226 * 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: 227 use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short" 228 229 * test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c: 230 use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL() 231 232 * 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: 233 discard unnecessary call on write_code_lineno() from Tom Shield's changes 234 235 * 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: 236 use fix from Tom Shield's btyacc changes: prefix-definitions went to the 237 output (.tab.c) file in a case where they should have gone to the code 238 (.code.c) file. Remove now-redundant call to output_prefix(). 239 240 * main.c: do the same for help-message 241 242 * main.c: use OUTPUT_SUFFIX symbol in an overlooked case 243 244 * test/run_make.sh: 245 modify to avoid use of VPATH, which has no standard implementation 246 2472014-04-05 Thomas E. Dickey <tom@invisible-island.net> 248 249 * 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: 250 discard a change which merged CountLines() with explicit comparisons against 251 code_file because that adds extra to the #line values 252 253 * 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: 254 add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to 255 override fallback typedef for YYSTYPE when that symbol is undefined 256 257 * 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: 258 minor tweak to coding style - use parenthesis for "defined" operator's parameter 259 260 * 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: 261 regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent 262 263 * 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: 264 regen after adding the YYUNDFTOKEN symbol 265 266 * output.c: 267 integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol 268 (I changed order of output to keep this adjacent to YYMAXTOKEN) 269 270 * reader.c: 271 merge all but one small change from Tom Shield's btyacc changes - that 272 changes the order of code-file in the tests. 273 274 * test/btyacc/btyacc_demo.tab.c: regen 275 276 * test/btyacc_demo.y: fix prototypes 277 2782014-04-04 Thomas E. Dickey <tom@invisible-island.net> 279 280 * reader.c, defs.h, main.c: 281 more merging of Tom Shield's btyacc changes. In the merge, I moved the 282 symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs 283 2842014-04-03 Thomas E. Dickey <tom@invisible-island.net> 285 286 * reader.c: 287 merge-in 3/4 of btyacc's changes, deferring those which change test-outputs. 288 Tom Shield's changes split-out copy_string() and copy_comment() functions 289 to simplify some logic, as well as adding btyacc-only chunks 290 291 * makefile.in: build mstring.o, needed for changes in reader.c 292 293 * output.c: 294 merge-in all of btyacc's changes which do not change byacc's test-output. 295 Some of the merge uses ifdef-changes which I applied to ongoing resync, 296 e.g., the introduction of PER_STATE. 297 2982014-04-02 Thomas E. Dickey <tom@invisible-island.net> 299 300 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen 301 302 * output.c: fix typo 303 304 * output.c, reader.c: 305 merge in some chunks of reader and output files which do not affect byacc tests 306 307 * test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen 308 309 * 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: 310 incorporate YYENOMEM and YYEOF symbols from btyacc 311 312 * output.c: merge chunk from btyacc changes for header-guards 313 314 * btyaccpar.skel: RCS_BASE 315 316 * yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues 317 remove GCC_UNUSED to reduce name-pollution as well as being simpler 318 319 * main.c: 320 move a btyacc symbol outside ifdef to work around current state of merge 321 322 * defs.h: 323 add USE_HEADER_GUARDS to defer whether to modify byacc's header-output 324 325 * test/run_make.sh: 326 do not try to compile files used for testing syntax-errors, since they are 327 likely to be incomplete 328 3292014-04-02 Tom.Shields 330 331 * main.c: changes for btyacc 332 3332014-04-01 Thomas E. Dickey <tom@invisible-island.net> 334 335 * reader.c: 336 integrate change by Tom Shields to use bsearch rather than successive 337 calls to matchec() 338 339 * defs.h: typedef __compar_fn_t is unnecessary 340 341 * 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: 342 omit the GCC_UNUSED, as noted by Tom Shields not really essential 343 3442014-04-01 Tom.Shields 345 346 * verbose.c: changes for btyacc, ifdef'd 347 3482014-04-01 Thomas E. Dickey <tom@invisible-island.net> 349 350 * mkpar.c: eliminate most of the ifdef's using macros 351 3522014-04-01 Tom.Shields 353 354 * mkpar.c: merge btyacc changes (ifdef'd - no change to byacc) 355 356 * error.c: 357 new functions used for reporting errors from the btyacc configuration 358 (I reordered some, and ifdef'd the new ones -TD) 359 3602014-03-31 Thomas E. Dickey <tom@invisible-island.net> 361 362 * test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c: 363 omit the GCC_UNUSED, as noted by Tom Shields not really essential 364 365 * 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: 366 regen 367 3682014-03-29 Thomas E. Dickey <tom@invisible-island.net> 369 370 * 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: 371 comment-out yysccsid in the banner because it produces unnecessary compiler 372 warnings. The suggested alternative (using #pragma ident) in the preceding 373 comment is also obsolete; remove that comment (request by Gleb Smirnoff). 374 375 * test/run_test.sh: 376 for yacc, ignore the inherit testcases, since they are btyacc-specific 377 3782014-03-28 Thomas E. Dickey <tom@invisible-island.net> 379 380 * 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: 381 reference output for testing 382 383 * test/run_lint.sh, test/run_make.sh, test/run_test.sh: 384 moving #define's out of makefile broke check for yacc vs btyacc (fix) 385 3862014-03-28 Tom.Shields 387 388 * 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: 389 reference output for testing 390 391 * defs.h: new functions/variables for btyacc 392 (I reordered and ifdef'd -TD) 393 394 * test/inherit0.y, test/inherit1.y: testcase for btyacc 395 3962014-03-27 Tom.Shields 397 398 * test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y, test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y: 399 testcase for btyacc 400 4012014-03-25 Tom.Shields 402 403 * symtab.c: extra initialization needed for btyacc 404 (I ifdef'd -TD) 405 406 * yacc.1: document -L/-B features from btyacc 407 4082014-03-25 Thomas E. Dickey <tom@invisible-island.net> 409 410 * yacc.1: typo 411 412 * configure: regen 413 414 * configure.in: 415 modified new options to act like those in my other configure-scripts, e.g., 416 showing what option is being tested, and the resulting value. Put the 417 definitions in config.h rather than in the makefile. 418 4192014-03-25 Tom.Shields 420 421 * makefile.in: add/use LINTFLAGS variable 422 make all of the objects (not just skeleton) rebuild if makefile changes 423 modify check-rule to reflect updates to run_test.sh vs subdirectory 424 425 * mstring.c: byacc-btyacc-20140323 426 4272014-03-25 Thomas E. Dickey <tom@invisible-island.net> 428 429 * test/btyacc/RCS, test/yacc/RCS: PERMIT FILE 430 431 * config_h.in: updated with autoheader-252 432 4332014-03-25 Tom.Shields 434 435 * README.BTYACC: byacc-btyacc-20140323 436 4372014-03-24 Tom.Shields 438 439 * 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: 440 reference output for testing 441 4422014-03-24 Thomas E. Dickey <tom@invisible-island.net> 443 444 * defs.h: fix compiler warnings due to mputc() 445 4462014-03-23 Tom.Shields 447 448 * test/btyacc_demo.y: testcase for btyacc 449 450 * test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h: 451 reference output for testing 452 453 * test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc 454 4552014-03-23 Thomas E. Dickey <tom@invisible-island.net> 456 457 * 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: 458 reference output for testing 459 460 * test/err_syntax26.y: testcase for missing_brace() 461 462 * 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: 463 reference output for testing 464 465 * test/err_syntax25.y: testcase for over_unionized() 466 467 * 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: 468 reference output for testing 469 470 * test/err_syntax24.y: testcase for default_action_warning() 471 4722014-03-23 Tom.Shields 473 474 * 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: 475 reference output for testing 476 4772014-03-23 Thomas E. Dickey <tom@invisible-island.net> 478 479 * 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: 480 reference output for testing 481 482 * test/err_syntax23.y: testcase for untyped_lhs() 483 4842014-03-23 Tom.Shields 485 486 * test/run_test.sh: 487 move test-outputs into subdirectories to keep btyacc/yacc results separate 488 4892014-03-23 Thomas E. Dickey <tom@invisible-island.net> 490 491 * 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: 492 reference output for testing 493 494 * test/err_syntax22.y: testcase for untyped_rhs() 495 496 * 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: 497 reference output for testing 498 499 * test/err_syntax20.y: testcase for undefined_symbol_warning() 500 501 * test/err_syntax21.y: testcase for unknown_rhs() 502 503 * 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: 504 reference output for testing 505 506 * test/err_syntax19.y: testcase for dollar_error() 507 508 * 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: 509 reference output for testing 510 511 * test/err_syntax18.y: testcase for dollar_warning() 512 513 * 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: 514 reference output for testing 515 516 * test/err_syntax17.y: testcase for unterminated_action() 517 5182014-03-22 Thomas E. Dickey <tom@invisible-island.net> 519 520 * 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: 521 reference output for testing 522 523 * test/err_syntax16.y: testcase for terminal_lhs() 524 525 * 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: 526 reference output for testing 527 528 * test/err_syntax15.y: testcase for no_grammar() 529 530 * 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: 531 reference output for testing 532 533 * test/err_syntax14.y: 534 testcase for restarted_warning() and undefined_goal() 535 536 * 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: 537 reference output for testing 538 539 * test/err_syntax13.y: testcase for terminal_start() 540 541 * 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: 542 reference output for testing 543 544 * test/err_syntax12.y: testcase for revalued_warning() 545 546 * 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: 547 reference output for testing 548 549 * test/err_syntax11.y: testcase for reprec_warning() 550 551 * 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: 552 reference output for testing 553 554 * test/err_syntax10.y: testcase for retyped_warning() 555 5562014-03-21 Thomas E. Dickey <tom@invisible-island.net> 557 558 * 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: 559 reference output for testing 560 561 * test/err_syntax9.y: testcase for tokenized_start() 562 563 * 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: 564 reference output for testing 565 566 * test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved() 567 568 * 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: 569 reference output for testing 570 571 * test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y: 572 testcase for illegal_character() 573 574 * 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: 575 reference output for testing 576 577 * test/err_syntax6.y: testcase for illegal_tag() 578 579 * 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: 580 reference output for testing 581 582 * test/err_syntax5.y: testcase for unterminated_union() 583 584 * 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: 585 reference output for testing 586 587 * test/err_syntax4.y: testcase for unterminated_text() 588 589 * 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: 590 reference output for testing 591 592 * test/err_syntax3.y: testcase for unterminated_string() 593 594 * 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: 595 reference output for testing 596 597 * test/err_syntax2.y: testcase for unterminated_comment() 598 599 * test/err_syntax1.error, test/yacc/err_syntax1.error: 600 reference output for testing 601 602 * test/err_syntax1.y: 603 test-case with syntax error (and nonprinting character) 604 605 * 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: 606 reference output for testing 607 608 * test/run_test.sh: 609 save stderr to reference files, to capture shift/reduce messages as well 610 as syntax-error messages 611 612 * 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: 613 reference output for testing 614 615 * test/run_test.sh: generate a ".dot" file for the grammar file 616 617 * test/grammar.dot: RCS_BASE 618 619 * test/yacc/grammar.dot: reference output for testing 620 6212014-03-19 Tom.Shields 622 623 * output.c: rename MAXSHORT to MAXYYINT 624 6252014-03-18 Tom.Shields 626 627 * yaccpar.skel: skeleton with btyacc additions 628 629 * NOTES-btyacc-Changes: byacc-btyacc-20140323 630 631 * test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h: 632 reference output for testing 633 634 * test/run_make.sh: 635 move test-outputs into subdirectories to keep btyacc/yacc results separate 636 637 * 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: 638 reference output for testing 639 640 * defs.h: 641 several changes to help decouple the use of 'short' as the type of value 642 used in yacc parsers. 643 644 * NOTES-btyacc-Disposition: byacc-btyacc-20140323 645 6462014-03-17 Tom.Shields 647 648 * skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE 649 650 * test/run_lint.sh: 651 move test-outputs into subdirectories to keep btyacc/yacc results separate 652 653 * configure.in: add --with-max-table-size and --enable-btyacc options 654 6552014-03-16 Tom.Shields 656 657 * main.c: use Value_t rather than short 658 6592014-03-11 Tom.Shields 660 661 * test/empty.y: testcase for btyacc 662 6632014-03-10 Tom.Shields 664 665 * test/calc3.y, test/calc2.y: fix unused-variable warning 666 6672014-02-18 Tom.Shields 668 669 * lr0.c, graph.c: use Value_t rather than short 670 671 * closure.c: use Value_t rather than short 672 ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions 673 674 * lalr.c: rename MAXSHORT to MAXYYINT 675 6762014-01-01 Thomas E. Dickey <tom@invisible-island.net> 677 678 * yacc.1: document %token-table, improve presentation of double-quotes 679 680 * VERSION, package/byacc.spec, package/debian/changelog: bump 681 682 * 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: 683 reference output for testing 684 685 * 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: 686 regen 687 688 * output.c, skeleton.c: 689 amend the last change so that yytname is #define'd as needed rather than 690 permanent - to avoid breaking cproto for instance. 691 6922014-01-01 Christos.Zoulas 693 694 * output.c, defs.h, main.c, reader.c, skeleton.c: 695 changes to build ntpd using byacc: 696 - rename yyname[] to yytname[] 697 - add YYTRANSLATE() macro 698 - recognize bison's %token-table declaration 699 7002014-01-01 Thomas E. Dickey <tom@invisible-island.net> 701 702 * configure: regen 703 704 * yacc.1: s/EE/XE/ to work around groff bug on Debian 6 705 706 * makefile.in: use CF_MAKE_DOCS 707 708 * aclocal.m4: add CF_MAKE_DOCS 709 710 * configure.in: use CF_MAKE_DOCS 711 7122013-12-26 Thomas E. Dickey <tom@invisible-island.net> 713 714 * config.guess: 2013-11-29 715 7162013-11-19 Thomas E. Dickey <tom@invisible-island.net> 717 718 * aclocal.m4: resync with my-autoconf (fixes for clang and mingw) 719 7202013-10-25 Thomas E. Dickey <tom@invisible-island.net> 721 722 * config.sub: 2013-10-01 723 7242013-09-25 Thomas E. Dickey <tom@invisible-island.net> 725 726 * reader.c: fix two loop-limits found by clang 3.3 --analyze 727 728 * configure: regen 729 730 * aclocal.m4: 731 tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses 732 733 * package/mingw-byacc.spec: RCS_BASE 734 735 * 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: 736 regen 737 738 * skeleton.c: 739 Increase default stack-size to match FreeBSD version noted as from 740 "BSD 4.4 Lite Usr.bin Sources". See 741 742 http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/ 743 http://svnweb.freebsd.org/base/head/usr.bin/yacc/ 744 http://svnweb.freebsd.org/base/vendor/byacc/ 745 746 The original 1.9 sources (on which I based development) used 500 for 747 stacksize; the BSD Lite sources (a year or two later) used 10000. 748 749 This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE 750 symbols have "always" been overridable by applications, but rarely 751 needed to do this. RedHat began using the FreeBSD source in 2000, 752 and switched to this source in 2007 using the 20050813 snapshot. 753 754 RedHat #743343 misattributed the change in default stacksize to 755 a regression in byacc, but did not report the issue upstream. 756 757 * package/debian/changelog, VERSION, package/byacc.spec: bump 758 7592013-09-07 Thomas E. Dickey <tom@invisible-island.net> 760 761 * config.sub: update to 2013-09-15 762 763 * config.guess: update to 2013-06-10 764 7652013-03-04 Thomas E. Dickey <tom@invisible-island.net> 766 767 * package/debian/changelog, VERSION, package/byacc.spec: bump 768 769 * aclocal.m4: 770 adapt tweak from Dave Becket to work around long-ago breakage in "new" autoconf. 771 772 * output.c: 773 fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton). 774 also while testing that, found a case where the union_file is unused; added 775 a check for address that. 776 777 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen 778 779 * test/ftp.y: fix most compiler warnings for "make check_make" 780 781 * test/calc1.tab.c: regen 782 783 * test/calc1.y: fix most compiler warnings for "make check_make" 784 785 * 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: 786 regen 787 788 * skeleton.c: quiet a gcc conversion-warning in yygrowstack() 789 790 * configure: regen 791 792 * aclocal.m4: 793 another fix for CF_GCC_VERSION to handle Debian's modification of gcc message. 794 7952013-02-10 Thomas E. Dickey <tom@invisible-island.net> 796 797 * config.sub, config.guess: update to 2013-02-04 798 7992012-10-03 Thomas E. Dickey <tom@invisible-island.net> 800 801 * package/debian/changelog, package/byacc.spec, VERSION: bump 802 803 * configure: regen 804 805 * configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC 806 807 * aclocal.m4: 808 moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc) 809 the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor. 810 811 * aclocal.m4, configure.in: 812 Arian's change dropped my check for misused $CC variable - restore that with 813 alternate macro CF_PROG_CC. 814 8152012-10-03 Adrian.Bunk 816 817 * aclocal.m4: 818 suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since 819 they are not needed. 820 8212012-10-03 Thomas E. Dickey <tom@invisible-island.net> 822 823 * aclocal.m4: 824 split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in 825 Adrian's suggested changes. 826 827 * aclocal.m4: 828 CF_CLANG_COMPILER - check if the given compiler is really clang. 829 830 * aclocal.m4: 831 add check for clang to CF_GCC_WARNINGS. modify CF_GCC_WARNINGS to work around 832 old gcc warning: ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1 833 on my Sarge system (versus 3.3.5 for the normal gcc). The 2.8.1's 834 pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work 835 around by excluding that check for pre-3.x compilers. 836 837 * aclocal.m4: 838 modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions 839 provided by this macro. use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather 840 than appending to confdefs.h, since long-ago concern about the ability to 841 pass-through parameterized macros appears to be not a problem, testing with 842 2.13 and 2.52 843 8442012-10-03 Adrian.Bunk 845 846 * aclocal.m4: 847 add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by 848 autoheader, updated macros: 849 CF_CHECK_CACHE 850 CF_DISABLE_LEAKS 851 CF_MKSTEMP 852 CF_MIXEDCASE_FILENAMES 853 CF_NO_LEAKS_OPTION 854 8552012-10-03 Thomas E. Dickey <tom@invisible-island.net> 856 857 * aclocal.m4: 858 move existence-check for mkstemp out of the AC_TRY_RUN, to help with 859 cross-compiles 860 8612012-10-02 Thomas E. Dickey <tom@invisible-island.net> 862 863 * config_h.in: 864 Adrian Bunk request - replace this with the output from autoheader 865 8662012-09-29 Adrian.Bunk 867 868 * configure.in: 869 suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no 870 check is needed anymore for standard C compilers), drop AC_CONST (same 871 reason), modify AC_OUTPUT to rely upon template generated by autoheader. 872 bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT 873 as being obsolete with autoconf 2.52x 874 875 * configure.in, main.c: drop check for atexit, because it is standard C 876 877 * makefile.in: add assignment for datarootdir variable. 878 8792012-05-26 Thomas E. Dickey <tom@invisible-island.net> 880 881 * package/debian/changelog, package/byacc.spec, VERSION: bump 882 883 * reader.c: 884 some versions of gcc may warn that bp is not set in mark_symbol, e.g., 885 if GCC_NORETURN is not handled; appease the compiler. 886 887 * reader.c: 888 use the declared types Assoc_t and Value_t in some places where compiler only 889 cared about char versus short. 890 891 * reader.c: 892 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 893 (no object change) 894 895 * defs.h: 896 add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD 897 packagers to build without configure script. Also remove duplicate declaration 898 of pure_parser variable (prompted by patch by Baptiste Daroussin). 899 900 Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and 901 REALLOC macros. 902 903 * symtab.c: 904 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 905 (no object change) 906 9072012-05-25 Thomas E. Dickey <tom@invisible-island.net> 908 909 * output.c, main.c, verbose.c, mkpar.c, lr0.c: 910 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 911 (no object change) 912 9132012-01-15 Thomas E. Dickey <tom@invisible-island.net> 914 915 * package/debian/copyright: bump 916 917 * test/run_make.sh: workaround for breakage due to GNU make 3.82 918 919 * test/run_make.sh: 920 tested with Solaris 10 (bison 1.875) and added scripting to exercise 921 the /usr/ccs/bin/yacc executable 922 923 * test/grammar.tab.c: regen 924 925 * test/grammar.y: modify to also build with Solaris yacc 926 927 * VERSION, package/debian/changelog, package/byacc.spec: bump 928 929 * test/yacc/calc1.output: reference output for testing 930 931 * test/calc1.output, test/calc1.tab.c: regen 932 933 * test/calc1.y: 934 undo the change made to appease bison, since it was only a warning. 935 936 * test/pure_calc.tab.c, test/pure_error.tab.c: regen 937 938 * test/run_make.sh: another fix for running from top-level directory 939 940 * makefile.in: 941 ensure that check_make rule depends on having byacc built. 942 943 * test/run_make.sh: fixes for building from parent directory 944 945 * test/pure_error.y, test/pure_calc.y: bison-fixes 946 947 * 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: 948 regen 949 950 * test/code_debug.y: RCS_BASE 951 952 * test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y: 953 byacc already declares yyerror 954 955 * test/pure_error.y, test/pure_calc.y: 956 modified to help make the files build with bison 957 958 * test/run_make.sh: 959 supply a "%pure-parser" directive when bison needs it. 960 961 * test/code_calc.code.c: regen 962 963 * test/code_calc.y: modified to help make the files build with bison 964 965 * yacc.1: 966 in testing, found that %expect did not work as documented for bison. 967 do not recommend it for portable code. 968 969 * test/run_make.sh: workaround breakage in bison's %expect directive 970 971 * test/grammar.y: modified to help make the files build with bison 972 973 * test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen 974 975 * test/calc1.y: quiet a spurious warning from bison 2.3 976 977 * test/calc1.tab.c: regen 978 979 * test/calc1.y: modified to help make the files build with bison 980 981 * yacc.1: comment on "-y" and "-P" options. 982 983 * yacc.1: comment on portability 984 985 * 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: 986 regen 987 988 * test/ftp.y: modified to help make the files build with bison 989 (bison's "-y" option is of no use in providing "yacc" compatibility) 990 991 * test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c: 992 regen 993 994 * test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, test/quote_calc4.y, test/quote_calc3.y: 995 modified to help make the files build with bison 996 997 * test/calc.tab.c: regen 998 999 * test/calc.y: modified to help make the files build with bison 1000 1001 * test/error.tab.c: regen 1002 1003 * test/error.y: modified to help make the files build with bison 1004 1005 * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen 1006 1007 * test/run_make.sh: 1008 check for older bisons which (2.3 for instance) do not support pure parsers 1009 1010 * test/code_error.y, test/calc3.y, test/calc2.y: 1011 modified to help make the files build with bison 1012 1013 * test/run_test.sh: use $opt2 in filenames of the generated files 1014 1015 * 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: 1016 regen 1017 10182012-01-14 Thomas E. Dickey <tom@invisible-island.net> 1019 1020 * 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: 1021 regen 1022 1023 * output.c: Several changes: 1024 a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex. 1025 b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL, 1026 using YYLEX_PARAM_TYPE and YYLEX_PARAM. 1027 c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL, 1028 to help with redefinitions. 1029 1030 * test/pure_calc.tab.c: 1031 modified to help make the files build with bison 1032 1033 * test/run_make.sh: 1034 start work on followup, to check if the generated files build with bison. 1035 1036 * test/pure_calc.y, test/pure_error.tab.c: 1037 modified to help make the files build with bison 1038 1039 * test/calc3.tab.c: regen 1040 1041 * 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: 1042 RCS_BASE 1043 1044 * 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: 1045 reference output for testing 1046 1047 * test/run_test.sh: generate/test with "-s" option applied. 1048 10492012-01-13 Thomas E. Dickey <tom@invisible-island.net> 1050 1051 * package/debian/changelog, package/byacc.spec, VERSION: bump 1052 1053 * yacc.1: improve documentation of -s option 1054 1055 * yacc.1: note that yacc ignores -y 1056 1057 * main.c: add -s option to usage message. 1058 1059 * test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h: 1060 RCS_BASE 1061 1062 * test/yacc/quote_calc3.output, test/yacc/quote_calc4.output, test/yacc/quote_calc4.tab.h: 1063 reference output for testing 1064 1065 * test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE 1066 1067 * test/yacc/quote_calc.tab.h: reference output for testing 1068 1069 * 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: 1070 RCS_BASE 1071 1072 * test/yacc/quote_calc.output, test/yacc/quote_calc2.output, test/yacc/quote_calc2.tab.h, test/yacc/quote_calc3.tab.h: 1073 reference output for testing 1074 1075 * test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE 1076 1077 * configure: regen 1078 1079 * aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE 1080 10812011-12-19 Thomas E. Dickey <tom@invisible-island.net> 1082 1083 * package/debian/changelog, package/byacc.spec, VERSION: bump 1084 1085 * yacc.1, output.c, main.c, defs.h: 1086 add "-s" option to suppress generating #define's based on string contents 1087 in a %token statement. For instance 1088 %token EQLS "Equals" 1089 would generate 1090 #define EQLS 256 1091 #define Equals 257 1092 Simply suppressing the second #define makes the behavior closer to yacc. 1093 (report by Paulo Andrade). 1094 10952011-09-08 Thomas E. Dickey <tom@invisible-island.net> 1096 1097 * package/debian/changelog, package/byacc.spec, VERSION: bump 1098 1099 * output.c: 1100 fix some more interaction between -i and -d flags to ensure YYERRCODE 1101 and YYSTYPE are declared, tested with cproto. 1102 11032011-09-07 Thomas E. Dickey <tom@invisible-island.net> 1104 1105 * yacc.1: document "-i" option. 1106 1107 * package/debian/changelog, package/byacc.spec, VERSION: bump 1108 1109 * output.c: fix an interaction between -i and -d 1110 1111 * 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: 1112 regen - changes for "-i" option move the global/impure variables near the 1113 macros that may add a prefix, etc. 1114 1115 * skeleton.c, output.c, defs.h: changes to support "-i" option. 1116 11172011-09-06 Thomas E. Dickey <tom@invisible-island.net> 1118 1119 * reader.c: pass explicit file-pointer to write_section() 1120 1121 * main.c: 1122 add "-i" option, to generate interface-file (suggested by Denis M. Wilson) 1123 11242011-09-05 Thomas E. Dickey <tom@invisible-island.net> 1125 1126 * configure: regen 1127 1128 * aclocal.m4: 1129 resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC) 1130 and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks) 1131 1132 * defs.h, error.c, reader.c: 1133 add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson) 1134 11352011-04-01 Thomas E. Dickey <tom@invisible-island.net> 1136 1137 * config.sub: update to 2011-04-01 1138 11392011-02-02 Thomas E. Dickey <tom@invisible-island.net> 1140 1141 * config.guess: update to 2011-01-01 1142 11432010-12-29 Thomas E. Dickey <tom@invisible-island.net> 1144 1145 * defs.h, skeleton.c: 1146 add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas) 1147 1148 * defs.h: 1149 mark all of the error-functions as non-returning (report by Christos Zoulas) 1150 1151 * 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: 1152 regen 1153 1154 * skeleton.c: 1155 use only realloc() rather than realloc+malloc, agree that systems needing this 1156 are very rare (prompted by NetBSD change). 1157 1158 * test/ftp.tab.c: regen 1159 11602010-12-29 Christos.Zoulas 1161 1162 * test/ftp.y: 1163 improve example, which was stuck in 19XX and assumed file sizes were longs. 1164 11652010-12-29 Thomas E. Dickey <tom@invisible-island.net> 1166 1167 * 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: 1168 regen 1169 1170 * 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: 1171 use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror 1172 1173 * skeleton.c: 1174 remove explicit prototype for yylex() via YYLEX_DECL() macro, since that 1175 would prevent declaring yylex() static (request by Christos Zoulas). 1176 1177 * test/calc2.tab.c, test/calc3.tab.c: regen 1178 11792010-12-29 Christos.Zoulas 1180 1181 * output.c: correct definition for YYERROR_DECL() 1182 11832010-12-29 Thomas E. Dickey <tom@invisible-island.net> 1184 1185 * package/debian/changelog, package/byacc.spec, VERSION: bump 1186 11872010-12-26 Thomas E. Dickey <tom@invisible-island.net> 1188 1189 * defs.h, main.c: 1190 change return-type of allocate() to avoid warnings of alignment problems 1191 1192 * main.c: Solaris declares chmod() in <sys/stat.h> 1193 1194 * configure: regen 1195 1196 * main.c: ifdef'd use of fcntl.h 1197 1198 * configure.in: add configure checks for fcntl.h, atexit and mkstemp 1199 1200 * main.c: for cases where mkstemp() is not available, use tempnam/open 1201 1202 * aclocal.m4: add CF_MKSTEMP 1203 1204 * aclocal.m4: 1205 improve quoting, deprecate ${name-value} in favor of standard ${name:-value} 1206 12072010-12-25 Thomas E. Dickey <tom@invisible-island.net> 1208 1209 * main.c: 1210 start revising use of tmpfile(), to make this work with MinGW. Start by 1211 implementing a mkstemp() alternative - noting that mkstemp() also is broken 1212 for MinGW. 1213 1214 * package/debian/changelog, package/byacc.spec, VERSION: bump 1215 12162010-11-27 Thomas E. Dickey <tom@invisible-island.net> 1217 1218 * package/byacc.spec, package/debian/changelog, VERSION: bump 1219 1220 * test/calc2.tab.c, test/calc3.tab.c: regen 1221 1222 * output.c: 1223 corrected use of %parse-param value in yyerror(); it doesn't use &yylval 1224 (report by Clifford Yapp) 1225 12262010-11-26 Thomas E. Dickey <tom@invisible-island.net> 1227 1228 * skeleton.c: typo 1229 1230 * output.c: 1231 correct line-numbering when "-r" option is used; the 'outline' variable 1232 should only be incremented when writing to the code-file. 1233 1234 * test/code_calc.code.c, test/code_error.code.c: regen 1235 1236 * yacc.1: bump date 1237 1238 * yacc.1: comment on -b option vs -r 1239 1240 * 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: 1241 regen 1242 1243 * output.c: 1244 improve on YYERROR_DECL(), adding dummy params which can be used for the 1245 actual function declaration. Also add YYERROR_CALL(). The two macros 1246 simplify maintaining sets of grammars which may/may not be pure. 1247 1248 * 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: 1249 regen 1250 1251 * output.c: generate yyerror() calls in output.c 1252 This is for compatibility with bison, which passes the yylval to yyerror 1253 when the %parse-param feature is used. 1254 1255 * skeleton.c, defs.h: generate yyerror() calls in output.c 1256 1257 * output.c: simplified a little, using putc_code() and putl_code() 1258 1259 * test/yacc/calc1.tab.h: reference output for testing 1260 1261 * test/calc1.tab.h: regen 1262 1263 * reader.c: 1264 improve ifdef for YYSTYPE union declaration (report by Clifford Yapp) 1265 1266 * reader.c: 1267 accept underscore as a replacement for dash in command names, e.g., 1268 "%pure_parser" vs "%pure-parser". 1269 1270 * test/calc1.tab.c: regen 1271 1272 * output.c, reader.c: 1273 also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp) 1274 1275 * package/debian/changelog, package/byacc.spec, VERSION: bump 1276 12772010-11-24 Thomas E. Dickey <tom@invisible-island.net> 1278 1279 * main.c, defs.h, symtab.c, error.c: reduce global variables 1280 1281 * package/debian/changelog, package/byacc.spec, VERSION: bump 1282 1283 * reader.c: 1284 amend fix for Redhat #112617 to still call default_action_warning() for 1285 empty rules (report by Bruce Cran). 1286 12872010-11-22 Thomas E. Dickey <tom@invisible-island.net> 1288 1289 * output.c: 1290 add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp). 1291 1292 * test/calc1.tab.c: regen 1293 1294 * test/calc1.y: cleanup compiler warnings 1295 1296 * test/grammar.y: add "%expect" 1297 1298 * test/calc1.tab.h: regen 1299 1300 * test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE 1301 1302 * test/calc2.tab.c, test/calc3.tab.c: regen 1303 1304 * test/calc1.y: 1305 advanced example from Steve Johnson's paper, uses unions 1306 1307 * test/calc3.y, test/calc2.y: init 'base', so examples can run 1308 1309 * test/ftp.tab.c, test/ftp.y: tweaks to compile with g++ 1310 1311 * output.c: compensate for fix in reader.c 1312 1313 * reader.c: 1314 add/use putc_both() and puts_both(), incidentally fixing a place where 1315 a union copied to the union_file may be missing the end of the last line. 1316 1317 * package/debian/changelog, package/byacc.spec, VERSION: bump 1318 13192010-09-28 Thomas E. Dickey <tom@invisible-island.net> 1320 1321 * config.guess: update to 2010-09-24 1322 13232010-09-10 Thomas E. Dickey <tom@invisible-island.net> 1324 1325 * config.sub: update to 2010-09-11 1326 13272010-06-10 Thomas E. Dickey <tom@invisible-island.net> 1328 1329 * yacc.1, package/debian/changelog, package/byacc.spec, VERSION: 1330 bump to 2010/06/10 1331 13322010-06-09 Thomas E. Dickey <tom@invisible-island.net> 1333 1334 * reader.c: free declarations in leak-testing code. 1335 1336 * main.c: close code_file if -r option used, for leak-testing 1337 1338 * defs.h, reader.c: 1339 improve %lex-param / %parse-param implementation by allowing for arrays to 1340 be passed as parameters, e.g., "int regs[26]". 1341 1342 * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h: 1343 RCS_BASE 1344 1345 * test/yacc/calc3.output, test/yacc/calc3.tab.h: 1346 reference output for testing 1347 1348 * test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE 1349 1350 * test/yacc/calc2.tab.h: reference output for testing 1351 1352 * test/calc2.output: RCS_BASE 1353 1354 * test/yacc/calc2.output: reference output for testing 1355 1356 * output.c: 1357 improve %lex-param / %parse-param implementation by allowing for arrays to 1358 be passed as parameters, e.g., "int regs[26]". 1359 1360 * test/calc.tab.c, test/calc.y: 1361 test-cases and reference files for %lex-param / %parse-param 1362 1363 * makefile.in: add docs-rule, for html/pdf/txt form of manpage 1364 1365 * configure: regen 1366 1367 * aclocal.m4: add CF_XOPEN_SOURCE, etc. 1368 1369 * configure.in: 1370 use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89 1371 1372 * 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: 1373 fix warnings from clang --analyze 1374 13752010-06-08 Thomas E. Dickey <tom@invisible-island.net> 1376 1377 * output.c: fix to build with c89, etc. 1378 1379 * reader.c: gcc warning 1380 1381 * 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: 1382 modified test-cases to allow them to compile, to validate pure-parser changes. 1383 updated reference files to match. 1384 1385 * output.c: 1386 move call for output_stype() earlier since it is used in pure-parser declarations 1387 1388 * test/grammar.tab.c, test/grammar.y: 1389 modified test-cases to allow them to compile, to validate pure-parser changes. 1390 updated reference files to match. 1391 1392 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1393 regen 1394 1395 * yacc.1: document %lex-param and %parse-param 1396 1397 * test/run_lint.sh, test/run_make.sh: RCS_BASE 1398 1399 * test/run_test.sh: 1400 further modify to allow build-directory to be in a different location by 1401 passing this directory's location as a parameter to the script. 1402 1403 * makefile.in: 1404 add check_make and check_lint rules to help validate the generated files 1405 in the test-directory 1406 14072010-06-07 Thomas E. Dickey <tom@invisible-island.net> 1408 1409 * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE 1410 1411 * test/run_test.sh: 1412 provide for testing -r and -P options by checking if the ".y" filename 1413 begins with "code_" or "pure_", respectively. 1414 1415 * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h: 1416 RCS_BASE 1417 1418 * test/yacc/code_error.tab.h: reference output for testing 1419 1420 * test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h: 1421 RCS_BASE 1422 1423 * test/yacc/code_calc.tab.h: reference output for testing 1424 1425 * test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h: 1426 RCS_BASE 1427 1428 * test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h, test/yacc/pure_error.output, test/yacc/pure_error.tab.h: 1429 reference output for testing 1430 1431 * test/code_calc.output, test/code_error.output: RCS_BASE 1432 1433 * test/yacc/code_calc.output, test/yacc/code_error.output: 1434 reference output for testing 1435 1436 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen 1437 1438 * test/run_test.sh: 1439 changes to support running "make check" in a separate build-tree 1440 1441 * main.c: add "-P" to usage message 1442 1443 * reader.c: use UCH() macro to hide casts. 1444 14452010-06-07 Andres.Mejia 1446 1447 * main.c, output.c, reader.c, defs.h, skeleton.c: 1448 Fix the output order of the generated parse code file. This allows for 1449 the use of YYPARSE_PARAM, by having the output that checks for 1450 YYPARSE_PARAM to be defined come after the C code block in the 1451 definitions section of a yacc file. 1452 1453 Implement support for YYLEX_PARAM, similar to bison. This is useful for 1454 support for building reentrant lexers with flex. 1455 1456 Fix a compatibility issue with bison's pure-parser option. Bison 1457 defines yylex as sending at least one parameter, &yylval, as the first 1458 parameter and doesn't seem to have an easy way to remove that parameter. 1459 This on the other hand is rather convenient to support saving to yylval 1460 from flex when building reentrant lexers and parsers. 1461 1462 Add support for the %parse-param and %lex-param directives used in 1463 bison. This change bears some similarity to NetBSD's changes to byacc 1464 at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html 1465 1466 Bison allows for POSIX yacc emulation via a yacc directive in the yacc 1467 file, and also via a command line switch. Implement this feature as a 1468 no-op for byacc, since byacc is designed to be POSIX yacc compatible 1469 anyway. This allows for better compatibility with yacc sources written 1470 for bison. 1471 14722010-06-07 Thomas E. Dickey <tom@invisible-island.net> 1473 1474 * VERSION: bump to 2010/06/07 1475 14762010-06-06 Thomas E. Dickey <tom@invisible-island.net> 1477 1478 * test/calc.tab.c, configure: regen 1479 1480 * skeleton.c: 1481 move #include's down into the generated code, to allow user-defined code 1482 to override feature definitions, particularly with stdlib.h (request by 1483 Marcus Kool). 1484 1485 * lr0.c, error.c, reader.c, defs.h: 1486 strict gcc 3.4.6 warnings on 64-bit platform 1487 1488 * aclocal.m4, configure.in: add check for lint 1489 1490 * makefile.in: add lint rule 1491 1492 * defs.h, closure.c, lr0.c, warshall.c, main.c: 1493 fix gcc warnings, mostly for 64-bit platform 1494 1495 * aclocal.m4: 1496 add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc 1497 1498 * makefile.in: add etags/TAGS if available 1499 1500 * configure.in: add configure check for actual ctags and etags programs 1501 1502 * package/debian/copyright: add copyright notices for non-PD files 1503 1504 * package/debian/changelog: 1505 incorporated scripts in upstream to use for test-builds 1506 1507 * makefile.in: drop mkdirs.sh, just use "mkdir -p" 1508 1509 * AUTHORS: nicknames for some contributors (see CHANGES for details) 1510 1511 * package/byacc.spec: RPM file for byacc 1512 1513 * VERSION: bump to 2010/06/06 1514 1515 * aclocal.m4: add copyright notice, from "my-autoconf" macros 1516 http://invisible-island.net/autoconf/autoconf.html 1517 1518 * package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS: 1519 PERMIT FILE 1520 1521 * aclocal.m4: resync with my-autoconf. summary of changes: 1522 a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter 1523 b) CF_DISABLE_ECHO, change indent-convention for substituted makefile 1524 c) CF_GCC_VERSION, ignore stderr 1525 d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc 1526 15272010-04-20 Thomas E. Dickey <tom@invisible-island.net> 1528 1529 * 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: 1530 scripts from Debian package 1531 15322010-02-16 Thomas E. Dickey <tom@invisible-island.net> 1533 1534 * yacc.1: document -P and bison-extensions 1535 1536 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 1537 regen 1538 1539 * output.c: implement %pure-parser 1540 1541 * skeleton.c: 1542 implement %pure-parser, like bison. To help with this, changed the stack 1543 variables, putting them into a struct. 1544 1545 * reader.c: implement %pure-parser 1546 1547 * defs.h: modified skeleton to support %pure-parser feature 1548 1549 * main.c: add -P option to set %pure-parser 1550 1551 * output.c: 1552 make -r and -p options work together. The -r option splits the generated 1553 parser into code/table files; for this case we cannot use static data. 1554 Also, we have to repeat the #define's used for prefix (-p) as well as the 1555 redeclaration of yyparse(). Finally, allow any of the prefixed names to 1556 be overridden, e.g., by passing a -D option to the compiler. Make that 1557 a little more readable by putting a blank line before each chunk. 1558 1559 * defs.h: add definitions for %pure-parser 1560 1561 * skeleton.c: 1562 put blank line before/after the redeclaration of yyparse() 1563 1564 * output.c: allow for other program redefining yylex() 1565 1566 * skeleton.c: 1567 split-off xdecls[] array, to move declaration of yyparse() after #define's 1568 1569 * defs.h: split-out xdecls[] 1570 1571 * VERSION: bump 1572 1573 * configure: regen 1574 1575 * aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS 1576 1577 * aclocal.m4: 1578 resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes. 1579 15802010-02-16 Ostap.Cherkashi 1581 1582 * skeleton.c: fix a memory leak in the generated skeleton 1583 15842010-01-01 Thomas E. Dickey <tom@invisible-island.net> 1585 1586 * package/debian/source/format: scripts from Debian package 1587 15882009-12-31 Thomas E. Dickey <tom@invisible-island.net> 1589 1590 * config.guess: update to 2009-12-30 1591 1592 * config.sub: update to 2009-12-31 1593 15942009-10-27 Thomas E. Dickey <tom@invisible-island.net> 1595 1596 * VERSION: 20091027 1597 1598 * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c: 1599 strict compiler warnings 1600 16012009-10-26 Thomas E. Dickey <tom@invisible-island.net> 1602 1603 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 1604 resync 1605 1606 * main.c, defs.h: introduce some typedefs for portability, etc. 1607 1608 * makefile.in: 1609 don't remove "*.log" in mostlyclean rule since it interferes with regression 1610 script. 1611 1612 * configure: regen 1613 1614 * aclocal.m4: resync with my-autoconf 1615 16162009-08-25 Thomas E. Dickey <tom@invisible-island.net> 1617 1618 * config.guess, config.sub: update to 2009-08-19 1619 16202009-02-21 Thomas E. Dickey <tom@invisible-island.net> 1621 1622 * VERSION: bump 1623 1624 * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25 1625 16262008-12-26 Thomas E. Dickey <tom@invisible-island.net> 1627 1628 * configure: regen with autoconf-2.52 (patched) 1629 16302008-12-25 Thomas E. Dickey <tom@invisible-island.net> 1631 1632 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c: 1633 regenerated 1634 16352008-12-24 Thomas E. Dickey <tom@invisible-island.net> 1636 1637 * VERSION: bump 1638 1639 * skeleton.c: 1640 remove ifdef-lint from goto yyerrlab, to quiet gcc warning 1641 16422008-11-26 Thomas E. Dickey <tom@invisible-island.net> 1643 1644 * verbose.c, main.c, defs.h, mkpar.c, reader.c: 1645 completed implementation of "%expect" (report by Perry E. Metzger). 1646 add "%expect-rr", which is (unlike bison) allowable in LALR parsers. 1647 16482008-11-24 Thomas E. Dickey <tom@invisible-island.net> 1649 1650 * 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: 1651 change indent-style (request by Perry E. Metzger) 1652 16532008-08-27 Thomas E. Dickey <tom@invisible-island.net> 1654 1655 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1656 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro 1657 1658 * VERSION: bump 1659 1660 * skeleton.c: 1661 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro 1662 1663 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c: 1664 change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's. 1665 1666 * configure: regen'd 1667 1668 * configure.in: add -Wwrite-strings to warnings 1669 1670 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 1671 add YYPARSE_PARAM and YYPARSE_PARAM_TYPE 1672 1673 * skeleton.c: 1674 add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features. 1675 1676 * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c: 1677 fixes for gcc -Wwrite-strings 1678 1679 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1680 generate the tables as static-const (this is an interface change) 1681 1682 * output.c: realign columns in start_table() 1683 1684 * output.c: 1685 generate the tables as static-const (this is an interface change) 1686 1687 * output.c: reorder functions to eliminate forward-references 1688 1689 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1690 remove 'register' keywords 1691 16922008-08-26 Thomas E. Dickey <tom@invisible-island.net> 1693 1694 * 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: 1695 remove 'register' keywords 1696 16972008-08-25 Thomas E. Dickey <tom@invisible-island.net> 1698 1699 * test/ftp.tab.c: regen'd 1700 1701 * reader.c: 1702 improve the left-curly fix by testing after blanks, to avoid having a 1703 " {" at the beginning of a line. 1704 1705 * test/error.tab.c, test/grammar.tab.c: regen'd 1706 1707 * output.c: 1708 move the remaining newline-counting into write_XXX functions. 1709 1710 * test/calc.tab.c: regen'd 1711 1712 * output.c: 1713 simplify part of the output_file formatting using new functions, e.g., 1714 start_int_table(), output_newline(). 1715 1716 * reader.c: 1717 modify copy_action() to indent the first character, it if is is left-curly 1718 brace. That makes the output look more like the original, as well as makes 1719 it simpler to edit (not confuse editors which look for a left-curly in the 1720 first column as if it were the beginning of a function). 1721 1722 * skeleton.c: minor fixes to avoid gcc -Wconversion warnings 1723 1724 * output.c: align the #define's produced for "-p" option 1725 1726 * test/run_test.sh: use the "-p" option for better coverage. 1727 1728 * output.c: simplify output_prefix() with new define_prefixed() 1729 1730 * skeleton.c: include string.h, for memset() 1731 change stack size to unsigned to fix gcc -Wconversion warnings. 1732 1733 * VERSION: bump to 2008/8/25 1734 1735 * makefile.in: add dependency on VERSION file. 1736 17372008-08-24 Thomas E. Dickey <tom@invisible-island.net> 1738 1739 * VERSION: bump 1740 1741 * lalr.c: improved memory-leak checking by freeing data in includes[] 1742 1743 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c: 1744 update to match skeleton-change 1745 1746 * configure: regen'd 1747 1748 * skeleton.c: Add fix for stack discussed 1749 http://undeadly.org/cgi?action=article&sid=20080708155228 1750 and applied 1751 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29 1752 1753 * aclocal.m4: resync with my-autoconf (no major changes) 1754 17552008-07-24 Thomas E. Dickey <tom@invisible-island.net> 1756 1757 * package/pkgsrc/Makefile, package/pkgsrc/distinfo: 1758 scripts from NetBSD pkgsrc, for test-builds 1759 17602008-03-14 Thomas E. Dickey <tom@invisible-island.net> 1761 1762 * config.sub: update to 2008-03-08 1763 1764 * config.guess: update to 2008-03-12 1765 17662007-05-09 Thomas E. Dickey <tom@invisible-island.net> 1767 1768 * main.c: close graph, verbose files if opened, on exit. 1769 1770 * main.c: 1771 audit memory leaks - valgrind reported some memory still in use on exit. 1772 1773 * lalr.c, output.c, reader.c, mkpar.c, lr0.c: 1774 add hook for auditing memory leaks 1775 1776 * defs.h: add hooks for auditing memory leaks 1777 1778 * configure: regen'd 1779 1780 * configure.in: 1781 use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind, 1782 --with-dbmalloc and --with-dmalloc 1783 1784 * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND 1785 1786 * aclocal.m4: improve version-checking in CF_GCC_VERSION 1787 rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro 1788 1789 * VERSION: 2007/5/9 1790 1791 * main.c: file_prefix did not always have a trailing null. 1792 17932007-03-25 Thomas E. Dickey <tom@invisible-island.net> 1794 1795 * mkdirs.sh: improved version for "make -j" 1796 17972006-12-22 Thomas E. Dickey <tom@invisible-island.net> 1798 1799 * config.guess: update to 2006/12/22 1800 18012006-12-08 Thomas E. Dickey <tom@invisible-island.net> 1802 1803 * config.sub: update to 2006/12/08 1804 18052005-08-13 Thomas E. Dickey <tom@invisible-island.net> 1806 1807 * main.c: add -V to usage message 1808 1809 * makefile.in: remove -t option from ctags 1810 1811 * VERSION: 2005/8/13 1812 18132005-08-13 schmitz 1814 1815 * main.c: Sylvain Schmitz: 1816 modify the '-o' option to work like bison's, which sets the file-prefix. 1817 18182005-08-13 Matt.Kraai 1819 1820 * output.c: 1821 Debian #322858 (don't close union_file, which contained data). 1822 This feature is used in groff. 1823 18242005-08-13 Thomas E. Dickey <tom@invisible-island.net> 1825 1826 * configure: regenerated 1827 1828 * aclocal.m4: improve checks for Intel compiler warnings 1829 18302005-06-25 Thomas E. Dickey <tom@invisible-island.net> 1831 1832 * config.sub: update to 2005/6/2 1833 1834 * config.guess: update to 2005/5/27 1835 18362005-05-05 Thomas E. Dickey <tom@invisible-island.net> 1837 1838 * defs.h: add a fallback for GCC_UNUSED 1839 18402005-05-04 Thomas E. Dickey <tom@invisible-island.net> 1841 1842 * makefile.in: add "." to include-path to pickup config.h 1843 1844 * reader.c: 1845 apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617. 1846 1847 * output.c: 1848 correct a limit check in pack_vector() - report/analysis by William Evans 1849 1850 * main.c: 1851 exit after printing version. Otherwise "yacc -V" will exit with an erro 1852 after printing the usage message. 1853 1854 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1855 regenerated after skeleton-changes 1856 1857 * skeleton.c: replace a few -1's with YYEMPTY 1858 1859 * skeleton.c: 1860 delete yynewerror (no one uses it any more, and it just makes compiler warnings) 1861 1862 * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD 1863 1864 * test/run_test.sh: 1865 filter out lines with YYPATCH, since that will change with each update 1866 1867 * yacc.1: add -V option 1868 1869 * main.c: add -V option to print the version. 1870 simplify option-parsing by moving the duplicate logic for setting flags into 1871 new function setflag(). 1872 1873 * skeleton.c: 1874 move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers). 1875 add YYPATCH here so it can be tested by applications. 1876 1877 * defs.h: 1878 add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and 1879 YYPATCH symbols. 1880 1881 * lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c: 1882 reduce externs by making static the procedures that are not referenced outside 1883 the module in which they are defined. 1884 1885 * makefile.in: 1886 the VERSION file holds the patch-date. Define YYPATCH, so this will be 1887 compiled into the skeleton. 1888 1889 * VERSION: patch-level for byacc 1890 1891 * main.c: 1892 add "-o" to usage message. It is too long for a single line; rewrite usage() 1893 to show one option per line. 1894 18952005-05-03 Thomas E. Dickey <tom@invisible-island.net> 1896 1897 * main.c: add -o option, to work with scripts that assume bison. 1898 simplify create_file_names() with a macro. 1899 simplify done() with a macro. 1900 adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by 1901 onintr(), do not flush output via exit(), but use _exit() instead. 1902 1903 * defs.h: remove unnecessary externs for main.c 1904 1905 * yacc.1: add -o option 1906 1907 * graph.c: remove unused parameter 1908 1909 * mkpar.c, defs.h, reader.c: 1910 add support for "%expect", a bison feature from FreeBSD sources 1911 1912 * 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: 1913 indent'd 1914 1915 * configure: regenerated for 2005/5/5 1916 1917 * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER) 1918 19192005-04-27 schmitz 1920 1921 * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1: 1922 Sylvain Schmitz <schmitz@i3s.unice.fr>: 1923 add graphical output of the LALR(1) automaton for graphviz, 1924 associated with command-line option `-g' 1925 19262005-04-16 Thomas E. Dickey <tom@invisible-island.net> 1927 1928 * config.sub: update to 2005/2/10 1929 1930 * config.guess: update to 2005/3/24 1931 19322005-04-13 Thomas E. Dickey <tom@invisible-island.net> 1933 1934 * package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds 1935 19362005-03-21 Thomas E. Dickey <tom@invisible-island.net> 1937 1938 * package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds 1939 19402004-03-28 Thomas E. Dickey <tom@invisible-island.net> 1941 1942 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1943 updates due to adding yyparse() prototype 1944 1945 * configure: RCS_BASE 1946 1947 * configure.in: 1948 add AC_ARG_PROGRAM to make --program-prefix, etc., work. 1949 1950 * makefile.in: first cut of script to support --program-prefix 1951 1952 * configure.in: 1953 reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52 1954 1955 * makefile.in: modify so DESTDIR works 1956 1957 * makefile.in: use EXEEXT and OBJEXT 1958 1959 * configure.in: use CF_PROG_EXT 1960 generate a config.h 1961 1962 * defs.h: make this use the generated config.h 1963 1964 * skeleton.c: add a forward-reference for yyparse() 1965 1966 * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT 1967 1968 * yacc.1: remove the discussion of TMPDIR since it is obsolete 1969 1970 * skeleton.c: fix a couple of minor compiler-warnings in the skeleton 1971 1972 * defs.h: remove action_file_name, etc., since we use tmpfile() now. 1973 1974 * main.c: 1975 use tmpfile() for opening the working files. This quiets a warning 1976 advising the use of mkstemp(). 1977 1978 * output.c: 1979 Do not close temporary-files here, since they are opened with tmpfile(). 1980 Just rewind them, and they're ready to read back the data stored in them. 1981 1982 * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE 1983 1984 * test/yacc/grammar.output, test/yacc/grammar.tab.h: 1985 reference output for testing 1986 1987 * makefile.in: turn on "make check" rule 1988 1989 * test/calc.output: RCS_BASE 1990 1991 * test/yacc/calc.output: reference output for testing 1992 1993 * test/run_test.sh, test/calc.tab.h: RCS_BASE 1994 1995 * test/yacc/calc.tab.h: reference output for testing 1996 1997 * test/ftp.tab.c: yyparse() is now yyparse(void) 1998 1999 * test/calc.tab.c: RCS_BASE 2000 2001 * test/error.tab.c: yyparse() is now yyparse(void) 2002 2003 * test/README: RCS_BASE 2004 2005 * yacc.1: various typography fixes prompted by Debian #100947 2006 2007 * aclocal.m4, makefile.in, configure.in: RCS_BASE 2008 2009 * README: updated to note that this is not the original 2010 20112004-03-24 Thomas E. Dickey <tom@invisible-island.net> 2012 2013 * test/grammar.y: RCS_BASE 2014 20152004-02-23 Thomas E. Dickey <tom@invisible-island.net> 2016 2017 * config.sub: RCS_BASE 2018 20192004-02-17 Thomas E. Dickey <tom@invisible-island.net> 2020 2021 * config.guess: RCS_BASE 2022 20232003-11-29 Thomas E. Dickey <tom@invisible-island.net> 2024 2025 * install-sh: improved quoting 2026 20272002-06-29 Thomas E. Dickey <tom@invisible-island.net> 2028 2029 * mkdirs.sh: 2030 don't use character range, since some locales don't work as expected 2031 20322001-06-22 Thomas E. Dickey <tom@invisible-island.net> 2033 2034 * install-sh: RCS_BASE 2035 20362000-11-20 Thomas E. Dickey <tom@invisible-island.net> 2037 2038 * test/calc.y: RCS_BASE 2039 2040 * test/code_calc.y, test/pure_calc.y: copy of calc.y 2041 2042 * vmsbuild.com: original version 2043 20442000-02-23 Thomas E. Dickey <dickey@invisible-island.net> 2045 2046 * test/RCS, RCS: PERMIT FILE 2047 20482000-02-14 Thomas E. Dickey <tom@invisible-island.net> 2049 2050 * main.c: fix for VMS port - making pathname for temp-file 2051 2052 * descrip.mms: original version 2053 20542000-02-13 Thomas E. Dickey <tom@invisible-island.net> 2055 2056 * 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: 2057 ansify 2058 20591999-11-30 Thomas E. Dickey <tom@invisible-island.net> 2060 2061 * mkdirs.sh: RCS_BASE 2062 20631995-01-01 Thomas E. Dickey <tom@invisible-island.net> 2064 2065 * config_h.in: RCS_BASE 2066 20671993-12-23 unknown 2068 2069 * README.DOS, main.c: MSDOS-port 2070 20711993-12-22 unknown 2072 2073 * reader.c, defs.h: MSDOS-port 2074 20751993-03-02 unknown 2076 2077 * README: original version 2078 20791993-02-22 unknown 2080 2081 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE 2082 20831993-02-22 Thomas E. Dickey <tom@invisible-island.net> 2084 2085 * test/yacc/error.output, test/yacc/error.tab.h: 2086 reference output for testing 2087 20881993-02-22 unknown 2089 2090 * test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE 2091 2092 * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES: 2093 original version 2094 20951992-10-12 unknown 2096 2097 * yacc.1: original version 2098 20991992-10-11 unknown 2100 2101 * defs.h: original version 2102 21031991-01-20 unknown 2104 2105 * mkpar.c, verbose.c: original version 2106 21071991-01-14 unknown 2108 2109 * lr0.c, Makefile, Makefile.old: original version 2110 21111990-07-16 unknown 2112 2113 * NEW_FEATURES: original version 2114 21151990-06-03 unknown 2116 2117 * ACKNOWLEDGEMENTS: original version 2118 21191990-02-05 unknown 2120 2121 * symtab.c, lalr.c, error.c: original version 2122 21231990-01-16 Thomas E. Dickey <tom@invisible-island.net> 2124 2125 * test/code_error.y, test/pure_error.y: RCS_BASE 2126 21271990-01-16 unknown 2128 2129 * test/error.y: RCS_BASE 2130 21311989-11-22 unknown 2132 2133 * NO_WARRANTY: original version 2134 21351989-09-23 unknown 2136 2137 * test/ftp.y: RCS_BASE 2138 2139