12016-03-24 Thomas E. Dickey <tom@invisible-island.net> 2 3 * reader.c: unused variable 4 5 * package/pkgsrc/Makefile, package/debian/copyright: bump 6 72016-03-24 Jung-uk.Kim 8 9 * main.c: 10 correct logic for finding output suffix in the "-o" option, which matched 11 the first occurrence of ".c" in the name in 2005-08-13 changes rather than 12 at the end of the filename (patch by Jung-uk Kim) 13 142016-03-24 Thomas E. Dickey <tom@invisible-island.net> 15 16 * aclocal.m4: 17 update CF_WITH_MAN2HTML to use configured shell rather than /bin/sh 18 19 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 20 bump 21 222016-01-25 Thomas E. Dickey <tom@invisible-island.net> 23 24 * config.guess, config.sub: 2016-01-01 25 262015-07-10 Thomas E. Dickey <tom@invisible-island.net> 27 28 * lr0.c: fix a duplicate-free in the leak-checking 29 30 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 31 bump 32 33 * reader.c: 34 make cache-size clearer (prompted by discussion with Pedro Giffuni, 35 Oliver Pinter) 36 37 * main.c: 38 make relationship with format/size clearer (prompted by discussion 39 with Pedro Giffuni, Oliver Pinter) 40 412015-07-05 Thomas E. Dickey <tom@invisible-island.net> 42 43 * configure: regen 44 45 * package/pkgsrc/Makefile, package/mingw-byacc.spec, package/debian/copyright, package/debian/changelog, package/byacc.spec, VERSION: 46 bump 47 48 * aclocal.m4: resync with my-autoconf 49 add configure option --with-man2html 50 51 * makefile.in: add configure options --with-man2html 52 53 * configure.in: add configure option --with-man2html 54 552015-05-02 Thomas E. Dickey <tom@invisible-island.net> 56 57 * config.guess: 2015-03-04 58 59 * config.sub: 2015-03-08 60 612014-11-28 Thomas E. Dickey <tom@invisible-island.net> 62 63 * lr0.c: coverity #39181: memory leak 64 65 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 66 bump 67 682014-11-13 Jouk.Jansen 69 70 * descrip.mms: 71 I sucessfully compiled byacc on my OpenVMS systems. However, I had to update 72 the descrip.mms to include some extra c-source files and some dependenxcies 73 so that it also works when the distribution is located on an ODS5 disk. 74 75 The patched descrip.mms file can be found at: 76 http://nchrem.tnw.tudelft.nl/openvms/software2.html#BYACC 77 78 Please feel free to insert the file in your distribution. 79 80 Regards 81 Jouk. 82 832014-10-06 Thomas E. Dickey <tom@invisible-island.net> 84 85 * package/debian/source/format: 86 change to native format to work around regression in Debian packaging. 87 88 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 89 bump 90 91 * configure: regen 92 93 * main.c: 94 correct parameter for umask - for very old mkstemp's - and use type mode_t 95 to quiet compiler warning 96 97 * configure.in: add configure check for mode_t 98 99 * reader.c: 100 better fix for get_line, by ensuring there is enough space to null-terminate 101 its result (prompted by discussion with Craig Rodrigues). 102 1032014-10-05 Thomas E. Dickey <tom@invisible-island.net> 104 105 * main.c: 106 make change to umask before calling mkstemp, as suggested in Coverity #56902 107 108 * reader.c: 109 adjust logic in copy_action to avoid potential null-pointer dereference 110 (Coverity #56901) 111 112 * reader.c: 113 adjust logic to avoid potential null-pointer dereference in compile_args 114 (Coverity #63407) 115 116 * reader.c: eliminate strcpy into fixed-size buffer (Coverity #63408) 117 118 * yacc.1: document changes made with respect to %parse-param 119 120 * output.c: 121 add parameters from %parse-param to destructor. The order of the parameters 122 is intentionally inconsistent with yyparse/yyerror, for "compatibility" with 123 bison. 124 125 * test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c: 126 regen 127 128 * output.c: 129 use puts_param_types/puts_param_names to output lex_param data. 130 131 * 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: 132 regen 133 134 * btyaccpar.c: add casts, change types to fix strict compiler warnings 135 136 * 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: 137 regen 138 139 * output.c: gcc-warning 140 141 * test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c: regen 142 143 * output.c: fix limit when merging real/workaround tables 144 145 * output.c: 146 for btyacc, it is possible to have no conflicts - but in that case, the 147 "ctable" was not generated at all, while the skeleton uses the table. 148 The most straightforward (workaround) is generating a dummy table which 149 rejects any state. 150 151 * test/btyacc_destroy3.y, test/btyacc_destroy2.y, test/btyacc_destroy1.y: 152 fix "make check_make" 153 154 * 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: 155 regen 156 157 * reader.c: 158 trim blanks from interim value in copy_param() to handle special case when 159 a space precedes a comma. 160 161 * output.c: 162 use two new functions, puts_param_types and puts_param_names, to improve 163 format of the parse_param list (by trimming space after "*") as well as 164 correcting the output of the comma-separated names (only the last name 165 was output). 166 167 * test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c: 168 regen 169 170 * reader.c: 171 modify copy_param() to handle resulting comma-separated list. Before, it 172 only expected a single parameter. 173 1742014-10-04 Thomas E. Dickey <tom@invisible-island.net> 175 176 * reader.c: split-out save_param() from copy_param() 177 178 * reader.c: trim_blanks() did not always convert spaces - fix. 179 180 * reader.c: fix some minor regressions with error-reporting 181 182 * aclocal.m4: update CF_XOPEN_SOURCE for Unixware change from lynx 183 184 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 185 bump 186 187 * reader.c: 188 modify copy_param() to accept multiple parameters, each in curly braces like 189 recent bison, as well as honoring bison's undocumented feature to accept the 190 parameters as a comma-separated list. 191 192 * 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: 193 RCS_BASE 194 1952014-10-03 Thomas E. Dickey <tom@invisible-island.net> 196 197 * 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: 198 RCS_BASE 199 2002014-10-02 Thomas E. Dickey <tom@invisible-island.net> 201 202 * main.c, reader.c, defs.h: 203 use calloc in get_line() when allocating line to ensure it is fully initialized, 204 fixes a later uninitialized value in copy_param() (FreeBSD #193499). 205 2062014-09-17 Thomas E. Dickey <tom@invisible-island.net> 207 208 * closure.c, lalr.c, output.c, defs.h: 209 rephrase odd addressing to fix Coverity #48848, #38950, #38860, not actually 210 a bug. 211 2122014-09-01 Thomas E. Dickey <tom@invisible-island.net> 213 214 * config.sub: update to 2014-07-28 215 2162014-07-27 Thomas E. Dickey <tom@invisible-island.net> 217 218 * configure: regen 219 220 * aclocal.m4: modified to support port to Minix3.2 221 222 * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec: 223 bump 224 2252014-07-15 Thomas E. Dickey <tom@invisible-island.net> 226 227 * aclocal.m4: resync with my-autoconf (no change to configure script) 228 229 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 230 bump 231 232 * test/run_test.sh: 233 make top-level "make check" work again, by adding another step to filtering 234 the test results. 235 2362014-07-14 Thomas E. Dickey <tom@invisible-island.net> 237 238 * test/run_test.sh: changes from Garrett Cooper's patch: 239 a) ensure that the script returns an error-code if there are differences 240 b) escape "." character in left side of sed expression for $YACC 241 c) ensure that $ifBTYACC has a value 242 243 * 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: 244 regen (reminder by Garrett Cooper) 245 2462014-07-14 Garrett.Cooper 247 248 * 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: 249 regen 250 2512014-05-27 Tom.Shields 252 253 * main.c: remove obsolete -D option from usage message 254 2552014-05-27 Thomas E. Dickey <tom@invisible-island.net> 256 257 * 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: 258 bump 259 2602014-04-22 Thomas E. Dickey <tom@invisible-island.net> 261 262 * mstring.c: 263 use vsnprintf() to ensure that msprintf's buffer is large enough. 264 265 * main.c, defs.h: add mstring_leaks() 266 267 * configure: regen 268 269 * output.c: fix a complementary warning 270 271 * mstring.c: introduce vsnprintf 272 273 * configure.in, config_h.in: add check for vsnprintf 274 275 * output.c: quiet a type-conversion warning 276 277 * mstring.c: fix a potential memory leak on ENOMEM 278 quiet a couple of type-conversion warnings 279 280 * defs.h: add/use GCC_PRINTFLIKE for msprintf() 281 2822014-04-22 Tom.Shields 283 284 * README.BTYACC: 285 drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant 286 content into README.BTYACC 287 2882014-04-22 Thomas E. Dickey <tom@invisible-island.net> 289 290 * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec: 291 bump 292 2932014-04-19 Thomas E. Dickey <tom@invisible-island.net> 294 295 * config.sub: 2014-04-03 296 297 * config.guess: 2014-03-23 298 2992014-04-09 Rick.Spates 300 301 * main.c, defs.h: patch to allow DEBUG build with WIN32 system 302 3032014-04-09 Thomas E. Dickey <tom@invisible-island.net> 304 305 * output.c, reader.c: gcc warnings 306 307 * reader.c: fix const-cast warnings 308 309 * 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: 310 fix a few clang --analyze warnings; one was a case where output_ctable emitted 311 an empty table (which should be an error). 312 313 * reader.c: appease clang --analyze 314 315 * defs.h: mark two functions as no-return. 316 317 * package/debian/changelog: reason for release 318 319 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile: 320 bump 321 322 * makefile.in: use $LINT_OPTS from environment via configure script 323 324 * 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: 325 tweaks to make generated files from ok_syntax1.y compile with check_make rule 326 327 * 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: 328 reference output for testing 329 330 * test/run_test.sh: 331 retain the renaming done for code_debug.y so that check_make will work. 332 333 * test/yacc/rename_debug.error, test/yacc/rename_debug.h, test/yacc/rename_debug.i, test/yacc/rename_debug.output: 334 reference output for testing 335 336 * test/btyacc/ok_syntax1.error: RCS_BASE 337 338 * 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: 339 regen 340 341 * yacc.1: 342 clarify relationship of btyacc features to default configuration. 343 3442014-04-08 Thomas E. Dickey <tom@invisible-island.net> 345 346 * 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: 347 reference output for testing 348 349 * test/ok_syntax1.y: RCS_BASE 350 351 * test/yacc/ok_syntax1.error: reference output for testing 352 353 * 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: 354 exercise -L/-B options 355 356 * 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: 357 use a better renaming of the YYPATCH definition (none of the test-cases rely 358 upon it, but redefinition in the "make check_make" rule is a problem). 359 360 * 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: 361 undid temporary reordering in reader() by Tom Shields to align with byacc outputs 362 363 * test/run_test.sh: remove a repeated test-case 364 365 * mstring.c: minor reformatting to make coverage analysis simpler 366 3672014-04-07 Thomas E. Dickey <tom@invisible-island.net> 368 369 * test/run_test.sh: tidy 370 371 * 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: 372 reference output for testing 373 374 * test/run_test.sh: 375 add special checks for flags which depend on writable/existing files 376 377 * 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: 378 reference output for testing 379 380 * main.c: 381 change CREATE_FILE_NAMES() to use local function rather than inline code, 382 to simplify coverage analysis. 383 384 * 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: 385 reference output for testing 386 387 * test/err_syntax27.y: testcase for missing_brace() 388 389 * error.c: ifdef'd non-btyacc function 390 391 * lr0.c: ifdef'd debug-code 392 393 * yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel 394 395 * 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: 396 2010/11/26 simplification of output.c using putc_code() and putl_code() 397 omitted an adjustment of the #line value used for code-file. Fix that. 398 Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for 399 YYPATCH #define's to make test-outputs easier to compare #line's (report 400 by Tom Shields) 401 4022014-04-06 Thomas E. Dickey <tom@invisible-island.net> 403 404 * reader.c: fix for valgrind 405 (the calloc's are intentional - valgrind reported use of uninitialized memory) 406 407 * lr0.c, output.c: fix for valgrind 408 409 * 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: 410 RCS_BASE 411 412 * test/yacc/code_debug.c, test/yacc/code_debug.h: 413 exercise the -i option 414 415 * test/yacc/code_debug.i: reference output for testing 416 417 * test/run_test.sh: exercise the -i option 418 419 * test/yacc/code_debug.c: reference output for testing 420 421 * test/run_test.sh: exercise the "-o" option 422 423 * test/yacc/code_debug.error, test/yacc/code_debug.h, test/yacc/code_debug.output: 424 reference output for testing 425 426 * output.c: don't call exit() without giving a chance to cleanup. 427 428 * mstring.c: ifdef'd functions not used in byacc 429 430 * btyaccpar.c: generated from btyaccpar.skel 431 432 * yaccpar.c: generated from yaccpar.skel 433 434 * skel2c: 435 change the generated-by comment to show which version of this script (and 436 which version of the given skeleton file) were used to produce the C-file. 437 438 * configure: regen 439 440 * makefile.in: 441 add rules to generate byacc and btyacc parser skeleton files independently 442 443 * aclocal.m4: CF_PROG_AWK - add to byacc's configure script 444 CF_INTEL_COMPILER 445 cleanup the -no-gcc option which was leftover from testing - prcs does 446 not build with this option. 447 CF_MAKE_DOCS 448 protect $2 from substitution, for luit's "$(manext)" 449 CF_XOPEN_SOURCE 450 for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2 451 on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE 452 because it is not needed, as well as because g++ 4.7.3 (no package, 453 used in Sage for Solaris 10) has some unspecified header breakage which 454 is triggered by the duplicate definition. 455 456 * configure.in: 457 modify so skeleton-source is determined by configure options rather than by 458 having developer rename yaccpar.skel.old to yaccpar.skel 459 460 * descrip.mms: rename skeleton 461 462 * vmsbuild.com: 463 fwiw, renamed the skeleton for consistency with makefile 464 465 * skel2c, skeleton.c: resync skeleton and its generating files 466 467 * yaccpar.skel: 468 renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules 469 470 * yaccpar.skel.old: resync skeleton and its generating files 471 472 * test/run_make.sh: improve cleanup after error recovery 473 474 * 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: 475 use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton 476 477 * output.c: simplify output_yyerror_decl() 478 479 * 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: 480 add second "const" to string-table declarations, from Tom Shield's btyacc changes 481 482 * 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: 483 discard unnecessary call on write_code_lineno() from Tom Shield's changes 484 485 * 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: 486 use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short" 487 488 * test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c: 489 use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL() 490 491 * 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: 492 discard unnecessary call on write_code_lineno() from Tom Shield's changes 493 494 * 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: 495 use fix from Tom Shield's btyacc changes: prefix-definitions went to the 496 output (.tab.c) file in a case where they should have gone to the code 497 (.code.c) file. Remove now-redundant call to output_prefix(). 498 499 * main.c: do the same for help-message 500 501 * main.c: use OUTPUT_SUFFIX symbol in an overlooked case 502 503 * test/run_make.sh: 504 modify to avoid use of VPATH, which has no standard implementation 505 5062014-04-05 Thomas E. Dickey <tom@invisible-island.net> 507 508 * 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: 509 discard a change which merged CountLines() with explicit comparisons against 510 code_file because that adds extra to the #line values 511 512 * 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: 513 add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to 514 override fallback typedef for YYSTYPE when that symbol is undefined 515 516 * 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: 517 minor tweak to coding style - use parenthesis for "defined" operator's parameter 518 519 * 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: 520 regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent 521 522 * 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: 523 regen after adding the YYUNDFTOKEN symbol 524 525 * output.c: 526 integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol 527 (I changed order of output to keep this adjacent to YYMAXTOKEN) 528 529 * reader.c: 530 merge all but one small change from Tom Shield's btyacc changes - that 531 changes the order of code-file in the tests. 532 533 * test/btyacc/btyacc_demo.tab.c: regen 534 535 * test/btyacc_demo.y: fix prototypes 536 5372014-04-04 Thomas E. Dickey <tom@invisible-island.net> 538 539 * reader.c, defs.h, main.c: 540 more merging of Tom Shield's btyacc changes. In the merge, I moved the 541 symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs 542 5432014-04-03 Thomas E. Dickey <tom@invisible-island.net> 544 545 * reader.c: 546 merge-in 3/4 of btyacc's changes, deferring those which change test-outputs. 547 Tom Shield's changes split-out copy_string() and copy_comment() functions 548 to simplify some logic, as well as adding btyacc-only chunks 549 550 * makefile.in: build mstring.o, needed for changes in reader.c 551 552 * output.c: 553 merge-in all of btyacc's changes which do not change byacc's test-output. 554 Some of the merge uses ifdef-changes which I applied to ongoing resync, 555 e.g., the introduction of PER_STATE. 556 5572014-04-02 Thomas E. Dickey <tom@invisible-island.net> 558 559 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen 560 561 * output.c: fix typo 562 563 * output.c, reader.c: 564 merge in some chunks of reader and output files which do not affect byacc tests 565 566 * test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen 567 568 * 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: 569 incorporate YYENOMEM and YYEOF symbols from btyacc 570 571 * output.c: merge chunk from btyacc changes for header-guards 572 573 * btyaccpar.skel: RCS_BASE 574 575 * yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues 576 remove GCC_UNUSED to reduce name-pollution as well as being simpler 577 578 * main.c: 579 move a btyacc symbol outside ifdef to work around current state of merge 580 581 * defs.h: 582 add USE_HEADER_GUARDS to defer whether to modify byacc's header-output 583 584 * test/run_make.sh: 585 do not try to compile files used for testing syntax-errors, since they are 586 likely to be incomplete 587 5882014-04-02 Tom.Shields 589 590 * main.c: changes for btyacc 591 5922014-04-01 Thomas E. Dickey <tom@invisible-island.net> 593 594 * reader.c: 595 integrate change by Tom Shields to use bsearch rather than successive 596 calls to matchec() 597 598 * defs.h: typedef __compar_fn_t is unnecessary 599 600 * 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: 601 omit the GCC_UNUSED, as noted by Tom Shields not really essential 602 6032014-04-01 Tom.Shields 604 605 * verbose.c: changes for btyacc, ifdef'd 606 6072014-04-01 Thomas E. Dickey <tom@invisible-island.net> 608 609 * mkpar.c: eliminate most of the ifdef's using macros 610 6112014-04-01 Tom.Shields 612 613 * mkpar.c: merge btyacc changes (ifdef'd - no change to byacc) 614 615 * error.c: 616 new functions used for reporting errors from the btyacc configuration 617 (I reordered some, and ifdef'd the new ones -TD) 618 6192014-03-31 Thomas E. Dickey <tom@invisible-island.net> 620 621 * test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c: 622 omit the GCC_UNUSED, as noted by Tom Shields not really essential 623 624 * 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: 625 regen 626 6272014-03-29 Thomas E. Dickey <tom@invisible-island.net> 628 629 * 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: 630 comment-out yysccsid in the banner because it produces unnecessary compiler 631 warnings. The suggested alternative (using #pragma ident) in the preceding 632 comment is also obsolete; remove that comment (request by Gleb Smirnoff). 633 634 * test/run_test.sh: 635 for yacc, ignore the inherit testcases, since they are btyacc-specific 636 6372014-03-28 Thomas E. Dickey <tom@invisible-island.net> 638 639 * 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: 640 reference output for testing 641 642 * test/run_lint.sh, test/run_make.sh, test/run_test.sh: 643 moving #define's out of makefile broke check for yacc vs btyacc (fix) 644 6452014-03-28 Tom.Shields 646 647 * 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: 648 reference output for testing 649 650 * defs.h: new functions/variables for btyacc 651 (I reordered and ifdef'd -TD) 652 653 * test/inherit0.y, test/inherit1.y: testcase for btyacc 654 6552014-03-27 Tom.Shields 656 657 * test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y, test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y: 658 testcase for btyacc 659 6602014-03-25 Tom.Shields 661 662 * symtab.c: extra initialization needed for btyacc 663 (I ifdef'd -TD) 664 665 * yacc.1: document -L/-B features from btyacc 666 6672014-03-25 Thomas E. Dickey <tom@invisible-island.net> 668 669 * yacc.1: typo 670 671 * configure: regen 672 673 * configure.in: 674 modified new options to act like those in my other configure-scripts, e.g., 675 showing what option is being tested, and the resulting value. Put the 676 definitions in config.h rather than in the makefile. 677 6782014-03-25 Tom.Shields 679 680 * makefile.in: add/use LINTFLAGS variable 681 make all of the objects (not just skeleton) rebuild if makefile changes 682 modify check-rule to reflect updates to run_test.sh vs subdirectory 683 684 * mstring.c: byacc-btyacc-20140323 685 6862014-03-25 Thomas E. Dickey <tom@invisible-island.net> 687 688 * test/btyacc/RCS, test/yacc/RCS: PERMIT FILE 689 690 * config_h.in: updated with autoheader-252 691 6922014-03-25 Tom.Shields 693 694 * README.BTYACC: byacc-btyacc-20140323 695 6962014-03-24 Tom.Shields 697 698 * 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: 699 reference output for testing 700 7012014-03-24 Thomas E. Dickey <tom@invisible-island.net> 702 703 * defs.h: fix compiler warnings due to mputc() 704 7052014-03-23 Tom.Shields 706 707 * test/btyacc_demo.y: testcase for btyacc 708 709 * test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h: 710 reference output for testing 711 712 * test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc 713 7142014-03-23 Thomas E. Dickey <tom@invisible-island.net> 715 716 * 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: 717 reference output for testing 718 719 * test/err_syntax26.y: testcase for missing_brace() 720 721 * 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: 722 reference output for testing 723 724 * test/err_syntax25.y: testcase for over_unionized() 725 726 * 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: 727 reference output for testing 728 729 * test/err_syntax24.y: testcase for default_action_warning() 730 7312014-03-23 Tom.Shields 732 733 * 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: 734 reference output for testing 735 7362014-03-23 Thomas E. Dickey <tom@invisible-island.net> 737 738 * 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: 739 reference output for testing 740 741 * test/err_syntax23.y: testcase for untyped_lhs() 742 7432014-03-23 Tom.Shields 744 745 * test/run_test.sh: 746 move test-outputs into subdirectories to keep btyacc/yacc results separate 747 7482014-03-23 Thomas E. Dickey <tom@invisible-island.net> 749 750 * 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: 751 reference output for testing 752 753 * test/err_syntax22.y: testcase for untyped_rhs() 754 755 * 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: 756 reference output for testing 757 758 * test/err_syntax20.y: testcase for undefined_symbol_warning() 759 760 * test/err_syntax21.y: testcase for unknown_rhs() 761 762 * 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: 763 reference output for testing 764 765 * test/err_syntax19.y: testcase for dollar_error() 766 767 * 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: 768 reference output for testing 769 770 * test/err_syntax18.y: testcase for dollar_warning() 771 772 * 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: 773 reference output for testing 774 775 * test/err_syntax17.y: testcase for unterminated_action() 776 7772014-03-22 Thomas E. Dickey <tom@invisible-island.net> 778 779 * 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: 780 reference output for testing 781 782 * test/err_syntax16.y: testcase for terminal_lhs() 783 784 * 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: 785 reference output for testing 786 787 * test/err_syntax15.y: testcase for no_grammar() 788 789 * 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: 790 reference output for testing 791 792 * test/err_syntax14.y: 793 testcase for restarted_warning() and undefined_goal() 794 795 * 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: 796 reference output for testing 797 798 * test/err_syntax13.y: testcase for terminal_start() 799 800 * 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: 801 reference output for testing 802 803 * test/err_syntax12.y: testcase for revalued_warning() 804 805 * 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: 806 reference output for testing 807 808 * test/err_syntax11.y: testcase for reprec_warning() 809 810 * 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: 811 reference output for testing 812 813 * test/err_syntax10.y: testcase for retyped_warning() 814 8152014-03-21 Thomas E. Dickey <tom@invisible-island.net> 816 817 * 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: 818 reference output for testing 819 820 * test/err_syntax9.y: testcase for tokenized_start() 821 822 * 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: 823 reference output for testing 824 825 * test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved() 826 827 * 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: 828 reference output for testing 829 830 * test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y: 831 testcase for illegal_character() 832 833 * 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: 834 reference output for testing 835 836 * test/err_syntax6.y: testcase for illegal_tag() 837 838 * 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: 839 reference output for testing 840 841 * test/err_syntax5.y: testcase for unterminated_union() 842 843 * 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: 844 reference output for testing 845 846 * test/err_syntax4.y: testcase for unterminated_text() 847 848 * 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: 849 reference output for testing 850 851 * test/err_syntax3.y: testcase for unterminated_string() 852 853 * 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: 854 reference output for testing 855 856 * test/err_syntax2.y: testcase for unterminated_comment() 857 858 * test/err_syntax1.error, test/yacc/err_syntax1.error: 859 reference output for testing 860 861 * test/err_syntax1.y: 862 test-case with syntax error (and nonprinting character) 863 864 * 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: 865 reference output for testing 866 867 * test/run_test.sh: 868 save stderr to reference files, to capture shift/reduce messages as well 869 as syntax-error messages 870 871 * 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: 872 reference output for testing 873 874 * test/run_test.sh: generate a ".dot" file for the grammar file 875 876 * test/grammar.dot: RCS_BASE 877 878 * test/yacc/grammar.dot: reference output for testing 879 8802014-03-19 Tom.Shields 881 882 * output.c: rename MAXSHORT to MAXYYINT 883 8842014-03-18 Tom.Shields 885 886 * yaccpar.skel: skeleton with btyacc additions 887 888 * NOTES-btyacc-Changes: byacc-btyacc-20140323 889 890 * test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h: 891 reference output for testing 892 893 * test/run_make.sh: 894 move test-outputs into subdirectories to keep btyacc/yacc results separate 895 896 * 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: 897 reference output for testing 898 899 * defs.h: 900 several changes to help decouple the use of 'short' as the type of value 901 used in yacc parsers. 902 903 * NOTES-btyacc-Disposition: byacc-btyacc-20140323 904 9052014-03-17 Tom.Shields 906 907 * skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE 908 909 * test/run_lint.sh: 910 move test-outputs into subdirectories to keep btyacc/yacc results separate 911 912 * configure.in: add --with-max-table-size and --enable-btyacc options 913 9142014-03-16 Tom.Shields 915 916 * main.c: use Value_t rather than short 917 9182014-03-11 Tom.Shields 919 920 * test/empty.y: testcase for btyacc 921 9222014-03-10 Tom.Shields 923 924 * test/calc3.y, test/calc2.y: fix unused-variable warning 925 9262014-02-18 Tom.Shields 927 928 * lr0.c, graph.c: use Value_t rather than short 929 930 * closure.c: use Value_t rather than short 931 ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions 932 933 * lalr.c: rename MAXSHORT to MAXYYINT 934 9352014-01-01 Thomas E. Dickey <tom@invisible-island.net> 936 937 * yacc.1: document %token-table, improve presentation of double-quotes 938 939 * VERSION, package/byacc.spec, package/debian/changelog: bump 940 941 * 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: 942 reference output for testing 943 944 * 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: 945 regen 946 947 * output.c, skeleton.c: 948 amend the last change so that yytname is #define'd as needed rather than 949 permanent - to avoid breaking cproto for instance. 950 9512014-01-01 Christos.Zoulas 952 953 * output.c, defs.h, main.c, reader.c, skeleton.c: 954 changes to build ntpd using byacc: 955 - rename yyname[] to yytname[] 956 - add YYTRANSLATE() macro 957 - recognize bison's %token-table declaration 958 9592014-01-01 Thomas E. Dickey <tom@invisible-island.net> 960 961 * configure: regen 962 963 * yacc.1: s/EE/XE/ to work around groff bug on Debian 6 964 965 * makefile.in: use CF_MAKE_DOCS 966 967 * aclocal.m4: add CF_MAKE_DOCS 968 969 * configure.in: use CF_MAKE_DOCS 970 9712013-12-26 Thomas E. Dickey <tom@invisible-island.net> 972 973 * config.guess: 2013-11-29 974 9752013-11-19 Thomas E. Dickey <tom@invisible-island.net> 976 977 * aclocal.m4: resync with my-autoconf (fixes for clang and mingw) 978 9792013-10-25 Thomas E. Dickey <tom@invisible-island.net> 980 981 * config.sub: 2013-10-01 982 9832013-09-25 Thomas E. Dickey <tom@invisible-island.net> 984 985 * reader.c: fix two loop-limits found by clang 3.3 --analyze 986 987 * configure: regen 988 989 * aclocal.m4: 990 tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses 991 992 * package/mingw-byacc.spec: RCS_BASE 993 994 * 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: 995 regen 996 997 * skeleton.c: 998 Increase default stack-size to match FreeBSD version noted as from 999 "BSD 4.4 Lite Usr.bin Sources". See 1000 1001 http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/ 1002 http://svnweb.freebsd.org/base/head/usr.bin/yacc/ 1003 http://svnweb.freebsd.org/base/vendor/byacc/ 1004 1005 The original 1.9 sources (on which I based development) used 500 for 1006 stacksize; the BSD Lite sources (a year or two later) used 10000. 1007 1008 This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE 1009 symbols have "always" been overridable by applications, but rarely 1010 needed to do this. RedHat began using the FreeBSD source in 2000, 1011 and switched to this source in 2007 using the 20050813 snapshot. 1012 1013 RedHat #743343 misattributed the change in default stacksize to 1014 a regression in byacc, but did not report the issue upstream. 1015 1016 * package/debian/changelog, VERSION, package/byacc.spec: bump 1017 10182013-09-07 Thomas E. Dickey <tom@invisible-island.net> 1019 1020 * config.sub: update to 2013-09-15 1021 1022 * config.guess: update to 2013-06-10 1023 10242013-03-04 Thomas E. Dickey <tom@invisible-island.net> 1025 1026 * package/debian/changelog, VERSION, package/byacc.spec: bump 1027 1028 * aclocal.m4: 1029 adapt tweak from Dave Becket to work around long-ago breakage in "new" autoconf. 1030 1031 * output.c: 1032 fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton). 1033 also while testing that, found a case where the union_file is unused; added 1034 a check for address that. 1035 1036 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen 1037 1038 * test/ftp.y: fix most compiler warnings for "make check_make" 1039 1040 * test/calc1.tab.c: regen 1041 1042 * test/calc1.y: fix most compiler warnings for "make check_make" 1043 1044 * 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: 1045 regen 1046 1047 * skeleton.c: quiet a gcc conversion-warning in yygrowstack() 1048 1049 * configure: regen 1050 1051 * aclocal.m4: 1052 another fix for CF_GCC_VERSION to handle Debian's modification of gcc message. 1053 10542013-02-10 Thomas E. Dickey <tom@invisible-island.net> 1055 1056 * config.sub, config.guess: update to 2013-02-04 1057 10582012-10-03 Thomas E. Dickey <tom@invisible-island.net> 1059 1060 * package/debian/changelog, package/byacc.spec, VERSION: bump 1061 1062 * configure: regen 1063 1064 * configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC 1065 1066 * aclocal.m4: 1067 moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc) 1068 the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor. 1069 1070 * aclocal.m4, configure.in: 1071 Arian's change dropped my check for misused $CC variable - restore that with 1072 alternate macro CF_PROG_CC. 1073 10742012-10-03 Adrian.Bunk 1075 1076 * aclocal.m4: 1077 suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since 1078 they are not needed. 1079 10802012-10-03 Thomas E. Dickey <tom@invisible-island.net> 1081 1082 * aclocal.m4: 1083 split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in 1084 Adrian's suggested changes. 1085 1086 * aclocal.m4: 1087 CF_CLANG_COMPILER - check if the given compiler is really clang. 1088 1089 * aclocal.m4: 1090 add check for clang to CF_GCC_WARNINGS. modify CF_GCC_WARNINGS to work around 1091 old gcc warning: ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1 1092 on my Sarge system (versus 3.3.5 for the normal gcc). The 2.8.1's 1093 pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work 1094 around by excluding that check for pre-3.x compilers. 1095 1096 * aclocal.m4: 1097 modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions 1098 provided by this macro. use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather 1099 than appending to confdefs.h, since long-ago concern about the ability to 1100 pass-through parameterized macros appears to be not a problem, testing with 1101 2.13 and 2.52 1102 11032012-10-03 Adrian.Bunk 1104 1105 * aclocal.m4: 1106 add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by 1107 autoheader, updated macros: 1108 CF_CHECK_CACHE 1109 CF_DISABLE_LEAKS 1110 CF_MKSTEMP 1111 CF_MIXEDCASE_FILENAMES 1112 CF_NO_LEAKS_OPTION 1113 11142012-10-03 Thomas E. Dickey <tom@invisible-island.net> 1115 1116 * aclocal.m4: 1117 move existence-check for mkstemp out of the AC_TRY_RUN, to help with 1118 cross-compiles 1119 11202012-10-02 Thomas E. Dickey <tom@invisible-island.net> 1121 1122 * config_h.in: 1123 Adrian Bunk request - replace this with the output from autoheader 1124 11252012-09-29 Adrian.Bunk 1126 1127 * configure.in: 1128 suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no 1129 check is needed anymore for standard C compilers), drop AC_CONST (same 1130 reason), modify AC_OUTPUT to rely upon template generated by autoheader. 1131 bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT 1132 as being obsolete with autoconf 2.52x 1133 1134 * configure.in, main.c: drop check for atexit, because it is standard C 1135 1136 * makefile.in: add assignment for datarootdir variable. 1137 11382012-05-26 Thomas E. Dickey <tom@invisible-island.net> 1139 1140 * package/debian/changelog, package/byacc.spec, VERSION: bump 1141 1142 * reader.c: 1143 some versions of gcc may warn that bp is not set in mark_symbol, e.g., 1144 if GCC_NORETURN is not handled; appease the compiler. 1145 1146 * reader.c: 1147 use the declared types Assoc_t and Value_t in some places where compiler only 1148 cared about char versus short. 1149 1150 * reader.c: 1151 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 1152 (no object change) 1153 1154 * defs.h: 1155 add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD 1156 packagers to build without configure script. Also remove duplicate declaration 1157 of pure_parser variable (prompted by patch by Baptiste Daroussin). 1158 1159 Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and 1160 REALLOC macros. 1161 1162 * symtab.c: 1163 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 1164 (no object change) 1165 11662012-05-25 Thomas E. Dickey <tom@invisible-island.net> 1167 1168 * output.c, main.c, verbose.c, mkpar.c, lr0.c: 1169 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 1170 (no object change) 1171 11722012-01-15 Thomas E. Dickey <tom@invisible-island.net> 1173 1174 * package/debian/copyright: bump 1175 1176 * test/run_make.sh: workaround for breakage due to GNU make 3.82 1177 1178 * test/run_make.sh: 1179 tested with Solaris 10 (bison 1.875) and added scripting to exercise 1180 the /usr/ccs/bin/yacc executable 1181 1182 * test/grammar.tab.c: regen 1183 1184 * test/grammar.y: modify to also build with Solaris yacc 1185 1186 * VERSION, package/debian/changelog, package/byacc.spec: bump 1187 1188 * test/yacc/calc1.output: reference output for testing 1189 1190 * test/calc1.output, test/calc1.tab.c: regen 1191 1192 * test/calc1.y: 1193 undo the change made to appease bison, since it was only a warning. 1194 1195 * test/pure_calc.tab.c, test/pure_error.tab.c: regen 1196 1197 * test/run_make.sh: another fix for running from top-level directory 1198 1199 * makefile.in: 1200 ensure that check_make rule depends on having byacc built. 1201 1202 * test/run_make.sh: fixes for building from parent directory 1203 1204 * test/pure_error.y, test/pure_calc.y: bison-fixes 1205 1206 * 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: 1207 regen 1208 1209 * test/code_debug.y: RCS_BASE 1210 1211 * test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y: 1212 byacc already declares yyerror 1213 1214 * test/pure_error.y, test/pure_calc.y: 1215 modified to help make the files build with bison 1216 1217 * test/run_make.sh: 1218 supply a "%pure-parser" directive when bison needs it. 1219 1220 * test/code_calc.code.c: regen 1221 1222 * test/code_calc.y: modified to help make the files build with bison 1223 1224 * yacc.1: 1225 in testing, found that %expect did not work as documented for bison. 1226 do not recommend it for portable code. 1227 1228 * test/run_make.sh: workaround breakage in bison's %expect directive 1229 1230 * test/grammar.y: modified to help make the files build with bison 1231 1232 * test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen 1233 1234 * test/calc1.y: quiet a spurious warning from bison 2.3 1235 1236 * test/calc1.tab.c: regen 1237 1238 * test/calc1.y: modified to help make the files build with bison 1239 1240 * yacc.1: comment on "-y" and "-P" options. 1241 1242 * yacc.1: comment on portability 1243 1244 * 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: 1245 regen 1246 1247 * test/ftp.y: modified to help make the files build with bison 1248 (bison's "-y" option is of no use in providing "yacc" compatibility) 1249 1250 * test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c: 1251 regen 1252 1253 * test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, test/quote_calc4.y, test/quote_calc3.y: 1254 modified to help make the files build with bison 1255 1256 * test/calc.tab.c: regen 1257 1258 * test/calc.y: modified to help make the files build with bison 1259 1260 * test/error.tab.c: regen 1261 1262 * test/error.y: modified to help make the files build with bison 1263 1264 * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen 1265 1266 * test/run_make.sh: 1267 check for older bisons which (2.3 for instance) do not support pure parsers 1268 1269 * test/code_error.y, test/calc3.y, test/calc2.y: 1270 modified to help make the files build with bison 1271 1272 * test/run_test.sh: use $opt2 in filenames of the generated files 1273 1274 * 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: 1275 regen 1276 12772012-01-14 Thomas E. Dickey <tom@invisible-island.net> 1278 1279 * 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: 1280 regen 1281 1282 * output.c: Several changes: 1283 a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex. 1284 b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL, 1285 using YYLEX_PARAM_TYPE and YYLEX_PARAM. 1286 c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL, 1287 to help with redefinitions. 1288 1289 * test/pure_calc.tab.c: 1290 modified to help make the files build with bison 1291 1292 * test/run_make.sh: 1293 start work on followup, to check if the generated files build with bison. 1294 1295 * test/pure_calc.y, test/pure_error.tab.c: 1296 modified to help make the files build with bison 1297 1298 * test/calc3.tab.c: regen 1299 1300 * 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: 1301 RCS_BASE 1302 1303 * 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: 1304 reference output for testing 1305 1306 * test/run_test.sh: generate/test with "-s" option applied. 1307 13082012-01-13 Thomas E. Dickey <tom@invisible-island.net> 1309 1310 * package/debian/changelog, package/byacc.spec, VERSION: bump 1311 1312 * yacc.1: improve documentation of -s option 1313 1314 * yacc.1: note that yacc ignores -y 1315 1316 * main.c: add -s option to usage message. 1317 1318 * test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h: 1319 RCS_BASE 1320 1321 * test/yacc/quote_calc3.output, test/yacc/quote_calc4.output, test/yacc/quote_calc4.tab.h: 1322 reference output for testing 1323 1324 * test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE 1325 1326 * test/yacc/quote_calc.tab.h: reference output for testing 1327 1328 * 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: 1329 RCS_BASE 1330 1331 * test/yacc/quote_calc.output, test/yacc/quote_calc2.output, test/yacc/quote_calc2.tab.h, test/yacc/quote_calc3.tab.h: 1332 reference output for testing 1333 1334 * test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE 1335 1336 * configure: regen 1337 1338 * aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE 1339 13402011-12-19 Thomas E. Dickey <tom@invisible-island.net> 1341 1342 * package/debian/changelog, package/byacc.spec, VERSION: bump 1343 1344 * yacc.1, output.c, main.c, defs.h: 1345 add "-s" option to suppress generating #define's based on string contents 1346 in a %token statement. For instance 1347 %token EQLS "Equals" 1348 would generate 1349 #define EQLS 256 1350 #define Equals 257 1351 Simply suppressing the second #define makes the behavior closer to yacc. 1352 (report by Paulo Andrade). 1353 13542011-09-08 Thomas E. Dickey <tom@invisible-island.net> 1355 1356 * package/debian/changelog, package/byacc.spec, VERSION: bump 1357 1358 * output.c: 1359 fix some more interaction between -i and -d flags to ensure YYERRCODE 1360 and YYSTYPE are declared, tested with cproto. 1361 13622011-09-07 Thomas E. Dickey <tom@invisible-island.net> 1363 1364 * yacc.1: document "-i" option. 1365 1366 * package/debian/changelog, package/byacc.spec, VERSION: bump 1367 1368 * output.c: fix an interaction between -i and -d 1369 1370 * 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: 1371 regen - changes for "-i" option move the global/impure variables near the 1372 macros that may add a prefix, etc. 1373 1374 * skeleton.c, output.c, defs.h: changes to support "-i" option. 1375 13762011-09-06 Thomas E. Dickey <tom@invisible-island.net> 1377 1378 * reader.c: pass explicit file-pointer to write_section() 1379 1380 * main.c: 1381 add "-i" option, to generate interface-file (suggested by Denis M. Wilson) 1382 13832011-09-05 Thomas E. Dickey <tom@invisible-island.net> 1384 1385 * configure: regen 1386 1387 * aclocal.m4: 1388 resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC) 1389 and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks) 1390 1391 * defs.h, error.c, reader.c: 1392 add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson) 1393 13942011-04-01 Thomas E. Dickey <tom@invisible-island.net> 1395 1396 * config.sub: update to 2011-04-01 1397 13982011-02-02 Thomas E. Dickey <tom@invisible-island.net> 1399 1400 * config.guess: update to 2011-01-01 1401 14022010-12-29 Thomas E. Dickey <tom@invisible-island.net> 1403 1404 * defs.h, skeleton.c: 1405 add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas) 1406 1407 * defs.h: 1408 mark all of the error-functions as non-returning (report by Christos Zoulas) 1409 1410 * 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: 1411 regen 1412 1413 * skeleton.c: 1414 use only realloc() rather than realloc+malloc, agree that systems needing this 1415 are very rare (prompted by NetBSD change). 1416 1417 * test/ftp.tab.c: regen 1418 14192010-12-29 Christos.Zoulas 1420 1421 * test/ftp.y: 1422 improve example, which was stuck in 19XX and assumed file sizes were longs. 1423 14242010-12-29 Thomas E. Dickey <tom@invisible-island.net> 1425 1426 * 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: 1427 regen 1428 1429 * 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: 1430 use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror 1431 1432 * skeleton.c: 1433 remove explicit prototype for yylex() via YYLEX_DECL() macro, since that 1434 would prevent declaring yylex() static (request by Christos Zoulas). 1435 1436 * test/calc2.tab.c, test/calc3.tab.c: regen 1437 14382010-12-29 Christos.Zoulas 1439 1440 * output.c: correct definition for YYERROR_DECL() 1441 14422010-12-29 Thomas E. Dickey <tom@invisible-island.net> 1443 1444 * package/debian/changelog, package/byacc.spec, VERSION: bump 1445 14462010-12-26 Thomas E. Dickey <tom@invisible-island.net> 1447 1448 * defs.h, main.c: 1449 change return-type of allocate() to avoid warnings of alignment problems 1450 1451 * main.c: Solaris declares chmod() in <sys/stat.h> 1452 1453 * configure: regen 1454 1455 * main.c: ifdef'd use of fcntl.h 1456 1457 * configure.in: add configure checks for fcntl.h, atexit and mkstemp 1458 1459 * main.c: for cases where mkstemp() is not available, use tempnam/open 1460 1461 * aclocal.m4: add CF_MKSTEMP 1462 1463 * aclocal.m4: 1464 improve quoting, deprecate ${name-value} in favor of standard ${name:-value} 1465 14662010-12-25 Thomas E. Dickey <tom@invisible-island.net> 1467 1468 * main.c: 1469 start revising use of tmpfile(), to make this work with MinGW. Start by 1470 implementing a mkstemp() alternative - noting that mkstemp() also is broken 1471 for MinGW. 1472 1473 * package/debian/changelog, package/byacc.spec, VERSION: bump 1474 14752010-11-27 Thomas E. Dickey <tom@invisible-island.net> 1476 1477 * package/byacc.spec, package/debian/changelog, VERSION: bump 1478 1479 * test/calc2.tab.c, test/calc3.tab.c: regen 1480 1481 * output.c: 1482 corrected use of %parse-param value in yyerror(); it doesn't use &yylval 1483 (report by Clifford Yapp) 1484 14852010-11-26 Thomas E. Dickey <tom@invisible-island.net> 1486 1487 * skeleton.c: typo 1488 1489 * output.c: 1490 correct line-numbering when "-r" option is used; the 'outline' variable 1491 should only be incremented when writing to the code-file. 1492 1493 * test/code_calc.code.c, test/code_error.code.c: regen 1494 1495 * yacc.1: bump date 1496 1497 * yacc.1: comment on -b option vs -r 1498 1499 * 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: 1500 regen 1501 1502 * output.c: 1503 improve on YYERROR_DECL(), adding dummy params which can be used for the 1504 actual function declaration. Also add YYERROR_CALL(). The two macros 1505 simplify maintaining sets of grammars which may/may not be pure. 1506 1507 * 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: 1508 regen 1509 1510 * output.c: generate yyerror() calls in output.c 1511 This is for compatibility with bison, which passes the yylval to yyerror 1512 when the %parse-param feature is used. 1513 1514 * skeleton.c, defs.h: generate yyerror() calls in output.c 1515 1516 * output.c: simplified a little, using putc_code() and putl_code() 1517 1518 * test/yacc/calc1.tab.h: reference output for testing 1519 1520 * test/calc1.tab.h: regen 1521 1522 * reader.c: 1523 improve ifdef for YYSTYPE union declaration (report by Clifford Yapp) 1524 1525 * reader.c: 1526 accept underscore as a replacement for dash in command names, e.g., 1527 "%pure_parser" vs "%pure-parser". 1528 1529 * test/calc1.tab.c: regen 1530 1531 * output.c, reader.c: 1532 also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp) 1533 1534 * package/debian/changelog, package/byacc.spec, VERSION: bump 1535 15362010-11-24 Thomas E. Dickey <tom@invisible-island.net> 1537 1538 * main.c, defs.h, symtab.c, error.c: reduce global variables 1539 1540 * package/debian/changelog, package/byacc.spec, VERSION: bump 1541 1542 * reader.c: 1543 amend fix for Redhat #112617 to still call default_action_warning() for 1544 empty rules (report by Bruce Cran). 1545 15462010-11-22 Thomas E. Dickey <tom@invisible-island.net> 1547 1548 * output.c: 1549 add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp). 1550 1551 * test/calc1.tab.c: regen 1552 1553 * test/calc1.y: cleanup compiler warnings 1554 1555 * test/grammar.y: add "%expect" 1556 1557 * test/calc1.tab.h: regen 1558 1559 * test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE 1560 1561 * test/calc2.tab.c, test/calc3.tab.c: regen 1562 1563 * test/calc1.y: 1564 advanced example from Steve Johnson's paper, uses unions 1565 1566 * test/calc3.y, test/calc2.y: init 'base', so examples can run 1567 1568 * test/ftp.tab.c, test/ftp.y: tweaks to compile with g++ 1569 1570 * output.c: compensate for fix in reader.c 1571 1572 * reader.c: 1573 add/use putc_both() and puts_both(), incidentally fixing a place where 1574 a union copied to the union_file may be missing the end of the last line. 1575 1576 * package/debian/changelog, package/byacc.spec, VERSION: bump 1577 15782010-09-28 Thomas E. Dickey <tom@invisible-island.net> 1579 1580 * config.guess: update to 2010-09-24 1581 15822010-09-10 Thomas E. Dickey <tom@invisible-island.net> 1583 1584 * config.sub: update to 2010-09-11 1585 15862010-06-10 Thomas E. Dickey <tom@invisible-island.net> 1587 1588 * yacc.1, package/debian/changelog, package/byacc.spec, VERSION: 1589 bump to 2010/06/10 1590 15912010-06-09 Thomas E. Dickey <tom@invisible-island.net> 1592 1593 * reader.c: free declarations in leak-testing code. 1594 1595 * main.c: close code_file if -r option used, for leak-testing 1596 1597 * defs.h, reader.c: 1598 improve %lex-param / %parse-param implementation by allowing for arrays to 1599 be passed as parameters, e.g., "int regs[26]". 1600 1601 * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h: 1602 RCS_BASE 1603 1604 * test/yacc/calc3.output, test/yacc/calc3.tab.h: 1605 reference output for testing 1606 1607 * test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE 1608 1609 * test/yacc/calc2.tab.h: reference output for testing 1610 1611 * test/calc2.output: RCS_BASE 1612 1613 * test/yacc/calc2.output: reference output for testing 1614 1615 * output.c: 1616 improve %lex-param / %parse-param implementation by allowing for arrays to 1617 be passed as parameters, e.g., "int regs[26]". 1618 1619 * test/calc.tab.c, test/calc.y: 1620 test-cases and reference files for %lex-param / %parse-param 1621 1622 * makefile.in: add docs-rule, for html/pdf/txt form of manpage 1623 1624 * configure: regen 1625 1626 * aclocal.m4: add CF_XOPEN_SOURCE, etc. 1627 1628 * configure.in: 1629 use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89 1630 1631 * 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: 1632 fix warnings from clang --analyze 1633 16342010-06-08 Thomas E. Dickey <tom@invisible-island.net> 1635 1636 * output.c: fix to build with c89, etc. 1637 1638 * reader.c: gcc warning 1639 1640 * 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: 1641 modified test-cases to allow them to compile, to validate pure-parser changes. 1642 updated reference files to match. 1643 1644 * output.c: 1645 move call for output_stype() earlier since it is used in pure-parser declarations 1646 1647 * test/grammar.tab.c, test/grammar.y: 1648 modified test-cases to allow them to compile, to validate pure-parser changes. 1649 updated reference files to match. 1650 1651 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1652 regen 1653 1654 * yacc.1: document %lex-param and %parse-param 1655 1656 * test/run_lint.sh, test/run_make.sh: RCS_BASE 1657 1658 * test/run_test.sh: 1659 further modify to allow build-directory to be in a different location by 1660 passing this directory's location as a parameter to the script. 1661 1662 * makefile.in: 1663 add check_make and check_lint rules to help validate the generated files 1664 in the test-directory 1665 16662010-06-07 Thomas E. Dickey <tom@invisible-island.net> 1667 1668 * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE 1669 1670 * test/run_test.sh: 1671 provide for testing -r and -P options by checking if the ".y" filename 1672 begins with "code_" or "pure_", respectively. 1673 1674 * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h: 1675 RCS_BASE 1676 1677 * test/yacc/code_error.tab.h: reference output for testing 1678 1679 * test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h: 1680 RCS_BASE 1681 1682 * test/yacc/code_calc.tab.h: reference output for testing 1683 1684 * test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h: 1685 RCS_BASE 1686 1687 * test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h, test/yacc/pure_error.output, test/yacc/pure_error.tab.h: 1688 reference output for testing 1689 1690 * test/code_calc.output, test/code_error.output: RCS_BASE 1691 1692 * test/yacc/code_calc.output, test/yacc/code_error.output: 1693 reference output for testing 1694 1695 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen 1696 1697 * test/run_test.sh: 1698 changes to support running "make check" in a separate build-tree 1699 1700 * main.c: add "-P" to usage message 1701 1702 * reader.c: use UCH() macro to hide casts. 1703 17042010-06-07 Andres.Mejia 1705 1706 * main.c, output.c, reader.c, defs.h, skeleton.c: 1707 Fix the output order of the generated parse code file. This allows for 1708 the use of YYPARSE_PARAM, by having the output that checks for 1709 YYPARSE_PARAM to be defined come after the C code block in the 1710 definitions section of a yacc file. 1711 1712 Implement support for YYLEX_PARAM, similar to bison. This is useful for 1713 support for building reentrant lexers with flex. 1714 1715 Fix a compatibility issue with bison's pure-parser option. Bison 1716 defines yylex as sending at least one parameter, &yylval, as the first 1717 parameter and doesn't seem to have an easy way to remove that parameter. 1718 This on the other hand is rather convenient to support saving to yylval 1719 from flex when building reentrant lexers and parsers. 1720 1721 Add support for the %parse-param and %lex-param directives used in 1722 bison. This change bears some similarity to NetBSD's changes to byacc 1723 at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html 1724 1725 Bison allows for POSIX yacc emulation via a yacc directive in the yacc 1726 file, and also via a command line switch. Implement this feature as a 1727 no-op for byacc, since byacc is designed to be POSIX yacc compatible 1728 anyway. This allows for better compatibility with yacc sources written 1729 for bison. 1730 17312010-06-07 Thomas E. Dickey <tom@invisible-island.net> 1732 1733 * VERSION: bump to 2010/06/07 1734 17352010-06-06 Thomas E. Dickey <tom@invisible-island.net> 1736 1737 * test/calc.tab.c, configure: regen 1738 1739 * skeleton.c: 1740 move #include's down into the generated code, to allow user-defined code 1741 to override feature definitions, particularly with stdlib.h (request by 1742 Marcus Kool). 1743 1744 * lr0.c, error.c, reader.c, defs.h: 1745 strict gcc 3.4.6 warnings on 64-bit platform 1746 1747 * aclocal.m4, configure.in: add check for lint 1748 1749 * makefile.in: add lint rule 1750 1751 * defs.h, closure.c, lr0.c, warshall.c, main.c: 1752 fix gcc warnings, mostly for 64-bit platform 1753 1754 * aclocal.m4: 1755 add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc 1756 1757 * makefile.in: add etags/TAGS if available 1758 1759 * configure.in: add configure check for actual ctags and etags programs 1760 1761 * package/debian/copyright: add copyright notices for non-PD files 1762 1763 * package/debian/changelog: 1764 incorporated scripts in upstream to use for test-builds 1765 1766 * makefile.in: drop mkdirs.sh, just use "mkdir -p" 1767 1768 * AUTHORS: nicknames for some contributors (see CHANGES for details) 1769 1770 * package/byacc.spec: RPM file for byacc 1771 1772 * VERSION: bump to 2010/06/06 1773 1774 * aclocal.m4: add copyright notice, from "my-autoconf" macros 1775 http://invisible-island.net/autoconf/autoconf.html 1776 1777 * package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS: 1778 PERMIT FILE 1779 1780 * aclocal.m4: resync with my-autoconf. summary of changes: 1781 a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter 1782 b) CF_DISABLE_ECHO, change indent-convention for substituted makefile 1783 c) CF_GCC_VERSION, ignore stderr 1784 d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc 1785 17862010-04-20 Thomas E. Dickey <tom@invisible-island.net> 1787 1788 * 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: 1789 scripts from Debian package 1790 17912010-02-16 Thomas E. Dickey <tom@invisible-island.net> 1792 1793 * yacc.1: document -P and bison-extensions 1794 1795 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 1796 regen 1797 1798 * output.c: implement %pure-parser 1799 1800 * skeleton.c: 1801 implement %pure-parser, like bison. To help with this, changed the stack 1802 variables, putting them into a struct. 1803 1804 * reader.c: implement %pure-parser 1805 1806 * defs.h: modified skeleton to support %pure-parser feature 1807 1808 * main.c: add -P option to set %pure-parser 1809 1810 * output.c: 1811 make -r and -p options work together. The -r option splits the generated 1812 parser into code/table files; for this case we cannot use static data. 1813 Also, we have to repeat the #define's used for prefix (-p) as well as the 1814 redeclaration of yyparse(). Finally, allow any of the prefixed names to 1815 be overridden, e.g., by passing a -D option to the compiler. Make that 1816 a little more readable by putting a blank line before each chunk. 1817 1818 * defs.h: add definitions for %pure-parser 1819 1820 * skeleton.c: 1821 put blank line before/after the redeclaration of yyparse() 1822 1823 * output.c: allow for other program redefining yylex() 1824 1825 * skeleton.c: 1826 split-off xdecls[] array, to move declaration of yyparse() after #define's 1827 1828 * defs.h: split-out xdecls[] 1829 1830 * VERSION: bump 1831 1832 * configure: regen 1833 1834 * aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS 1835 1836 * aclocal.m4: 1837 resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes. 1838 18392010-02-16 Ostap.Cherkashi 1840 1841 * skeleton.c: fix a memory leak in the generated skeleton 1842 18432010-01-01 Thomas E. Dickey <tom@invisible-island.net> 1844 1845 * package/debian/source/format: scripts from Debian package 1846 18472009-12-31 Thomas E. Dickey <tom@invisible-island.net> 1848 1849 * config.guess: update to 2009-12-30 1850 1851 * config.sub: update to 2009-12-31 1852 18532009-10-27 Thomas E. Dickey <tom@invisible-island.net> 1854 1855 * VERSION: 20091027 1856 1857 * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c: 1858 strict compiler warnings 1859 18602009-10-26 Thomas E. Dickey <tom@invisible-island.net> 1861 1862 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 1863 resync 1864 1865 * main.c, defs.h: introduce some typedefs for portability, etc. 1866 1867 * makefile.in: 1868 don't remove "*.log" in mostlyclean rule since it interferes with regression 1869 script. 1870 1871 * configure: regen 1872 1873 * aclocal.m4: resync with my-autoconf 1874 18752009-08-25 Thomas E. Dickey <tom@invisible-island.net> 1876 1877 * config.guess, config.sub: update to 2009-08-19 1878 18792009-02-21 Thomas E. Dickey <tom@invisible-island.net> 1880 1881 * VERSION: bump 1882 1883 * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25 1884 18852008-12-26 Thomas E. Dickey <tom@invisible-island.net> 1886 1887 * configure: regen with autoconf-2.52 (patched) 1888 18892008-12-25 Thomas E. Dickey <tom@invisible-island.net> 1890 1891 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c: 1892 regenerated 1893 18942008-12-24 Thomas E. Dickey <tom@invisible-island.net> 1895 1896 * VERSION: bump 1897 1898 * skeleton.c: 1899 remove ifdef-lint from goto yyerrlab, to quiet gcc warning 1900 19012008-11-26 Thomas E. Dickey <tom@invisible-island.net> 1902 1903 * verbose.c, main.c, defs.h, mkpar.c, reader.c: 1904 completed implementation of "%expect" (report by Perry E. Metzger). 1905 add "%expect-rr", which is (unlike bison) allowable in LALR parsers. 1906 19072008-11-24 Thomas E. Dickey <tom@invisible-island.net> 1908 1909 * 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: 1910 change indent-style (request by Perry E. Metzger) 1911 19122008-08-27 Thomas E. Dickey <tom@invisible-island.net> 1913 1914 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1915 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro 1916 1917 * VERSION: bump 1918 1919 * skeleton.c: 1920 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro 1921 1922 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c: 1923 change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's. 1924 1925 * configure: regen'd 1926 1927 * configure.in: add -Wwrite-strings to warnings 1928 1929 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 1930 add YYPARSE_PARAM and YYPARSE_PARAM_TYPE 1931 1932 * skeleton.c: 1933 add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features. 1934 1935 * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c: 1936 fixes for gcc -Wwrite-strings 1937 1938 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1939 generate the tables as static-const (this is an interface change) 1940 1941 * output.c: realign columns in start_table() 1942 1943 * output.c: 1944 generate the tables as static-const (this is an interface change) 1945 1946 * output.c: reorder functions to eliminate forward-references 1947 1948 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1949 remove 'register' keywords 1950 19512008-08-26 Thomas E. Dickey <tom@invisible-island.net> 1952 1953 * 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: 1954 remove 'register' keywords 1955 19562008-08-25 Thomas E. Dickey <tom@invisible-island.net> 1957 1958 * test/ftp.tab.c: regen'd 1959 1960 * reader.c: 1961 improve the left-curly fix by testing after blanks, to avoid having a 1962 " {" at the beginning of a line. 1963 1964 * test/error.tab.c, test/grammar.tab.c: regen'd 1965 1966 * output.c: 1967 move the remaining newline-counting into write_XXX functions. 1968 1969 * test/calc.tab.c: regen'd 1970 1971 * output.c: 1972 simplify part of the output_file formatting using new functions, e.g., 1973 start_int_table(), output_newline(). 1974 1975 * reader.c: 1976 modify copy_action() to indent the first character, it if is is left-curly 1977 brace. That makes the output look more like the original, as well as makes 1978 it simpler to edit (not confuse editors which look for a left-curly in the 1979 first column as if it were the beginning of a function). 1980 1981 * skeleton.c: minor fixes to avoid gcc -Wconversion warnings 1982 1983 * output.c: align the #define's produced for "-p" option 1984 1985 * test/run_test.sh: use the "-p" option for better coverage. 1986 1987 * output.c: simplify output_prefix() with new define_prefixed() 1988 1989 * skeleton.c: include string.h, for memset() 1990 change stack size to unsigned to fix gcc -Wconversion warnings. 1991 1992 * VERSION: bump to 2008/8/25 1993 1994 * makefile.in: add dependency on VERSION file. 1995 19962008-08-24 Thomas E. Dickey <tom@invisible-island.net> 1997 1998 * VERSION: bump 1999 2000 * lalr.c: improved memory-leak checking by freeing data in includes[] 2001 2002 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c: 2003 update to match skeleton-change 2004 2005 * configure: regen'd 2006 2007 * skeleton.c: Add fix for stack discussed 2008 http://undeadly.org/cgi?action=article&sid=20080708155228 2009 and applied 2010 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29 2011 2012 * aclocal.m4: resync with my-autoconf (no major changes) 2013 20142008-07-24 Thomas E. Dickey <tom@invisible-island.net> 2015 2016 * package/pkgsrc/Makefile, package/pkgsrc/distinfo: 2017 scripts from NetBSD pkgsrc, for test-builds 2018 20192008-03-14 Thomas E. Dickey <tom@invisible-island.net> 2020 2021 * config.sub: update to 2008-03-08 2022 2023 * config.guess: update to 2008-03-12 2024 20252007-05-09 Thomas E. Dickey <tom@invisible-island.net> 2026 2027 * main.c: close graph, verbose files if opened, on exit. 2028 2029 * main.c: 2030 audit memory leaks - valgrind reported some memory still in use on exit. 2031 2032 * lalr.c, output.c, reader.c, mkpar.c, lr0.c: 2033 add hook for auditing memory leaks 2034 2035 * defs.h: add hooks for auditing memory leaks 2036 2037 * configure: regen'd 2038 2039 * configure.in: 2040 use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind, 2041 --with-dbmalloc and --with-dmalloc 2042 2043 * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND 2044 2045 * aclocal.m4: improve version-checking in CF_GCC_VERSION 2046 rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro 2047 2048 * VERSION: 2007/5/9 2049 2050 * main.c: file_prefix did not always have a trailing null. 2051 20522007-03-25 Thomas E. Dickey <tom@invisible-island.net> 2053 2054 * mkdirs.sh: improved version for "make -j" 2055 20562006-12-22 Thomas E. Dickey <tom@invisible-island.net> 2057 2058 * config.guess: update to 2006/12/22 2059 20602006-12-08 Thomas E. Dickey <tom@invisible-island.net> 2061 2062 * config.sub: update to 2006/12/08 2063 20642005-08-13 Thomas E. Dickey <tom@invisible-island.net> 2065 2066 * main.c: add -V to usage message 2067 2068 * makefile.in: remove -t option from ctags 2069 2070 * VERSION: 2005/8/13 2071 20722005-08-13 schmitz 2073 2074 * main.c: Sylvain Schmitz: 2075 modify the '-o' option to work like bison's, which sets the file-prefix. 2076 20772005-08-13 Matt.Kraai 2078 2079 * output.c: 2080 Debian #322858 (don't close union_file, which contained data). 2081 This feature is used in groff. 2082 20832005-08-13 Thomas E. Dickey <tom@invisible-island.net> 2084 2085 * configure: regenerated 2086 2087 * aclocal.m4: improve checks for Intel compiler warnings 2088 20892005-06-25 Thomas E. Dickey <tom@invisible-island.net> 2090 2091 * config.sub: update to 2005/6/2 2092 2093 * config.guess: update to 2005/5/27 2094 20952005-05-05 Thomas E. Dickey <tom@invisible-island.net> 2096 2097 * defs.h: add a fallback for GCC_UNUSED 2098 20992005-05-04 Thomas E. Dickey <tom@invisible-island.net> 2100 2101 * makefile.in: add "." to include-path to pickup config.h 2102 2103 * reader.c: 2104 apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617. 2105 2106 * output.c: 2107 correct a limit check in pack_vector() - report/analysis by William Evans 2108 2109 * main.c: 2110 exit after printing version. Otherwise "yacc -V" will exit with an erro 2111 after printing the usage message. 2112 2113 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 2114 regenerated after skeleton-changes 2115 2116 * skeleton.c: replace a few -1's with YYEMPTY 2117 2118 * skeleton.c: 2119 delete yynewerror (no one uses it any more, and it just makes compiler warnings) 2120 2121 * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD 2122 2123 * test/run_test.sh: 2124 filter out lines with YYPATCH, since that will change with each update 2125 2126 * yacc.1: add -V option 2127 2128 * main.c: add -V option to print the version. 2129 simplify option-parsing by moving the duplicate logic for setting flags into 2130 new function setflag(). 2131 2132 * skeleton.c: 2133 move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers). 2134 add YYPATCH here so it can be tested by applications. 2135 2136 * defs.h: 2137 add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and 2138 YYPATCH symbols. 2139 2140 * lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c: 2141 reduce externs by making static the procedures that are not referenced outside 2142 the module in which they are defined. 2143 2144 * makefile.in: 2145 the VERSION file holds the patch-date. Define YYPATCH, so this will be 2146 compiled into the skeleton. 2147 2148 * VERSION: patch-level for byacc 2149 2150 * main.c: 2151 add "-o" to usage message. It is too long for a single line; rewrite usage() 2152 to show one option per line. 2153 21542005-05-03 Thomas E. Dickey <tom@invisible-island.net> 2155 2156 * main.c: add -o option, to work with scripts that assume bison. 2157 simplify create_file_names() with a macro. 2158 simplify done() with a macro. 2159 adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by 2160 onintr(), do not flush output via exit(), but use _exit() instead. 2161 2162 * defs.h: remove unnecessary externs for main.c 2163 2164 * yacc.1: add -o option 2165 2166 * graph.c: remove unused parameter 2167 2168 * mkpar.c, defs.h, reader.c: 2169 add support for "%expect", a bison feature from FreeBSD sources 2170 2171 * 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: 2172 indent'd 2173 2174 * configure: regenerated for 2005/5/5 2175 2176 * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER) 2177 21782005-04-27 schmitz 2179 2180 * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1: 2181 Sylvain Schmitz <schmitz@i3s.unice.fr>: 2182 add graphical output of the LALR(1) automaton for graphviz, 2183 associated with command-line option `-g' 2184 21852005-04-16 Thomas E. Dickey <tom@invisible-island.net> 2186 2187 * config.sub: update to 2005/2/10 2188 2189 * config.guess: update to 2005/3/24 2190 21912005-04-13 Thomas E. Dickey <tom@invisible-island.net> 2192 2193 * package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds 2194 21952005-03-21 Thomas E. Dickey <tom@invisible-island.net> 2196 2197 * package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds 2198 21992004-03-28 Thomas E. Dickey <tom@invisible-island.net> 2200 2201 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 2202 updates due to adding yyparse() prototype 2203 2204 * configure: RCS_BASE 2205 2206 * configure.in: 2207 add AC_ARG_PROGRAM to make --program-prefix, etc., work. 2208 2209 * makefile.in: first cut of script to support --program-prefix 2210 2211 * configure.in: 2212 reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52 2213 2214 * makefile.in: modify so DESTDIR works 2215 2216 * makefile.in: use EXEEXT and OBJEXT 2217 2218 * configure.in: use CF_PROG_EXT 2219 generate a config.h 2220 2221 * defs.h: make this use the generated config.h 2222 2223 * skeleton.c: add a forward-reference for yyparse() 2224 2225 * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT 2226 2227 * yacc.1: remove the discussion of TMPDIR since it is obsolete 2228 2229 * skeleton.c: fix a couple of minor compiler-warnings in the skeleton 2230 2231 * defs.h: remove action_file_name, etc., since we use tmpfile() now. 2232 2233 * main.c: 2234 use tmpfile() for opening the working files. This quiets a warning 2235 advising the use of mkstemp(). 2236 2237 * output.c: 2238 Do not close temporary-files here, since they are opened with tmpfile(). 2239 Just rewind them, and they're ready to read back the data stored in them. 2240 2241 * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE 2242 2243 * test/yacc/grammar.output, test/yacc/grammar.tab.h: 2244 reference output for testing 2245 2246 * makefile.in: turn on "make check" rule 2247 2248 * test/calc.output: RCS_BASE 2249 2250 * test/yacc/calc.output: reference output for testing 2251 2252 * test/run_test.sh, test/calc.tab.h: RCS_BASE 2253 2254 * test/yacc/calc.tab.h: reference output for testing 2255 2256 * test/ftp.tab.c: yyparse() is now yyparse(void) 2257 2258 * test/calc.tab.c: RCS_BASE 2259 2260 * test/error.tab.c: yyparse() is now yyparse(void) 2261 2262 * test/README: RCS_BASE 2263 2264 * yacc.1: various typography fixes prompted by Debian #100947 2265 2266 * aclocal.m4, makefile.in, configure.in: RCS_BASE 2267 2268 * README: updated to note that this is not the original 2269 22702004-03-24 Thomas E. Dickey <tom@invisible-island.net> 2271 2272 * test/grammar.y: RCS_BASE 2273 22742004-02-23 Thomas E. Dickey <tom@invisible-island.net> 2275 2276 * config.sub: RCS_BASE 2277 22782004-02-17 Thomas E. Dickey <tom@invisible-island.net> 2279 2280 * config.guess: RCS_BASE 2281 22822003-11-29 Thomas E. Dickey <tom@invisible-island.net> 2283 2284 * install-sh: improved quoting 2285 22862002-06-29 Thomas E. Dickey <tom@invisible-island.net> 2287 2288 * mkdirs.sh: 2289 don't use character range, since some locales don't work as expected 2290 22912001-06-22 Thomas E. Dickey <tom@invisible-island.net> 2292 2293 * install-sh: RCS_BASE 2294 22952000-11-20 Thomas E. Dickey <tom@invisible-island.net> 2296 2297 * test/calc.y: RCS_BASE 2298 2299 * test/code_calc.y, test/pure_calc.y: copy of calc.y 2300 2301 * vmsbuild.com: original version 2302 23032000-02-23 dickey 2304 2305 * test/RCS, RCS: PERMIT FILE 2306 23072000-02-14 Thomas E. Dickey <tom@invisible-island.net> 2308 2309 * main.c: fix for VMS port - making pathname for temp-file 2310 2311 * descrip.mms: original version 2312 23132000-02-13 Thomas E. Dickey <tom@invisible-island.net> 2314 2315 * 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: 2316 ansify 2317 23181999-11-30 Thomas E. Dickey <tom@invisible-island.net> 2319 2320 * mkdirs.sh: RCS_BASE 2321 23221995-01-01 Thomas E. Dickey <tom@invisible-island.net> 2323 2324 * config_h.in: RCS_BASE 2325 23261993-12-23 unknown 2327 2328 * README.DOS, main.c: MSDOS-port 2329 23301993-12-22 unknown 2331 2332 * reader.c, defs.h: MSDOS-port 2333 23341993-03-02 unknown 2335 2336 * README: original version 2337 23381993-02-22 unknown 2339 2340 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE 2341 23421993-02-22 Thomas E. Dickey <tom@invisible-island.net> 2343 2344 * test/yacc/error.output, test/yacc/error.tab.h: 2345 reference output for testing 2346 23471993-02-22 unknown 2348 2349 * test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE 2350 2351 * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES: 2352 original version 2353 23541992-10-12 unknown 2355 2356 * yacc.1: original version 2357 23581992-10-11 unknown 2359 2360 * defs.h: original version 2361 23621991-01-20 unknown 2363 2364 * mkpar.c, verbose.c: original version 2365 23661991-01-14 unknown 2367 2368 * lr0.c, Makefile, Makefile.old: original version 2369 23701990-07-16 unknown 2371 2372 * NEW_FEATURES: original version 2373 23741990-06-03 unknown 2375 2376 * ACKNOWLEDGEMENTS: original version 2377 23781990-02-05 unknown 2379 2380 * symtab.c, lalr.c, error.c: original version 2381 23821990-01-16 Thomas E. Dickey <tom@invisible-island.net> 2383 2384 * test/code_error.y, test/pure_error.y: RCS_BASE 2385 23861990-01-16 unknown 2387 2388 * test/error.y: RCS_BASE 2389 23901989-11-22 unknown 2391 2392 * NO_WARRANTY: original version 2393 23941989-09-23 unknown 2395 2396 * test/ftp.y: RCS_BASE 2397 2398