12020-09-10 Thomas E. Dickey <dickey@invisible-island.net> 2 3 * LICENSE: RCS_BASE 4 5 * reader.c, output.c: cppcheck -- reduce scope 6 7 * defs.h: update to 2.0 8 9 * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.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/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/expr.oxout.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_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/rename_debug.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c, test/btyacc/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/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/defines1.calc.c, test/yacc/defines2.calc.c, test/yacc/defines3.calc.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_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/expr.oxout.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-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c, test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c, test/yacc/varsyntax_calc1.tab.c: 10 update to version 2.0 11 12 * reader.c: 13 improve loop which skips backward through a (possibly nested) sequence of 14 square-brackets. 15 16 * reader.c: simplify a check to quiet a bogus cppcheck-warning 17 18 * yacc.1: bump date 19 20 * reader.c: add a note about a bogus cppcheck warning 21 22 * configure: regen 23 24 * configure.in: 25 always check for gcc attributes, to work around defect in clang's imitation 26 of this feature 27 28 * reader.c: cppcheck -- scope reduction 29 cppcheck -- eliminate bogus returns after no-return functions 30 31 * verbose.c, output.c, mkpar.c, main.c, warshall.c, lr0.c, lalr.c, graph.c, closure.c: 32 cppcheck -- scope reduction 33 34 * package/debian/compat: quiet compatibility-warning 35 36 * yacc.1: use "ASCII" for dashes which are part of proper names 37 38 * configure: regen 39 40 * configure.in: switch to --enable-warnings, for consistency 41 42 * aclocal.m4: 43 resync with my-autoconf, for compiler-warning fixes with macOS 44 45 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 46 bump 47 482020-06-28 Thomas E. Dickey <dickey@invisible-island.net> 49 50 * config.sub: 2020/06/28 51 522020-06-14 Thomas E. Dickey <dickey@invisible-island.net> 53 54 * config.guess: 2020/04/26 55 562020-03-30 Thomas E. Dickey <dickey@invisible-island.net> 57 58 * package/debian/copyright: bump 59 60 * test/yacc/grammar.tab.c, test/btyacc/grammar.tab.c, test/grammar.y, reader.c: 61 typo found with codespell 62 63 * yacc.1: fixes noted in the original report, overlooked in followup 64 652020-03-30 Bjarni.Ingi.Gislason 66 67 * yacc.1: typography/spelling fixes - Debian #955175 68 692020-03-30 Thomas E. Dickey <dickey@invisible-island.net> 70 71 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 72 bump 73 742020-03-10 Thomas E. Dickey <dickey@invisible-island.net> 75 76 * configure: regen 77 78 * aclocal.m4: 79 resync with my-autoconf, mostly fixes for compiler-warnings 80 81 * configure.in: use macro to suppress X-dependency from newer macros 82 832019-12-20 Thomas E. Dickey <dickey@invisible-island.net> 84 85 * config.guess: 2019-12-21 86 872019-11-25 Tom.Shields 88 89 * main.c: 90 fix an inconsistency between the getopt and non-getopt configuration. 91 In the former, getopt always used "yacc", not the name of the executable. 92 932019-11-25 Thomas E. Dickey <dickey@invisible-island.net> 94 95 * test/run_make.sh: 96 suppress bison's -Wyacc warning, which is not useful. 97 98 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 99 bump 100 1012019-11-19 Thomas E. Dickey <dickey@invisible-island.net> 102 103 * yacc.1: new version of manpage 104 105 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 106 bump 107 108 * yacc.1: document %code 109 110 * test/btyacc/calc_code_all.error, test/btyacc/calc_code_all.output, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_all.tab.h, test/btyacc/calc_code_default.error, test/btyacc/calc_code_default.output, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_default.tab.h, test/btyacc/calc_code_imports.error, test/btyacc/calc_code_imports.output, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_imports.tab.h, test/btyacc/calc_code_provides.error, test/btyacc/calc_code_provides.output, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_provides.tab.h, test/btyacc/calc_code_requires.error, test/btyacc/calc_code_requires.output, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_requires.tab.h, test/btyacc/calc_code_top.error, test/btyacc/calc_code_top.output, test/btyacc/calc_code_top.tab.c, test/btyacc/calc_code_top.tab.h, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_all.tab.h, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_provides.tab.h, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_requires.tab.h, test/yacc/calc_code_top.tab.c: 111 RCS_BASE 112 113 * output.c: 114 amend updates for 'outline' when processing "%code" in code-file 115 116 * output.c: 117 modify output_code_lines() to show begin/end block comments which were in 118 reader.c, and to generate a #line for the code-file. 119 120 * reader.c: 121 modify copy_code() to allow for multiple %code directives for a given 122 section, recording the input line-number for each directive as a #line 123 in the resulting string. remove the block start/end comments, since those 124 will be done for a whole section in output.c 125 126 * mstring.c, defs.h: add msrenew() 127 128 * test/yacc/calc_code_all.error, test/yacc/calc_code_all.output, test/yacc/calc_code_default.error, test/yacc/calc_code_default.output, test/yacc/calc_code_default.tab.h, test/yacc/calc_code_imports.error, test/yacc/calc_code_imports.output, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_imports.tab.h, test/yacc/calc_code_provides.error, test/yacc/calc_code_provides.output, test/yacc/calc_code_requires.error, test/yacc/calc_code_requires.output, test/yacc/calc_code_top.error, test/yacc/calc_code_top.output, test/yacc/calc_code_top.tab.h: 129 RCS_BASE 130 1312019-11-18 Thomas E. Dickey <dickey@invisible-island.net> 132 133 * test/calc_code_imports.y, test/calc_code_all.y, test/calc_code_default.y, test/calc_code_top.y, test/calc_code_provides.y, test/calc_code_requires.y: 134 RCS_BASE 135 1362019-11-04 Michael.Forney 137 138 * defs.h: add missing "extern" for new variable "code_lines" 139 1402019-11-03 Thomas E. Dickey <dickey@invisible-island.net> 141 142 * main.c: build-fix for MinGW cross-compiling 143 144 * output.c, reader.c: gcc-warnings 145 146 * output.c: check validity of text_file before rewind 147 remove redundant check of iflag 148 149 * main.c: fix memory-leak reported by clang 150 151 * mkpar.c: guard against a null-reference reported by clang (unlikely) 152 153 * reader.c: fix two coverity warnings: 154 a) resource leak on malloc-failure 155 b) possible null-pointer dereference on parse-error 156 157 * test/btyacc/err_inherit4.tab.h, test/btyacc/btyacc_demo.tab.h: regen 158 159 * defs.h: use enum's to simplify recent change 160 161 * mstring.c: 162 enable mstring() in regular byacc, since Zoulas' change relies upon it 163 1642019-11-03 Christos.Zoulas 165 166 * defs.h, reader.c, output.c: add support for bison's "%code" feature 167 also fix a small bug: declare YYLTYPE externally when producing locations 168 1692019-11-03 Thomas E. Dickey <dickey@invisible-island.net> 170 171 * test/btyacc/help.error, test/btyacc/no_b_opt.error, test/btyacc/no_output2.error, test/btyacc/no_p_opt.error, test/yacc/help.error, test/yacc/no_b_opt.error, test/yacc/no_output2.error, test/yacc/no_p_opt.error: 172 regen 173 174 * test/run_test.sh: 175 there's no standard wording for the options-errors from getopt; 176 filter that to "error message" in the test reference files. 177 178 * main.c: 179 provide for using getopt(), to accommodate a case where developers have 180 relied upon non-POSIX behavior. 181 182 * test/run_test.sh: 183 getopt's messages do not print the full pathname of yacc in some cases; 184 adjust the sed-script which changes those to "YACC" 185 186 * configure: regen 187 188 * config_h.in: regen, using autoheader-252 189 190 * configure.in: add configure check for getopt 191 192 * configure: regen 193 194 * aclocal.m4: 195 resync with my-autoconf adds a fix which accommodates a difference in 196 warning options between gcc/clang when --enable-warnings is not set. 197 198 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 199 bump 200 2012019-09-11 Thomas E. Dickey <dickey@invisible-island.net> 202 203 * config.guess, config.sub: 2019-09-10 204 2052019-06-17 Thomas E. Dickey <dickey@invisible-island.net> 206 207 * test/btyacc/big_b.error, test/btyacc/big_l.error, test/btyacc/help.error, test/btyacc/no_b_opt.error, test/btyacc/no_output2.error, test/btyacc/no_p_opt.error, test/btyacc/nostdin.error, test/yacc/big_b.error, test/yacc/big_l.error, test/yacc/help.error, test/yacc/no_b_opt.error, test/yacc/no_output2.error, test/yacc/no_p_opt.error, test/yacc/nostdin.error: 208 regen 209 210 * test/run_test.sh: test "-H" rather than "-D" 211 2122019-06-16 Thomas E. Dickey <dickey@invisible-island.net> 213 214 * main.c, yacc.1: 215 change "-D" option to "-H" (discussion with Ethan Sommer) 216 217 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 218 bump 219 220 * test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c: 221 RCS_BASE 222 223 * test/run_test.sh: in test_defines, save the ".c" file too 224 225 * test/yacc/defines3.calc.c, test/yacc/defines2.calc.c, test/yacc/defines1.calc.c: 226 RCS_BASE 227 228 * test/run_test.sh: 229 output of test_defines should be a header ".h", not ".c" 230 231 * test/btyacc/defines1.calc.h, test/btyacc/defines1.error, test/btyacc/defines1.output, test/btyacc/defines2.calc.h, test/btyacc/defines2.error, test/btyacc/defines2.output, test/btyacc/defines3.calc.h, test/btyacc/defines3.error, test/btyacc/defines3.output: 232 RCS_BASE 233 234 * main.c: however, a subsequent -d cancels -D 235 236 * test/yacc/defines1.calc.h, test/yacc/defines3.calc.h: RCS_BASE 237 238 * main.c: -D option implies -d 239 240 * test/yacc/defines1.error, test/yacc/defines1.output, test/yacc/defines2.calc.h, test/yacc/defines2.error, test/yacc/defines2.output, test/yacc/defines3.error, test/yacc/defines3.output: 241 RCS_BASE 242 243 * yacc.1: align macro definitions with my other manpages 244 245 * test/run_test.sh: add test for -D after -d or -b options 246 247 * test/btyacc/stdin1.calc.c, test/btyacc/stdin1.error, test/btyacc/stdin1.output, test/btyacc/stdin2.calc.c, test/btyacc/stdin2.error, test/btyacc/stdin2.output: 248 RCS_BASE 249 250 * test/btyacc/big_b.error, test/btyacc/big_b.output, test/btyacc/big_l.error, test/btyacc/big_l.output, test/btyacc/help.error, test/btyacc/help.output, test/btyacc/no_b_opt.error, test/btyacc/no_b_opt.output, test/btyacc/no_b_opt1.error, test/btyacc/no_b_opt1.output, test/btyacc/no_code_c.error, test/btyacc/no_code_c.output, test/btyacc/no_defines.error, test/btyacc/no_defines.output, test/btyacc/no_graph.error, test/btyacc/no_graph.output, test/btyacc/no_include.error, test/btyacc/no_include.output, test/btyacc/no_opts.error, test/btyacc/no_opts.output, test/btyacc/no_output.error, test/btyacc/no_output.output, test/btyacc/no_output1.error, test/btyacc/no_output1.output, test/btyacc/no_output2.error, test/btyacc/no_output2.output, test/btyacc/no_p_opt.error, test/btyacc/no_p_opt.output, test/btyacc/no_p_opt1.error, test/btyacc/no_p_opt1.output, test/btyacc/no_verbose.error, test/btyacc/no_verbose.output, test/btyacc/nostdin.error, test/btyacc/nostdin.output, test/yacc/big_b.error, test/yacc/big_b.output, test/yacc/big_l.error, test/yacc/big_l.output, 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: 251 regen 252 253 * test/run_test.sh: 254 add a test for stdin "-" vs end-options "--", and correct a redirection 255 of stderr in test_flags 256 257 * test/yacc/stdin2.output, test/yacc/stdin2.calc.c, test/yacc/stdin1.calc.c, test/yacc/stdin1.error, test/yacc/stdin1.output, test/yacc/stdin2.error: 258 RCS_BASE 259 260 * test/btyacc/big_b.output, test/btyacc/big_l.output, test/btyacc/help.output, test/btyacc/no_b_opt.output, test/btyacc/no_output2.output, test/btyacc/no_p_opt.output, test/btyacc/nostdin.output, test/yacc/big_b.output, test/yacc/big_l.output, test/yacc/help.output, test/yacc/no_b_opt.output, test/yacc/no_output2.output, test/yacc/no_p_opt.output, test/yacc/nostdin.output: 261 regen 262 263 * main.c: add -D option, to specify filename vs y.tab.h for -d 264 265 * defs.h: add dflag2, for -D option 266 267 * yacc.1: document -D option 268 269 * config_h.in: updated with autoheader-252 270 271 * configure: regen 272 273 * package/debian/copyright: bump 274 275 * aclocal.m4: add CF_GETOPT_HEADER 276 277 * aclocal.m4: Improved autoconf macros: 278 + CF_CC_ENV_FLAGS 279 putting preprocessor flags in CFLAGS also is a nuisance, which can be 280 addressed in the same way. 281 + CF_GCC_WARNINGS 282 factor out workaround for XTSTRINGDEFINES as CF_CONST_X_STRING 283 + CF_GNU_SOURCE 284 The check for _DEFAULT_SOURCE should apply to "recent" Cygwin (since early 2016), 285 and except for "NEWLIB" vs "GLIBC" in the test, acts the same if I pretend 286 that "newlib" is the GNU C library. Without this, the check falls through 287 to the _XOPEN_SOURCE test, which breaks the pseudoterminal checks for xterm. 288 + CF_POSIX_C_SOURCE 289 add/use CF_POSIX_VISIBLE 290 + CF_TRY_XOPEN_SOURCE 291 use CF_APPEND_TEXT 292 + CF_WITH_MAN2HTML 293 use sed to work around non-POSIX tail utility 294 + CF_XOPEN_SOURCE 295 use CF_APPEND_TEXT 296 add/use CF_POSIX_VISIBLE 297 298 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 299 bump 300 3012019-06-10 Thomas E. Dickey <dickey@invisible-island.net> 302 303 * config.guess: 2019-06-10 304 3052019-05-22 Thomas E. Dickey <dickey@invisible-island.net> 306 307 * config.sub: 2019-05-22 308 3092018-06-09 Thomas E. Dickey <dickey@invisible-island.net> 310 311 * yacc.1: minor typographical fixes 312 313 * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.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_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/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.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/rename_debug.c, btyaccpar.c: 314 regen 315 316 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 317 bump 318 3192018-06-09 Tom.Shields 320 321 * btyaccpar.skel: 322 add casts to fix g++ (clang++) compile errors in the backtracking skeleton 323 due to assignment of ‘void *’ to another pointer type. 324 3252018-05-25 Thomas E. Dickey <dickey@invisible-island.net> 326 327 * test/run_make.sh: 328 check if this is bison 3+ before adding options to suppress warnings 329 330 * package/byacc.spec: build-fix for Mageia 6 331 332 * package/byacc.spec: add btyacc package 333 334 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 335 bump 336 337 * package/debian/control: add a package for btyacc 338 339 * package/debian/rules: generate a package for btyacc 340 3412018-05-24 Thomas E. Dickey <dickey@invisible-island.net> 342 343 * 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/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, test/btyacc/expr.oxout.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, btyaccpar.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.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/rename_debug.c: 344 regen 345 346 * btyaccpar.skel: fix typo 347 3482018-05-21 Thomas E. Dickey <dickey@invisible-island.net> 349 350 * test/run_make.sh: 351 ignore case for "%" directives to skip with old-yacc, and add %token-table 352 to the list 353 354 * btyaccpar.c: regen 355 3562018-05-21 Christos.Zoulas 357 358 * btyaccpar.skel: 359 improve compatibility with bison by changing the YYLLOC_DEFAULT macro to use 360 YYRHSLOC() macro, and adjusting the array indices of yyerror_loc_range[] for 361 consistency. 362 3632018-05-10 Thomas E. Dickey <dickey@invisible-island.net> 364 365 * output.c: 366 add a fallback definition for YYDEBUG to the -i externs file. 367 368 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen 369 370 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 371 bump 372 3732018-05-09 Thomas E. Dickey <dickey@invisible-island.net> 374 375 * configure: regen 376 377 * aclocal.m4: resync with my-autoconf 378 379 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 380 bump 381 382 * test/btyacc/rename_debug.i, btyaccpar.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.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, test/btyacc/expr.oxout.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_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/rename_debug.c, test/btyacc/varsyntax_calc1.tab.c: 383 regen 384 385 * btyaccpar.skel: apply Guy Harris' changes here as well 386 387 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen 388 389 * output.c: correct/improve fallback prototype for yylex() 390 391 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen 392 3932018-05-08 Thomas E. Dickey <dickey@invisible-island.net> 394 395 * test/btyacc/grammar.tab.c, test/yacc/grammar.tab.c: regen 396 397 * test/grammar.y: 398 quiet some warnings from gcc 7 when doing "make check_make" 399 400 * package/debian/watch, package/pkgsrc/Makefile: update ftp-url 401 402 * test/btyacc/ok_syntax1.tab.h, test/btyacc/btyacc_calc1.tab.h: regen 403 404 * output.c: 405 provide yylex() declaration for simple case (request by "Mutiny") 406 407 * test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.h, 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_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/rename_debug.c, test/yacc/rename_debug.i, yaccpar.c: 408 regen 409 410 * VERSION, package/byacc.spec, package/debian/changelog, package/debian/copyright, package/mingw-byacc.spec, package/pkgsrc/Makefile: 411 bump 412 4132018-05-06 Guy.Harris 414 415 * yaccpar.skel: two fixes: 416 1) define yydebug only if YYDEBUG is defined and 417 2) make yynerrs a parser-local variable if the parser is reentrant. 418 4192018-02-24 Guy.Harris 420 421 * output.c: do not emit "extern YYSTYPE yylval;" for pure parsers 422 4232018-02-05 Thomas E. Dickey <dickey@invisible-island.net> 424 425 * config.sub: 2018-01-15 426 427 * config.guess: 2018-01-26 428 4292017-12-04 erik.b.andersen 430 431 * main.c: A proper path for temporary files is needed by byacc under 432 Windows commandline, otherwise there's a risk of empty files. 433 The TEMP environment variable is always defined in Windows. 434 435 * defs.h: The noreturn attribute needs to be specified before function 436 to be portable among compilers (gcc, clang, msvc). 437 4382017-12-04 Thomas E. Dickey <dickey@invisible-island.net> 439 440 * reader.c: adapted fix by Erik B: 441 a) increase the length of name[] to account for a trailing null 442 b) note that calling syntax_error() from get_number() does not return 443 4442017-09-14 Tom.Shields 445 446 * yacc.1: fix typo 447 4482017-07-09 Thomas E. Dickey <dickey@invisible-island.net> 449 450 * package/byacc.spec, package/mingw-byacc.spec: 451 use predefined "configure" 452 453 * reader.c: remove unused assignment 454 455 * package/debian/rules: use dpkg-buildflags 456 457 * configure: regen 458 459 * aclocal.m4: resync with my-autoconf 460 461 * reader.c, output.c, defs.h: 462 add/use IS_NAME1() and IS_NAME2() to reduce clutter 463 464 * reader.c, output.c, defs.h: 465 guard against sign-extension in ctype-macros 466 467 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 468 bump 469 470 * reader.c: check for numeric overflow in get_number() 471 472 * reader.c: 473 correct limit-checks for input filename and line-number, in case no valid 474 filename and/or number was found. 475 4762017-04-30 Thomas E. Dickey <dickey@invisible-island.net> 477 478 * test/btyacc/quote_calc-s.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/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.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_calc.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.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/rename_debug.c, btyaccpar.c, btyaccpar.skel: 479 fix another uninitialized variable warning in "make check_make" for btyacc 480 481 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/calc3.tab.c, btyaccpar.c, btyaccpar.skel, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/calc3.tab.c, yaccpar.c, defs.h, yaccpar.skel, output.c: 482 fix some compiler warnings for "make check_make" by adding section init_vars, 483 which initializes the body_vars for pure-parser configuration. 484 4852017-04-30 Tom.Shields 486 487 * output.c: 488 use YY_NO_LEAKS set in configure --with-no-leaks, in the generated code 489 4902017-04-30 Julien.Ramseier 491 492 * main.c, test/yacc/big_l.output: 493 fix typo in unsupported-flag warning message 494 4952017-04-30 Thomas E. Dickey <dickey@invisible-island.net> 496 497 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 498 bump 499 5002017-04-29 Thomas E. Dickey <dickey@invisible-island.net> 501 502 * config.sub: 2017-04-02 503 5042017-03-18 Thomas E. Dickey <dickey@invisible-island.net> 505 506 * config.sub: 2017-02-07 507 508 * config.guess: 2017-03-05 509 5102017-02-01 Thomas E. Dickey <dickey@invisible-island.net> 511 512 * test/btyacc/expr.oxout.error, test/btyacc/expr.oxout.output, test/btyacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.h, test/yacc/expr.oxout.error, test/yacc/expr.oxout.output, test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h: 513 RCS_BASE 514 515 * package/debian/copyright: update copyright 516 517 * reader.c, defs.h, main.c: 518 avoid using regex.h since some low-end platforms do not have this 519 520 * test/expr.oxout.y: RCS_BASE 521 522 * configure: regen 523 524 * aclocal.m4: quiet a strict gcc warning in CF_MKSTEMP 525 5262017-02-01 Tom.Shields 527 528 * main.c, reader.c, defs.h: 529 process #line directives, like bison and flex 530 5312017-02-01 Thomas E. Dickey <dickey@invisible-island.net> 532 533 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 534 bump 535 5362016-12-31 Thomas E. Dickey <dickey@invisible-island.net> 537 538 * config.guess, config.sub: 2017-01-01 539 5402016-12-02 Thomas E. Dickey <dickey@invisible-island.net> 541 542 * test/btyacc/quote_calc4-s.tab.c, test/btyacc/varsyntax_calc1.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/ok_syntax1.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.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/rename_debug.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, btyaccpar.c: 543 regen 544 545 * btyaccpar.skel: changes from NetBSD 546 + use YYINT rather than short in btyaccpar.skel 547 (some of this had already been done by Tom Shields) 548 + remove some casts of malloc/realloc 549 550 * yaccpar.c, yaccpar.skel, output.c: changes from NetBSD 551 - Add some more bison stuff to make the mesa/gallium parser work: 552 %initial-action (add missing source struct member in location) 553 %debug (unimplemented) 554 %error-verbose (unimplemented) 555 556 This changes some existing code: 557 + yylloc is now a pointer, so 558 + the first parameter to YYERROR_DECL() is a pointer 559 + struct YYLTYPE now has a "source" field 560 561 * test/btyacc/btyacc_demo.tab.h, test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c, test/btyacc/err_inherit4.tab.h: 562 regen 563 564 * btyaccpar.c, btyaccpar.skel, reader.c: changes from NetBSD 565 - Add some more bison stuff to make the mesa/gallium parser work: 566 %initial-action (add missing source struct member in location) 567 %debug (unimplemented) 568 %error-verbose (unimplemented) 569 570 This changes some existing code: 571 + yylloc is now a pointer, so 572 + the first parameter to YYERROR_DECL() is a pointer 573 + struct YYLTYPE now has a "source" field 574 575 * reader.c: 576 fix from NetBSD: correct off-by-one when adding a null in copy_param() 577 578 * reader.c: adapted from NetBSD 579 - Convert *most* error fingerprints to: 580 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr) 581 +unterminated_arglist(const struct ainfo *a) 582 - Cast new <ctype.h> args to unsigned char 583 584 * defs.h: changes from NetBSD 585 - Add some more bison stuff to make the mesa/gallium parser work: 586 %initial-action (add missing source struct member in location) 587 %debug (unimplemented) 588 %error-verbose (unimplemented) 589 590 This changes some existing code: 591 + yylloc is now a pointer, so 592 + the first parameter to YYERROR_DECL() is a pointer 593 + struct YYLTYPE now has a "source" field 594 595 * defs.h: adapted from NetBSD 596 - Convert *most* error fingerprints to: 597 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr) 598 +unterminated_arglist(const struct ainfo *a) 599 - Cast new <ctype.h> args to unsigned char 600 601 * main.c: changes from NetBSD 602 - Add some more bison stuff to make the mesa/gallium parser work: 603 %initial-action (add missing source struct member in location) 604 %debug (unimplemented) 605 %error-verbose (unimplemented) 606 607 This changes some existing code: 608 + yylloc is now a pointer, so 609 + the first parameter to YYERROR_DECL() is a pointer 610 + struct YYLTYPE now has a "source" field 611 612 * error.c: adapted from NetBSD 613 - Convert *most* error fingerprints to: 614 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr) 615 +unterminated_arglist(const struct ainfo *a) 616 - Cast new <ctype.h> args to unsigned char 617 618 * mstring.c: adapted change from NetBSD to add casts for ctype macros 619 620 * test/btyacc/btyacc_demo.tab.h, test/btyacc/err_inherit4.tab.h: regen 621 622 * output.c: reorder to eliminate a forward-reference 623 6242016-12-02 Tom.Shields 625 626 * output.c: 627 modify output to enable compilation of a lexer generated by flex (using 628 "%option bison-bridge" and "%option bison-locations") to be used with a parser 629 generated by b(t)yacc (using directives "%locations" and "%pure-parser"). 630 6312016-12-02 Thomas E. Dickey <dickey@invisible-island.net> 632 633 * configure: regen 634 635 * aclocal.m4: Improved autoconf macros 636 CF_CC_ENV_FLAGS 637 + improve split between compiler and options, prompted by report where user 638 had "ccache" before the compiler 639 + leave non-preprocessor options in "$CC" (but still copy them to "$CFLAGS" 640 since that's where they should be) 641 CF_GNU_SOURCE,v 642 + recent glibc (Debian 2.23-4 for example) has misordered ifdef/checks for new 643 symbol _DEFAULT_SOURCE, producing warning messages when only _GNU_SOURCE is 644 defined. Add a followup check to define _DEFAULT_SOURCE. 645 CF_XOPEN_SOURCE 646 + add "uclinux" to list of Linux's (patch by Yann E. Morin) 647 + use _GNU_SOURCE for cygwin headers 648 + build-fixes for OS/2 649 650 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 651 bump 652 6532016-11-20 Thomas E. Dickey <dickey@invisible-island.net> 654 655 * config.sub: 2016-11-19 656 657 * config.guess: 2016-10-02 658 6592016-06-06 Thomas E. Dickey <dickey@invisible-island.net> 660 661 * configure: regen 662 663 * aclocal.m4: improved autoconf macros: 664 CF_CC_ENV_FLAGS - don't limit the check to -I, -U and -D options, since the 665 added options can include various compiler options before and after 666 preprocessor options. 667 CF_PROG_LINT - add cpplint to programs to use; drop ad hoc tdlint and alint. 668 669 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 670 bump 671 672 * lalr.c: indented 673 674 * btyaccpar.c: regen 675 676 * skel2c: 677 adjust whitespace so that generated skeleton will follow the same format 678 as other code 679 680 * mkpar.c, verbose.c, lr0.c, reader.c, error.c, output.c: indented 681 682 * reader.c: fix two compiler warnings 683 684 * 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_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/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/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.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/rename_debug.c, btyaccpar.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/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/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/rename_debug.c, yaccpar.c: 685 regen 686 6872016-06-06 Tom.Shields 688 689 * btyaccpar.skel, yaccpar.skel: 690 small fix for an edge case of initialized data in Chris Dodd's btyacc changes: 691 "Avoid crash when input pops up an Action error at the first token" 692 6932016-06-01 Thomas E. Dickey <dickey@invisible-island.net> 694 695 * test/yacc/quote_calc2-s.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/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax24.error, 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.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_calc.tab.h, 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/rename_debug.c, yaccpar.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/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.error, 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.output, 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/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.error, test/btyacc/btyacc_demo.output, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.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_calc.tab.c, test/btyacc/code_calc.tab.h, 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.output, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.output, 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/rename_debug.c, btyaccpar.c: 696 regen 697 6982016-06-01 Tom.Shields 699 700 * btyaccpar.skel, defs.h, error.c, output.c, reader.c, test/code_calc.y, test/err_inherit4.y, test/run_make.sh, yaccpar.skel: 701 fixes for issues in btyacc (report by Francis Andre): 702 703 + correction to the placement of the #line directive for a %union specification 704 705 + recovery of a set of casts originally added into btyaccpar.c rather than into 706 btyaccpar.skel, and so are lost whenever building from scratch 707 708 + Chris Dodd's btyacc improved handling of inherited attributes to eliminate 709 implicit empty copy rules that are not necessary, and thereby avoiding the 710 introduction of extra parsing ambiguity 711 712 + Chris Dodd's added support for @-N syntax to reference inherited position 713 information 714 715 + correction to bad interaction between %token-table and YYDEBUG, where YYDEBUG 716 was required to be defined in order to compile the generated code 717 718 + correction to yyname[] access in code included with YYDEBUG defined for 719 single character symbols not recognized (e.g., input containing '&' character 720 where grammar doesn't define that as a symbol) - map to existing 721 "illegal-symbol" entry in byname[] 722 723 + fixes to test/run_make.sh: skip test-err_* files; in the bison test phase 724 skip additional files that contain features not supported by bison and 725 inhibit new bison warning messages 726 727 + minor changes to btyaccpar.skel & yaccpar.skel so they are more similar in 728 their commonality; makes it easier to maintain the pair of files using 729 vimdiff 730 731 + changes to a couple of test cases for coverage of #3, #4 and #5 above 732 7332016-06-01 Thomas E. Dickey <dickey@invisible-island.net> 734 735 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 736 bump 737 7382016-03-24 Thomas E. Dickey <dickey@invisible-island.net> 739 740 * reader.c: unused variable 741 742 * package/pkgsrc/Makefile, package/debian/copyright: bump 743 7442016-03-24 Jung-uk.Kim 745 746 * main.c: 747 correct logic for finding output suffix in the "-o" option, which matched 748 the first occurrence of ".c" in the name in 2005-08-13 changes rather than 749 at the end of the filename (patch by Jung-uk Kim) 750 7512016-03-24 Thomas E. Dickey <dickey@invisible-island.net> 752 753 * aclocal.m4: 754 update CF_WITH_MAN2HTML to use configured shell rather than /bin/sh 755 756 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 757 bump 758 7592016-01-25 Thomas E. Dickey <dickey@invisible-island.net> 760 761 * config.guess, config.sub: 2016-01-01 762 7632015-07-10 Thomas E. Dickey <dickey@invisible-island.net> 764 765 * lr0.c: fix a duplicate-free in the leak-checking 766 767 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 768 bump 769 770 * reader.c: 771 make cache-size clearer (prompted by discussion with Pedro Giffuni, 772 Oliver Pinter) 773 774 * main.c: 775 make relationship with format/size clearer (prompted by discussion 776 with Pedro Giffuni, Oliver Pinter) 777 7782015-07-05 Thomas E. Dickey <dickey@invisible-island.net> 779 780 * configure: regen 781 782 * package/pkgsrc/Makefile, package/mingw-byacc.spec, package/debian/copyright, package/debian/changelog, package/byacc.spec, VERSION: 783 bump 784 785 * aclocal.m4: resync with my-autoconf 786 add configure option --with-man2html 787 788 * makefile.in: add configure options --with-man2html 789 790 * configure.in: add configure option --with-man2html 791 7922015-05-02 Thomas E. Dickey <dickey@invisible-island.net> 793 794 * config.guess: 2015-03-04 795 796 * config.sub: 2015-03-08 797 7982014-11-28 Thomas E. Dickey <dickey@invisible-island.net> 799 800 * lr0.c: coverity #39181: memory leak 801 802 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 803 bump 804 8052014-11-13 Jouk.Jansen 806 807 * descrip.mms: 808 I sucessfully compiled byacc on my OpenVMS systems. However, I had to update 809 the descrip.mms to include some extra c-source files and some dependenxcies 810 so that it also works when the distribution is located on an ODS5 disk. 811 812 The patched descrip.mms file can be found at: 813 http://nchrem.tnw.tudelft.nl/openvms/software2.html#BYACC 814 815 Please feel free to insert the file in your distribution. 816 817 Regards 818 Jouk. 819 8202014-10-06 Thomas E. Dickey <dickey@invisible-island.net> 821 822 * package/debian/source/format: 823 change to native format to work around regression in Debian packaging. 824 825 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 826 bump 827 828 * configure: regen 829 830 * main.c: 831 correct parameter for umask - for very old mkstemp's - and use type mode_t 832 to quiet compiler warning 833 834 * configure.in: add configure check for mode_t 835 836 * reader.c: 837 better fix for get_line, by ensuring there is enough space to null-terminate 838 its result (prompted by discussion with Craig Rodrigues). 839 8402014-10-05 Thomas E. Dickey <dickey@invisible-island.net> 841 842 * main.c: 843 make change to umask before calling mkstemp, as suggested in Coverity #56902 844 845 * reader.c: 846 adjust logic in copy_action to avoid potential null-pointer dereference 847 (Coverity #56901) 848 849 * reader.c: 850 adjust logic to avoid potential null-pointer dereference in compile_args 851 (Coverity #63407) 852 853 * reader.c: eliminate strcpy into fixed-size buffer (Coverity #63408) 854 855 * yacc.1: document changes made with respect to %parse-param 856 857 * output.c: 858 add parameters from %parse-param to destructor. The order of the parameters 859 is intentionally inconsistent with yyparse/yyerror, for "compatibility" with 860 bison. 861 862 * test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c: 863 regen 864 865 * output.c: 866 use puts_param_types/puts_param_names to output lex_param data. 867 868 * test/btyacc/ok_syntax1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/rename_debug.c: 869 regen 870 871 * btyaccpar.c: add casts, change types to fix strict compiler warnings 872 873 * test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c: 874 regen 875 876 * output.c: gcc-warning 877 878 * test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c: regen 879 880 * output.c: fix limit when merging real/workaround tables 881 882 * output.c: 883 for btyacc, it is possible to have no conflicts - but in that case, the 884 "ctable" was not generated at all, while the skeleton uses the table. 885 The most straightforward (workaround) is generating a dummy table which 886 rejects any state. 887 888 * test/btyacc_destroy3.y, test/btyacc_destroy2.y, test/btyacc_destroy1.y: 889 fix "make check_make" 890 891 * test/yacc/calc3.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/calc2.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c: 892 regen 893 894 * reader.c: 895 trim blanks from interim value in copy_param() to handle special case when 896 a space precedes a comma. 897 898 * output.c: 899 use two new functions, puts_param_types and puts_param_names, to improve 900 format of the parse_param list (by trimming space after "*") as well as 901 correcting the output of the comma-separated names (only the last name 902 was output). 903 904 * test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c: 905 regen 906 907 * reader.c: 908 modify copy_param() to handle resulting comma-separated list. Before, it 909 only expected a single parameter. 910 9112014-10-04 Thomas E. Dickey <dickey@invisible-island.net> 912 913 * reader.c: split-out save_param() from copy_param() 914 915 * reader.c: trim_blanks() did not always convert spaces - fix. 916 917 * reader.c: fix some minor regressions with error-reporting 918 919 * aclocal.m4: update CF_XOPEN_SOURCE for Unixware change from lynx 920 921 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 922 bump 923 924 * reader.c: 925 modify copy_param() to accept multiple parameters, each in curly braces like 926 recent bison, as well as honoring bison's undocumented feature to accept the 927 parameters as a comma-separated list. 928 929 * test/btyacc/btyacc_destroy3.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.error, test/btyacc/btyacc_destroy3.output, test/btyacc/btyacc_destroy3.tab.h, test/btyacc/btyacc_destroy2.error, test/btyacc/btyacc_destroy2.output, test/btyacc/btyacc_destroy2.tab.h: 930 RCS_BASE 931 9322014-10-03 Thomas E. Dickey <dickey@invisible-island.net> 933 934 * test/btyacc/btyacc_demo2.error, test/btyacc/btyacc_demo2.output, test/btyacc/btyacc_demo2.tab.c, test/btyacc/btyacc_demo2.tab.h, test/btyacc/btyacc_destroy1.error, test/btyacc/btyacc_destroy1.output, test/btyacc/btyacc_destroy1.tab.h, test/btyacc_destroy3.y, test/btyacc_destroy1.y, test/btyacc_destroy2.y: 935 RCS_BASE 936 9372014-10-02 Thomas E. Dickey <dickey@invisible-island.net> 938 939 * main.c, reader.c, defs.h: 940 use calloc in get_line() when allocating line to ensure it is fully initialized, 941 fixes a later uninitialized value in copy_param() (FreeBSD #193499). 942 9432014-09-17 Thomas E. Dickey <dickey@invisible-island.net> 944 945 * closure.c, lalr.c, output.c, defs.h: 946 rephrase odd addressing to fix Coverity #48848, #38950, #38860, not actually 947 a bug. 948 9492014-09-01 Thomas E. Dickey <dickey@invisible-island.net> 950 951 * config.sub: update to 2014-07-28 952 9532014-07-27 Thomas E. Dickey <dickey@invisible-island.net> 954 955 * configure: regen 956 957 * aclocal.m4: modified to support port to Minix3.2 958 959 * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec: 960 bump 961 9622014-07-15 Thomas E. Dickey <dickey@invisible-island.net> 963 964 * aclocal.m4: resync with my-autoconf (no change to configure script) 965 966 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 967 bump 968 969 * test/run_test.sh: 970 make top-level "make check" work again, by adding another step to filtering 971 the test results. 972 9732014-07-14 Thomas E. Dickey <dickey@invisible-island.net> 974 975 * test/run_test.sh: changes from Garrett Cooper's patch: 976 a) ensure that the script returns an error-code if there are differences 977 b) escape "." character in left side of sed expression for $YACC 978 c) ensure that $ifBTYACC has a value 979 980 * test/btyacc/big_b.output, test/btyacc/big_l.output, test/btyacc/help.output, test/btyacc/no_b_opt.output, test/btyacc/no_output2.output, test/btyacc/no_p_opt.output, test/btyacc/nostdin.output: 981 regen (reminder by Garrett Cooper) 982 9832014-07-14 Garrett.Cooper 984 985 * test/btyacc/err_inherit1.error, test/btyacc/err_inherit2.error, test/btyacc/err_inherit3.error, test/btyacc/err_inherit4.error, test/btyacc/err_inherit5.error, test/btyacc/err_syntax1.error, test/btyacc/err_syntax10.error, test/btyacc/err_syntax11.error, test/btyacc/err_syntax12.error, test/btyacc/err_syntax13.error, test/btyacc/err_syntax14.error, test/btyacc/err_syntax15.error, test/btyacc/err_syntax16.error, test/btyacc/err_syntax17.error, test/btyacc/err_syntax18.error, test/btyacc/err_syntax19.error, test/btyacc/err_syntax2.error, test/btyacc/err_syntax21.error, test/btyacc/err_syntax22.error, test/btyacc/err_syntax23.error, test/btyacc/err_syntax24.error, test/btyacc/err_syntax25.error, test/btyacc/err_syntax26.error, test/btyacc/err_syntax27.error, test/btyacc/err_syntax3.error, test/btyacc/err_syntax4.error, test/btyacc/err_syntax5.error, test/btyacc/err_syntax6.error, test/btyacc/err_syntax7.error, test/btyacc/err_syntax7a.error, test/btyacc/err_syntax7b.error, test/btyacc/err_syntax8.error, test/btyacc/err_syntax8a.error, test/btyacc/err_syntax9.error, test/yacc/err_syntax1.error, test/yacc/err_syntax10.error, test/yacc/err_syntax11.error, test/yacc/err_syntax12.error, test/yacc/err_syntax13.error, test/yacc/err_syntax14.error, test/yacc/err_syntax15.error, test/yacc/err_syntax16.error, test/yacc/err_syntax17.error, test/yacc/err_syntax18.error, test/yacc/err_syntax19.error, test/yacc/err_syntax2.error, test/yacc/err_syntax21.error, test/yacc/err_syntax22.error, test/yacc/err_syntax23.error, test/yacc/err_syntax24.error, test/yacc/err_syntax25.error, test/yacc/err_syntax26.error, test/yacc/err_syntax27.error, test/yacc/err_syntax3.error, test/yacc/err_syntax4.error, test/yacc/err_syntax5.error, test/yacc/err_syntax6.error, test/yacc/err_syntax7.error, test/yacc/err_syntax7a.error, test/yacc/err_syntax7b.error, test/yacc/err_syntax8.error, test/yacc/err_syntax8a.error, test/yacc/err_syntax9.error: 986 regen 987 9882014-05-27 Tom.Shields 989 990 * main.c: remove obsolete -D option from usage message 991 9922014-05-27 Thomas E. Dickey <dickey@invisible-island.net> 993 994 * VERSION, package/byacc.spec, package/debian/changelog, test/yacc/big_b.output, test/yacc/big_l.output, test/yacc/help.output, test/yacc/no_b_opt.output, test/yacc/no_output2.output, test/yacc/no_p_opt.output, test/yacc/nostdin.output: 995 bump 996 9972014-04-22 Thomas E. Dickey <dickey@invisible-island.net> 998 999 * mstring.c: 1000 use vsnprintf() to ensure that msprintf's buffer is large enough. 1001 1002 * main.c, defs.h: add mstring_leaks() 1003 1004 * configure: regen 1005 1006 * output.c: fix a complementary warning 1007 1008 * mstring.c: introduce vsnprintf 1009 1010 * configure.in, config_h.in: add check for vsnprintf 1011 1012 * output.c: quiet a type-conversion warning 1013 1014 * mstring.c: fix a potential memory leak on ENOMEM 1015 quiet a couple of type-conversion warnings 1016 1017 * defs.h: add/use GCC_PRINTFLIKE for msprintf() 1018 10192014-04-22 Tom.Shields 1020 1021 * README.BTYACC: 1022 drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant 1023 content into README.BTYACC 1024 10252014-04-22 Thomas E. Dickey <dickey@invisible-island.net> 1026 1027 * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec: 1028 bump 1029 10302014-04-19 Thomas E. Dickey <dickey@invisible-island.net> 1031 1032 * config.sub: 2014-04-03 1033 1034 * config.guess: 2014-03-23 1035 10362014-04-09 Rick.Spates 1037 1038 * main.c, defs.h: patch to allow DEBUG build with WIN32 system 1039 10402014-04-09 Thomas E. Dickey <dickey@invisible-island.net> 1041 1042 * output.c, reader.c: gcc warnings 1043 1044 * reader.c: fix const-cast warnings 1045 1046 * 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: 1047 fix a few clang --analyze warnings; one was a case where output_ctable emitted 1048 an empty table (which should be an error). 1049 1050 * reader.c: appease clang --analyze 1051 1052 * defs.h: mark two functions as no-return. 1053 1054 * package/debian/changelog: reason for release 1055 1056 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 1057 bump 1058 1059 * makefile.in: use $LINT_OPTS from environment via configure script 1060 1061 * 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: 1062 tweaks to make generated files from ok_syntax1.y compile with check_make rule 1063 1064 * 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: 1065 reference output for testing 1066 1067 * test/run_test.sh: 1068 retain the renaming done for code_debug.y so that check_make will work. 1069 1070 * test/yacc/rename_debug.error, test/yacc/rename_debug.h, test/yacc/rename_debug.i, test/yacc/rename_debug.output: 1071 reference output for testing 1072 1073 * test/btyacc/ok_syntax1.error: RCS_BASE 1074 1075 * 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: 1076 regen 1077 1078 * yacc.1: 1079 clarify relationship of btyacc features to default configuration. 1080 10812014-04-08 Thomas E. Dickey <dickey@invisible-island.net> 1082 1083 * 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: 1084 reference output for testing 1085 1086 * test/ok_syntax1.y: RCS_BASE 1087 1088 * test/yacc/ok_syntax1.error: reference output for testing 1089 1090 * 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: 1091 exercise -L/-B options 1092 1093 * 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: 1094 use a better renaming of the YYPATCH definition (none of the test-cases rely 1095 upon it, but redefinition in the "make check_make" rule is a problem). 1096 1097 * 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: 1098 undid temporary reordering in reader() by Tom Shields to align with byacc outputs 1099 1100 * test/run_test.sh: remove a repeated test-case 1101 1102 * mstring.c: minor reformatting to make coverage analysis simpler 1103 11042014-04-07 Thomas E. Dickey <dickey@invisible-island.net> 1105 1106 * test/run_test.sh: tidy 1107 1108 * 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: 1109 reference output for testing 1110 1111 * test/run_test.sh: 1112 add special checks for flags which depend on writable/existing files 1113 1114 * 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: 1115 reference output for testing 1116 1117 * main.c: 1118 change CREATE_FILE_NAMES() to use local function rather than inline code, 1119 to simplify coverage analysis. 1120 1121 * 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: 1122 reference output for testing 1123 1124 * test/err_syntax27.y: testcase for missing_brace() 1125 1126 * error.c: ifdef'd non-btyacc function 1127 1128 * lr0.c: ifdef'd debug-code 1129 1130 * yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel 1131 1132 * 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: 1133 2010/11/26 simplification of output.c using putc_code() and putl_code() 1134 omitted an adjustment of the #line value used for code-file. Fix that. 1135 Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for 1136 YYPATCH #define's to make test-outputs easier to compare #line's (report 1137 by Tom Shields) 1138 11392014-04-06 Thomas E. Dickey <dickey@invisible-island.net> 1140 1141 * reader.c: fix for valgrind 1142 (the calloc's are intentional - valgrind reported use of uninitialized memory) 1143 1144 * lr0.c, output.c: fix for valgrind 1145 1146 * 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: 1147 RCS_BASE 1148 1149 * test/yacc/code_debug.c, test/yacc/code_debug.h: 1150 exercise the -i option 1151 1152 * test/yacc/code_debug.i: reference output for testing 1153 1154 * test/run_test.sh: exercise the -i option 1155 1156 * test/yacc/code_debug.c: reference output for testing 1157 1158 * test/run_test.sh: exercise the "-o" option 1159 1160 * test/yacc/code_debug.error, test/yacc/code_debug.h, test/yacc/code_debug.output: 1161 reference output for testing 1162 1163 * output.c: don't call exit() without giving a chance to cleanup. 1164 1165 * mstring.c: ifdef'd functions not used in byacc 1166 1167 * btyaccpar.c: generated from btyaccpar.skel 1168 1169 * yaccpar.c: generated from yaccpar.skel 1170 1171 * skel2c: 1172 change the generated-by comment to show which version of this script (and 1173 which version of the given skeleton file) were used to produce the C-file. 1174 1175 * configure: regen 1176 1177 * makefile.in: 1178 add rules to generate byacc and btyacc parser skeleton files independently 1179 1180 * aclocal.m4: CF_PROG_AWK - add to byacc's configure script 1181 CF_INTEL_COMPILER 1182 cleanup the -no-gcc option which was leftover from testing - prcs does 1183 not build with this option. 1184 CF_MAKE_DOCS 1185 protect $2 from substitution, for luit's "$(manext)" 1186 CF_XOPEN_SOURCE 1187 for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2 1188 on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE 1189 because it is not needed, as well as because g++ 4.7.3 (no package, 1190 used in Sage for Solaris 10) has some unspecified header breakage which 1191 is triggered by the duplicate definition. 1192 1193 * configure.in: 1194 modify so skeleton-source is determined by configure options rather than by 1195 having developer rename yaccpar.skel.old to yaccpar.skel 1196 1197 * descrip.mms: rename skeleton 1198 1199 * vmsbuild.com: 1200 fwiw, renamed the skeleton for consistency with makefile 1201 1202 * skel2c, skeleton.c: resync skeleton and its generating files 1203 1204 * yaccpar.skel: 1205 renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules 1206 1207 * yaccpar.skel.old: resync skeleton and its generating files 1208 1209 * test/run_make.sh: improve cleanup after error recovery 1210 1211 * 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: 1212 use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton 1213 1214 * output.c: simplify output_yyerror_decl() 1215 1216 * 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: 1217 add second "const" to string-table declarations, from Tom Shield's btyacc changes 1218 1219 * 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: 1220 discard unnecessary call on write_code_lineno() from Tom Shield's changes 1221 1222 * 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: 1223 use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short" 1224 1225 * test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c: 1226 use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL() 1227 1228 * 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: 1229 discard unnecessary call on write_code_lineno() from Tom Shield's changes 1230 1231 * 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: 1232 use fix from Tom Shield's btyacc changes: prefix-definitions went to the 1233 output (.tab.c) file in a case where they should have gone to the code 1234 (.code.c) file. Remove now-redundant call to output_prefix(). 1235 1236 * main.c: do the same for help-message 1237 1238 * main.c: use OUTPUT_SUFFIX symbol in an overlooked case 1239 1240 * test/run_make.sh: 1241 modify to avoid use of VPATH, which has no standard implementation 1242 12432014-04-05 Thomas E. Dickey <dickey@invisible-island.net> 1244 1245 * 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: 1246 discard a change which merged CountLines() with explicit comparisons against 1247 code_file because that adds extra to the #line values 1248 1249 * 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: 1250 add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to 1251 override fallback typedef for YYSTYPE when that symbol is undefined 1252 1253 * 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: 1254 minor tweak to coding style - use parenthesis for "defined" operator's parameter 1255 1256 * 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: 1257 regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent 1258 1259 * 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: 1260 regen after adding the YYUNDFTOKEN symbol 1261 1262 * output.c: 1263 integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol 1264 (I changed order of output to keep this adjacent to YYMAXTOKEN) 1265 1266 * reader.c: 1267 merge all but one small change from Tom Shield's btyacc changes - that 1268 changes the order of code-file in the tests. 1269 1270 * test/btyacc/btyacc_demo.tab.c: regen 1271 1272 * test/btyacc_demo.y: fix prototypes 1273 12742014-04-04 Thomas E. Dickey <dickey@invisible-island.net> 1275 1276 * reader.c, defs.h, main.c: 1277 more merging of Tom Shield's btyacc changes. In the merge, I moved the 1278 symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs 1279 12802014-04-03 Thomas E. Dickey <dickey@invisible-island.net> 1281 1282 * reader.c: 1283 merge-in 3/4 of btyacc's changes, deferring those which change test-outputs. 1284 Tom Shield's changes split-out copy_string() and copy_comment() functions 1285 to simplify some logic, as well as adding btyacc-only chunks 1286 1287 * makefile.in: build mstring.o, needed for changes in reader.c 1288 1289 * output.c: 1290 merge-in all of btyacc's changes which do not change byacc's test-output. 1291 Some of the merge uses ifdef-changes which I applied to ongoing resync, 1292 e.g., the introduction of PER_STATE. 1293 12942014-04-02 Thomas E. Dickey <dickey@invisible-island.net> 1295 1296 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen 1297 1298 * output.c: fix typo 1299 1300 * output.c, reader.c: 1301 merge in some chunks of reader and output files which do not affect byacc tests 1302 1303 * test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen 1304 1305 * 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: 1306 incorporate YYENOMEM and YYEOF symbols from btyacc 1307 1308 * output.c: merge chunk from btyacc changes for header-guards 1309 1310 * btyaccpar.skel: RCS_BASE 1311 1312 * yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues 1313 remove GCC_UNUSED to reduce name-pollution as well as being simpler 1314 1315 * main.c: 1316 move a btyacc symbol outside ifdef to work around current state of merge 1317 1318 * defs.h: 1319 add USE_HEADER_GUARDS to defer whether to modify byacc's header-output 1320 1321 * test/run_make.sh: 1322 do not try to compile files used for testing syntax-errors, since they are 1323 likely to be incomplete 1324 13252014-04-02 Tom.Shields 1326 1327 * main.c: changes for btyacc 1328 13292014-04-01 Thomas E. Dickey <dickey@invisible-island.net> 1330 1331 * reader.c: 1332 integrate change by Tom Shields to use bsearch rather than successive 1333 calls to matchec() 1334 1335 * defs.h: typedef __compar_fn_t is unnecessary 1336 1337 * 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: 1338 omit the GCC_UNUSED, as noted by Tom Shields not really essential 1339 13402014-04-01 Tom.Shields 1341 1342 * verbose.c: changes for btyacc, ifdef'd 1343 13442014-04-01 Thomas E. Dickey <dickey@invisible-island.net> 1345 1346 * mkpar.c: eliminate most of the ifdef's using macros 1347 13482014-04-01 Tom.Shields 1349 1350 * mkpar.c: merge btyacc changes (ifdef'd - no change to byacc) 1351 1352 * error.c: 1353 new functions used for reporting errors from the btyacc configuration 1354 (I reordered some, and ifdef'd the new ones -TD) 1355 13562014-03-31 Thomas E. Dickey <dickey@invisible-island.net> 1357 1358 * test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c: 1359 omit the GCC_UNUSED, as noted by Tom Shields not really essential 1360 1361 * 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: 1362 regen 1363 13642014-03-29 Thomas E. Dickey <dickey@invisible-island.net> 1365 1366 * 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: 1367 comment-out yysccsid in the banner because it produces unnecessary compiler 1368 warnings. The suggested alternative (using #pragma ident) in the preceding 1369 comment is also obsolete; remove that comment (request by Gleb Smirnoff). 1370 1371 * test/run_test.sh: 1372 for yacc, ignore the inherit testcases, since they are btyacc-specific 1373 13742014-03-28 Thomas E. Dickey <dickey@invisible-island.net> 1375 1376 * 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: 1377 reference output for testing 1378 1379 * test/run_lint.sh, test/run_make.sh, test/run_test.sh: 1380 moving #define's out of makefile broke check for yacc vs btyacc (fix) 1381 13822014-03-28 Tom.Shields 1383 1384 * 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: 1385 reference output for testing 1386 1387 * defs.h: new functions/variables for btyacc 1388 (I reordered and ifdef'd -TD) 1389 1390 * test/inherit0.y, test/inherit1.y: testcase for btyacc 1391 13922014-03-27 Tom.Shields 1393 1394 * test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y, test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y: 1395 testcase for btyacc 1396 13972014-03-25 Tom.Shields 1398 1399 * symtab.c: extra initialization needed for btyacc 1400 (I ifdef'd -TD) 1401 1402 * yacc.1: document -L/-B features from btyacc 1403 14042014-03-25 Thomas E. Dickey <dickey@invisible-island.net> 1405 1406 * yacc.1: typo 1407 1408 * configure: regen 1409 1410 * configure.in: 1411 modified new options to act like those in my other configure-scripts, e.g., 1412 showing what option is being tested, and the resulting value. Put the 1413 definitions in config.h rather than in the makefile. 1414 14152014-03-25 Tom.Shields 1416 1417 * makefile.in: add/use LINTFLAGS variable 1418 make all of the objects (not just skeleton) rebuild if makefile changes 1419 modify check-rule to reflect updates to run_test.sh vs subdirectory 1420 1421 * mstring.c: byacc-btyacc-20140323 1422 14232014-03-25 Thomas E. Dickey <dickey@invisible-island.net> 1424 1425 * test/btyacc/RCS, test/yacc/RCS: PERMIT FILE 1426 1427 * config_h.in: updated with autoheader-252 1428 14292014-03-25 Tom.Shields 1430 1431 * README.BTYACC: byacc-btyacc-20140323 1432 14332014-03-24 Tom.Shields 1434 1435 * 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: 1436 reference output for testing 1437 14382014-03-24 Thomas E. Dickey <dickey@invisible-island.net> 1439 1440 * defs.h: fix compiler warnings due to mputc() 1441 14422014-03-23 Tom.Shields 1443 1444 * test/btyacc_demo.y: testcase for btyacc 1445 1446 * test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h: 1447 reference output for testing 1448 1449 * test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc 1450 14512014-03-23 Thomas E. Dickey <dickey@invisible-island.net> 1452 1453 * 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: 1454 reference output for testing 1455 1456 * test/err_syntax26.y: testcase for missing_brace() 1457 1458 * 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: 1459 reference output for testing 1460 1461 * test/err_syntax25.y: testcase for over_unionized() 1462 1463 * 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: 1464 reference output for testing 1465 1466 * test/err_syntax24.y: testcase for default_action_warning() 1467 14682014-03-23 Tom.Shields 1469 1470 * 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: 1471 reference output for testing 1472 14732014-03-23 Thomas E. Dickey <dickey@invisible-island.net> 1474 1475 * 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: 1476 reference output for testing 1477 1478 * test/err_syntax23.y: testcase for untyped_lhs() 1479 14802014-03-23 Tom.Shields 1481 1482 * test/run_test.sh: 1483 move test-outputs into subdirectories to keep btyacc/yacc results separate 1484 14852014-03-23 Thomas E. Dickey <dickey@invisible-island.net> 1486 1487 * 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: 1488 reference output for testing 1489 1490 * test/err_syntax22.y: testcase for untyped_rhs() 1491 1492 * 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: 1493 reference output for testing 1494 1495 * test/err_syntax20.y: testcase for undefined_symbol_warning() 1496 1497 * test/err_syntax21.y: testcase for unknown_rhs() 1498 1499 * 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: 1500 reference output for testing 1501 1502 * test/err_syntax19.y: testcase for dollar_error() 1503 1504 * 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: 1505 reference output for testing 1506 1507 * test/err_syntax18.y: testcase for dollar_warning() 1508 1509 * 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: 1510 reference output for testing 1511 1512 * test/err_syntax17.y: testcase for unterminated_action() 1513 15142014-03-22 Thomas E. Dickey <dickey@invisible-island.net> 1515 1516 * 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: 1517 reference output for testing 1518 1519 * test/err_syntax16.y: testcase for terminal_lhs() 1520 1521 * 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: 1522 reference output for testing 1523 1524 * test/err_syntax15.y: testcase for no_grammar() 1525 1526 * 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: 1527 reference output for testing 1528 1529 * test/err_syntax14.y: 1530 testcase for restarted_warning() and undefined_goal() 1531 1532 * 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: 1533 reference output for testing 1534 1535 * test/err_syntax13.y: testcase for terminal_start() 1536 1537 * 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: 1538 reference output for testing 1539 1540 * test/err_syntax12.y: testcase for revalued_warning() 1541 1542 * 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: 1543 reference output for testing 1544 1545 * test/err_syntax11.y: testcase for reprec_warning() 1546 1547 * 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: 1548 reference output for testing 1549 1550 * test/err_syntax10.y: testcase for retyped_warning() 1551 15522014-03-21 Thomas E. Dickey <dickey@invisible-island.net> 1553 1554 * 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: 1555 reference output for testing 1556 1557 * test/err_syntax9.y: testcase for tokenized_start() 1558 1559 * 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: 1560 reference output for testing 1561 1562 * test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved() 1563 1564 * 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: 1565 reference output for testing 1566 1567 * test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y: 1568 testcase for illegal_character() 1569 1570 * 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: 1571 reference output for testing 1572 1573 * test/err_syntax6.y: testcase for illegal_tag() 1574 1575 * 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: 1576 reference output for testing 1577 1578 * test/err_syntax5.y: testcase for unterminated_union() 1579 1580 * 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: 1581 reference output for testing 1582 1583 * test/err_syntax4.y: testcase for unterminated_text() 1584 1585 * 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: 1586 reference output for testing 1587 1588 * test/err_syntax3.y: testcase for unterminated_string() 1589 1590 * 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: 1591 reference output for testing 1592 1593 * test/err_syntax2.y: testcase for unterminated_comment() 1594 1595 * test/err_syntax1.error, test/yacc/err_syntax1.error: 1596 reference output for testing 1597 1598 * test/err_syntax1.y: 1599 test-case with syntax error (and nonprinting character) 1600 1601 * 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: 1602 reference output for testing 1603 1604 * test/run_test.sh: 1605 save stderr to reference files, to capture shift/reduce messages as well 1606 as syntax-error messages 1607 1608 * 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: 1609 reference output for testing 1610 1611 * test/run_test.sh: generate a ".dot" file for the grammar file 1612 1613 * test/grammar.dot: RCS_BASE 1614 1615 * test/yacc/grammar.dot: reference output for testing 1616 16172014-03-19 Tom.Shields 1618 1619 * output.c: rename MAXSHORT to MAXYYINT 1620 16212014-03-18 Tom.Shields 1622 1623 * yaccpar.skel: skeleton with btyacc additions 1624 1625 * NOTES-btyacc-Changes: byacc-btyacc-20140323 1626 1627 * test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h: 1628 reference output for testing 1629 1630 * test/run_make.sh: 1631 move test-outputs into subdirectories to keep btyacc/yacc results separate 1632 1633 * 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: 1634 reference output for testing 1635 1636 * defs.h: 1637 several changes to help decouple the use of 'short' as the type of value 1638 used in yacc parsers. 1639 1640 * NOTES-btyacc-Disposition: byacc-btyacc-20140323 1641 16422014-03-17 Tom.Shields 1643 1644 * skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE 1645 1646 * test/run_lint.sh: 1647 move test-outputs into subdirectories to keep btyacc/yacc results separate 1648 1649 * configure.in: add --with-max-table-size and --enable-btyacc options 1650 16512014-03-16 Tom.Shields 1652 1653 * main.c: use Value_t rather than short 1654 16552014-03-11 Tom.Shields 1656 1657 * test/empty.y: testcase for btyacc 1658 16592014-03-10 Tom.Shields 1660 1661 * test/calc3.y, test/calc2.y: fix unused-variable warning 1662 16632014-02-18 Tom.Shields 1664 1665 * lr0.c, graph.c: use Value_t rather than short 1666 1667 * closure.c: use Value_t rather than short 1668 ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions 1669 1670 * lalr.c: rename MAXSHORT to MAXYYINT 1671 16722014-01-01 Thomas E. Dickey <dickey@invisible-island.net> 1673 1674 * yacc.1: document %token-table, improve presentation of double-quotes 1675 1676 * VERSION, package/byacc.spec, package/debian/changelog: bump 1677 1678 * 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: 1679 reference output for testing 1680 1681 * 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: 1682 regen 1683 1684 * output.c, skeleton.c: 1685 amend the last change so that yytname is #define'd as needed rather than 1686 permanent - to avoid breaking cproto for instance. 1687 16882014-01-01 Christos.Zoulas 1689 1690 * output.c, defs.h, main.c, reader.c, skeleton.c: 1691 changes to build ntpd using byacc: 1692 - rename yyname[] to yytname[] 1693 - add YYTRANSLATE() macro 1694 - recognize bison's %token-table declaration 1695 16962014-01-01 Thomas E. Dickey <dickey@invisible-island.net> 1697 1698 * configure: regen 1699 1700 * yacc.1: s/EE/XE/ to work around groff bug on Debian 6 1701 1702 * makefile.in: use CF_MAKE_DOCS 1703 1704 * aclocal.m4: add CF_MAKE_DOCS 1705 1706 * configure.in: use CF_MAKE_DOCS 1707 17082013-12-26 Thomas E. Dickey <dickey@invisible-island.net> 1709 1710 * config.guess: 2013-11-29 1711 17122013-11-19 Thomas E. Dickey <dickey@invisible-island.net> 1713 1714 * aclocal.m4: resync with my-autoconf (fixes for clang and mingw) 1715 17162013-10-25 Thomas E. Dickey <dickey@invisible-island.net> 1717 1718 * config.sub: 2013-10-01 1719 17202013-09-25 Thomas E. Dickey <dickey@invisible-island.net> 1721 1722 * reader.c: fix two loop-limits found by clang 3.3 --analyze 1723 1724 * configure: regen 1725 1726 * aclocal.m4: 1727 tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses 1728 1729 * package/mingw-byacc.spec: RCS_BASE 1730 1731 * 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: 1732 regen 1733 1734 * skeleton.c: 1735 Increase default stack-size to match FreeBSD version noted as from 1736 "BSD 4.4 Lite Usr.bin Sources". See 1737 1738 http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/ 1739 http://svnweb.freebsd.org/base/head/usr.bin/yacc/ 1740 http://svnweb.freebsd.org/base/vendor/byacc/ 1741 1742 The original 1.9 sources (on which I based development) used 500 for 1743 stacksize; the BSD Lite sources (a year or two later) used 10000. 1744 1745 This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE 1746 symbols have "always" been overridable by applications, but rarely 1747 needed to do this. RedHat began using the FreeBSD source in 2000, 1748 and switched to this source in 2007 using the 20050813 snapshot. 1749 1750 RedHat #743343 misattributed the change in default stacksize to 1751 a regression in byacc, but did not report the issue upstream. 1752 1753 * package/debian/changelog, VERSION, package/byacc.spec: bump 1754 17552013-09-07 Thomas E. Dickey <dickey@invisible-island.net> 1756 1757 * config.sub: update to 2013-09-15 1758 1759 * config.guess: update to 2013-06-10 1760 17612013-03-04 Thomas E. Dickey <dickey@invisible-island.net> 1762 1763 * package/debian/changelog, VERSION, package/byacc.spec: bump 1764 1765 * aclocal.m4: 1766 adapt tweak from Dave Beckett to work around long-ago breakage in "new" autoconf. 1767 1768 * output.c: 1769 fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton). 1770 also while testing that, found a case where the union_file is unused; added 1771 a check for address that. 1772 1773 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen 1774 1775 * test/ftp.y: fix most compiler warnings for "make check_make" 1776 1777 * test/calc1.tab.c: regen 1778 1779 * test/calc1.y: fix most compiler warnings for "make check_make" 1780 1781 * 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: 1782 regen 1783 1784 * skeleton.c: quiet a gcc conversion-warning in yygrowstack() 1785 1786 * configure: regen 1787 1788 * aclocal.m4: 1789 another fix for CF_GCC_VERSION to handle Debian's modification of gcc message. 1790 17912013-02-10 Thomas E. Dickey <dickey@invisible-island.net> 1792 1793 * config.sub, config.guess: update to 2013-02-04 1794 17952012-10-03 Thomas E. Dickey <dickey@invisible-island.net> 1796 1797 * package/debian/changelog, package/byacc.spec, VERSION: bump 1798 1799 * configure: regen 1800 1801 * configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC 1802 1803 * aclocal.m4: 1804 moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc) 1805 the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor. 1806 1807 * aclocal.m4, configure.in: 1808 Arian's change dropped my check for misused $CC variable - restore that with 1809 alternate macro CF_PROG_CC. 1810 18112012-10-03 Adrian.Bunk 1812 1813 * aclocal.m4: 1814 suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since 1815 they are not needed. 1816 18172012-10-03 Thomas E. Dickey <dickey@invisible-island.net> 1818 1819 * aclocal.m4: 1820 split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in 1821 Adrian's suggested changes. 1822 1823 * aclocal.m4: 1824 CF_CLANG_COMPILER - check if the given compiler is really clang. 1825 1826 * aclocal.m4: 1827 add check for clang to CF_GCC_WARNINGS. modify CF_GCC_WARNINGS to work around 1828 old gcc warning: ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1 1829 on my Sarge system (versus 3.3.5 for the normal gcc). The 2.8.1's 1830 pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work 1831 around by excluding that check for pre-3.x compilers. 1832 1833 * aclocal.m4: 1834 modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions 1835 provided by this macro. use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather 1836 than appending to confdefs.h, since long-ago concern about the ability to 1837 pass-through parameterized macros appears to be not a problem, testing with 1838 2.13 and 2.52 1839 18402012-10-03 Adrian.Bunk 1841 1842 * aclocal.m4: 1843 add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by 1844 autoheader, updated macros: 1845 CF_CHECK_CACHE 1846 CF_DISABLE_LEAKS 1847 CF_MKSTEMP 1848 CF_MIXEDCASE_FILENAMES 1849 CF_NO_LEAKS_OPTION 1850 18512012-10-03 Thomas E. Dickey <dickey@invisible-island.net> 1852 1853 * aclocal.m4: 1854 move existence-check for mkstemp out of the AC_TRY_RUN, to help with 1855 cross-compiles 1856 18572012-10-02 Thomas E. Dickey <dickey@invisible-island.net> 1858 1859 * config_h.in: 1860 Adrian Bunk request - replace this with the output from autoheader 1861 18622012-09-29 Adrian.Bunk 1863 1864 * configure.in: 1865 suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no 1866 check is needed anymore for standard C compilers), drop AC_CONST (same 1867 reason), modify AC_OUTPUT to rely upon template generated by autoheader. 1868 bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT 1869 as being obsolete with autoconf 2.52x 1870 1871 * configure.in, main.c: drop check for atexit, because it is standard C 1872 1873 * makefile.in: add assignment for datarootdir variable. 1874 18752012-05-26 Thomas E. Dickey <dickey@invisible-island.net> 1876 1877 * package/debian/changelog, package/byacc.spec, VERSION: bump 1878 1879 * reader.c: 1880 some versions of gcc may warn that bp is not set in mark_symbol, e.g., 1881 if GCC_NORETURN is not handled; appease the compiler. 1882 1883 * reader.c: 1884 use the declared types Assoc_t and Value_t in some places where compiler only 1885 cared about char versus short. 1886 1887 * reader.c: 1888 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 1889 (no object change) 1890 1891 * defs.h: 1892 add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD 1893 packagers to build without configure script. Also remove duplicate declaration 1894 of pure_parser variable (prompted by patch by Baptiste Daroussin). 1895 1896 Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and 1897 REALLOC macros. 1898 1899 * symtab.c: 1900 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 1901 (no object change) 1902 19032012-05-25 Thomas E. Dickey <dickey@invisible-island.net> 1904 1905 * output.c, main.c, verbose.c, mkpar.c, lr0.c: 1906 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 1907 (no object change) 1908 19092012-01-15 Thomas E. Dickey <dickey@invisible-island.net> 1910 1911 * package/debian/copyright: bump 1912 1913 * test/run_make.sh: workaround for breakage due to GNU make 3.82 1914 1915 * test/run_make.sh: 1916 tested with Solaris 10 (bison 1.875) and added scripting to exercise 1917 the /usr/ccs/bin/yacc executable 1918 1919 * test/grammar.tab.c: regen 1920 1921 * test/grammar.y: modify to also build with Solaris yacc 1922 1923 * VERSION, package/debian/changelog, package/byacc.spec: bump 1924 1925 * test/yacc/calc1.output: reference output for testing 1926 1927 * test/calc1.output, test/calc1.tab.c: regen 1928 1929 * test/calc1.y: 1930 undo the change made to appease bison, since it was only a warning. 1931 1932 * test/pure_calc.tab.c, test/pure_error.tab.c: regen 1933 1934 * test/run_make.sh: another fix for running from top-level directory 1935 1936 * makefile.in: 1937 ensure that check_make rule depends on having byacc built. 1938 1939 * test/run_make.sh: fixes for building from parent directory 1940 1941 * test/pure_error.y, test/pure_calc.y: bison-fixes 1942 1943 * 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: 1944 regen 1945 1946 * test/code_debug.y: RCS_BASE 1947 1948 * test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y: 1949 byacc already declares yyerror 1950 1951 * test/pure_error.y, test/pure_calc.y: 1952 modified to help make the files build with bison 1953 1954 * test/run_make.sh: 1955 supply a "%pure-parser" directive when bison needs it. 1956 1957 * test/code_calc.code.c: regen 1958 1959 * test/code_calc.y: modified to help make the files build with bison 1960 1961 * yacc.1: 1962 in testing, found that %expect did not work as documented for bison. 1963 do not recommend it for portable code. 1964 1965 * test/run_make.sh: workaround breakage in bison's %expect directive 1966 1967 * test/grammar.y: modified to help make the files build with bison 1968 1969 * test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen 1970 1971 * test/calc1.y: quiet a spurious warning from bison 2.3 1972 1973 * test/calc1.tab.c: regen 1974 1975 * test/calc1.y: modified to help make the files build with bison 1976 1977 * yacc.1: comment on "-y" and "-P" options. 1978 1979 * yacc.1: comment on portability 1980 1981 * 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: 1982 regen 1983 1984 * test/ftp.y: modified to help make the files build with bison 1985 (bison's "-y" option is of no use in providing "yacc" compatibility) 1986 1987 * test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c: 1988 regen 1989 1990 * test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, test/quote_calc4.y, test/quote_calc3.y: 1991 modified to help make the files build with bison 1992 1993 * test/calc.tab.c: regen 1994 1995 * test/calc.y: modified to help make the files build with bison 1996 1997 * test/error.tab.c: regen 1998 1999 * test/error.y: modified to help make the files build with bison 2000 2001 * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen 2002 2003 * test/run_make.sh: 2004 check for older bisons which (2.3 for instance) do not support pure parsers 2005 2006 * test/code_error.y, test/calc3.y, test/calc2.y: 2007 modified to help make the files build with bison 2008 2009 * test/run_test.sh: use $opt2 in filenames of the generated files 2010 2011 * 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: 2012 regen 2013 20142012-01-14 Thomas E. Dickey <dickey@invisible-island.net> 2015 2016 * 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: 2017 regen 2018 2019 * output.c: Several changes: 2020 a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex. 2021 b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL, 2022 using YYLEX_PARAM_TYPE and YYLEX_PARAM. 2023 c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL, 2024 to help with redefinitions. 2025 2026 * test/pure_calc.tab.c: 2027 modified to help make the files build with bison 2028 2029 * test/run_make.sh: 2030 start work on followup, to check if the generated files build with bison. 2031 2032 * test/pure_calc.y, test/pure_error.tab.c: 2033 modified to help make the files build with bison 2034 2035 * test/calc3.tab.c: regen 2036 2037 * 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: 2038 RCS_BASE 2039 2040 * 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: 2041 reference output for testing 2042 2043 * test/run_test.sh: generate/test with "-s" option applied. 2044 20452012-01-13 Thomas E. Dickey <dickey@invisible-island.net> 2046 2047 * package/debian/changelog, package/byacc.spec, VERSION: bump 2048 2049 * yacc.1: improve documentation of -s option 2050 2051 * yacc.1: note that yacc ignores -y 2052 2053 * main.c: add -s option to usage message. 2054 2055 * test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h: 2056 RCS_BASE 2057 2058 * test/yacc/quote_calc3.output, test/yacc/quote_calc4.output, test/yacc/quote_calc4.tab.h: 2059 reference output for testing 2060 2061 * test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE 2062 2063 * test/yacc/quote_calc.tab.h: reference output for testing 2064 2065 * 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: 2066 RCS_BASE 2067 2068 * test/yacc/quote_calc.output, test/yacc/quote_calc2.output, test/yacc/quote_calc2.tab.h, test/yacc/quote_calc3.tab.h: 2069 reference output for testing 2070 2071 * test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE 2072 2073 * configure: regen 2074 2075 * aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE 2076 20772011-12-19 Thomas E. Dickey <dickey@invisible-island.net> 2078 2079 * package/debian/changelog, package/byacc.spec, VERSION: bump 2080 2081 * yacc.1, output.c, main.c, defs.h: 2082 add "-s" option to suppress generating #define's based on string contents 2083 in a %token statement. For instance 2084 %token EQLS "Equals" 2085 would generate 2086 #define EQLS 256 2087 #define Equals 257 2088 Simply suppressing the second #define makes the behavior closer to yacc. 2089 (report by Paulo Andrade). 2090 20912011-09-08 Thomas E. Dickey <dickey@invisible-island.net> 2092 2093 * package/debian/changelog, package/byacc.spec, VERSION: bump 2094 2095 * output.c: 2096 fix some more interaction between -i and -d flags to ensure YYERRCODE 2097 and YYSTYPE are declared, tested with cproto. 2098 20992011-09-07 Thomas E. Dickey <dickey@invisible-island.net> 2100 2101 * yacc.1: document "-i" option. 2102 2103 * package/debian/changelog, package/byacc.spec, VERSION: bump 2104 2105 * output.c: fix an interaction between -i and -d 2106 2107 * 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: 2108 regen - changes for "-i" option move the global/impure variables near the 2109 macros that may add a prefix, etc. 2110 2111 * skeleton.c, output.c, defs.h: changes to support "-i" option. 2112 21132011-09-06 Thomas E. Dickey <dickey@invisible-island.net> 2114 2115 * reader.c: pass explicit file-pointer to write_section() 2116 2117 * main.c: 2118 add "-i" option, to generate interface-file (suggested by Denis M. Wilson) 2119 21202011-09-05 Thomas E. Dickey <dickey@invisible-island.net> 2121 2122 * configure: regen 2123 2124 * aclocal.m4: 2125 resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC) 2126 and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks) 2127 2128 * defs.h, error.c, reader.c: 2129 add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson) 2130 21312011-04-01 Thomas E. Dickey <dickey@invisible-island.net> 2132 2133 * config.sub: update to 2011-04-01 2134 21352011-02-02 Thomas E. Dickey <dickey@invisible-island.net> 2136 2137 * config.guess: update to 2011-01-01 2138 21392010-12-29 Thomas E. Dickey <dickey@invisible-island.net> 2140 2141 * defs.h, skeleton.c: 2142 add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas) 2143 2144 * defs.h: 2145 mark all of the error-functions as non-returning (report by Christos Zoulas) 2146 2147 * 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: 2148 regen 2149 2150 * skeleton.c: 2151 use only realloc() rather than realloc+malloc, agree that systems needing this 2152 are very rare (prompted by NetBSD change). 2153 2154 * test/ftp.tab.c: regen 2155 21562010-12-29 Christos.Zoulas 2157 2158 * test/ftp.y: 2159 improve example, which was stuck in 19XX and assumed file sizes were longs. 2160 21612010-12-29 Thomas E. Dickey <dickey@invisible-island.net> 2162 2163 * 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: 2164 regen 2165 2166 * 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: 2167 use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror 2168 2169 * skeleton.c: 2170 remove explicit prototype for yylex() via YYLEX_DECL() macro, since that 2171 would prevent declaring yylex() static (request by Christos Zoulas). 2172 2173 * test/calc2.tab.c, test/calc3.tab.c: regen 2174 21752010-12-29 Christos.Zoulas 2176 2177 * output.c: correct definition for YYERROR_DECL() 2178 21792010-12-29 Thomas E. Dickey <dickey@invisible-island.net> 2180 2181 * package/debian/changelog, package/byacc.spec, VERSION: bump 2182 21832010-12-26 Thomas E. Dickey <dickey@invisible-island.net> 2184 2185 * defs.h, main.c: 2186 change return-type of allocate() to avoid warnings of alignment problems 2187 2188 * main.c: Solaris declares chmod() in <sys/stat.h> 2189 2190 * configure: regen 2191 2192 * main.c: ifdef'd use of fcntl.h 2193 2194 * configure.in: add configure checks for fcntl.h, atexit and mkstemp 2195 2196 * main.c: for cases where mkstemp() is not available, use tempnam/open 2197 2198 * aclocal.m4: add CF_MKSTEMP 2199 2200 * aclocal.m4: 2201 improve quoting, deprecate ${name-value} in favor of standard ${name:-value} 2202 22032010-12-25 Thomas E. Dickey <dickey@invisible-island.net> 2204 2205 * main.c: 2206 start revising use of tmpfile(), to make this work with MinGW. Start by 2207 implementing a mkstemp() alternative - noting that mkstemp() also is broken 2208 for MinGW. 2209 2210 * package/debian/changelog, package/byacc.spec, VERSION: bump 2211 22122010-11-27 Thomas E. Dickey <dickey@invisible-island.net> 2213 2214 * package/byacc.spec, package/debian/changelog, VERSION: bump 2215 2216 * test/calc2.tab.c, test/calc3.tab.c: regen 2217 2218 * output.c: 2219 corrected use of %parse-param value in yyerror(); it doesn't use &yylval 2220 (report by Clifford Yapp) 2221 22222010-11-26 Thomas E. Dickey <dickey@invisible-island.net> 2223 2224 * skeleton.c: typo 2225 2226 * output.c: 2227 correct line-numbering when "-r" option is used; the 'outline' variable 2228 should only be incremented when writing to the code-file. 2229 2230 * test/code_calc.code.c, test/code_error.code.c: regen 2231 2232 * yacc.1: bump date 2233 2234 * yacc.1: comment on -b option vs -r 2235 2236 * 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: 2237 regen 2238 2239 * output.c: 2240 improve on YYERROR_DECL(), adding dummy params which can be used for the 2241 actual function declaration. Also add YYERROR_CALL(). The two macros 2242 simplify maintaining sets of grammars which may/may not be pure. 2243 2244 * 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: 2245 regen 2246 2247 * output.c: generate yyerror() calls in output.c 2248 This is for compatibility with bison, which passes the yylval to yyerror 2249 when the %parse-param feature is used. 2250 2251 * skeleton.c, defs.h: generate yyerror() calls in output.c 2252 2253 * output.c: simplified a little, using putc_code() and putl_code() 2254 2255 * test/yacc/calc1.tab.h: reference output for testing 2256 2257 * test/calc1.tab.h: regen 2258 2259 * reader.c: 2260 improve ifdef for YYSTYPE union declaration (report by Clifford Yapp) 2261 2262 * reader.c: 2263 accept underscore as a replacement for dash in command names, e.g., 2264 "%pure_parser" vs "%pure-parser". 2265 2266 * test/calc1.tab.c: regen 2267 2268 * output.c, reader.c: 2269 also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp) 2270 2271 * package/debian/changelog, package/byacc.spec, VERSION: bump 2272 22732010-11-24 Thomas E. Dickey <dickey@invisible-island.net> 2274 2275 * main.c, defs.h, symtab.c, error.c: reduce global variables 2276 2277 * package/debian/changelog, package/byacc.spec, VERSION: bump 2278 2279 * reader.c: 2280 amend fix for Redhat #112617 to still call default_action_warning() for 2281 empty rules (report by Bruce Cran). 2282 22832010-11-22 Thomas E. Dickey <dickey@invisible-island.net> 2284 2285 * output.c: 2286 add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp). 2287 2288 * test/calc1.tab.c: regen 2289 2290 * test/calc1.y: cleanup compiler warnings 2291 2292 * test/grammar.y: add "%expect" 2293 2294 * test/calc1.tab.h: regen 2295 2296 * test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE 2297 2298 * test/calc2.tab.c, test/calc3.tab.c: regen 2299 2300 * test/calc1.y: 2301 advanced example from Steve Johnson's paper, uses unions 2302 2303 * test/calc3.y, test/calc2.y: init 'base', so examples can run 2304 2305 * test/ftp.tab.c, test/ftp.y: tweaks to compile with g++ 2306 2307 * output.c: compensate for fix in reader.c 2308 2309 * reader.c: 2310 add/use putc_both() and puts_both(), incidentally fixing a place where 2311 a union copied to the union_file may be missing the end of the last line. 2312 2313 * package/debian/changelog, package/byacc.spec, VERSION: bump 2314 23152010-09-28 Thomas E. Dickey <dickey@invisible-island.net> 2316 2317 * config.guess: update to 2010-09-24 2318 23192010-09-10 Thomas E. Dickey <dickey@invisible-island.net> 2320 2321 * config.sub: update to 2010-09-11 2322 23232010-06-10 Thomas E. Dickey <dickey@invisible-island.net> 2324 2325 * yacc.1, package/debian/changelog, package/byacc.spec, VERSION: 2326 bump to 2010/06/10 2327 23282010-06-09 Thomas E. Dickey <dickey@invisible-island.net> 2329 2330 * reader.c: free declarations in leak-testing code. 2331 2332 * main.c: close code_file if -r option used, for leak-testing 2333 2334 * defs.h, reader.c: 2335 improve %lex-param / %parse-param implementation by allowing for arrays to 2336 be passed as parameters, e.g., "int regs[26]". 2337 2338 * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h: 2339 RCS_BASE 2340 2341 * test/yacc/calc3.output, test/yacc/calc3.tab.h: 2342 reference output for testing 2343 2344 * test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE 2345 2346 * test/yacc/calc2.tab.h: reference output for testing 2347 2348 * test/calc2.output: RCS_BASE 2349 2350 * test/yacc/calc2.output: reference output for testing 2351 2352 * output.c: 2353 improve %lex-param / %parse-param implementation by allowing for arrays to 2354 be passed as parameters, e.g., "int regs[26]". 2355 2356 * test/calc.tab.c, test/calc.y: 2357 test-cases and reference files for %lex-param / %parse-param 2358 2359 * makefile.in: add docs-rule, for html/pdf/txt form of manpage 2360 2361 * configure: regen 2362 2363 * aclocal.m4: add CF_XOPEN_SOURCE, etc. 2364 2365 * configure.in: 2366 use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89 2367 2368 * 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: 2369 fix warnings from clang --analyze 2370 23712010-06-08 Thomas E. Dickey <dickey@invisible-island.net> 2372 2373 * output.c: fix to build with c89, etc. 2374 2375 * reader.c: gcc warning 2376 2377 * 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: 2378 modified test-cases to allow them to compile, to validate pure-parser changes. 2379 updated reference files to match. 2380 2381 * output.c: 2382 move call for output_stype() earlier since it is used in pure-parser declarations 2383 2384 * test/grammar.tab.c, test/grammar.y: 2385 modified test-cases to allow them to compile, to validate pure-parser changes. 2386 updated reference files to match. 2387 2388 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 2389 regen 2390 2391 * yacc.1: document %lex-param and %parse-param 2392 2393 * test/run_lint.sh, test/run_make.sh: RCS_BASE 2394 2395 * test/run_test.sh: 2396 further modify to allow build-directory to be in a different location by 2397 passing this directory's location as a parameter to the script. 2398 2399 * makefile.in: 2400 add check_make and check_lint rules to help validate the generated files 2401 in the test-directory 2402 24032010-06-07 Thomas E. Dickey <dickey@invisible-island.net> 2404 2405 * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE 2406 2407 * test/run_test.sh: 2408 provide for testing -r and -P options by checking if the ".y" filename 2409 begins with "code_" or "pure_", respectively. 2410 2411 * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h: 2412 RCS_BASE 2413 2414 * test/yacc/code_error.tab.h: reference output for testing 2415 2416 * test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h: 2417 RCS_BASE 2418 2419 * test/yacc/code_calc.tab.h: reference output for testing 2420 2421 * test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h: 2422 RCS_BASE 2423 2424 * test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h, test/yacc/pure_error.output, test/yacc/pure_error.tab.h: 2425 reference output for testing 2426 2427 * test/code_calc.output, test/code_error.output: RCS_BASE 2428 2429 * test/yacc/code_calc.output, test/yacc/code_error.output: 2430 reference output for testing 2431 2432 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen 2433 2434 * test/run_test.sh: 2435 changes to support running "make check" in a separate build-tree 2436 2437 * main.c: add "-P" to usage message 2438 2439 * reader.c: use UCH() macro to hide casts. 2440 24412010-06-07 Andres.Mejia 2442 2443 * main.c, output.c, reader.c, defs.h, skeleton.c: 2444 Fix the output order of the generated parse code file. This allows for 2445 the use of YYPARSE_PARAM, by having the output that checks for 2446 YYPARSE_PARAM to be defined come after the C code block in the 2447 definitions section of a yacc file. 2448 2449 Implement support for YYLEX_PARAM, similar to bison. This is useful for 2450 support for building reentrant lexers with flex. 2451 2452 Fix a compatibility issue with bison's pure-parser option. Bison 2453 defines yylex as sending at least one parameter, &yylval, as the first 2454 parameter and doesn't seem to have an easy way to remove that parameter. 2455 This on the other hand is rather convenient to support saving to yylval 2456 from flex when building reentrant lexers and parsers. 2457 2458 Add support for the %parse-param and %lex-param directives used in 2459 bison. This change bears some similarity to NetBSD's changes to byacc 2460 at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html 2461 2462 Bison allows for POSIX yacc emulation via a yacc directive in the yacc 2463 file, and also via a command line switch. Implement this feature as a 2464 no-op for byacc, since byacc is designed to be POSIX yacc compatible 2465 anyway. This allows for better compatibility with yacc sources written 2466 for bison. 2467 24682010-06-07 Thomas E. Dickey <dickey@invisible-island.net> 2469 2470 * VERSION: bump to 2010/06/07 2471 24722010-06-06 Thomas E. Dickey <dickey@invisible-island.net> 2473 2474 * test/calc.tab.c, configure: regen 2475 2476 * skeleton.c: 2477 move #include's down into the generated code, to allow user-defined code 2478 to override feature definitions, particularly with stdlib.h (request by 2479 Marcus Kool). 2480 2481 * lr0.c, error.c, reader.c, defs.h: 2482 strict gcc 3.4.6 warnings on 64-bit platform 2483 2484 * aclocal.m4, configure.in: add check for lint 2485 2486 * makefile.in: add lint rule 2487 2488 * defs.h, closure.c, lr0.c, warshall.c, main.c: 2489 fix gcc warnings, mostly for 64-bit platform 2490 2491 * aclocal.m4: 2492 add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc 2493 2494 * makefile.in: add etags/TAGS if available 2495 2496 * configure.in: add configure check for actual ctags and etags programs 2497 2498 * package/debian/copyright: add copyright notices for non-PD files 2499 2500 * package/debian/changelog: 2501 incorporated scripts in upstream to use for test-builds 2502 2503 * makefile.in: drop mkdirs.sh, just use "mkdir -p" 2504 2505 * AUTHORS: nicknames for some contributors (see CHANGES for details) 2506 2507 * package/byacc.spec: RPM file for byacc 2508 2509 * VERSION: bump to 2010/06/06 2510 2511 * aclocal.m4: add copyright notice, from "my-autoconf" macros 2512 http://invisible-island.net/autoconf/autoconf.html 2513 2514 * package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS: 2515 PERMIT FILE 2516 2517 * aclocal.m4: resync with my-autoconf. summary of changes: 2518 a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter 2519 b) CF_DISABLE_ECHO, change indent-convention for substituted makefile 2520 c) CF_GCC_VERSION, ignore stderr 2521 d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc 2522 25232010-04-20 Thomas E. Dickey <dickey@invisible-island.net> 2524 2525 * 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: 2526 scripts from Debian package 2527 25282010-02-16 Thomas E. Dickey <dickey@invisible-island.net> 2529 2530 * yacc.1: document -P and bison-extensions 2531 2532 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 2533 regen 2534 2535 * output.c: implement %pure-parser 2536 2537 * skeleton.c: 2538 implement %pure-parser, like bison. To help with this, changed the stack 2539 variables, putting them into a struct. 2540 2541 * reader.c: implement %pure-parser 2542 2543 * defs.h: modified skeleton to support %pure-parser feature 2544 2545 * main.c: add -P option to set %pure-parser 2546 2547 * output.c: 2548 make -r and -p options work together. The -r option splits the generated 2549 parser into code/table files; for this case we cannot use static data. 2550 Also, we have to repeat the #define's used for prefix (-p) as well as the 2551 redeclaration of yyparse(). Finally, allow any of the prefixed names to 2552 be overridden, e.g., by passing a -D option to the compiler. Make that 2553 a little more readable by putting a blank line before each chunk. 2554 2555 * defs.h: add definitions for %pure-parser 2556 2557 * skeleton.c: 2558 put blank line before/after the redeclaration of yyparse() 2559 2560 * output.c: allow for other program redefining yylex() 2561 2562 * skeleton.c: 2563 split-off xdecls[] array, to move declaration of yyparse() after #define's 2564 2565 * defs.h: split-out xdecls[] 2566 2567 * VERSION: bump 2568 2569 * configure: regen 2570 2571 * aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS 2572 2573 * aclocal.m4: 2574 resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes. 2575 25762010-02-16 Ostap.Cherkashi 2577 2578 * skeleton.c: fix a memory leak in the generated skeleton 2579 25802010-01-01 Thomas E. Dickey <dickey@invisible-island.net> 2581 2582 * package/debian/source/format: scripts from Debian package 2583 25842009-12-31 Thomas E. Dickey <dickey@invisible-island.net> 2585 2586 * config.guess: update to 2009-12-30 2587 2588 * config.sub: update to 2009-12-31 2589 25902009-10-27 Thomas E. Dickey <dickey@invisible-island.net> 2591 2592 * VERSION: 20091027 2593 2594 * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c: 2595 strict compiler warnings 2596 25972009-10-26 Thomas E. Dickey <dickey@invisible-island.net> 2598 2599 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 2600 resync 2601 2602 * main.c, defs.h: introduce some typedefs for portability, etc. 2603 2604 * makefile.in: 2605 don't remove "*.log" in mostlyclean rule since it interferes with regression 2606 script. 2607 2608 * configure: regen 2609 2610 * aclocal.m4: resync with my-autoconf 2611 26122009-08-25 Thomas E. Dickey <dickey@invisible-island.net> 2613 2614 * config.guess, config.sub: update to 2009-08-19 2615 26162009-02-21 Thomas E. Dickey <dickey@invisible-island.net> 2617 2618 * VERSION: bump 2619 2620 * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25 2621 26222008-12-26 Thomas E. Dickey <dickey@invisible-island.net> 2623 2624 * configure: regen with autoconf-2.52 (patched) 2625 26262008-12-25 Thomas E. Dickey <dickey@invisible-island.net> 2627 2628 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c: 2629 regenerated 2630 26312008-12-24 Thomas E. Dickey <dickey@invisible-island.net> 2632 2633 * VERSION: bump 2634 2635 * skeleton.c: 2636 remove ifdef-lint from goto yyerrlab, to quiet gcc warning 2637 26382008-11-26 Thomas E. Dickey <dickey@invisible-island.net> 2639 2640 * verbose.c, main.c, defs.h, mkpar.c, reader.c: 2641 completed implementation of "%expect" (report by Perry E. Metzger). 2642 add "%expect-rr", which is (unlike bison) allowable in LALR parsers. 2643 26442008-11-24 Thomas E. Dickey <dickey@invisible-island.net> 2645 2646 * 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: 2647 change indent-style (request by Perry E. Metzger) 2648 26492008-08-27 Thomas E. Dickey <dickey@invisible-island.net> 2650 2651 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 2652 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro 2653 2654 * VERSION: bump 2655 2656 * skeleton.c: 2657 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro 2658 2659 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c: 2660 change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's. 2661 2662 * configure: regen'd 2663 2664 * configure.in: add -Wwrite-strings to warnings 2665 2666 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 2667 add YYPARSE_PARAM and YYPARSE_PARAM_TYPE 2668 2669 * skeleton.c: 2670 add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features. 2671 2672 * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c: 2673 fixes for gcc -Wwrite-strings 2674 2675 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 2676 generate the tables as static-const (this is an interface change) 2677 2678 * output.c: realign columns in start_table() 2679 2680 * output.c: 2681 generate the tables as static-const (this is an interface change) 2682 2683 * output.c: reorder functions to eliminate forward-references 2684 2685 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 2686 remove 'register' keywords 2687 26882008-08-26 Thomas E. Dickey <dickey@invisible-island.net> 2689 2690 * 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: 2691 remove 'register' keywords 2692 26932008-08-25 Thomas E. Dickey <dickey@invisible-island.net> 2694 2695 * test/ftp.tab.c: regen'd 2696 2697 * reader.c: 2698 improve the left-curly fix by testing after blanks, to avoid having a 2699 " {" at the beginning of a line. 2700 2701 * test/error.tab.c, test/grammar.tab.c: regen'd 2702 2703 * output.c: 2704 move the remaining newline-counting into write_XXX functions. 2705 2706 * test/calc.tab.c: regen'd 2707 2708 * output.c: 2709 simplify part of the output_file formatting using new functions, e.g., 2710 start_int_table(), output_newline(). 2711 2712 * reader.c: 2713 modify copy_action() to indent the first character, it if is is left-curly 2714 brace. That makes the output look more like the original, as well as makes 2715 it simpler to edit (not confuse editors which look for a left-curly in the 2716 first column as if it were the beginning of a function). 2717 2718 * skeleton.c: minor fixes to avoid gcc -Wconversion warnings 2719 2720 * output.c: align the #define's produced for "-p" option 2721 2722 * test/run_test.sh: use the "-p" option for better coverage. 2723 2724 * output.c: simplify output_prefix() with new define_prefixed() 2725 2726 * skeleton.c: include string.h, for memset() 2727 change stack size to unsigned to fix gcc -Wconversion warnings. 2728 2729 * VERSION: bump to 2008/8/25 2730 2731 * makefile.in: add dependency on VERSION file. 2732 27332008-08-24 Thomas E. Dickey <dickey@invisible-island.net> 2734 2735 * VERSION: bump 2736 2737 * lalr.c: improved memory-leak checking by freeing data in includes[] 2738 2739 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c: 2740 update to match skeleton-change 2741 2742 * configure: regen'd 2743 2744 * skeleton.c: Add fix for stack discussed 2745 http://undeadly.org/cgi?action=article&sid=20080708155228 2746 and applied 2747 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29 2748 2749 * aclocal.m4: resync with my-autoconf (no major changes) 2750 27512008-07-24 Thomas E. Dickey <dickey@invisible-island.net> 2752 2753 * package/pkgsrc/Makefile, package/pkgsrc/distinfo: 2754 scripts from NetBSD pkgsrc, for test-builds 2755 27562008-03-14 Thomas E. Dickey <dickey@invisible-island.net> 2757 2758 * config.sub: update to 2008-03-08 2759 2760 * config.guess: update to 2008-03-12 2761 27622007-05-09 Thomas E. Dickey <dickey@invisible-island.net> 2763 2764 * main.c: close graph, verbose files if opened, on exit. 2765 2766 * main.c: 2767 audit memory leaks - valgrind reported some memory still in use on exit. 2768 2769 * lalr.c, output.c, reader.c, mkpar.c, lr0.c: 2770 add hook for auditing memory leaks 2771 2772 * defs.h: add hooks for auditing memory leaks 2773 2774 * configure: regen'd 2775 2776 * configure.in: 2777 use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind, 2778 --with-dbmalloc and --with-dmalloc 2779 2780 * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND 2781 2782 * aclocal.m4: improve version-checking in CF_GCC_VERSION 2783 rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro 2784 2785 * VERSION: 2007/5/9 2786 2787 * main.c: file_prefix did not always have a trailing null. 2788 27892007-03-25 Thomas E. Dickey <dickey@invisible-island.net> 2790 2791 * mkdirs.sh: improved version for "make -j" 2792 27932006-12-22 Thomas E. Dickey <dickey@invisible-island.net> 2794 2795 * config.guess: update to 2006/12/22 2796 27972006-12-08 Thomas E. Dickey <dickey@invisible-island.net> 2798 2799 * config.sub: update to 2006/12/08 2800 28012005-08-13 Thomas E. Dickey <dickey@invisible-island.net> 2802 2803 * main.c: add -V to usage message 2804 2805 * makefile.in: remove -t option from ctags 2806 2807 * VERSION: 2005/8/13 2808 28092005-08-13 schmitz 2810 2811 * main.c: Sylvain Schmitz: 2812 modify the '-o' option to work like bison's, which sets the file-prefix. 2813 28142005-08-13 Matt.Kraai 2815 2816 * output.c: 2817 Debian #322858 (don't close union_file, which contained data). 2818 This feature is used in groff. 2819 28202005-08-13 Thomas E. Dickey <dickey@invisible-island.net> 2821 2822 * configure: regenerated 2823 2824 * aclocal.m4: improve checks for Intel compiler warnings 2825 28262005-06-25 Thomas E. Dickey <dickey@invisible-island.net> 2827 2828 * config.sub: update to 2005/6/2 2829 2830 * config.guess: update to 2005/5/27 2831 28322005-05-05 Thomas E. Dickey <dickey@invisible-island.net> 2833 2834 * defs.h: add a fallback for GCC_UNUSED 2835 28362005-05-04 Thomas E. Dickey <dickey@invisible-island.net> 2837 2838 * makefile.in: add "." to include-path to pickup config.h 2839 2840 * reader.c: 2841 apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617. 2842 2843 * output.c: 2844 correct a limit check in pack_vector() - report/analysis by William Evans 2845 2846 * main.c: 2847 exit after printing version. Otherwise "yacc -V" will exit with an erro 2848 after printing the usage message. 2849 2850 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 2851 regenerated after skeleton-changes 2852 2853 * skeleton.c: replace a few -1's with YYEMPTY 2854 2855 * skeleton.c: 2856 delete yynewerror (no one uses it any more, and it just makes compiler warnings) 2857 2858 * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD 2859 2860 * test/run_test.sh: 2861 filter out lines with YYPATCH, since that will change with each update 2862 2863 * yacc.1: add -V option 2864 2865 * main.c: add -V option to print the version. 2866 simplify option-parsing by moving the duplicate logic for setting flags into 2867 new function setflag(). 2868 2869 * skeleton.c: 2870 move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers). 2871 add YYPATCH here so it can be tested by applications. 2872 2873 * defs.h: 2874 add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and 2875 YYPATCH symbols. 2876 2877 * lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c: 2878 reduce externs by making static the procedures that are not referenced outside 2879 the module in which they are defined. 2880 2881 * makefile.in: 2882 the VERSION file holds the patch-date. Define YYPATCH, so this will be 2883 compiled into the skeleton. 2884 2885 * VERSION: patch-level for byacc 2886 2887 * main.c: 2888 add "-o" to usage message. It is too long for a single line; rewrite usage() 2889 to show one option per line. 2890 28912005-05-03 Thomas E. Dickey <dickey@invisible-island.net> 2892 2893 * main.c: add -o option, to work with scripts that assume bison. 2894 simplify create_file_names() with a macro. 2895 simplify done() with a macro. 2896 adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by 2897 onintr(), do not flush output via exit(), but use _exit() instead. 2898 2899 * defs.h: remove unnecessary externs for main.c 2900 2901 * yacc.1: add -o option 2902 2903 * graph.c: remove unused parameter 2904 2905 * mkpar.c, defs.h, reader.c: 2906 add support for "%expect", a bison feature from FreeBSD sources 2907 2908 * 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: 2909 indent'd 2910 2911 * configure: regenerated for 2005/5/5 2912 2913 * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER) 2914 29152005-04-27 schmitz 2916 2917 * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1: 2918 Sylvain Schmitz <schmitz@i3s.unice.fr>: 2919 add graphical output of the LALR(1) automaton for graphviz, 2920 associated with command-line option `-g' 2921 29222005-04-16 Thomas E. Dickey <dickey@invisible-island.net> 2923 2924 * config.sub: update to 2005/2/10 2925 2926 * config.guess: update to 2005/3/24 2927 29282005-04-13 Thomas E. Dickey <dickey@invisible-island.net> 2929 2930 * package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds 2931 29322005-03-21 Thomas E. Dickey <dickey@invisible-island.net> 2933 2934 * package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds 2935 29362004-03-28 Thomas E. Dickey <dickey@invisible-island.net> 2937 2938 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 2939 updates due to adding yyparse() prototype 2940 2941 * configure: RCS_BASE 2942 2943 * configure.in: 2944 add AC_ARG_PROGRAM to make --program-prefix, etc., work. 2945 2946 * makefile.in: first cut of script to support --program-prefix 2947 2948 * configure.in: 2949 reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52 2950 2951 * makefile.in: modify so DESTDIR works 2952 2953 * makefile.in: use EXEEXT and OBJEXT 2954 2955 * configure.in: use CF_PROG_EXT 2956 generate a config.h 2957 2958 * defs.h: make this use the generated config.h 2959 2960 * skeleton.c: add a forward-reference for yyparse() 2961 2962 * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT 2963 2964 * yacc.1: remove the discussion of TMPDIR since it is obsolete 2965 2966 * skeleton.c: fix a couple of minor compiler-warnings in the skeleton 2967 2968 * defs.h: remove action_file_name, etc., since we use tmpfile() now. 2969 2970 * main.c: 2971 use tmpfile() for opening the working files. This quiets a warning 2972 advising the use of mkstemp(). 2973 2974 * output.c: 2975 Do not close temporary-files here, since they are opened with tmpfile(). 2976 Just rewind them, and they're ready to read back the data stored in them. 2977 2978 * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE 2979 2980 * test/yacc/grammar.output, test/yacc/grammar.tab.h: 2981 reference output for testing 2982 2983 * makefile.in: turn on "make check" rule 2984 2985 * test/calc.output: RCS_BASE 2986 2987 * test/yacc/calc.output: reference output for testing 2988 2989 * test/run_test.sh, test/calc.tab.h: RCS_BASE 2990 2991 * test/yacc/calc.tab.h: reference output for testing 2992 2993 * test/ftp.tab.c: yyparse() is now yyparse(void) 2994 2995 * test/calc.tab.c: RCS_BASE 2996 2997 * test/error.tab.c: yyparse() is now yyparse(void) 2998 2999 * test/README: RCS_BASE 3000 3001 * yacc.1: various typography fixes prompted by Debian #100947 3002 3003 * aclocal.m4, makefile.in, configure.in: RCS_BASE 3004 3005 * README: updated to note that this is not the original 3006 30072004-03-24 Thomas E. Dickey <dickey@invisible-island.net> 3008 3009 * test/grammar.y: RCS_BASE 3010 30112004-02-23 Thomas E. Dickey <dickey@invisible-island.net> 3012 3013 * config.sub: RCS_BASE 3014 30152004-02-17 Thomas E. Dickey <dickey@invisible-island.net> 3016 3017 * config.guess: RCS_BASE 3018 30192003-11-29 Thomas E. Dickey <dickey@invisible-island.net> 3020 3021 * install-sh: improved quoting 3022 30232002-06-29 Thomas E. Dickey <dickey@invisible-island.net> 3024 3025 * mkdirs.sh: 3026 don't use character range, since some locales don't work as expected 3027 30282001-06-22 Thomas E. Dickey <dickey@clark.net> 3029 3030 * install-sh: RCS_BASE 3031 30322000-11-20 Thomas E. Dickey <dickey@clark.net> 3033 3034 * test/calc.y: RCS_BASE 3035 3036 * test/code_calc.y, test/pure_calc.y: copy of calc.y 3037 3038 * vmsbuild.com: original version 3039 30402000-02-23 Thomas E. Dickey <dickey@clark.net> 3041 3042 * test/RCS, RCS: PERMIT FILE 3043 30442000-02-14 Thomas E. Dickey <dickey@clark.net> 3045 3046 * main.c: fix for VMS port - making pathname for temp-file 3047 3048 * descrip.mms: original version 3049 30502000-02-13 Thomas E. Dickey <dickey@clark.net> 3051 3052 * 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: 3053 ansify 3054 30551999-11-30 Thomas E. Dickey <dickey@clark.net> 3056 3057 * mkdirs.sh: RCS_BASE 3058 30591995-01-01 Thomas E. Dickey <dickey@clark.net> 3060 3061 * config_h.in: RCS_BASE 3062 30631993-12-23 unknown 3064 3065 * README.DOS, main.c: MSDOS-port 3066 30671993-12-22 unknown 3068 3069 * reader.c, defs.h: MSDOS-port 3070 30711993-03-02 unknown 3072 3073 * README: original version 3074 30751993-02-22 unknown 3076 3077 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE 3078 30791993-02-22 dickey@software.org 3080 3081 * test/yacc/error.output, test/yacc/error.tab.h: 3082 reference output for testing 3083 30841993-02-22 unknown 3085 3086 * test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE 3087 3088 * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES: 3089 original version 3090 30911992-10-12 unknown 3092 3093 * yacc.1: original version 3094 30951992-10-11 unknown 3096 3097 * defs.h: original version 3098 30991991-01-20 unknown 3100 3101 * mkpar.c, verbose.c: original version 3102 31031991-01-14 unknown 3104 3105 * lr0.c, Makefile, Makefile.old: original version 3106 31071990-07-16 unknown 3108 3109 * NEW_FEATURES: original version 3110 31111990-06-03 unknown 3112 3113 * ACKNOWLEDGEMENTS: original version 3114 31151990-02-05 unknown 3116 3117 * symtab.c, lalr.c, error.c: original version 3118 31191990-01-16 dickey@software.org 3120 3121 * test/code_error.y, test/pure_error.y: RCS_BASE 3122 31231990-01-16 unknown 3124 3125 * test/error.y: RCS_BASE 3126 31271989-11-22 unknown 3128 3129 * NO_WARRANTY: original version 3130 31311989-09-23 unknown 3132 3133 * test/ftp.y: RCS_BASE 3134 3135