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