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