12023-02-01 Thomas E. Dickey <dickey@invisible-island.net> 2 3 * configure: regen 4 5 * configure.in: initialize $ac_includes_default 6 7 * VERSION, package/byacc.spec, package/debian/changelog, 8 package/debian/copyright, package/mingw-byacc.spec, 9 package/pkgsrc/Makefile: 10 bump 11 122023-01-05 Thomas E. Dickey <dickey@invisible-island.net> 13 14 * aclocal.m4: resync with my-autoconf 15 162022-12-29 Thomas E. Dickey <dickey@invisible-island.net> 17 18 * configure: regen 19 20 * configure.in: 21 correct help-message for --disable-btyacc option, and fix the reporting of 22 the selected option value in the configure script's output (report by Daniel 23 Weaver) 24 25 * VERSION, package/byacc.spec, package/debian/changelog, 26 package/mingw-byacc.spec, package/pkgsrc/Makefile: 27 bump 28 292022-12-02 Thomas E. Dickey <dickey@invisible-island.net> 30 31 * aclocal.m4: resync with my-autconf 32 332022-11-06 Thomas E. Dickey <dickey@invisible-island.net> 34 35 * test/run_test.sh: use context diff, to work with AIX 36 37 * defs.h: 38 fprintf_lineno might be passed a null, when reading from stdin - show "(null)" 39 40 * makefile.in, test/run_make.sh, test/run_test.sh, test/run_lint.sh: 41 fgrep-fixes 42 43 * yacc.1: mention use of stderr/stdout for usage/debugging 44 45 * yacc.1: document %empty 46 47 * yacc.1: document %debug 48 49 * yacc.1: minor fixes with check-manpage 50 51 * VERSION, package/byacc.spec, package/debian/changelog, 52 package/mingw-byacc.spec, package/pkgsrc/Makefile: 53 bump 54 552022-10-02 Thomas E. Dickey <dickey@invisible-island.net> 56 57 * configure: regen 58 59 * aclocal.m4: resync with my-autoconf 60 612022-08-01 Thomas E. Dickey <dickey@invisible-island.net> 62 63 * config.guess, config.sub: 2022-08-01 64 652022-01-28 Thomas E. Dickey <dickey@invisible-island.net> 66 67 * package/debian/copyright: update, fix typo 68 69 * package/debian/rules, package/debian/control: 70 adapt from current Debian package 71 72 * configure: regen 73 74 * configure.in: 75 change default for the backtracking option to match the most-common usage 76 of byacc 77 78 * VERSION, package/byacc.spec, package/debian/changelog, 79 package/mingw-byacc.spec, package/pkgsrc/Makefile: 80 update packaging, renaming debian folder back to its original location to 81 verify that the version-mangling used in the accepted Debian package will work 82 with the continuous-integration system. 83 842022-01-18 Thomas E. Dickey <dickey@invisible-island.net> 85 86 * package/debian/watch: adapt from current Debian package 87 882022-01-14 Thomas E. Dickey <dickey@invisible-island.net> 89 90 * VERSION, package/byacc.spec, package/detest/changelog, 91 package/mingw-byacc.spec, package/pkgsrc/Makefile: 92 bump 93 942022-01-09 Thomas E. Dickey <dickey@invisible-island.net> 95 96 * package/detest/changelog: build-script 97 98 * package/debian/changelog: 99 update to use oldstable-compatible rules/config, for testing version upgrade 100 101 * package/detest/watch: build-script 102 103 * package/debian/watch: 104 update to use oldstable-compatible rules/config, for testing version upgrade 105 106 * package/detest/control: build-script 107 108 * package/debian/control: 109 update to use oldstable-compatible rules/config, for testing version upgrade 110 111 * package/byacc.spec, package/mingw-byacc.spec: 112 use rpmlint, etc., to "update" these to follow Redhat7 and later. 113 due to incompatbilities in that route, this package will not build with #6. 114 115 * reader.c, output.c: 116 change a few malloc's to calloc's so clang analyzer can see initialized data 117 118 * closure.c: 119 modify address computation in closure.c to avoid undefined behavior on 120 machines which do not support large offsets (analysis/patch by Jessica Clarke, 121 cf: 2014-09-17) 122 123 * VERSION, package/byacc.spec, package/debian/changelog, 124 package/mingw-byacc.spec, package/pkgsrc/Makefile: 125 bump 126 1272022-01-08 Thomas E. Dickey <dickey@invisible-island.net> 128 129 * package/detest/copyright, package/detest/rules: build-script 130 131 * package/debian/copyright, package/debian/rules: 132 update to use oldstable-compatible rules/config, for testing version upgrade 133 1342022-01-02 Thomas E. Dickey <dickey@invisible-island.net> 135 136 * package/debian/control: minor fixes adapted from btyacc package 137 138 * package/debian/byacc.docs: RCS_BASE 139 140 * package/detest/byacc.docs: build-script 141 142 * package/debian/byacc2.prerm: RCS_BASE 143 144 * package/detest/byacc2.prerm: build-script 145 146 * package/debian/byacc2.postinst: RCS_BASE 147 148 * package/detest/byacc2.postinst: build-script 149 150 * package/debian/byacc.postinst: RCS_BASE 151 152 * package/detest/byacc.postinst: build-script 153 154 * package/debian/byacc.prerm: RCS_BASE 155 156 * package/detest/byacc.prerm: build-script 157 158 * VERSION, package/byacc.spec, package/debian/changelog, 159 package/mingw-byacc.spec, package/pkgsrc/Makefile: 160 bump 161 1622022-01-01 Thomas E. Dickey <dickey@invisible-island.net> 163 164 * test/run_test.sh: 165 adjust to ignore NetBSD's difference in getopt warnings. 166 167 * package/pkgsrc/Makefile: resync with pkgsrc 168 169 * test/yacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.c: regen 170 171 * test/expr.oxout.y, test/expr.oxout.h: fix gcc warnings 172 173 * test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h: regen 174 175 * test/run_make.sh: workaround for compiling the expr.oxout.y files 176 177 * test/expr.oxout.y: fix syntax error 178 179 * test/btyacc/expr.oxout.tab.c: regen 180 181 * test/expr.oxout.h: RCS_BASE 182 183 * test/yacc/expr.oxout.tab.c: fix syntax error 184 185 * test/btyacc/expr.oxout.tab.c: regen, s/expr.oxout/expr_oxout/g 186 187 * test/btyacc/expr.oxout.tab.h: regen 188 189 * test/run_test.sh: 190 filter the default prefix to change "." to "_", so that the generated 191 files will compile consistently with run_make.sh 192 193 * package/debian/control, package/debian/prerm, package/debian/postinst: 194 add "byacc2" as an alternative for "yacc" 195 196 * package/byacc.spec, package/debian/control, package/debian/rules: 197 rename "btyacc" to "byacc2" to co-exist with traditional "btyacc" package 198 199 * package/debian/copyright, VERSION, package/byacc.spec, 200 package/debian/changelog, package/mingw-byacc.spec, 201 package/pkgsrc/Makefile: 202 bump 203 2042021-12-24 Thomas E. Dickey <dickey@invisible-island.net> 205 206 * package/debian/rules: fixes from Debian package for lintian warnings 207 208 * package/debian/control: updates for Debian standard 209 210 * VERSION, package/byacc.spec, package/debian/changelog, 211 package/mingw-byacc.spec, package/pkgsrc/Makefile: 212 bump 213 214 * package/debian/byacc2.docs: RCS_BASE 215 216 * package/detest/byacc2.docs: build-script 217 218 * package/debian/docs, package/debian/copyright, package/debian/control: 219 errata from Debian package 220 221 * config.sub: 2021-12-24 222 From: Dmitry V. Levin <ldv@altlinux.org> 223 config.sub: alias aarch64le to aarch64 224 225 Apparently, QNX reports aarch64 as aarch64le on little-endian machines. 226 227 * config.sub (aarch64le-*): Set cpu to aarch64. 228 (timestamp): Update. 229 * doc/config.sub.1: Regenerate. 230 * testsuite/config-sub.data (aarch64le-qnx): New test. 231 232 Reported-by: Elad Lahav <e2lahav@gmail.com> 233 Link: https://lists.gnu.org/archive/html/config-patches/2021-12/msg00009.html 234 2352021-12-16 Thomas E. Dickey <dickey@invisible-island.net> 236 237 * configure: regen 238 239 * aclocal.m4: resync with my-autoconf 240 2412021-12-13 Thomas E. Dickey <dickey@invisible-island.net> 242 243 * config.sub: 2021-10-27 244 From: Dmitry V. Levin <ldv@altlinux.org> 245 config.sub: fix typo in timestamp 246 247 * config.sub: Fix timestamp. 248 * doc/config.sub.1: Regenerate. 249 250 Reported-by: Jordi Sanfeliu <jordi@fibranet.cat> 251 Fixes: a013aac61edfa2a03727521508286480010e7bf3 252 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 253 2542021-11-30 Thomas E. Dickey <dickey@invisible-island.net> 255 256 * config.guess: 2021-11-30 257 From: Andreas F. Borchert <github@andreas-borchert.de> 258 config.guess: x86_64-pc-solaris2.11 is not properly recognized 259 260 config.guess guesses Solaris 11 to run on a 32-bit platform 261 despite Solaris 11 no longer supporting any 32-bit platform. 262 263 See the following code at lines 434 to 445: 264 265 | SUN_ARCH=i386 266 | # If there is a compiler, see if it is configured for 64-bit objects. 267 | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. 268 | # This test works for both compilers. 269 | if test "$CC_FOR_BUILD" != no_compiler_found; then 270 | if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ 271 | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ 272 | grep IS_64BIT_ARCH >/dev/null 273 | then 274 | SUN_ARCH=x86_64 275 | fi 276 | fi 277 278 If "cc" is installed, i.e. the Oracle Studio compiler, this one is 279 chosen for $CC_FOR_BUILD. This compiler, the gcc provided by Oracle 280 and also gcc bootstrapped from sources on that platform with a default 281 configuration will by default generate 32-bit binaries -- even on 282 a 64-bit platform. And __amd64 will not be defined for compilations 283 targeting a 32-bit platform. This is different from the corresponding 284 behaviour on GNU/Linux systems where the local platform is targeted by 285 default. 286 287 Thus, as long as you do not add "-m64" or if you have a custom-built 288 gcc which defaults to 64 bit, you will get 32-bit binaries on Solaris 289 despite living on a 64-bit platform. 290 291 * config.guess (i86pc:SunOS:5.*:* || i86xen:SunOS:5.*:*): Adapt the 292 test by adding the "-m64" flag. This will work properly for Solaris 293 10 as well (the last Solaris release that supported x86 32-bit 294 platforms). 295 * doc/config.guess.1: Regenerate. 296 297 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 298 2992021-10-27 Thomas E. Dickey <dickey@invisible-island.net> 300 301 * config.guess: 2021-10-27 302 From: Jordi Sanfeliu <jordi@fibranet.cat> 303 Recognize Fiwix 304 305 $ make check 306 cd testsuite && bash config-guess.sh && rm uname 307 PASS: config.guess checks (137 tests) 308 cd testsuite && bash config-sub.sh 309 PASS: config.sub checks (882 tests) 310 PASS: config.sub idempotency checks (819 tests) 311 PASS: config.sub canonicalise each config.guess testcase (137 tests) 312 313 * config.guess (i*86:Fiwix:*:*): Recognize. 314 * config.sub (fiwix*): Likewise. 315 * doc/config.guess.1: Regenerate. 316 * doc/config.sub.1: Likewise. 317 * testsuite/config-guess.data: Add a test case for Fiwix. 318 * testsuite/config-sub.data (i386-fiwix): New test. 319 320 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 321 322 * config.sub: 2021-20-27 323 From: Jordi Sanfeliu <jordi@fibranet.cat> 324 Recognize Fiwix 325 326 $ make check 327 cd testsuite && bash config-guess.sh && rm uname 328 PASS: config.guess checks (137 tests) 329 cd testsuite && bash config-sub.sh 330 PASS: config.sub checks (882 tests) 331 PASS: config.sub idempotency checks (819 tests) 332 PASS: config.sub canonicalise each config.guess testcase (137 tests) 333 334 * config.guess (i*86:Fiwix:*:*): Recognize. 335 * config.sub (fiwix*): Likewise. 336 * doc/config.guess.1: Regenerate. 337 * doc/config.sub.1: Likewise. 338 * testsuite/config-guess.data: Add a test case for Fiwix. 339 * testsuite/config-sub.data (i386-fiwix): New test. 340 341 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 342 3432021-10-18 Thomas E. Dickey <dickey@invisible-island.net> 344 345 * config.sub: 2021-08-14 346 From: Kinshuk Dua <kinshukdua@gmail.com> 347 config.sub: Fix typo in comment 348 349 Fixes: 5e531d391852a54e7fab2d8ff55625fca514b305 350 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 351 3522021-08-14 Thomas E. Dickey <dickey@invisible-island.net> 353 354 * config.sub: 2021-08-14 355 From: Nick Bowler <nbowler@draconx.ca> 356 config.sub: work around command assignment bug in some shells 357 358 When combining variable assignments with a shell command, some older 359 shells (notably heirloom-sh and presumably also Solaris 10 /bin/sh) 360 have a bug which causes the assignment to alter the current execution 361 environment whenever the command is a shell built-in. For example: 362 363 % dash -c 'x=good; x=bad echo >/dev/null; echo $x' 364 good 365 366 % jsh -c 'x=good; x=bad echo >/dev/null; echo $x' 367 bad 368 369 The config.sub script contains a few commands of the form: 370 371 IFS=- read ... 372 373 which triggers this bug, causing the IFS assignment to persist for the 374 remainder of the script. This can cause misbehaviour in certain cases, 375 for example: 376 377 % jsh config.sub i386-linux-gnu 378 config.sub: test: unknown operator gnu 379 380 % jsh config.sub i386-gnu/linux 381 sed: can't read s|gnu/linux|gnu|: No such file or directory 382 Invalid configuration `i386-gnu/linux': OS `' not recognized 383 384 * config.sub: Save and restore IFS explicitly to avoid shell bugs. 385 * doc/config.sub.1: Regenerate. 386 387 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 388 3892021-08-08 Thomas E. Dickey <dickey@invisible-island.net> 390 391 * reader.c: 392 fix memory-leak when replacing $$'s in destructor code (report/testcase 393 by Boris Kolpackov). 394 395 * main.c: account for a memory-leak 396 397 * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, 398 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, 399 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, 400 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, 401 test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, 402 test/btyacc/calc_code_default.tab.c, 403 test/btyacc/calc_code_imports.tab.c, 404 test/btyacc/calc_code_provides.tab.c, 405 test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, 406 test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, 407 test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, 408 test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c, 409 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, 410 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, 411 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, 412 test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, 413 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, 414 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, 415 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, 416 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 417 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, 418 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, 419 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, 420 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, 421 test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c, 422 test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c, 423 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, 424 test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c, 425 test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, 426 test/yacc/calc_code_provides.tab.c, 427 test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, 428 test/yacc/code_calc.code.c, test/yacc/code_error.code.c, 429 test/yacc/defines1.calc.c, test/yacc/defines2.calc.c, 430 test/yacc/defines3.calc.c, test/yacc/empty.tab.c, 431 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, 432 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, 433 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, 434 test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, 435 test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, 436 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, 437 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, 438 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, 439 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, 440 test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c, 441 test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c, 442 test/yacc/varsyntax_calc1.tab.c, btyaccpar.c, yaccpar.c: 443 regen 444 445 * btyaccpar.skel, yaccpar.skel: 446 revert change to initialization of yystate, which confuses gcc, making a 447 different warning 448 449 * VERSION, package/byacc.spec, package/debian/changelog, 450 package/mingw-byacc.spec, package/pkgsrc/Makefile: 451 bump 452 4532021-08-04 Thomas E. Dickey <dickey@invisible-island.net> 454 455 * config.sub: 2021-08-04 456 From: Jeremy Soller <jackpot51@gmail.com> 457 config.sub: add Linux Relibc Target 458 459 $ make check 460 cd testsuite && bash config-guess.sh && rm uname 461 PASS: config.guess checks (136 tests) 462 cd testsuite && bash config-sub.sh 463 PASS: config.sub checks (881 tests) 464 PASS: config.sub idempotency checks (818 tests) 465 PASS: config.sub canonicalise each config.guess testcase (136 tests) 466 467 * config.sub (relibc*): Recognize. 468 * doc/config.sub.1: Regenerate. 469 * testsuite/config-sub.data (x86_64-linux-relibc): New test. 470 471 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 472 4732021-08-02 Thomas E. Dickey <dickey@invisible-island.net> 474 475 * main.c, yacc.1: add "-h" option 476 477 * yacc.1: fix date 478 479 * test/btyacc/no_b_opt.error, test/btyacc/no_output2.error, 480 test/btyacc/no_p_opt.error, test/btyacc/big_b.error, 481 test/btyacc/big_l.error, test/btyacc/help.error, 482 test/btyacc/nostdin.error, test/yacc/big_b.error, 483 test/yacc/big_l.error, test/yacc/help.error, test/yacc/no_b_opt.error, 484 test/yacc/no_output2.error, test/yacc/no_p_opt.error, 485 test/yacc/nostdin.error: 486 regen 487 488 * main.c: 489 map any of bison's long-options which have a corresponding yacc option 490 into the latter, without depending upon getopt_long(). 491 492 * main.c: suggested patch: 493 From: Boris Kolpackov <boris@codesynthesis.com> 494 Subject: Re: [PATCH] support bison's --defines and --output options in byacc 495 496 * VERSION, package/byacc.spec, package/debian/changelog, 497 package/mingw-byacc.spec, package/pkgsrc/Makefile: 498 bump 499 5002021-08-01 Thomas E. Dickey <dickey@invisible-island.net> 501 502 * test/btyacc/inherit2.tab.c, test/btyacc/btyacc_destroy2.tab.c, 503 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/err_inherit3.tab.c, 504 test/btyacc/err_inherit4.tab.c, test/btyacc/btyacc_demo.tab.c, 505 test/btyacc/btyacc_destroy1.tab.c: 506 regen 507 508 * output.c: 509 fix a misplaced #line, which was after a generated line in the code-file 510 511 * test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, 512 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, 513 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, 514 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, 515 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, 516 test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax18.tab.c, 517 test/yacc/err_syntax20.tab.c, test/yacc/expr.oxout.tab.c, 518 test/yacc/grammar.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, 519 test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, 520 test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c, 521 test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c, 522 test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, 523 test/yacc/code_calc.code.c, test/yacc/defines1.calc.c, 524 test/yacc/defines2.calc.c, test/yacc/defines3.calc.c, 525 test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c: 526 regen 527 528 * output.c: 529 add a state-machine to output_semantic_actions() to detect and replace 530 the "#line" directives added by Roland Illig's change, making them show 531 the actual line-numbers in the code-file. 532 533 * test/btyacc/pure_calc.tab.c, test/btyacc/quote_calc-s.tab.c, 534 test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, 535 test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, 536 test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, 537 test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, 538 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, 539 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, 540 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, 541 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, 542 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, 543 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, 544 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, 545 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, 546 test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, 547 test/btyacc/calc_code_default.tab.c, 548 test/btyacc/calc_code_imports.tab.c, 549 test/btyacc/calc_code_provides.tab.c, 550 test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, 551 test/btyacc/code_calc.code.c, test/btyacc/defines1.calc.c, 552 test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c, 553 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, 554 test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c: 555 regen 556 557 * reader.c: 558 adapt a patch by Roland Illig which added #line directives with dummy 559 filename and line number, because the debug information was incorrect. 560 The actual fix (see output_semantic_actions) is to emit #line directives 561 which correspond to the code-file. 562 563 * reader.c: simplify an ifdef so I can balance {/} 564 565 * output.c: use new macro 566 567 * defs.h: add fprintf_lineno macro 568 569 * reader.c: 570 make that a little simpler - but I see that this should be using the 571 code-file's line-numbering rather than "" 572 573 * reader.c: 574 make that into a macro, and add a begin_case() to more/less match (the 575 #line's are not together in some btyacc cases...) 576 577 * VERSION, package/byacc.spec, package/debian/changelog, 578 package/mingw-byacc.spec, package/pkgsrc/Makefile: 579 bump 580 5812021-07-14 Thomas E. Dickey <dickey@invisible-island.net> 582 583 * reader.c: From: Roland Illig <roland.illig@gmx.de> 584 Subject: small patch for byacc 585 ... 586 this splits up "\nbreak;\n" output to put #line directives after first "\n" 587 5882021-07-06 Thomas E. Dickey <dickey@invisible-island.net> 589 590 * config.sub: 2021-07-06 591 From: Stephanos Ioannidis <root@stephanos.io> 592 config.sub: add Zephyr RTOS support 593 594 This adds the Zephyr RTOS targets in preparation for implementing the 595 Zephyr RTOS-specific toolchain support. 596 597 $ make check 598 cd testsuite && bash config-guess.sh && rm uname 599 PASS: config.guess checks (136 tests) 600 cd testsuite && bash config-sub.sh 601 PASS: config.sub checks (880 tests) 602 PASS: config.sub idempotency checks (817 tests) 603 PASS: config.sub canonicalise each config.guess testcase (136 tests) 604 605 * config.sub (zephyr*): Recognize. 606 * doc/config.sub.1: Regenerate. 607 * testsuite/config-sub.data: Add testcases for *-zephyr. 608 609 Signed-off-by: Stephanos Ioannidis <root@stephanos.io> 610 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 611 6122021-07-03 Thomas E. Dickey <dickey@invisible-island.net> 613 614 * config.sub: 2021-07-03 615 From: Ozkan Sezer <sezero@users.sourceforge.net> 616 config.sub: disable shellcheck SC2006 / SC2268 warnings 617 618 This is in line with the recent config.guess change in commit 619 12fcf67c9108f4c4b581eaa302088782f0ee40ea 620 621 * config.sub (shellcheck disable): Add SC2006,SC2268. 622 623 Suggested-by: Jacob Bachmeyer <jcb@gnu.org> 624 Signed-off-by: Ozkan Sezer <sezero@users.sourceforge.net> 625 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 626 627 * config.sub: 2021-07-03 628 From: Ozkan Sezer <sezero@users.sourceforge.net> 629 config.sub: normalize the quoting in the `echo FOO | sed ...` 630 631 Some cases quote the argument to echo and some do not. At runtime 632 it probably does not matter because the substituted values will never 633 contain whitespace, but quoting them all would make shellcheck more 634 useful. 635 636 * config.sub: Consistently quote the argument of echo. 637 * doc/config.sub.1: Regenerate. 638 639 Suggested-by: Jacob Bachmeyer <jcb@gnu.org> 640 Signed-off-by: Ozkan Sezer <sezero@users.sourceforge.net> 641 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 642 6432021-07-02 Thomas E. Dickey <dickey@invisible-island.net> 644 645 * config.sub: 2021-06-03 646 From: Ozkan Sezer <sezero@users.sourceforge.net> 647 config.sub: replace POSIX $( ) with classic ` ` throughout 648 649 This is in line with the recent config.guess change in commit 650 d70c4fa934de164178054c3a60aaa0024ed07c91. 651 652 The patch was generated using patch-6.gawk script introduced in that 653 commit. 654 655 * config.sub: Revert POSIX command substitutions to classic form. 656 657 Signed-off-by: Ozkan Sezer <sezero@users.sourceforge.net> 658 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 659 6602021-06-19 Thomas E. Dickey <dickey@invisible-island.net> 661 662 * configure: regen 663 664 * aclocal.m4: resync with my-autoconf 665 666 * test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, 667 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, 668 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax18.tab.c, 669 test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, 670 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, 671 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, 672 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, 673 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 674 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, 675 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, 676 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, 677 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, 678 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, 679 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, 680 test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, 681 test/btyacc/calc_code_default.tab.c, 682 test/btyacc/calc_code_imports.tab.c, 683 test/btyacc/calc_code_provides.tab.c, 684 test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, 685 test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, 686 test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, 687 test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c, 688 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, 689 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, 690 test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c, 691 btyaccpar.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c, 692 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, 693 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, 694 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, 695 test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax11.tab.c, 696 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, 697 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, 698 test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, 699 test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, 700 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, 701 test/yacc/quote_calc.tab.c, test/yacc/calc.tab.c, 702 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, 703 test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c, 704 test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c, 705 test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, 706 test/yacc/code_calc.code.c, test/yacc/code_error.code.c, 707 test/yacc/defines1.calc.c, test/yacc/defines2.calc.c, 708 test/yacc/defines3.calc.c, test/yacc/empty.tab.c, 709 test/yacc/err_syntax10.tab.c, test/yacc/rename_debug.c, 710 test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c, yaccpar.c: 711 regen 712 713 * btyaccpar.skel, yaccpar.skel: cancel unused assignments 714 715 * output.c: gcc warning 716 717 * test/run_test.sh, test/run_lint.sh, test/run_make.sh: 718 shellcheck-warnings 719 7202021-06-19 jannick0 721 722 * test/run_test.sh: changes suggested at 723 https://github.com/jannick0/byacc-snapshots/tree/YYINT-fix-20210520 724 7252021-06-19 Thomas E. Dickey <dickey@invisible-island.net> 726 727 * VERSION, package/byacc.spec, package/debian/changelog, 728 package/mingw-byacc.spec, package/pkgsrc/Makefile: 729 bump 730 7312021-06-13 Thomas E. Dickey <dickey@invisible-island.net> 732 733 * aclocal.m4: resync with my-autoconf 734 7352021-06-04 Thomas E. Dickey <dickey@invisible-island.net> 736 737 * config.guess: 2021-06-03 738 From: Vineet Gupta <Vineet.Gupta1@synopsys.com> 739 Recognize arc32 740 741 This is the 32-bit variant of ARCv3 ISA (which is not compatible with the 742 32-bit ARCv2 ISA) 743 744 | make check 745 | cd testsuite && bash config-guess.sh && rm uname 746 | PASS: config.guess checks (136 tests) 747 | cd testsuite && bash config-sub.sh 748 | PASS: config.sub checks (864 tests) 749 | PASS: config.sub idempotency checks (801 tests) 750 | PASS: config.sub canonicalise each config.guess testcase (136 tests) 751 752 * config.guess (arc32:Linux:*:*): Recognize. 753 * config.sub (arc32): Likewise. 754 * doc/config.guess.1: Regenerate. 755 * doc/config.sub.1: Likewise. 756 * testsuite/config-guess.data: Add a test case for arc32. 757 * testsuite/config-sub.data (arc32, arc*-elf): Add test cases. 758 759 Signed-off-by: Vineet Gupta <vgupta@synopsys.com> 760 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 761 762 * config.sub: 2021-06-03 (repaired) 763 From: Vineet Gupta <Vineet.Gupta1@synopsys.com> 764 Recognize arc32 765 766 This is the 32-bit variant of ARCv3 ISA (which is not compatible with the 767 32-bit ARCv2 ISA) 768 769 | make check 770 | cd testsuite && bash config-guess.sh && rm uname 771 | PASS: config.guess checks (136 tests) 772 | cd testsuite && bash config-sub.sh 773 | PASS: config.sub checks (864 tests) 774 | PASS: config.sub idempotency checks (801 tests) 775 | PASS: config.sub canonicalise each config.guess testcase (136 tests) 776 777 * config.guess (arc32:Linux:*:*): Recognize. 778 * config.sub (arc32): Likewise. 779 * doc/config.guess.1: Regenerate. 780 * doc/config.sub.1: Likewise. 781 * testsuite/config-guess.data: Add a test case for arc32. 782 * testsuite/config-sub.data (arc32, arc*-elf): Add test cases. 783 784 Signed-off-by: Vineet Gupta <vgupta@synopsys.com> 785 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 786 7872021-05-26 Thomas E. Dickey <dickey@invisible-island.net> 788 789 * config.guess: 2021-05-24 790 From: Jacob Bachmeyer <jcb@gnu.org> 791 config.guess: manual fixups after previous automatic patch 792 793 The tool could not handle command substitutions that span lines, but 794 fortunately there were only two such substitutions in the script. 795 796 The test for which universe is active on Pyramid is rewritten into a 797 case block because it was the only use of a command substitution as an 798 argument to the test command, which would require quoting. 799 800 * config.guess: Rewrite "if" for Pyramid systems to "case". 801 802 * config.guess: 2021-05-24 (repaired) 803 From: Jacob Bachmeyer <jcb@gnu.org> 804 config.guess: replace POSIX $( ) with classic ` ` throughout 805 806 The previous replacement of backticks with POSIX command substitutions 807 was ill-considered and illogical: this script recognizes many archaic 808 machine types that probably never had POSIX shells, therefore it needs 809 to be able to run successfully under pre-POSIX shells. 810 811 This patch was generated using the included GNU Awk program. 812 813 * config.guess: Revert POSIX command substitutions to classic form. 814 * patch-6.gawk: Store the tool that produced the automated patch. 815 8162021-05-25 Thomas E. Dickey <dickey@invisible-island.net> 817 818 * config.guess: 2021-05-24 (repaired) 819 From: Jacob Bachmeyer <jcb@gnu.org> 820 config.guess: manual fixup after previous automated patches 821 822 This patch provides the special handling for the GNU system. As these 823 were two small and unique edits, they were not included in the scripts. 824 825 This patch also cleans up other minor issues that must be addressed 826 before reverting to classic command substitutions and updates 827 "shellcheck" directives to account for changes in this script and the 828 change in "shellcheck" towards reporting individual portability issues. 829 830 * config.guess: 2021-05-24 (repaired) 831 From: Jacob Bachmeyer <jcb@gnu.org> 832 config.guess: automatic fixups after previous automated patch 833 834 This patch was generated using the following command: 835 836 sed -i config.guess \ 837 -e '/="[^"]\+"\(-\|$\)/s/="\([^"([:space:])]\+\)"/=\1/' \ 838 -e '/="[^"]\+"[[:alnum:]]/s/="\$\([^([:space:])]\+\)"/=${\1}/' \ 839 -e \ 840 '/\$(echo[^|]\+|/s/\([^[:space:]]\)[[:space:]]*|[[:space:]]*sed/\1 | sed/g' 841 842 * config.guess: Remove unneeded quotes in other variable assignments, 843 standardize spacing for "echo ... | sed" substitutions. 844 845 * config.guess: 2021-05-24 (repaired) 846 From: Jacob Bachmeyer <jcb@gnu.org> 847 config.guess: remove unneeded quotes and factor command substitutions 848 849 This is further cleanup and simplifies some constructs that can confuse 850 Emacs' syntax highlighting while generally reducing required quoting. 851 852 This patch was generated using the included GNU Awk program. 853 854 * config.guess: Remove unneeded variable quotes and factor out command 855 substitutions when setting GUESS. 856 * patch-3.gawk: Store the tool that produced the automated patch. 857 858 * config.guess: 2021-05-24 (repaired) 859 From: Jacob Bachmeyer <jcb@gnu.org> 860 config.guess: manual fixups after previous automatic patch 861 862 * config.guess: Adjust a few "leftover" cases that the tool could not 863 easily recognize and fixes comment indentation in a few other special 864 cases. 865 866 * config.guess: 2021-05-24 (repaired) 867 From: Jacob Bachmeyer <jcb@gnu.org> 868 config.guess: introduce intermediate variable with uname results 869 870 This will allow quoting to be significantly simplified in another 871 pass through the file. 872 873 * config.guess: Introduce GUESS variable to hold results of uname analysis. 874 875 * config.guess: 2021-05-24 (repaired) 876 From: Jacob Bachmeyer <jcb@gnu.org> 877 config.guess: use intermediate variable with uname results 878 879 This will allow quoting to be significantly simplified in another 880 pass through the file. 881 882 This patch was generated using the included GNU Awk program. 883 884 * config.guess: Use GUESS variable to hold results of uname analysis. 885 * patch-1.gawk: Store the tool that produced the automated patch. 886 8872021-05-24 Thomas E. Dickey <dickey@invisible-island.net> 888 889 * config.guess: 2021-05-24 (repaired) 890 From: Dmitry V. Levin <ldv@altlinux.org> 891 config.guess: fix shellcheck warning SC2154 892 893 While, according to Plan 9 documentation, the environment variable 894 $cputype is set to the name of the kernel's CPU's architecture, 895 shellcheck warns that cputype is referenced but not assigned. 896 Be on the safe side and do not use cputype if it is not defined 897 or empty. 898 899 * config.guess (*:Plan9:*:*): Fix shellcheck warning SC2154. 900 901 * config.guess: 2021-05-24 (repaired) 902 From: Dmitry V. Levin <ldv@altlinux.org> 903 config.guess: remove redundant quotes in case commands 904 905 According to the GNU Autoconf Portable Shell Programming manual, 906 the Bourne shell does not systematically split variables and back-quoted 907 expressions, in particular on the right-hand side of assignments and in 908 the argument of 'case'. 909 910 The change is made automatically using the following command: 911 $ sed -E -i 's/(\<case )"(\$[^"]+)"( in\>)/\1\2\3/' config.guess 912 913 * config.guess: Simplify case commands by removing quotes around the 914 argument. 915 916 Suggested-by: Jacob Bachmeyer <jcb@gnu.org> 917 918 * config.guess: 2021-05-24 (repaired) 919 From: Dmitry V. Levin <ldv@altlinux.org> 920 config.guess: simplify exit status workaround on alphaev67-dec-osf5.1 921 922 Commit 29865ea8a5622cdd80b7a69a0afa78004b4cd311 introduced an exit trap 923 reset before exiting to avoid a spurious non-zero exit status on 924 alphaev67-dec-osf5.1. Simplify that code a bit by moving the exit trap 925 reset around. 926 927 * config.guess (alpha:OSF1:*:*): Reset exit trap earlier. 928 * doc/config.guess.1: Regenerate. 929 9302021-05-20 Thomas E. Dickey <dickey@invisible-island.net> 931 932 * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, 933 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, 934 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, 935 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, 936 test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, 937 test/btyacc/calc_code_default.tab.c, 938 test/btyacc/calc_code_imports.tab.c, 939 test/btyacc/calc_code_provides.tab.c, 940 test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, 941 test/btyacc/code_calc.code.c, test/btyacc/code_calc.tab.c, 942 test/btyacc/code_error.code.c, test/btyacc/code_error.tab.c, 943 test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, 944 test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c, 945 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, 946 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, 947 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, 948 test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, 949 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, 950 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, 951 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, 952 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 953 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, 954 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, 955 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, 956 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, 957 test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c, 958 test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c, 959 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, 960 test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c, 961 test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, 962 test/yacc/calc_code_provides.tab.c, 963 test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, 964 test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, 965 test/yacc/code_error.code.c, test/yacc/code_error.tab.c, 966 test/yacc/defines1.calc.c, test/yacc/defines2.calc.c, 967 test/yacc/defines3.calc.c, test/yacc/empty.tab.c, 968 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, 969 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, 970 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, 971 test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, 972 test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, 973 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, 974 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, 975 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, 976 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, 977 test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c, 978 test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c, 979 test/yacc/varsyntax_calc1.tab.c: 980 regen 981 982 * mkpar.c, reader.c: change printf format to allow for long-YYINT 983 984 * lalr.c, lr0.c: change type, fix gcc warnings 985 986 * verbose.c: change type, fix gcc warnings 987 also change printf format, to allow for long YYINT 988 989 * output.c: change type, fix gcc warnings 990 also change printf format, to allow for long-YYINT 991 992 * package/debian/rules, package/byacc.spec: 993 change max-table-size to correspond with switch of YYINT from short to int 994 995 * defs.h: 996 change default for MAXTABLE to INT_MAX, like the FreeBSD port. 997 that requires changing some types to eliminate type-mismatches. 998 999 * configure: regen 1000 1001 * VERSION, package/byacc.spec, package/debian/changelog, 1002 package/mingw-byacc.spec, package/pkgsrc/Makefile: 1003 bump 1004 10052021-05-01 Thomas E. Dickey <dickey@invisible-island.net> 1006 1007 * aclocal.m4: resync with my-autoconf 1008 10092021-04-30 Thomas E. Dickey <dickey@invisible-island.net> 1010 1011 * config.sub: 2021-04-30 (repaired) 1012 From: Maciej W. Rozycki <macro@orcam.me.uk> 1013 config.sub: Handle MIPS R3 and R5 ISA levels with CPU names 1014 1015 Complement binutils commit ae52f4830604 ("Add MIPS r3 and r5 support.") 1016 and recognize MIPS CPU patterns for the R3 and R5 ISA levels, used by 1017 GAS to set defaults. 1018 1019 * config.sub (mipsisa32r3, mipsisa32r3el, mipsisa32r5, mipsisa32r5el, 1020 mipsisa64r3, mipsisa64r3el, mipsisa64r5, mipsisa64r5el): Recognize. 1021 * doc/config.sub.1: Regenerate. 1022 * testsuite/config-sub.data: Add test cases. 1023 1024 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 1025 10262021-04-21 Thomas E. Dickey <dickey@invisible-island.net> 1027 1028 * config.guess, config.sub: 2021-04-21 (repaired) 1029 From: Vineet Gupta <Vineet.Gupta1@synopsys.com> 1030 Recognize arc64 1031 1032 This paves way for setting up arc64 software ecosystem. 1033 1034 $ make check 1035 cd testsuite && bash config-guess.sh && rm uname 1036 PASS: config.guess checks (136 tests) 1037 cd testsuite && bash config-sub.sh 1038 PASS: config.sub checks (853 tests) 1039 PASS: config.sub idempotency checks (790 tests) 1040 PASS: config.sub canonicalise each config.guess testcase (136 tests) 1041 1042 * config.guess (arc64:Linux:*:*): Recognize. 1043 * config.sub (arc64): Likewise. 1044 * doc/config.guess.1: Regenerate. 1045 * doc/config.sub.1: Likewise. 1046 * testsuite/config-guess.data: Add a test case for arc64. 1047 * testsuite/config-sub.data (arc64, arc*-elf): Add test cases. 1048 1049 Signed-off-by: Vineet Gupta <vgupta@synopsys.com> 1050 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 1051 10522021-04-16 Thomas E. Dickey <dickey@invisible-island.net> 1053 1054 * config.guess: 2021-04-16 (repaired) 1055 From: Purple Rain <purplerain@secbsd.org> 1056 config.guess: add SecBSD support 1057 1058 * config.guess (*:SecBSD:*:*): Recognize. 1059 * doc/config.guess.1: Regenerate. 1060 * testsuite/config-guess.data: Add a test case. 1061 1062 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 1063 1064 * config.sub: 2021-04-16 (repaired) 1065 From: Purple Rain <purplerain@secbsd.org> 1066 config.sub: add SecBSD support 1067 1068 * config.sub (secbsd*): Recognize. 1069 * doc/config.sub.1: Regenerate. 1070 * testsuite/config-sub.data: Add x86_64-secbsd. 1071 1072 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 1073 10742021-03-28 Thomas E. Dickey <dickey@invisible-island.net> 1075 1076 * reader.c: ignore bison's "%empty" extension 1077 1078 * reader.c, defs.h: 1079 %debug was a trivial bison "extension", mark it as such 1080 1081 * yacc.1: use italics in a few places where bold was inappropriate 1082 1083 * test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h, 1084 test/btyacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.h, 1085 test/btyacc/inherit1.tab.c, test/btyacc/inherit1.tab.h, 1086 test/btyacc/inherit2.tab.c, test/btyacc/inherit2.tab.h, 1087 test/btyacc/ok_syntax1.tab.c, test/btyacc/ok_syntax1.tab.h, 1088 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit3.tab.h, 1089 test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit4.tab.h, 1090 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h, 1091 test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_demo.tab.h, 1092 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy1.tab.h, 1093 test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy2.tab.h, 1094 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/btyacc_destroy3.tab.h, 1095 test/btyacc/calc1.tab.c, test/btyacc/calc1.tab.h, 1096 test/yacc/varsyntax_calc1.tab.c, test/yacc/varsyntax_calc1.tab.h, 1097 test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h, 1098 test/yacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.h, 1099 test/yacc/calc1.tab.c, test/yacc/calc1.tab.h: 1100 regen 1101 1102 * reader.c: 1103 add union tag to YYSTYPE structure for compatibility with a feature which 1104 bison copied from Solaris yacc (request by Ella Stanforth) 1105 1106 * configure: regen 1107 1108 * config_h.in: update for _Noreturn feature 1109 1110 * aclocal.m4: updated to work with autoheader 1111 1112 * defs.h: apply syntax change needed for _Noreturn keyword 1113 1114 * package/byacc.spec, package/debian/rules: use stdnoreturn 1115 1116 * VERSION, package/byacc.spec, package/debian/changelog, 1117 package/mingw-byacc.spec, package/pkgsrc/Makefile: 1118 bump 1119 11202021-03-20 Thomas E. Dickey <dickey@invisible-island.net> 1121 1122 * configure: regen 1123 1124 * aclocal.m4: 1125 resync with my-autoconf (adds --enable-stdnoreturn option) 1126 11272021-03-10 Thomas E. Dickey <dickey@invisible-island.net> 1128 1129 * config.sub: 2021-03-10 (repaired) 1130 From: Idan Horo <idan.horowitz@gmail.com> 1131 config.sub: Add support for SerenityOS 1132 1133 * config.sub (serenity*): Recognize. 1134 * doc/config.sub.1: Regenerate. 1135 * testsuite/config-sub.data: Add i386-serenity. 1136 1137 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 1138 11392021-01-25 Thomas E. Dickey <dickey@invisible-island.net> 1140 1141 * config.guess: 2021-01-25 (repaired) 1142 From: Kalamatee <kalamatee@gmail.com> 1143 config.guess: update AROS system detection 1144 1145 * config.guess: Recognize *:AROS:*:*. 1146 * doc/config.guess.1: Regenerate. 1147 * testsuite/config-guess.data: Add test cases. 1148 1149 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 1150 11512021-01-19 Thomas E. Dickey <dickey@invisible-island.net> 1152 1153 * config.guess: 2021-01-19 (repaired) 1154 From: M. Levinson <mlevins@users.sourceforge.net> 1155 config.guess: fix shell variable quoting bug 1156 1157 * config.guess (*:NetBSD:*:*): Spell out the full sysctl command twice 1158 instead of using a shell variable. 1159 * doc/config.guess.1: Regenerate. 1160 1161 Fixes: 827c77253b396c07306927b2a4b794a3251c48eb 1162 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 1163 11642021-01-09 Thomas E. Dickey <dickey@invisible-island.net> 1165 1166 * package/debian/copyright, VERSION, package/byacc.spec, 1167 package/debian/changelog, package/mingw-byacc.spec, 1168 package/pkgsrc/Makefile: 1169 bump 1170 11712021-01-07 Thomas E. Dickey <dickey@invisible-island.net> 1172 1173 * config.sub: 2021-01-08 (repaired) 1174 From: Peixing Xin <peixing.xin@windriver.com> 1175 config.sub: recognize four-part configuration name for VxWorks 1176 1177 For example: 1178 1179 armv7m-wrs-vxworks-eabihf 1180 armv7-wrs-vxworks-eabihf 1181 i686-wrs-vxworks-simlinux 1182 i686-wrs-vxworks-simwindows 1183 powerpc-wrs-vxworks-spe 1184 x86_64-wrs-vxworks-simlinux 1185 x86_64-wrs-vxworks-simwindows 1186 1187 * config.sub: Recognize four-part configuration name for VxWorks. 1188 * doc/config.guess.1: Regenerate. 1189 * testsuite/config-sub.data: Add test cases. 1190 1191 Co-authored-by: John Ericson <git@JohnEricson.me> 1192 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 1193 11942021-01-06 Thomas E. Dickey <dickey@invisible-island.net> 1195 1196 * config.sub: 2021-01-07 (repaired) 1197 From: Alan Modra <amodra@gmail.com> 1198 config.sub: accept OS of eabi* and gnueabi* 1199 1200 Commit 5e531d391852 broke powerpc-eabivle: 1201 1202 $ ./config.sub powerpc-eabivle 1203 Invalid configuration `powerpc-eabivle': OS `eabivle' not recognized 1204 1205 Also powerpc-eabisim and probably some arm configurations. 1206 1207 * config.sub: Accept OS of eabi* and gnueabi*. 1208 * testsuite/config-sub.data: Add powerpc-eabisim and powerpc-eabivle. 1209 1210 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 1211 12122021-01-05 Thomas E. Dickey <dickey@invisible-island.net> 1213 1214 * configure: regen 1215 1216 * aclocal.m4: resync with my-autoconf 1217 12182021-01-01 Thomas E. Dickey <dickey@invisible-island.net> 1219 1220 * config.guess, config.sub: 2021-01-01 (repaired) 1221 From: Dmitry V. Levin <ldv@altlinux.org> 1222 Update copyright years 1223 1224 * config.guess: Update copyright years. 1225 * config.sub: Likewise. 1226 * doc/config.guess.1: Regenerate. 1227 * doc/config.sub.1: Likewise. 1228 12292020-12-31 Thomas E. Dickey <dickey@invisible-island.net> 1230 1231 * config.guess, config.sub: 2020-12-31 (repaired) 1232 From: Kito Cheng <kito.cheng@sifive.com> 1233 Recognize riscv32be and riscv64be 1234 1235 Recently RISC-V community got patches big-endian support for binutils, 1236 and we'd like to accept that, however before accepting that I think it 1237 would be better to upstream config.sub and config.guess change here :) 1238 1239 It's my check result on Ubuntu 18.04: 1240 1241 $ make check 1242 cd testsuite && bash config-guess.sh && rm uname 1243 PASS: config.guess checks (131 tests) 1244 cd testsuite && bash config-sub.sh 1245 PASS: config.sub checks (830 tests) 1246 PASS: config.sub idempotency checks (767 tests) 1247 PASS: config.sub canonicalise each config.guess testcase (131 tests) 1248 1249 * config.guess (riscv32be:Linux:*:*, riscv64be:Linux:*:*): Recognize. 1250 * config.sub (riscv32be, riscv64be): Likewise. 1251 * doc/config.guess.1: Regenerate. 1252 * doc/config.sub.1: Likewise. 1253 * testsuite/config-guess.data: Add test cases for riscv32be, and riscv64be. 1254 * testsuite/config-sub.data (riscv32be, riscv64be): Add test cases. 1255 1256 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 1257 12582020-12-03 Thomas E. Dickey <dickey@invisible-island.net> 1259 1260 * config.guess, config.sub: 2020-12-22 (repaired) 1261 From: Xiaotian Wu <wuxiaotian@loongson.cn> 1262 Recognize loongarch32, loongarch64, and loongarchx32 1263 1264 * config.guess (loongarch32:Linux:*:*, loongarch64:Linux:*:*, 1265 loongarchx32:Linux:*:*): Recognize. 1266 * config.sub (loongarch32, loongarch64, loongarchx32): Likewise. 1267 * doc/config.guess.1: Regenerate. 1268 * doc/config.sub.1: Likewise. 1269 * testsuite/config-guess.data: Add test cases for loongarch32, 1270 loongarch64, and loongarchx32. 1271 * testsuite/config-sub.data (loongarch32, loongarch64, loongarchx32): 1272 Add test cases. 1273 1274 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> 1275 12762020-12-01 Thomas E. Dickey <dickey@invisible-island.net> 1277 1278 * config.sub: 2020-12-02 (repaired) 1279 From: Dmitry V. Levin <ldv@altlinux.org> 1280 config.sub: recognize thumbv7* 1281 1282 * config.sub (thumbv7*): Recognize. 1283 * testsuite/config-sub.data (thumbv7): New test. 1284 1285 Reported-by: Karl Berry <karl@freefriends.org> 1286 Link: https://lists.gnu.org/archive/html/config-patches/2020-12/msg00001.html 1287 12882020-11-30 Thomas E. Dickey <dickey@invisible-island.net> 1289 1290 * install-sh: 2020-11-30 1291 12922020-11-19 Thomas E. Dickey <dickey@invisible-island.net> 1293 1294 * config.guess, config.sub: 2020-11-17 (repaired) 1295 From: Dmitry V. Levin <ldv@altlinux.org> 1296 .gitattributes: specify a custom git merge driver for the ChangeLog file 1297 1298 * config.guess, config.sub: 2020-11-19 (repaired) 1299 From: Dmitry V. Levin <ldv@altlinux.org> 1300 Update URLs of the latest version of config.guess and config.sub scripts 1301 1302 Prefer cgit URLs over gitweb as the former are usually served faster: 1303 $ time -f %e wget -q 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess' 1304 1.06 1305 $ time -f %e wget -q 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess' 1306 0.73 1307 1308 * config.guess: Prefer cgit URLs over gitweb. 1309 (timestamp): Update. 1310 * config.sub: Likewise. 1311 * doc/config.guess.1: Regenerate. 1312 * doc/config.sub.1: Likewise. 1313 13142020-11-06 Thomas E. Dickey <dickey@invisible-island.net> 1315 1316 * config.guess, config.sub: 2020-11-07 (repaired) 1317 From: Ben Elliston <bje@gnu.org> 1318 Update timestamps. 1319 1320 * config.sub: 2020-10-13 (repaired) 1321 From: Ben Elliston <bje@gnu.org> 1322 * config.sub, config.guess: Replace backtick `..` substitutions 1323 with POSIX $(..) command substitutions throughout. 1324 * Makefile (shellcheck): Don't exclude message SC2006. 1325 1326 * config.guess: 2020-10-22 (repaired) 1327 From: Ben Elliston <bje@gnu.org> 1328 * config.sub, config.guess: Replace backtick `..` substitutions 1329 with POSIX $(..) command substitutions throughout. 1330 * Makefile (shellcheck): Don't exclude message SC2006. 1331 13322020-10-21 Thomas E. Dickey <dickey@invisible-island.net> 1333 1334 * config.guess: 2020-10-22 1335 From: Rin Okuyama <rin@netbsd.org> 1336 * config.guess (*:NetBSD:*:*): Handle aarch64eb. 1337 * testsuite/config-guess.data: Add test cases. 1338 1339 Signed-off-by: Ben Elliston <bje@gnu.org> 1340 13412020-10-14 Thomas E. Dickey <dickey@invisible-island.net> 1342 1343 * config.sub: 2020-10-13 1344 From: Ben Elliston <bje@gnu.org> 1345 Fix whitespace problem in config.sub. 1346 13472020-10-13 Thomas E. Dickey <dickey@invisible-island.net> 1348 1349 * config.sub: 2020-10-13 1350 From: Ben Elliston <bje@gnu.org> 1351 * config.sub (i*86-pc-os2-emx): Recognise correctly. 1352 * testsuite/config-sub.data: Add OS/2 tests to avoid regressions. 1353 13542020-09-26 Thomas E. Dickey <dickey@invisible-island.net> 1355 1356 * config.sub: 2020-09-08 1357 From: Fabrice Fontaine <fontaine.fabrice@gmail.com> 1358 * config.sub (uclinux-uclibc*): Fix detection. 1359 * testsuite/config-sub.data: Add a test case to avoid regression. 1360 1361 Signed-off-by: Ben Elliston <bje@gnu.org> 1362 13632020-09-22 Thomas E. Dickey <dickey@invisible-island.net> 1364 1365 * closure.c, warshall.c: 1366 fix undefined-behavior diagnosed with gcc -fsanitize=undefined (report by 1367 Alexander Richardson) 1368 13692020-09-20 Thomas E. Dickey <dickey@invisible-island.net> 1370 1371 * config.guess: 2020-09-19 1372 From: Bruno Haible <bruno@clisp.org> 1373 * config.guess: Don't use 'ldd --version' to determine the presence of 1374 musl libc, as this fails on Alpine Linux 3.10. 1375 1376 Signed-off-by: Ben Elliston <bje@gnu.org> 1377 13782020-09-10 Thomas E. Dickey <dickey@invisible-island.net> 1379 1380 * LICENSE: RCS_BASE 1381 1382 * reader.c, output.c: cppcheck -- reduce scope 1383 1384 * defs.h: update to 2.0 1385 1386 * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, 1387 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, 1388 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, 1389 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, 1390 test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, 1391 test/btyacc/calc_code_default.tab.c, 1392 test/btyacc/calc_code_imports.tab.c, 1393 test/btyacc/calc_code_provides.tab.c, 1394 test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, 1395 test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, 1396 test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, 1397 test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c, 1398 test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, 1399 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, 1400 test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, 1401 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, 1402 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax13.tab.c, 1403 test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, 1404 test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c, 1405 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, 1406 test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax20.tab.c, 1407 test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, 1408 test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c, 1409 test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, 1410 test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, 1411 test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, 1412 test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, 1413 test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, 1414 test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, 1415 test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c, 1416 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, 1417 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, 1418 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, 1419 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 1420 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, 1421 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, 1422 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, 1423 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, 1424 test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c, 1425 test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c, 1426 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, 1427 test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c, 1428 test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, 1429 test/yacc/calc_code_provides.tab.c, 1430 test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, 1431 test/yacc/code_calc.code.c, test/yacc/code_error.code.c, 1432 test/yacc/defines1.calc.c, test/yacc/defines2.calc.c, 1433 test/yacc/defines3.calc.c, test/yacc/empty.tab.c, 1434 test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c, 1435 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, 1436 test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, 1437 test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, 1438 test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, 1439 test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, 1440 test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, 1441 test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, 1442 test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, 1443 test/yacc/err_syntax26.tab.c, test/yacc/err_syntax27.tab.c, 1444 test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, 1445 test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, 1446 test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, 1447 test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, 1448 test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, 1449 test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c, 1450 test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, 1451 test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, 1452 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, 1453 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, 1454 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, 1455 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, 1456 test/yacc/rename_debug.c, test/yacc/stdin1.calc.c, 1457 test/yacc/stdin2.calc.c, test/yacc/varsyntax_calc1.tab.c: 1458 update to version 2.0 1459 1460 * reader.c: 1461 improve loop which skips backward through a (possibly nested) sequence of 1462 square-brackets. 1463 1464 * reader.c: simplify a check to quiet a bogus cppcheck-warning 1465 1466 * yacc.1: bump date 1467 1468 * reader.c: add a note about a bogus cppcheck warning 1469 1470 * configure: regen 1471 1472 * configure.in: 1473 always check for gcc attributes, to work around defect in clang's imitation 1474 of this feature 1475 1476 * reader.c: cppcheck -- scope reduction 1477 cppcheck -- eliminate bogus returns after no-return functions 1478 1479 * verbose.c, output.c, mkpar.c, main.c, warshall.c, lr0.c, lalr.c, 1480 graph.c, closure.c: 1481 cppcheck -- scope reduction 1482 1483 * package/debian/compat: quiet compatibility-warning 1484 1485 * yacc.1: use "ASCII" for dashes which are part of proper names 1486 1487 * configure: regen 1488 1489 * configure.in: switch to --enable-warnings, for consistency 1490 1491 * aclocal.m4: 1492 resync with my-autoconf, for compiler-warning fixes with macOS 1493 1494 * VERSION, package/byacc.spec, package/debian/changelog, 1495 package/mingw-byacc.spec, package/pkgsrc/Makefile: 1496 bump 1497 14982020-09-07 Thomas E. Dickey <dickey@invisible-island.net> 1499 1500 * config.sub: 2020-09-08 1501 From: Elad Lahav <e2lahav@gmail.com> 1502 * config.sub: Fix regression in QNX recognition. 1503 * testsuite/config-sub.data: Add some test cases. 1504 1505 Signed-off-by: Ben Elliston <bje@gnu.org> 1506 15072020-08-16 Thomas E. Dickey <dickey@invisible-island.net> 1508 1509 * config.guess, config.sub: 2020-08-17 1510 15112020-06-28 Thomas E. Dickey <dickey@invisible-island.net> 1512 1513 * config.sub: 2020/06/28 1514 15152020-06-14 Thomas E. Dickey <dickey@invisible-island.net> 1516 1517 * config.guess: 2020/04/26 1518 15192020-03-30 Thomas E. Dickey <dickey@invisible-island.net> 1520 1521 * package/debian/copyright: bump 1522 1523 * test/yacc/grammar.tab.c, test/btyacc/grammar.tab.c, test/grammar.y, 1524 reader.c: 1525 typo found with codespell 1526 1527 * yacc.1: fixes noted in the original report, overlooked in followup 1528 15292020-03-30 Bjarni.Ingi.Gislason 1530 1531 * yacc.1: typography/spelling fixes - Debian #955175 1532 15332020-03-30 Thomas E. Dickey <dickey@invisible-island.net> 1534 1535 * VERSION, package/byacc.spec, package/debian/changelog, 1536 package/mingw-byacc.spec, package/pkgsrc/Makefile: 1537 bump 1538 15392020-03-10 Thomas E. Dickey <dickey@invisible-island.net> 1540 1541 * configure: regen 1542 1543 * aclocal.m4: 1544 resync with my-autoconf, mostly fixes for compiler-warnings 1545 1546 * configure.in: use macro to suppress X-dependency from newer macros 1547 15482019-12-20 Thomas E. Dickey <dickey@invisible-island.net> 1549 1550 * config.guess: 2019-12-21 1551 15522019-11-25 Tom.Shields 1553 1554 * main.c: 1555 fix an inconsistency between the getopt and non-getopt configuration. 1556 In the former, getopt always used "yacc", not the name of the executable. 1557 15582019-11-25 Thomas E. Dickey <dickey@invisible-island.net> 1559 1560 * test/run_make.sh: 1561 suppress bison's -Wyacc warning, which is not useful. 1562 1563 * VERSION, package/byacc.spec, package/debian/changelog, 1564 package/mingw-byacc.spec, package/pkgsrc/Makefile: 1565 bump 1566 15672019-11-19 Thomas E. Dickey <dickey@invisible-island.net> 1568 1569 * yacc.1: new version of manpage 1570 1571 * VERSION, package/byacc.spec, package/debian/changelog, 1572 package/mingw-byacc.spec, package/pkgsrc/Makefile: 1573 bump 1574 1575 * yacc.1: document %code 1576 1577 * test/btyacc/calc_code_all.error, test/btyacc/calc_code_all.output, 1578 test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_all.tab.h, 1579 test/btyacc/calc_code_default.error, 1580 test/btyacc/calc_code_default.output, 1581 test/btyacc/calc_code_default.tab.c, 1582 test/btyacc/calc_code_default.tab.h, 1583 test/btyacc/calc_code_imports.error, 1584 test/btyacc/calc_code_imports.output, 1585 test/btyacc/calc_code_imports.tab.c, 1586 test/btyacc/calc_code_imports.tab.h, 1587 test/btyacc/calc_code_provides.error, 1588 test/btyacc/calc_code_provides.output, 1589 test/btyacc/calc_code_provides.tab.c, 1590 test/btyacc/calc_code_provides.tab.h, 1591 test/btyacc/calc_code_requires.error, 1592 test/btyacc/calc_code_requires.output, 1593 test/btyacc/calc_code_requires.tab.c, 1594 test/btyacc/calc_code_requires.tab.h, test/btyacc/calc_code_top.error, 1595 test/btyacc/calc_code_top.output, test/btyacc/calc_code_top.tab.c, 1596 test/btyacc/calc_code_top.tab.h, test/yacc/calc_code_all.tab.c, 1597 test/yacc/calc_code_all.tab.h, test/yacc/calc_code_default.tab.c, 1598 test/yacc/calc_code_provides.tab.c, 1599 test/yacc/calc_code_provides.tab.h, test/yacc/calc_code_requires.tab.c, 1600 test/yacc/calc_code_requires.tab.h, test/yacc/calc_code_top.tab.c: 1601 RCS_BASE 1602 1603 * output.c: 1604 amend updates for 'outline' when processing "%code" in code-file 1605 1606 * output.c: 1607 modify output_code_lines() to show begin/end block comments which were in 1608 reader.c, and to generate a #line for the code-file. 1609 1610 * reader.c: 1611 modify copy_code() to allow for multiple %code directives for a given 1612 section, recording the input line-number for each directive as a #line 1613 in the resulting string. remove the block start/end comments, since those 1614 will be done for a whole section in output.c 1615 1616 * mstring.c, defs.h: add msrenew() 1617 1618 * test/yacc/calc_code_all.error, test/yacc/calc_code_all.output, 1619 test/yacc/calc_code_default.error, test/yacc/calc_code_default.output, 1620 test/yacc/calc_code_default.tab.h, test/yacc/calc_code_imports.error, 1621 test/yacc/calc_code_imports.output, test/yacc/calc_code_imports.tab.c, 1622 test/yacc/calc_code_imports.tab.h, test/yacc/calc_code_provides.error, 1623 test/yacc/calc_code_provides.output, 1624 test/yacc/calc_code_requires.error, 1625 test/yacc/calc_code_requires.output, test/yacc/calc_code_top.error, 1626 test/yacc/calc_code_top.output, test/yacc/calc_code_top.tab.h: 1627 RCS_BASE 1628 16292019-11-18 Thomas E. Dickey <dickey@invisible-island.net> 1630 1631 * test/calc_code_imports.y, test/calc_code_all.y, 1632 test/calc_code_default.y, test/calc_code_top.y, 1633 test/calc_code_provides.y, test/calc_code_requires.y: 1634 RCS_BASE 1635 16362019-11-04 Michael.Forney 1637 1638 * defs.h: add missing "extern" for new variable "code_lines" 1639 16402019-11-03 Thomas E. Dickey <dickey@invisible-island.net> 1641 1642 * main.c: build-fix for MinGW cross-compiling 1643 1644 * output.c, reader.c: gcc-warnings 1645 1646 * output.c: check validity of text_file before rewind 1647 remove redundant check of iflag 1648 1649 * main.c: fix memory-leak reported by clang 1650 1651 * mkpar.c: guard against a null-reference reported by clang (unlikely) 1652 1653 * reader.c: fix two coverity warnings: 1654 a) resource leak on malloc-failure 1655 b) possible null-pointer dereference on parse-error 1656 1657 * test/btyacc/err_inherit4.tab.h, test/btyacc/btyacc_demo.tab.h: regen 1658 1659 * defs.h: use enum's to simplify recent change 1660 1661 * mstring.c: 1662 enable mstring() in regular byacc, since Zoulas' change relies upon it 1663 16642019-11-03 Christos.Zoulas 1665 1666 * defs.h, reader.c, output.c: add support for bison's "%code" feature 1667 also fix a small bug: declare YYLTYPE externally when producing locations 1668 16692019-11-03 Thomas E. Dickey <dickey@invisible-island.net> 1670 1671 * test/btyacc/help.error, test/btyacc/no_b_opt.error, 1672 test/btyacc/no_output2.error, test/btyacc/no_p_opt.error, 1673 test/yacc/help.error, test/yacc/no_b_opt.error, 1674 test/yacc/no_output2.error, test/yacc/no_p_opt.error: 1675 regen 1676 1677 * test/run_test.sh: 1678 there's no standard wording for the options-errors from getopt; 1679 filter that to "error message" in the test reference files. 1680 1681 * main.c: 1682 provide for using getopt(), to accommodate a case where developers have 1683 relied upon non-POSIX behavior. 1684 1685 * test/run_test.sh: 1686 getopt's messages do not print the full pathname of yacc in some cases; 1687 adjust the sed-script which changes those to "YACC" 1688 1689 * configure: regen 1690 1691 * config_h.in: regen, using autoheader-252 1692 1693 * configure.in: add configure check for getopt 1694 1695 * configure: regen 1696 1697 * aclocal.m4: 1698 resync with my-autoconf adds a fix which accommodates a difference in 1699 warning options between gcc/clang when --enable-warnings is not set. 1700 1701 * VERSION, package/byacc.spec, package/debian/changelog, 1702 package/mingw-byacc.spec, package/pkgsrc/Makefile: 1703 bump 1704 17052019-09-11 Thomas E. Dickey <dickey@invisible-island.net> 1706 1707 * config.guess, config.sub: 2019-09-10 1708 17092019-06-17 Thomas E. Dickey <dickey@invisible-island.net> 1710 1711 * test/btyacc/big_b.error, test/btyacc/big_l.error, 1712 test/btyacc/help.error, test/btyacc/no_b_opt.error, 1713 test/btyacc/no_output2.error, test/btyacc/no_p_opt.error, 1714 test/btyacc/nostdin.error, test/yacc/big_b.error, 1715 test/yacc/big_l.error, test/yacc/help.error, test/yacc/no_b_opt.error, 1716 test/yacc/no_output2.error, test/yacc/no_p_opt.error, 1717 test/yacc/nostdin.error: 1718 regen 1719 1720 * test/run_test.sh: test "-H" rather than "-D" 1721 17222019-06-16 Thomas E. Dickey <dickey@invisible-island.net> 1723 1724 * main.c, yacc.1: 1725 change "-D" option to "-H" (discussion with Ethan Sommer) 1726 1727 * VERSION, package/byacc.spec, package/debian/changelog, 1728 package/mingw-byacc.spec, package/pkgsrc/Makefile: 1729 bump 1730 1731 * test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, 1732 test/btyacc/defines3.calc.c: 1733 RCS_BASE 1734 1735 * test/run_test.sh: in test_defines, save the ".c" file too 1736 1737 * test/yacc/defines3.calc.c, test/yacc/defines2.calc.c, 1738 test/yacc/defines1.calc.c: 1739 RCS_BASE 1740 1741 * test/run_test.sh: 1742 output of test_defines should be a header ".h", not ".c" 1743 1744 * test/btyacc/defines1.calc.h, test/btyacc/defines1.error, 1745 test/btyacc/defines1.output, test/btyacc/defines2.calc.h, 1746 test/btyacc/defines2.error, test/btyacc/defines2.output, 1747 test/btyacc/defines3.calc.h, test/btyacc/defines3.error, 1748 test/btyacc/defines3.output: 1749 RCS_BASE 1750 1751 * main.c: however, a subsequent -d cancels -D 1752 1753 * test/yacc/defines1.calc.h, test/yacc/defines3.calc.h: RCS_BASE 1754 1755 * main.c: -D option implies -d 1756 1757 * test/yacc/defines1.error, test/yacc/defines1.output, 1758 test/yacc/defines2.calc.h, test/yacc/defines2.error, 1759 test/yacc/defines2.output, test/yacc/defines3.error, 1760 test/yacc/defines3.output: 1761 RCS_BASE 1762 1763 * yacc.1: align macro definitions with my other manpages 1764 1765 * test/run_test.sh: add test for -D after -d or -b options 1766 1767 * test/btyacc/stdin1.calc.c, test/btyacc/stdin1.error, 1768 test/btyacc/stdin1.output, test/btyacc/stdin2.calc.c, 1769 test/btyacc/stdin2.error, test/btyacc/stdin2.output: 1770 RCS_BASE 1771 1772 * test/btyacc/big_b.error, test/btyacc/big_b.output, 1773 test/btyacc/big_l.error, test/btyacc/big_l.output, 1774 test/btyacc/help.error, test/btyacc/help.output, 1775 test/btyacc/no_b_opt.error, test/btyacc/no_b_opt.output, 1776 test/btyacc/no_b_opt1.error, test/btyacc/no_b_opt1.output, 1777 test/btyacc/no_code_c.error, test/btyacc/no_code_c.output, 1778 test/btyacc/no_defines.error, test/btyacc/no_defines.output, 1779 test/btyacc/no_graph.error, test/btyacc/no_graph.output, 1780 test/btyacc/no_include.error, test/btyacc/no_include.output, 1781 test/btyacc/no_opts.error, test/btyacc/no_opts.output, 1782 test/btyacc/no_output.error, test/btyacc/no_output.output, 1783 test/btyacc/no_output1.error, test/btyacc/no_output1.output, 1784 test/btyacc/no_output2.error, test/btyacc/no_output2.output, 1785 test/btyacc/no_p_opt.error, test/btyacc/no_p_opt.output, 1786 test/btyacc/no_p_opt1.error, test/btyacc/no_p_opt1.output, 1787 test/btyacc/no_verbose.error, test/btyacc/no_verbose.output, 1788 test/btyacc/nostdin.error, test/btyacc/nostdin.output, 1789 test/yacc/big_b.error, test/yacc/big_b.output, test/yacc/big_l.error, 1790 test/yacc/big_l.output, test/yacc/help.error, test/yacc/help.output, 1791 test/yacc/no_b_opt.error, test/yacc/no_b_opt.output, 1792 test/yacc/no_b_opt1.error, test/yacc/no_b_opt1.output, 1793 test/yacc/no_code_c.error, test/yacc/no_code_c.output, 1794 test/yacc/no_defines.error, test/yacc/no_defines.output, 1795 test/yacc/no_graph.error, test/yacc/no_graph.output, 1796 test/yacc/no_include.error, test/yacc/no_include.output, 1797 test/yacc/no_opts.error, test/yacc/no_opts.output, 1798 test/yacc/no_output.error, test/yacc/no_output.output, 1799 test/yacc/no_output1.error, test/yacc/no_output1.output, 1800 test/yacc/no_output2.error, test/yacc/no_output2.output, 1801 test/yacc/no_p_opt.error, test/yacc/no_p_opt.output, 1802 test/yacc/no_p_opt1.error, test/yacc/no_p_opt1.output, 1803 test/yacc/no_verbose.error, test/yacc/no_verbose.output, 1804 test/yacc/nostdin.error, test/yacc/nostdin.output: 1805 regen 1806 1807 * test/run_test.sh: 1808 add a test for stdin "-" vs end-options "--", and correct a redirection 1809 of stderr in test_flags 1810 1811 * test/yacc/stdin2.output, test/yacc/stdin2.calc.c, 1812 test/yacc/stdin1.calc.c, test/yacc/stdin1.error, 1813 test/yacc/stdin1.output, test/yacc/stdin2.error: 1814 RCS_BASE 1815 1816 * test/btyacc/big_b.output, test/btyacc/big_l.output, 1817 test/btyacc/help.output, test/btyacc/no_b_opt.output, 1818 test/btyacc/no_output2.output, test/btyacc/no_p_opt.output, 1819 test/btyacc/nostdin.output, test/yacc/big_b.output, 1820 test/yacc/big_l.output, test/yacc/help.output, 1821 test/yacc/no_b_opt.output, test/yacc/no_output2.output, 1822 test/yacc/no_p_opt.output, test/yacc/nostdin.output: 1823 regen 1824 1825 * main.c: add -D option, to specify filename vs y.tab.h for -d 1826 1827 * defs.h: add dflag2, for -D option 1828 1829 * yacc.1: document -D option 1830 1831 * config_h.in: updated with autoheader-252 1832 1833 * configure: regen 1834 1835 * package/debian/copyright: bump 1836 1837 * aclocal.m4: add CF_GETOPT_HEADER 1838 1839 * aclocal.m4: Improved autoconf macros: 1840 + CF_CC_ENV_FLAGS 1841 putting preprocessor flags in CFLAGS also is a nuisance, which can be 1842 addressed in the same way. 1843 + CF_GCC_WARNINGS 1844 factor out workaround for XTSTRINGDEFINES as CF_CONST_X_STRING 1845 + CF_GNU_SOURCE 1846 The check for _DEFAULT_SOURCE should apply to "recent" Cygwin (since early 2016), 1847 and except for "NEWLIB" vs "GLIBC" in the test, acts the same if I pretend 1848 that "newlib" is the GNU C library. Without this, the check falls through 1849 to the _XOPEN_SOURCE test, which breaks the pseudoterminal checks for xterm. 1850 + CF_POSIX_C_SOURCE 1851 add/use CF_POSIX_VISIBLE 1852 + CF_TRY_XOPEN_SOURCE 1853 use CF_APPEND_TEXT 1854 + CF_WITH_MAN2HTML 1855 use sed to work around non-POSIX tail utility 1856 + CF_XOPEN_SOURCE 1857 use CF_APPEND_TEXT 1858 add/use CF_POSIX_VISIBLE 1859 1860 * VERSION, package/byacc.spec, package/debian/changelog, 1861 package/mingw-byacc.spec, package/pkgsrc/Makefile: 1862 bump 1863 18642019-06-10 Thomas E. Dickey <dickey@invisible-island.net> 1865 1866 * config.guess: 2019-06-10 1867 18682019-05-22 Thomas E. Dickey <dickey@invisible-island.net> 1869 1870 * config.sub: 2019-05-22 1871 18722018-06-09 Thomas E. Dickey <dickey@invisible-island.net> 1873 1874 * yacc.1: minor typographical fixes 1875 1876 * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, 1877 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, 1878 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, 1879 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, 1880 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 1881 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, 1882 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, 1883 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, 1884 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, 1885 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, 1886 test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, 1887 test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, 1888 test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, 1889 test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, 1890 test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, 1891 test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, 1892 test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, 1893 test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, 1894 test/btyacc/err_syntax18.tab.c, test/btyacc/rename_debug.c, btyaccpar.c: 1895 regen 1896 1897 * VERSION, package/byacc.spec, package/debian/changelog, 1898 package/mingw-byacc.spec, package/pkgsrc/Makefile: 1899 bump 1900 19012018-06-09 Tom.Shields 1902 1903 * btyaccpar.skel: 1904 add casts to fix g++ (clang++) compile errors in the backtracking skeleton 1905 due to assignment of ‘void *’ to another pointer type. 1906 19072018-05-25 Thomas E. Dickey <dickey@invisible-island.net> 1908 1909 * test/run_make.sh: 1910 check if this is bison 3+ before adding options to suppress warnings 1911 1912 * package/byacc.spec: build-fix for Mageia 6 1913 1914 * package/byacc.spec: add btyacc package 1915 1916 * VERSION, package/byacc.spec, package/debian/changelog, 1917 package/mingw-byacc.spec, package/pkgsrc/Makefile: 1918 bump 1919 1920 * package/debian/control: add a package for btyacc 1921 1922 * package/debian/rules: generate a package for btyacc 1923 19242018-05-24 Thomas E. Dickey <dickey@invisible-island.net> 1925 1926 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 1927 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, 1928 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, 1929 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, 1930 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, 1931 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/code_error.code.c, 1932 test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, 1933 test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, 1934 test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, 1935 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, 1936 test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, 1937 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, 1938 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, 1939 test/btyacc/ok_syntax1.tab.c, btyaccpar.c, 1940 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, 1941 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, 1942 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, 1943 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, 1944 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, 1945 test/btyacc/rename_debug.c: 1946 regen 1947 1948 * btyaccpar.skel: fix typo 1949 19502018-05-21 Thomas E. Dickey <dickey@invisible-island.net> 1951 1952 * test/run_make.sh: 1953 ignore case for "%" directives to skip with old-yacc, and add %token-table 1954 to the list 1955 1956 * btyaccpar.c: regen 1957 19582018-05-21 Christos.Zoulas 1959 1960 * btyaccpar.skel: 1961 improve compatibility with bison by changing the YYLLOC_DEFAULT macro to use 1962 YYRHSLOC() macro, and adjusting the array indices of yyerror_loc_range[] for 1963 consistency. 1964 19652018-05-10 Thomas E. Dickey <dickey@invisible-island.net> 1966 1967 * output.c: 1968 add a fallback definition for YYDEBUG to the -i externs file. 1969 1970 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen 1971 1972 * VERSION, package/byacc.spec, package/debian/changelog, 1973 package/mingw-byacc.spec, package/pkgsrc/Makefile: 1974 bump 1975 19762018-05-09 Thomas E. Dickey <dickey@invisible-island.net> 1977 1978 * configure: regen 1979 1980 * aclocal.m4: resync with my-autoconf 1981 1982 * VERSION, package/byacc.spec, package/debian/changelog, 1983 package/mingw-byacc.spec, package/pkgsrc/Makefile: 1984 bump 1985 1986 * test/btyacc/rename_debug.i, btyaccpar.c, 1987 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, 1988 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, 1989 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, 1990 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, 1991 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, 1992 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, 1993 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, 1994 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, 1995 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, 1996 test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, 1997 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, 1998 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, 1999 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, 2000 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 2001 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, 2002 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, 2003 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, 2004 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, 2005 test/btyacc/rename_debug.c, test/btyacc/varsyntax_calc1.tab.c: 2006 regen 2007 2008 * btyaccpar.skel: apply Guy Harris' changes here as well 2009 2010 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen 2011 2012 * output.c: correct/improve fallback prototype for yylex() 2013 2014 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen 2015 20162018-05-08 Thomas E. Dickey <dickey@invisible-island.net> 2017 2018 * test/btyacc/grammar.tab.c, test/yacc/grammar.tab.c: regen 2019 2020 * test/grammar.y: 2021 quiet some warnings from gcc 7 when doing "make check_make" 2022 2023 * package/debian/watch, package/pkgsrc/Makefile: update ftp-url 2024 2025 * test/btyacc/ok_syntax1.tab.h, test/btyacc/btyacc_calc1.tab.h: regen 2026 2027 * output.c: 2028 provide yylex() declaration for simple case (request by "Mutiny") 2029 2030 * test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, 2031 test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, 2032 test/yacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.h, 2033 test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, 2034 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, 2035 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, 2036 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, 2037 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, 2038 test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, 2039 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, 2040 test/yacc/code_calc.code.c, test/yacc/code_error.code.c, 2041 test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, 2042 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, 2043 test/yacc/err_syntax18.tab.c, test/yacc/rename_debug.c, 2044 test/yacc/rename_debug.i, yaccpar.c: 2045 regen 2046 2047 * VERSION, package/byacc.spec, package/debian/changelog, 2048 package/debian/copyright, package/mingw-byacc.spec, 2049 package/pkgsrc/Makefile: 2050 bump 2051 20522018-05-06 Guy.Harris 2053 2054 * yaccpar.skel: two fixes: 2055 1) define yydebug only if YYDEBUG is defined and 2056 2) make yynerrs a parser-local variable if the parser is reentrant. 2057 20582018-02-24 Guy.Harris 2059 2060 * output.c: do not emit "extern YYSTYPE yylval;" for pure parsers 2061 20622018-02-05 Thomas E. Dickey <dickey@invisible-island.net> 2063 2064 * config.sub: 2018-01-15 2065 2066 * config.guess: 2018-01-26 2067 20682017-12-04 erik.b.andersen 2069 2070 * main.c: A proper path for temporary files is needed by byacc under 2071 Windows commandline, otherwise there's a risk of empty files. 2072 The TEMP environment variable is always defined in Windows. 2073 2074 * defs.h: The noreturn attribute needs to be specified before function 2075 to be portable among compilers (gcc, clang, msvc). 2076 20772017-12-04 Thomas E. Dickey <dickey@invisible-island.net> 2078 2079 * reader.c: adapted fix by Erik B: 2080 a) increase the length of name[] to account for a trailing null 2081 b) note that calling syntax_error() from get_number() does not return 2082 20832017-09-14 Tom.Shields 2084 2085 * yacc.1: fix typo 2086 20872017-07-09 Thomas E. Dickey <dickey@invisible-island.net> 2088 2089 * package/byacc.spec, package/mingw-byacc.spec: 2090 use predefined "configure" 2091 2092 * reader.c: remove unused assignment 2093 2094 * package/debian/rules: use dpkg-buildflags 2095 2096 * configure: regen 2097 2098 * aclocal.m4: resync with my-autoconf 2099 2100 * reader.c, output.c, defs.h: 2101 add/use IS_NAME1() and IS_NAME2() to reduce clutter 2102 2103 * reader.c, output.c, defs.h: 2104 guard against sign-extension in ctype-macros 2105 2106 * VERSION, package/byacc.spec, package/debian/changelog, 2107 package/mingw-byacc.spec, package/pkgsrc/Makefile: 2108 bump 2109 2110 * reader.c: check for numeric overflow in get_number() 2111 2112 * reader.c: 2113 correct limit-checks for input filename and line-number, in case no valid 2114 filename and/or number was found. 2115 21162017-04-30 Thomas E. Dickey <dickey@invisible-island.net> 2117 2118 * test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc2-s.tab.c, 2119 test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, 2120 test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, 2121 test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, 2122 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, 2123 test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, 2124 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, 2125 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, 2126 test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, 2127 test/btyacc/pure_error.tab.c, test/btyacc/quote_calc.tab.c, 2128 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, 2129 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, 2130 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, 2131 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, 2132 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, 2133 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, 2134 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, 2135 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, 2136 test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c, 2137 btyaccpar.c, btyaccpar.skel: 2138 fix another uninitialized variable warning in "make check_make" for btyacc 2139 2140 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 2141 test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_calc1.tab.c, 2142 test/btyacc/calc3.tab.c, btyaccpar.c, btyaccpar.skel, 2143 test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, 2144 test/yacc/pure_error.tab.c, test/yacc/calc3.tab.c, yaccpar.c, defs.h, 2145 yaccpar.skel, output.c: 2146 fix some compiler warnings for "make check_make" by adding section init_vars, 2147 which initializes the body_vars for pure-parser configuration. 2148 21492017-04-30 Tom.Shields 2150 2151 * output.c: 2152 use YY_NO_LEAKS set in configure --with-no-leaks, in the generated code 2153 21542017-04-30 Julien.Ramseier 2155 2156 * main.c, test/yacc/big_l.output: 2157 fix typo in unsupported-flag warning message 2158 21592017-04-30 Thomas E. Dickey <dickey@invisible-island.net> 2160 2161 * VERSION, package/byacc.spec, package/debian/changelog, 2162 package/mingw-byacc.spec, package/pkgsrc/Makefile: 2163 bump 2164 21652017-04-29 Thomas E. Dickey <dickey@invisible-island.net> 2166 2167 * config.sub: 2017-04-02 2168 21692017-03-18 Thomas E. Dickey <dickey@invisible-island.net> 2170 2171 * config.sub: 2017-02-07 2172 2173 * config.guess: 2017-03-05 2174 21752017-02-01 Thomas E. Dickey <dickey@invisible-island.net> 2176 2177 * test/btyacc/expr.oxout.error, test/btyacc/expr.oxout.output, 2178 test/btyacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.h, 2179 test/yacc/expr.oxout.error, test/yacc/expr.oxout.output, 2180 test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h: 2181 RCS_BASE 2182 2183 * package/debian/copyright: update copyright 2184 2185 * reader.c, defs.h, main.c: 2186 avoid using regex.h since some low-end platforms do not have this 2187 2188 * test/expr.oxout.y: RCS_BASE 2189 2190 * configure: regen 2191 2192 * aclocal.m4: quiet a strict gcc warning in CF_MKSTEMP 2193 21942017-02-01 Tom.Shields 2195 2196 * main.c, reader.c, defs.h: 2197 process #line directives, like bison and flex 2198 21992017-02-01 Thomas E. Dickey <dickey@invisible-island.net> 2200 2201 * VERSION, package/byacc.spec, package/debian/changelog, 2202 package/mingw-byacc.spec, package/pkgsrc/Makefile: 2203 bump 2204 22052016-12-31 Thomas E. Dickey <dickey@invisible-island.net> 2206 2207 * config.guess, config.sub: 2017-01-01 2208 22092016-12-02 Thomas E. Dickey <dickey@invisible-island.net> 2210 2211 * test/btyacc/quote_calc4-s.tab.c, test/btyacc/varsyntax_calc1.tab.c, 2212 test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, 2213 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, 2214 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, 2215 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 2216 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, 2217 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, 2218 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, 2219 test/btyacc/quote_calc4.tab.c, test/btyacc/calc.tab.c, 2220 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, 2221 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, 2222 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, 2223 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, 2224 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, 2225 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, 2226 test/btyacc/err_syntax20.tab.c, test/btyacc/rename_debug.c, 2227 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, 2228 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, 2229 test/btyacc/btyacc_destroy3.tab.c, btyaccpar.c: 2230 regen 2231 2232 * btyaccpar.skel: changes from NetBSD 2233 + use YYINT rather than short in btyaccpar.skel 2234 (some of this had already been done by Tom Shields) 2235 + remove some casts of malloc/realloc 2236 2237 * yaccpar.c, yaccpar.skel, output.c: changes from NetBSD 2238 - Add some more bison stuff to make the mesa/gallium parser work: 2239 %initial-action (add missing source struct member in location) 2240 %debug (unimplemented) 2241 %error-verbose (unimplemented) 2242 2243 This changes some existing code: 2244 + yylloc is now a pointer, so 2245 + the first parameter to YYERROR_DECL() is a pointer 2246 + struct YYLTYPE now has a "source" field 2247 2248 * test/btyacc/btyacc_demo.tab.h, test/btyacc/code_calc.tab.c, 2249 test/btyacc/code_error.tab.c, test/btyacc/err_inherit4.tab.h: 2250 regen 2251 2252 * btyaccpar.c, btyaccpar.skel, reader.c: changes from NetBSD 2253 - Add some more bison stuff to make the mesa/gallium parser work: 2254 %initial-action (add missing source struct member in location) 2255 %debug (unimplemented) 2256 %error-verbose (unimplemented) 2257 2258 This changes some existing code: 2259 + yylloc is now a pointer, so 2260 + the first parameter to YYERROR_DECL() is a pointer 2261 + struct YYLTYPE now has a "source" field 2262 2263 * reader.c: 2264 fix from NetBSD: correct off-by-one when adding a null in copy_param() 2265 2266 * reader.c: adapted from NetBSD 2267 - Convert *most* error fingerprints to: 2268 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr) 2269 +unterminated_arglist(const struct ainfo *a) 2270 - Cast new <ctype.h> args to unsigned char 2271 2272 * defs.h: changes from NetBSD 2273 - Add some more bison stuff to make the mesa/gallium parser work: 2274 %initial-action (add missing source struct member in location) 2275 %debug (unimplemented) 2276 %error-verbose (unimplemented) 2277 2278 This changes some existing code: 2279 + yylloc is now a pointer, so 2280 + the first parameter to YYERROR_DECL() is a pointer 2281 + struct YYLTYPE now has a "source" field 2282 2283 * defs.h: adapted from NetBSD 2284 - Convert *most* error fingerprints to: 2285 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr) 2286 +unterminated_arglist(const struct ainfo *a) 2287 - Cast new <ctype.h> args to unsigned char 2288 2289 * main.c: changes from NetBSD 2290 - Add some more bison stuff to make the mesa/gallium parser work: 2291 %initial-action (add missing source struct member in location) 2292 %debug (unimplemented) 2293 %error-verbose (unimplemented) 2294 2295 This changes some existing code: 2296 + yylloc is now a pointer, so 2297 + the first parameter to YYERROR_DECL() is a pointer 2298 + struct YYLTYPE now has a "source" field 2299 2300 * error.c: adapted from NetBSD 2301 - Convert *most* error fingerprints to: 2302 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr) 2303 +unterminated_arglist(const struct ainfo *a) 2304 - Cast new <ctype.h> args to unsigned char 2305 2306 * mstring.c: adapted change from NetBSD to add casts for ctype macros 2307 2308 * test/btyacc/btyacc_demo.tab.h, test/btyacc/err_inherit4.tab.h: regen 2309 2310 * output.c: reorder to eliminate a forward-reference 2311 23122016-12-02 Tom.Shields 2313 2314 * output.c: 2315 modify output to enable compilation of a lexer generated by flex (using 2316 "%option bison-bridge" and "%option bison-locations") to be used with a parser 2317 generated by b(t)yacc (using directives "%locations" and "%pure-parser"). 2318 23192016-12-02 Thomas E. Dickey <dickey@invisible-island.net> 2320 2321 * configure: regen 2322 2323 * aclocal.m4: Improved autoconf macros 2324 CF_CC_ENV_FLAGS 2325 + improve split between compiler and options, prompted by report where user 2326 had "ccache" before the compiler 2327 + leave non-preprocessor options in "$CC" (but still copy them to "$CFLAGS" 2328 since that's where they should be) 2329 CF_GNU_SOURCE,v 2330 + recent glibc (Debian 2.23-4 for example) has misordered ifdef/checks for new 2331 symbol _DEFAULT_SOURCE, producing warning messages when only _GNU_SOURCE is 2332 defined. Add a followup check to define _DEFAULT_SOURCE. 2333 CF_XOPEN_SOURCE 2334 + add "uclinux" to list of Linux's (patch by Yann E. Morin) 2335 + use _GNU_SOURCE for cygwin headers 2336 + build-fixes for OS/2 2337 2338 * VERSION, package/byacc.spec, package/debian/changelog, 2339 package/mingw-byacc.spec, package/pkgsrc/Makefile: 2340 bump 2341 23422016-11-20 Thomas E. Dickey <dickey@invisible-island.net> 2343 2344 * config.sub: 2016-11-19 2345 2346 * config.guess: 2016-10-02 2347 23482016-06-06 Thomas E. Dickey <dickey@invisible-island.net> 2349 2350 * configure: regen 2351 2352 * aclocal.m4: improved autoconf macros: 2353 CF_CC_ENV_FLAGS - don't limit the check to -I, -U and -D options, since the 2354 added options can include various compiler options before and after 2355 preprocessor options. 2356 CF_PROG_LINT - add cpplint to programs to use; drop ad hoc tdlint and alint. 2357 2358 * VERSION, package/byacc.spec, package/debian/changelog, 2359 package/mingw-byacc.spec, package/pkgsrc/Makefile: 2360 bump 2361 2362 * lalr.c: indented 2363 2364 * btyaccpar.c: regen 2365 2366 * skel2c: 2367 adjust whitespace so that generated skeleton will follow the same format 2368 as other code 2369 2370 * mkpar.c, verbose.c, lr0.c, reader.c, error.c, output.c: indented 2371 2372 * reader.c: fix two compiler warnings 2373 2374 * test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, 2375 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 2376 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, 2377 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, 2378 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, 2379 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, 2380 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax12.tab.c, 2381 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, 2382 test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, 2383 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, 2384 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, 2385 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, 2386 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, 2387 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, 2388 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, 2389 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, 2390 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, 2391 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, 2392 test/btyacc/rename_debug.c, btyaccpar.c, 2393 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, 2394 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, 2395 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, 2396 test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax20.tab.c, 2397 test/yacc/error.tab.c, test/yacc/grammar.tab.c, 2398 test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, 2399 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, 2400 test/yacc/quote_calc.tab.c, test/yacc/calc.tab.c, 2401 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, 2402 test/yacc/code_calc.code.c, test/yacc/code_error.code.c, 2403 test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, 2404 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, 2405 test/yacc/err_syntax18.tab.c, test/yacc/rename_debug.c, yaccpar.c: 2406 regen 2407 24082016-06-06 Tom.Shields 2409 2410 * btyaccpar.skel, yaccpar.skel: 2411 small fix for an edge case of initialized data in Chris Dodd's btyacc changes: 2412 "Avoid crash when input pops up an Action error at the first token" 2413 24142016-06-01 Thomas E. Dickey <dickey@invisible-island.net> 2415 2416 * test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc3-s.tab.c, 2417 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, 2418 test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, 2419 test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, 2420 test/yacc/err_syntax24.error, test/yacc/error.tab.c, 2421 test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, 2422 test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, 2423 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, 2424 test/yacc/quote_calc2.tab.c, test/yacc/calc.tab.c, 2425 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, 2426 test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, 2427 test/yacc/code_calc.tab.h, test/yacc/code_error.code.c, 2428 test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, 2429 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, 2430 test/yacc/rename_debug.c, yaccpar.c, test/btyacc/quote_calc-s.tab.c, 2431 test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, 2432 test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, 2433 test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, 2434 test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, 2435 test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c, 2436 test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, 2437 test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, 2438 test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c, 2439 test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, 2440 test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, 2441 test/btyacc/err_syntax24.error, test/btyacc/err_syntax24.tab.c, 2442 test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, 2443 test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, 2444 test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, 2445 test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, 2446 test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, 2447 test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, 2448 test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c, 2449 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, 2450 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.output, 2451 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, 2452 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 2453 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.error, 2454 test/btyacc/btyacc_demo.output, test/btyacc/btyacc_demo.tab.c, 2455 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, 2456 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, 2457 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, 2458 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, 2459 test/btyacc/code_calc.tab.c, test/btyacc/code_calc.tab.h, 2460 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, 2461 test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, 2462 test/btyacc/err_inherit3.output, test/btyacc/err_inherit3.tab.c, 2463 test/btyacc/err_inherit4.output, test/btyacc/err_inherit4.tab.c, 2464 test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, 2465 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, 2466 test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c, btyaccpar.c: 2467 regen 2468 24692016-06-01 Tom.Shields 2470 2471 * btyaccpar.skel, defs.h, error.c, output.c, reader.c, test/code_calc.y, 2472 test/err_inherit4.y, test/run_make.sh, yaccpar.skel: 2473 fixes for issues in btyacc (report by Francis Andre): 2474 2475 + correction to the placement of the #line directive for a %union specification 2476 2477 + recovery of a set of casts originally added into btyaccpar.c rather than into 2478 btyaccpar.skel, and so are lost whenever building from scratch 2479 2480 + Chris Dodd's btyacc improved handling of inherited attributes to eliminate 2481 implicit empty copy rules that are not necessary, and thereby avoiding the 2482 introduction of extra parsing ambiguity 2483 2484 + Chris Dodd's added support for @-N syntax to reference inherited position 2485 information 2486 2487 + correction to bad interaction between %token-table and YYDEBUG, where YYDEBUG 2488 was required to be defined in order to compile the generated code 2489 2490 + correction to yyname[] access in code included with YYDEBUG defined for 2491 single character symbols not recognized (e.g., input containing '&' character 2492 where grammar doesn't define that as a symbol) - map to existing 2493 "illegal-symbol" entry in byname[] 2494 2495 + fixes to test/run_make.sh: skip test-err_* files; in the bison test phase 2496 skip additional files that contain features not supported by bison and 2497 inhibit new bison warning messages 2498 2499 + minor changes to btyaccpar.skel & yaccpar.skel so they are more similar in 2500 their commonality; makes it easier to maintain the pair of files using 2501 vimdiff 2502 2503 + changes to a couple of test cases for coverage of #3, #4 and #5 above 2504 25052016-06-01 Thomas E. Dickey <dickey@invisible-island.net> 2506 2507 * VERSION, package/byacc.spec, package/debian/changelog, 2508 package/mingw-byacc.spec, package/pkgsrc/Makefile: 2509 bump 2510 25112016-03-24 Thomas E. Dickey <dickey@invisible-island.net> 2512 2513 * reader.c: unused variable 2514 2515 * package/pkgsrc/Makefile, package/debian/copyright: bump 2516 25172016-03-24 Jung-uk.Kim 2518 2519 * main.c: 2520 correct logic for finding output suffix in the "-o" option, which matched 2521 the first occurrence of ".c" in the name in 2005-08-13 changes rather than 2522 at the end of the filename (patch by Jung-uk Kim) 2523 25242016-03-24 Thomas E. Dickey <dickey@invisible-island.net> 2525 2526 * aclocal.m4: 2527 update CF_WITH_MAN2HTML to use configured shell rather than /bin/sh 2528 2529 * VERSION, package/byacc.spec, package/debian/changelog, 2530 package/mingw-byacc.spec, package/pkgsrc/Makefile: 2531 bump 2532 25332016-01-25 Thomas E. Dickey <dickey@invisible-island.net> 2534 2535 * config.guess, config.sub: 2016-01-01 2536 25372015-07-10 Thomas E. Dickey <dickey@invisible-island.net> 2538 2539 * lr0.c: fix a duplicate-free in the leak-checking 2540 2541 * VERSION, package/byacc.spec, package/debian/changelog, 2542 package/mingw-byacc.spec, package/pkgsrc/Makefile: 2543 bump 2544 2545 * reader.c: 2546 make cache-size clearer (prompted by discussion with Pedro Giffuni, 2547 Oliver Pinter) 2548 2549 * main.c: 2550 make relationship with format/size clearer (prompted by discussion 2551 with Pedro Giffuni, Oliver Pinter) 2552 25532015-07-05 Thomas E. Dickey <dickey@invisible-island.net> 2554 2555 * configure: regen 2556 2557 * package/pkgsrc/Makefile, package/mingw-byacc.spec, 2558 package/debian/copyright, package/debian/changelog, 2559 package/byacc.spec, VERSION: 2560 bump 2561 2562 * aclocal.m4: resync with my-autoconf 2563 add configure option --with-man2html 2564 2565 * makefile.in: add configure options --with-man2html 2566 2567 * configure.in: add configure option --with-man2html 2568 25692015-05-02 Thomas E. Dickey <dickey@invisible-island.net> 2570 2571 * config.guess: 2015-03-04 2572 2573 * config.sub: 2015-03-08 2574 25752014-11-28 Thomas E. Dickey <dickey@invisible-island.net> 2576 2577 * lr0.c: coverity #39181: memory leak 2578 2579 * VERSION, package/byacc.spec, package/debian/changelog, 2580 package/mingw-byacc.spec, package/pkgsrc/Makefile: 2581 bump 2582 25832014-11-13 Jouk.Jansen 2584 2585 * descrip.mms: 2586 I sucessfully compiled byacc on my OpenVMS systems. However, I had to update 2587 the descrip.mms to include some extra c-source files and some dependenxcies 2588 so that it also works when the distribution is located on an ODS5 disk. 2589 2590 The patched descrip.mms file can be found at: 2591 http://nchrem.tnw.tudelft.nl/openvms/software2.html#BYACC 2592 2593 Please feel free to insert the file in your distribution. 2594 2595 Regards 2596 Jouk. 2597 25982014-10-06 Thomas E. Dickey <dickey@invisible-island.net> 2599 2600 * package/detest/source/format: build-script 2601 2602 * package/debian/source/format: 2603 change to native format to work around regression in Debian packaging. 2604 2605 * VERSION, package/byacc.spec, package/debian/changelog, 2606 package/mingw-byacc.spec, package/pkgsrc/Makefile: 2607 bump 2608 2609 * configure: regen 2610 2611 * main.c: 2612 correct parameter for umask - for very old mkstemp's - and use type mode_t 2613 to quiet compiler warning 2614 2615 * configure.in: add configure check for mode_t 2616 2617 * reader.c: 2618 better fix for get_line, by ensuring there is enough space to null-terminate 2619 its result (prompted by discussion with Craig Rodrigues). 2620 26212014-10-05 Thomas E. Dickey <dickey@invisible-island.net> 2622 2623 * main.c: 2624 make change to umask before calling mkstemp, as suggested in Coverity #56902 2625 2626 * reader.c: 2627 adjust logic in copy_action to avoid potential null-pointer dereference 2628 (Coverity #56901) 2629 2630 * reader.c: 2631 adjust logic to avoid potential null-pointer dereference in compile_args 2632 (Coverity #63407) 2633 2634 * reader.c: eliminate strcpy into fixed-size buffer (Coverity #63408) 2635 2636 * yacc.1: document changes made with respect to %parse-param 2637 2638 * output.c: 2639 add parameters from %parse-param to destructor. The order of the parameters 2640 is intentionally inconsistent with yyparse/yyerror, for "compatibility" with 2641 bison. 2642 2643 * test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, 2644 test/btyacc/btyacc_destroy3.tab.c: 2645 regen 2646 2647 * output.c: 2648 use puts_param_types/puts_param_names to output lex_param data. 2649 2650 * test/btyacc/ok_syntax1.tab.c, test/btyacc/calc2.tab.c, 2651 test/btyacc/calc3.tab.c, test/yacc/ok_syntax1.tab.c, 2652 test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/btyacc/error.tab.c, 2653 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, 2654 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, 2655 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 2656 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, 2657 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, 2658 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, 2659 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, 2660 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, 2661 test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, 2662 test/btyacc/calc1.tab.c, test/btyacc/code_calc.code.c, 2663 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, 2664 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, 2665 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, 2666 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, 2667 test/btyacc/err_syntax20.tab.c, test/btyacc/rename_debug.c: 2668 regen 2669 2670 * btyaccpar.c: add casts, change types to fix strict compiler warnings 2671 2672 * test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax19.tab.c, 2673 test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax21.tab.c, 2674 test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, 2675 test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax25.tab.c, 2676 test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, 2677 test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, 2678 test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, 2679 test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, 2680 test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, 2681 test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, 2682 test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, 2683 test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, 2684 test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c, 2685 test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c: 2686 regen 2687 2688 * output.c: gcc-warning 2689 2690 * test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c: regen 2691 2692 * output.c: fix limit when merging real/workaround tables 2693 2694 * output.c: 2695 for btyacc, it is possible to have no conflicts - but in that case, the 2696 "ctable" was not generated at all, while the skeleton uses the table. 2697 The most straightforward (workaround) is generating a dummy table which 2698 rejects any state. 2699 2700 * test/btyacc_destroy3.y, test/btyacc_destroy2.y, test/btyacc_destroy1.y: 2701 fix "make check_make" 2702 2703 * test/yacc/calc3.tab.c, test/yacc/ok_syntax1.tab.c, 2704 test/yacc/calc2.tab.c, test/btyacc/btyacc_destroy1.tab.c, 2705 test/btyacc/btyacc_destroy2.tab.c: 2706 regen 2707 2708 * reader.c: 2709 trim blanks from interim value in copy_param() to handle special case when 2710 a space precedes a comma. 2711 2712 * output.c: 2713 use two new functions, puts_param_types and puts_param_names, to improve 2714 format of the parse_param list (by trimming space after "*") as well as 2715 correcting the output of the comma-separated names (only the last name 2716 was output). 2717 2718 * test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_destroy3.tab.c, 2719 test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c: 2720 regen 2721 2722 * reader.c: 2723 modify copy_param() to handle resulting comma-separated list. Before, it 2724 only expected a single parameter. 2725 27262014-10-04 Thomas E. Dickey <dickey@invisible-island.net> 2727 2728 * reader.c: split-out save_param() from copy_param() 2729 2730 * reader.c: trim_blanks() did not always convert spaces - fix. 2731 2732 * reader.c: fix some minor regressions with error-reporting 2733 2734 * aclocal.m4: update CF_XOPEN_SOURCE for Unixware change from lynx 2735 2736 * VERSION, package/byacc.spec, package/debian/changelog, 2737 package/mingw-byacc.spec, package/pkgsrc/Makefile: 2738 bump 2739 2740 * reader.c: 2741 modify copy_param() to accept multiple parameters, each in curly braces like 2742 recent bison, as well as honoring bison's undocumented feature to accept the 2743 parameters as a comma-separated list. 2744 2745 * test/btyacc/btyacc_destroy3.tab.c, test/btyacc/btyacc_destroy1.tab.c, 2746 test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.error, 2747 test/btyacc/btyacc_destroy3.output, test/btyacc/btyacc_destroy3.tab.h, 2748 test/btyacc/btyacc_destroy2.error, test/btyacc/btyacc_destroy2.output, 2749 test/btyacc/btyacc_destroy2.tab.h: 2750 RCS_BASE 2751 27522014-10-03 Thomas E. Dickey <dickey@invisible-island.net> 2753 2754 * test/btyacc/btyacc_demo2.error, test/btyacc/btyacc_demo2.output, 2755 test/btyacc/btyacc_demo2.tab.c, test/btyacc/btyacc_demo2.tab.h, 2756 test/btyacc/btyacc_destroy1.error, test/btyacc/btyacc_destroy1.output, 2757 test/btyacc/btyacc_destroy1.tab.h, test/btyacc_destroy3.y, 2758 test/btyacc_destroy1.y, test/btyacc_destroy2.y: 2759 RCS_BASE 2760 27612014-10-02 Thomas E. Dickey <dickey@invisible-island.net> 2762 2763 * main.c, reader.c, defs.h: 2764 use calloc in get_line() when allocating line to ensure it is fully initialized, 2765 fixes a later uninitialized value in copy_param() (FreeBSD #193499). 2766 27672014-09-17 Thomas E. Dickey <dickey@invisible-island.net> 2768 2769 * closure.c, lalr.c, output.c, defs.h: 2770 rephrase odd addressing to fix Coverity #48848, #38950, #38860, not actually 2771 a bug. 2772 27732014-09-01 Thomas E. Dickey <dickey@invisible-island.net> 2774 2775 * config.sub: update to 2014-07-28 2776 27772014-07-27 Thomas E. Dickey <dickey@invisible-island.net> 2778 2779 * configure: regen 2780 2781 * aclocal.m4: modified to support port to Minix3.2 2782 2783 * package/pkgsrc/Makefile, VERSION, package/byacc.spec, 2784 package/debian/changelog, package/mingw-byacc.spec: 2785 bump 2786 27872014-07-15 Thomas E. Dickey <dickey@invisible-island.net> 2788 2789 * aclocal.m4: resync with my-autoconf (no change to configure script) 2790 2791 * VERSION, package/byacc.spec, package/debian/changelog, 2792 package/mingw-byacc.spec, package/pkgsrc/Makefile: 2793 bump 2794 2795 * test/run_test.sh: 2796 make top-level "make check" work again, by adding another step to filtering 2797 the test results. 2798 27992014-07-14 Thomas E. Dickey <dickey@invisible-island.net> 2800 2801 * test/run_test.sh: changes from Garrett Cooper's patch: 2802 a) ensure that the script returns an error-code if there are differences 2803 b) escape "." character in left side of sed expression for $YACC 2804 c) ensure that $ifBTYACC has a value 2805 2806 * test/btyacc/big_b.output, test/btyacc/big_l.output, 2807 test/btyacc/help.output, test/btyacc/no_b_opt.output, 2808 test/btyacc/no_output2.output, test/btyacc/no_p_opt.output, 2809 test/btyacc/nostdin.output: 2810 regen (reminder by Garrett Cooper) 2811 28122014-07-14 Garrett.Cooper 2813 2814 * test/btyacc/err_inherit1.error, test/btyacc/err_inherit2.error, 2815 test/btyacc/err_inherit3.error, test/btyacc/err_inherit4.error, 2816 test/btyacc/err_inherit5.error, test/btyacc/err_syntax1.error, 2817 test/btyacc/err_syntax10.error, test/btyacc/err_syntax11.error, 2818 test/btyacc/err_syntax12.error, test/btyacc/err_syntax13.error, 2819 test/btyacc/err_syntax14.error, test/btyacc/err_syntax15.error, 2820 test/btyacc/err_syntax16.error, test/btyacc/err_syntax17.error, 2821 test/btyacc/err_syntax18.error, test/btyacc/err_syntax19.error, 2822 test/btyacc/err_syntax2.error, test/btyacc/err_syntax21.error, 2823 test/btyacc/err_syntax22.error, test/btyacc/err_syntax23.error, 2824 test/btyacc/err_syntax24.error, test/btyacc/err_syntax25.error, 2825 test/btyacc/err_syntax26.error, test/btyacc/err_syntax27.error, 2826 test/btyacc/err_syntax3.error, test/btyacc/err_syntax4.error, 2827 test/btyacc/err_syntax5.error, test/btyacc/err_syntax6.error, 2828 test/btyacc/err_syntax7.error, test/btyacc/err_syntax7a.error, 2829 test/btyacc/err_syntax7b.error, test/btyacc/err_syntax8.error, 2830 test/btyacc/err_syntax8a.error, test/btyacc/err_syntax9.error, 2831 test/yacc/err_syntax1.error, test/yacc/err_syntax10.error, 2832 test/yacc/err_syntax11.error, test/yacc/err_syntax12.error, 2833 test/yacc/err_syntax13.error, test/yacc/err_syntax14.error, 2834 test/yacc/err_syntax15.error, test/yacc/err_syntax16.error, 2835 test/yacc/err_syntax17.error, test/yacc/err_syntax18.error, 2836 test/yacc/err_syntax19.error, test/yacc/err_syntax2.error, 2837 test/yacc/err_syntax21.error, test/yacc/err_syntax22.error, 2838 test/yacc/err_syntax23.error, test/yacc/err_syntax24.error, 2839 test/yacc/err_syntax25.error, test/yacc/err_syntax26.error, 2840 test/yacc/err_syntax27.error, test/yacc/err_syntax3.error, 2841 test/yacc/err_syntax4.error, test/yacc/err_syntax5.error, 2842 test/yacc/err_syntax6.error, test/yacc/err_syntax7.error, 2843 test/yacc/err_syntax7a.error, test/yacc/err_syntax7b.error, 2844 test/yacc/err_syntax8.error, test/yacc/err_syntax8a.error, 2845 test/yacc/err_syntax9.error: 2846 regen 2847 28482014-05-27 Tom.Shields 2849 2850 * main.c: remove obsolete -D option from usage message 2851 28522014-05-27 Thomas E. Dickey <dickey@invisible-island.net> 2853 2854 * VERSION, package/byacc.spec, package/debian/changelog, 2855 test/yacc/big_b.output, test/yacc/big_l.output, test/yacc/help.output, 2856 test/yacc/no_b_opt.output, test/yacc/no_output2.output, 2857 test/yacc/no_p_opt.output, test/yacc/nostdin.output: 2858 bump 2859 28602014-04-22 Thomas E. Dickey <dickey@invisible-island.net> 2861 2862 * mstring.c: 2863 use vsnprintf() to ensure that msprintf's buffer is large enough. 2864 2865 * main.c, defs.h: add mstring_leaks() 2866 2867 * configure: regen 2868 2869 * output.c: fix a complementary warning 2870 2871 * mstring.c: introduce vsnprintf 2872 2873 * configure.in, config_h.in: add check for vsnprintf 2874 2875 * output.c: quiet a type-conversion warning 2876 2877 * mstring.c: fix a potential memory leak on ENOMEM 2878 quiet a couple of type-conversion warnings 2879 2880 * defs.h: add/use GCC_PRINTFLIKE for msprintf() 2881 28822014-04-22 Tom.Shields 2883 2884 * README.BTYACC: 2885 drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant 2886 content into README.BTYACC 2887 28882014-04-22 Thomas E. Dickey <dickey@invisible-island.net> 2889 2890 * package/pkgsrc/Makefile, VERSION, package/byacc.spec, 2891 package/debian/changelog, package/mingw-byacc.spec: 2892 bump 2893 28942014-04-19 Thomas E. Dickey <dickey@invisible-island.net> 2895 2896 * config.sub: 2014-04-03 2897 2898 * config.guess: 2014-03-23 2899 29002014-04-09 Rick.Spates 2901 2902 * main.c, defs.h: patch to allow DEBUG build with WIN32 system 2903 29042014-04-09 Thomas E. Dickey <dickey@invisible-island.net> 2905 2906 * output.c, reader.c: gcc warnings 2907 2908 * reader.c: fix const-cast warnings 2909 2910 * test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, 2911 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc4-s.tab.c, 2912 test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, 2913 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, 2914 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, 2915 test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, 2916 test/btyacc/pure_error.tab.c, test/btyacc/quote_calc2-s.tab.c, 2917 test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3.tab.c, 2918 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, 2919 test/btyacc/code_error.tab.c, test/btyacc/empty.tab.c, 2920 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, 2921 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, 2922 test/btyacc/err_syntax12.tab.c, test/btyacc/error.tab.c, 2923 test/btyacc/rename_debug.c, test/btyacc/calc.tab.c, 2924 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, 2925 test/btyacc/calc3.tab.c, test/btyacc/code_calc.tab.c, output.c: 2926 fix a few clang --analyze warnings; one was a case where output_ctable emitted 2927 an empty table (which should be an error). 2928 2929 * reader.c: appease clang --analyze 2930 2931 * defs.h: mark two functions as no-return. 2932 2933 * package/debian/changelog: reason for release 2934 2935 * VERSION, package/byacc.spec, package/debian/changelog, 2936 package/mingw-byacc.spec, package/pkgsrc/Makefile: 2937 bump 2938 2939 * makefile.in: use $LINT_OPTS from environment via configure script 2940 2941 * test/btyacc/ok_syntax1.output, test/btyacc/ok_syntax1.tab.c, 2942 test/yacc/ok_syntax1.tab.c, test/ok_syntax1.y, 2943 test/yacc/ok_syntax1.output: 2944 tweaks to make generated files from ok_syntax1.y compile with check_make rule 2945 2946 * test/btyacc/rename_debug.c, test/btyacc/rename_debug.error, 2947 test/btyacc/rename_debug.h, test/btyacc/rename_debug.i, 2948 test/btyacc/rename_debug.output, test/yacc/rename_debug.c: 2949 reference output for testing 2950 2951 * test/run_test.sh: 2952 retain the renaming done for code_debug.y so that check_make will work. 2953 2954 * test/yacc/rename_debug.error, test/yacc/rename_debug.h, 2955 test/yacc/rename_debug.i, test/yacc/rename_debug.output: 2956 reference output for testing 2957 2958 * test/btyacc/ok_syntax1.error: RCS_BASE 2959 2960 * test/yacc/quote_calc4-s.tab.c, test/yacc/varsyntax_calc1.tab.c, 2961 test/yacc/code_error.code.c, test/yacc/empty.tab.c, 2962 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, 2963 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, 2964 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, 2965 test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, 2966 test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, 2967 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, 2968 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, 2969 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, 2970 test/yacc/quote_calc4.tab.c, test/yacc/calc.tab.c, 2971 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, 2972 test/yacc/code_calc.code.c, yaccpar.c: 2973 regen 2974 2975 * yacc.1: 2976 clarify relationship of btyacc features to default configuration. 2977 29782014-04-08 Thomas E. Dickey <dickey@invisible-island.net> 2979 2980 * test/yacc/ok_syntax1.output, test/yacc/ok_syntax1.tab.c, 2981 test/yacc/ok_syntax1.tab.h, test/btyacc/ok_syntax1.output, 2982 test/btyacc/ok_syntax1.tab.c, test/btyacc/ok_syntax1.tab.h: 2983 reference output for testing 2984 2985 * test/ok_syntax1.y: RCS_BASE 2986 2987 * test/yacc/ok_syntax1.error: reference output for testing 2988 2989 * test/yacc/big_b.error, test/yacc/big_b.output, test/yacc/big_l.error, 2990 test/yacc/big_l.output, test/btyacc/big_b.error, 2991 test/btyacc/big_b.output, test/btyacc/big_l.error, 2992 test/btyacc/big_l.output, test/run_test.sh: 2993 exercise -L/-B options 2994 2995 * test/yacc/code_debug.c, test/btyacc/code_debug.c, 2996 test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, 2997 test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, 2998 test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, 2999 test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, 3000 test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, 3001 test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, 3002 test/yacc/err_syntax26.tab.c, test/yacc/err_syntax27.tab.c, 3003 test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, 3004 test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, 3005 test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, 3006 test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, 3007 test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, 3008 test/yacc/error.tab.c, test/yacc/grammar.tab.c, 3009 test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, 3010 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, 3011 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, 3012 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, 3013 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, 3014 test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, 3015 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, 3016 test/yacc/code_calc.code.c, test/yacc/code_error.code.c, 3017 test/yacc/empty.tab.c, test/yacc/err_syntax1.tab.c, 3018 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, 3019 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax13.tab.c, 3020 test/yacc/err_syntax14.tab.c, test/btyacc/err_syntax13.tab.c, 3021 test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, 3022 test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c, 3023 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, 3024 test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax20.tab.c, 3025 test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, 3026 test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c, 3027 test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, 3028 test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, 3029 test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, 3030 test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, 3031 test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, 3032 test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, 3033 test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c, 3034 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, 3035 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, 3036 test/btyacc/pure_error.tab.c, test/btyacc/btyacc_demo.tab.c, 3037 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, 3038 test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, 3039 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, 3040 test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, 3041 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, 3042 test/btyacc/err_syntax12.tab.c, test/btyacc/pure_calc.tab.c, 3043 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, 3044 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, 3045 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, 3046 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, 3047 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, 3048 test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, 3049 test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, 3050 test/btyacc/code_calc.code.c, test/run_test.sh, 3051 test/yacc/no_b_opt1.output: 3052 use a better renaming of the YYPATCH definition (none of the test-cases rely 3053 upon it, but redefinition in the "make check_make" rule is a problem). 3054 3055 * test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax13.tab.c, 3056 test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax25.tab.c, 3057 test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, 3058 test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, 3059 test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, 3060 test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, 3061 test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, 3062 test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, 3063 test/btyacc/varsyntax_calc1.tab.c: 3064 undid temporary reordering in reader() by Tom Shields to align with byacc outputs 3065 3066 * test/run_test.sh: remove a repeated test-case 3067 3068 * mstring.c: minor reformatting to make coverage analysis simpler 3069 30702014-04-07 Thomas E. Dickey <dickey@invisible-island.net> 3071 3072 * test/run_test.sh: tidy 3073 3074 * test/yacc/help.error, test/yacc/help.output, test/yacc/no_b_opt.error, 3075 test/yacc/no_b_opt.output, test/yacc/no_b_opt1.error, 3076 test/yacc/no_b_opt1.output, test/yacc/no_code_c.error, 3077 test/yacc/no_code_c.output, test/yacc/no_defines.error, 3078 test/yacc/no_defines.output, test/yacc/no_graph.error, 3079 test/yacc/no_graph.output, test/yacc/no_include.error, 3080 test/yacc/no_include.output, test/yacc/no_opts.error, 3081 test/yacc/no_opts.output, test/yacc/no_output.error, 3082 test/yacc/no_output.output, test/yacc/no_output1.error, 3083 test/yacc/no_output1.output, test/yacc/no_output2.error, 3084 test/yacc/no_output2.output, test/yacc/no_p_opt.error, 3085 test/yacc/no_p_opt.output, test/yacc/no_p_opt1.error, 3086 test/yacc/no_p_opt1.output, test/yacc/no_verbose.error, 3087 test/yacc/no_verbose.output, test/yacc/nostdin.error, 3088 test/yacc/nostdin.output, test/yacc/test-no_b_opt1.output: 3089 reference output for testing 3090 3091 * test/run_test.sh: 3092 add special checks for flags which depend on writable/existing files 3093 3094 * test/btyacc/no_b_opt1.output, test/btyacc/no_p_opt1.output, 3095 test/btyacc/no_b_opt.error, test/btyacc/no_b_opt.output, 3096 test/btyacc/no_b_opt1.error, test/btyacc/no_code_c.output, 3097 test/btyacc/no_p_opt.error, test/btyacc/no_p_opt.output, 3098 test/btyacc/no_p_opt1.error, test/btyacc/no_output2.output, 3099 test/btyacc/no_code_c.error, test/btyacc/no_output2.error, 3100 test/btyacc/no_include.error, test/btyacc/no_include.output, 3101 test/btyacc/no_defines.output, test/btyacc/no_defines.error, 3102 test/btyacc/no_verbose.output, test/btyacc/no_graph.output, 3103 test/btyacc/no_graph.error, test/btyacc/no_opts.error, 3104 test/btyacc/no_opts.output, test/btyacc/no_verbose.error, 3105 test/btyacc/nostdin.error, test/btyacc/nostdin.output, 3106 test/btyacc/no_output.error, test/btyacc/no_output.output, 3107 test/btyacc/no_output1.error, test/btyacc/no_output1.output: 3108 reference output for testing 3109 3110 * main.c: 3111 change CREATE_FILE_NAMES() to use local function rather than inline code, 3112 to simplify coverage analysis. 3113 3114 * test/btyacc/err_syntax27.error, test/btyacc/err_syntax27.output, 3115 test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax27.tab.h, 3116 test/btyacc/help.error, test/btyacc/help.output, 3117 test/yacc/err_syntax27.error, test/yacc/err_syntax27.output, 3118 test/yacc/err_syntax27.tab.c, test/yacc/err_syntax27.tab.h: 3119 reference output for testing 3120 3121 * test/err_syntax27.y: testcase for missing_brace() 3122 3123 * error.c: ifdef'd non-btyacc function 3124 3125 * lr0.c: ifdef'd debug-code 3126 3127 * yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel 3128 3129 * test/btyacc/code_debug.c, test/btyacc/err_syntax12.tab.c, 3130 test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, 3131 test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c, 3132 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, 3133 test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, 3134 test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, 3135 test/btyacc/err_syntax24.tab.c, test/btyacc/error.tab.c, 3136 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, 3137 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, 3138 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 3139 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, 3140 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, 3141 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, 3142 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, 3143 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, 3144 test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, 3145 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, 3146 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, 3147 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, 3148 test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, 3149 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, 3150 test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax10.tab.c, 3151 test/btyacc/err_syntax11.tab.c, test/yacc/err_syntax11.tab.c, 3152 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, 3153 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, 3154 test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, 3155 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, 3156 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, 3157 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, 3158 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, 3159 test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, 3160 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, 3161 test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, 3162 test/yacc/code_debug.c, test/yacc/code_error.code.c, 3163 test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, output.c, 3164 test/yacc/err_syntax1.tab.c, test/yacc/err_syntax13.tab.c, 3165 test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c, 3166 test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, 3167 test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, 3168 test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c, 3169 test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, 3170 test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, 3171 test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, 3172 test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, 3173 test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, 3174 test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, 3175 test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, 3176 test/run_test.sh: 3177 2010/11/26 simplification of output.c using putc_code() and putl_code() 3178 omitted an adjustment of the #line value used for code-file. Fix that. 3179 Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for 3180 YYPATCH #define's to make test-outputs easier to compare #line's (report 3181 by Tom Shields) 3182 31832014-04-06 Thomas E. Dickey <dickey@invisible-island.net> 3184 3185 * reader.c: fix for valgrind 3186 (the calloc's are intentional - valgrind reported use of uninitialized memory) 3187 3188 * lr0.c, output.c: fix for valgrind 3189 3190 * test/btyacc/code_debug.c, test/btyacc/code_debug.error, 3191 test/btyacc/code_debug.h, test/btyacc/code_debug.i, 3192 test/btyacc/code_debug.output: 3193 RCS_BASE 3194 3195 * test/yacc/code_debug.c, test/yacc/code_debug.h: 3196 exercise the -i option 3197 3198 * test/yacc/code_debug.i: reference output for testing 3199 3200 * test/run_test.sh: exercise the -i option 3201 3202 * test/yacc/code_debug.c: reference output for testing 3203 3204 * test/run_test.sh: exercise the "-o" option 3205 3206 * test/yacc/code_debug.error, test/yacc/code_debug.h, 3207 test/yacc/code_debug.output: 3208 reference output for testing 3209 3210 * output.c: don't call exit() without giving a chance to cleanup. 3211 3212 * mstring.c: ifdef'd functions not used in byacc 3213 3214 * btyaccpar.c: generated from btyaccpar.skel 3215 3216 * yaccpar.c: generated from yaccpar.skel 3217 3218 * skel2c: 3219 change the generated-by comment to show which version of this script (and 3220 which version of the given skeleton file) were used to produce the C-file. 3221 3222 * configure: regen 3223 3224 * makefile.in: 3225 add rules to generate byacc and btyacc parser skeleton files independently 3226 3227 * aclocal.m4: CF_PROG_AWK - add to byacc's configure script 3228 CF_INTEL_COMPILER 3229 cleanup the -no-gcc option which was leftover from testing - prcs does 3230 not build with this option. 3231 CF_MAKE_DOCS 3232 protect $2 from substitution, for luit's "$(manext)" 3233 CF_XOPEN_SOURCE 3234 for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2 3235 on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE 3236 because it is not needed, as well as because g++ 4.7.3 (no package, 3237 used in Sage for Solaris 10) has some unspecified header breakage which 3238 is triggered by the duplicate definition. 3239 3240 * configure.in: 3241 modify so skeleton-source is determined by configure options rather than by 3242 having developer rename yaccpar.skel.old to yaccpar.skel 3243 3244 * descrip.mms: rename skeleton 3245 3246 * vmsbuild.com: 3247 fwiw, renamed the skeleton for consistency with makefile 3248 3249 * skel2c, skeleton.c: resync skeleton and its generating files 3250 3251 * yaccpar.skel: 3252 renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules 3253 3254 * yaccpar.skel.old: resync skeleton and its generating files 3255 3256 * test/run_make.sh: improve cleanup after error recovery 3257 3258 * test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, 3259 test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, 3260 test/yacc/code_error.code.c, test/yacc/empty.tab.c, 3261 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, 3262 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, 3263 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, 3264 test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, 3265 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, 3266 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, 3267 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, 3268 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, 3269 test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, 3270 output.c, skeleton.c, defs.h: 3271 use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton 3272 3273 * output.c: simplify output_yyerror_decl() 3274 3275 * test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, 3276 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, 3277 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, 3278 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, 3279 test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, 3280 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, 3281 test/yacc/calc3.tab.c, test/yacc/code_calc.tab.c, 3282 test/yacc/code_error.tab.c, test/yacc/empty.tab.c, 3283 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, 3284 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, 3285 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, 3286 test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, output.c: 3287 add second "const" to string-table declarations, from Tom Shield's btyacc changes 3288 3289 * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, 3290 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, 3291 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, 3292 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 3293 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, 3294 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, 3295 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, 3296 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, 3297 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, 3298 test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, 3299 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, 3300 test/btyacc/calc3.tab.c, test/btyacc/empty.tab.c, 3301 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, 3302 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, 3303 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c: 3304 discard unnecessary call on write_code_lineno() from Tom Shield's changes 3305 3306 * test/yacc/error.tab.c, test/yacc/grammar.tab.c, 3307 test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, 3308 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, 3309 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, 3310 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, 3311 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, 3312 test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, 3313 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, 3314 test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, 3315 test/yacc/code_error.code.c, test/yacc/code_error.tab.c, 3316 test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, 3317 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, 3318 test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, output.c: 3319 use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short" 3320 3321 * test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c: 3322 use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL() 3323 3324 * test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, 3325 test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, 3326 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, 3327 test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, 3328 test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, 3329 test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, 3330 test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, 3331 test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, 3332 test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, 3333 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, 3334 test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, 3335 test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, 3336 test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, 3337 test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, 3338 test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, 3339 test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c: 3340 discard unnecessary call on write_code_lineno() from Tom Shield's changes 3341 3342 * output.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, 3343 test/yacc/code_calc.tab.c, test/yacc/code_error.tab.c: 3344 use fix from Tom Shield's btyacc changes: prefix-definitions went to the 3345 output (.tab.c) file in a case where they should have gone to the code 3346 (.code.c) file. Remove now-redundant call to output_prefix(). 3347 3348 * main.c: do the same for help-message 3349 3350 * main.c: use OUTPUT_SUFFIX symbol in an overlooked case 3351 3352 * test/run_make.sh: 3353 modify to avoid use of VPATH, which has no standard implementation 3354 33552014-04-05 Thomas E. Dickey <dickey@invisible-island.net> 3356 3357 * test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, 3358 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, 3359 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 3360 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, 3361 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, 3362 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, 3363 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, 3364 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, 3365 test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, 3366 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, 3367 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, 3368 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, 3369 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, 3370 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, 3371 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, 3372 test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c: 3373 discard a change which merged CountLines() with explicit comparisons against 3374 code_file because that adds extra to the #line values 3375 3376 * test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, 3377 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, 3378 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, 3379 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, 3380 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, 3381 test/yacc/calc.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, 3382 test/yacc/code_calc.code.c, test/yacc/code_error.code.c, 3383 test/yacc/empty.tab.c, test/yacc/err_syntax11.tab.c, 3384 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, 3385 test/yacc/error.tab.c, output.c: 3386 add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to 3387 override fallback typedef for YYSTYPE when that symbol is undefined 3388 3389 * test/btyacc/error.tab.c, test/btyacc/inherit0.tab.c, 3390 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 3391 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, 3392 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, 3393 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, 3394 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, 3395 test/btyacc/calc.tab.c, test/btyacc/calc2.tab.c, 3396 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, 3397 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, 3398 test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, 3399 test/btyacc/err_syntax18.tab.c: 3400 minor tweak to coding style - use parenthesis for "defined" operator's parameter 3401 3402 * test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, 3403 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, 3404 test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, 3405 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, 3406 test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, 3407 test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, 3408 test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, 3409 test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, 3410 test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, 3411 test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, 3412 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, 3413 test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, 3414 test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, 3415 test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, 3416 test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, 3417 test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c: 3418 regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent 3419 3420 * test/yacc/err_syntax20.tab.c, test/yacc/grammar.tab.c, 3421 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, 3422 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, 3423 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, 3424 test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, 3425 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, 3426 test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, 3427 test/yacc/code_error.code.c, test/yacc/code_error.tab.c, 3428 test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, 3429 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c: 3430 regen after adding the YYUNDFTOKEN symbol 3431 3432 * output.c: 3433 integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol 3434 (I changed order of output to keep this adjacent to YYMAXTOKEN) 3435 3436 * reader.c: 3437 merge all but one small change from Tom Shield's btyacc changes - that 3438 changes the order of code-file in the tests. 3439 3440 * test/btyacc/btyacc_demo.tab.c: regen 3441 3442 * test/btyacc_demo.y: fix prototypes 3443 34442014-04-04 Thomas E. Dickey <dickey@invisible-island.net> 3445 3446 * reader.c, defs.h, main.c: 3447 more merging of Tom Shield's btyacc changes. In the merge, I moved the 3448 symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs 3449 34502014-04-03 Thomas E. Dickey <dickey@invisible-island.net> 3451 3452 * reader.c: 3453 merge-in 3/4 of btyacc's changes, deferring those which change test-outputs. 3454 Tom Shield's changes split-out copy_string() and copy_comment() functions 3455 to simplify some logic, as well as adding btyacc-only chunks 3456 3457 * makefile.in: build mstring.o, needed for changes in reader.c 3458 3459 * output.c: 3460 merge-in all of btyacc's changes which do not change byacc's test-output. 3461 Some of the merge uses ifdef-changes which I applied to ongoing resync, 3462 e.g., the introduction of PER_STATE. 3463 34642014-04-02 Thomas E. Dickey <dickey@invisible-island.net> 3465 3466 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen 3467 3468 * output.c: fix typo 3469 3470 * output.c, reader.c: 3471 merge in some chunks of reader and output files which do not affect byacc tests 3472 3473 * test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen 3474 3475 * test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, 3476 test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, 3477 test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, 3478 test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c, 3479 test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, 3480 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, 3481 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, 3482 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, 3483 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, 3484 test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, 3485 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, 3486 test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, 3487 test/yacc/code_error.code.c, test/yacc/empty.tab.c, 3488 test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c, 3489 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, 3490 test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, 3491 test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, 3492 test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, 3493 test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, 3494 test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, 3495 test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, 3496 test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, 3497 test/yacc/err_syntax26.tab.c, test/yacc/err_syntax3.tab.c, 3498 test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, skeleton.c: 3499 incorporate YYENOMEM and YYEOF symbols from btyacc 3500 3501 * output.c: merge chunk from btyacc changes for header-guards 3502 3503 * btyaccpar.skel: RCS_BASE 3504 3505 * yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues 3506 remove GCC_UNUSED to reduce name-pollution as well as being simpler 3507 3508 * main.c: 3509 move a btyacc symbol outside ifdef to work around current state of merge 3510 3511 * defs.h: 3512 add USE_HEADER_GUARDS to defer whether to modify byacc's header-output 3513 3514 * test/run_make.sh: 3515 do not try to compile files used for testing syntax-errors, since they are 3516 likely to be incomplete 3517 35182014-04-02 Tom.Shields 3519 3520 * main.c: changes for btyacc 3521 35222014-04-01 Thomas E. Dickey <dickey@invisible-island.net> 3523 3524 * reader.c: 3525 integrate change by Tom Shields to use bsearch rather than successive 3526 calls to matchec() 3527 3528 * defs.h: typedef __compar_fn_t is unnecessary 3529 3530 * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, 3531 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, 3532 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, 3533 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 3534 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, 3535 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, 3536 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, 3537 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, 3538 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, 3539 test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, 3540 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, 3541 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, 3542 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, 3543 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, 3544 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, 3545 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c: 3546 omit the GCC_UNUSED, as noted by Tom Shields not really essential 3547 35482014-04-01 Tom.Shields 3549 3550 * verbose.c: changes for btyacc, ifdef'd 3551 35522014-04-01 Thomas E. Dickey <dickey@invisible-island.net> 3553 3554 * mkpar.c: eliminate most of the ifdef's using macros 3555 35562014-04-01 Tom.Shields 3557 3558 * mkpar.c: merge btyacc changes (ifdef'd - no change to byacc) 3559 3560 * error.c: 3561 new functions used for reporting errors from the btyacc configuration 3562 (I reordered some, and ifdef'd the new ones -TD) 3563 35642014-03-31 Thomas E. Dickey <dickey@invisible-island.net> 3565 3566 * test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c: 3567 omit the GCC_UNUSED, as noted by Tom Shields not really essential 3568 3569 * test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, 3570 test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.tab.c, 3571 test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, 3572 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, 3573 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax14.tab.c, 3574 test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, 3575 test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, 3576 test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax20.tab.c, 3577 test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, 3578 test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c: 3579 regen 3580 35812014-03-29 Thomas E. Dickey <dickey@invisible-island.net> 3582 3583 * test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, 3584 test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, 3585 test/yacc/err_syntax26.tab.c, test/yacc/err_syntax3.tab.c, 3586 test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, 3587 test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, 3588 test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, 3589 test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, 3590 test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c, 3591 test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, 3592 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, 3593 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, 3594 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, 3595 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, 3596 test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, 3597 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, 3598 test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, 3599 test/yacc/code_error.code.c, test/yacc/empty.tab.c, 3600 test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c, 3601 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, 3602 test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, 3603 test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, 3604 test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, 3605 test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, 3606 test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, skeleton.c: 3607 comment-out yysccsid in the banner because it produces unnecessary compiler 3608 warnings. The suggested alternative (using #pragma ident) in the preceding 3609 comment is also obsolete; remove that comment (request by Gleb Smirnoff). 3610 3611 * test/run_test.sh: 3612 for yacc, ignore the inherit testcases, since they are btyacc-specific 3613 36142014-03-28 Thomas E. Dickey <dickey@invisible-island.net> 3615 3616 * test/yacc/varsyntax_calc1.error, test/yacc/varsyntax_calc1.output, 3617 test/yacc/varsyntax_calc1.tab.c, test/yacc/varsyntax_calc1.tab.h, 3618 test/yacc/err_inherit3.error, test/yacc/err_inherit3.output, 3619 test/yacc/err_inherit3.tab.c, test/yacc/err_inherit3.tab.h, 3620 test/yacc/err_inherit4.error, test/yacc/err_inherit4.output, 3621 test/yacc/err_inherit4.tab.c, test/yacc/err_inherit4.tab.h, 3622 test/yacc/err_inherit5.error, test/yacc/err_inherit5.output, 3623 test/yacc/err_inherit5.tab.c, test/yacc/err_inherit5.tab.h, 3624 test/yacc/inherit0.error, test/yacc/inherit0.output, 3625 test/yacc/inherit0.tab.c, test/yacc/inherit0.tab.h, 3626 test/yacc/inherit1.error, test/yacc/inherit1.output, 3627 test/yacc/inherit1.tab.c, test/yacc/inherit1.tab.h, 3628 test/yacc/inherit2.error, test/yacc/inherit2.output, 3629 test/yacc/inherit2.tab.c, test/yacc/inherit2.tab.h, 3630 test/yacc/empty.error, test/yacc/empty.output, test/yacc/empty.tab.c, 3631 test/yacc/empty.tab.h, test/yacc/err_inherit1.error, 3632 test/yacc/err_inherit1.output, test/yacc/err_inherit1.tab.c, 3633 test/yacc/err_inherit1.tab.h, test/yacc/err_inherit2.error, 3634 test/yacc/err_inherit2.output, test/yacc/err_inherit2.tab.c, 3635 test/yacc/err_inherit2.tab.h: 3636 reference output for testing 3637 3638 * test/run_lint.sh, test/run_make.sh, test/run_test.sh: 3639 moving #define's out of makefile broke check for yacc vs btyacc (fix) 3640 36412014-03-28 Tom.Shields 3642 3643 * test/btyacc/btyacc_demo.tab.c, test/btyacc/err_inherit3.error, 3644 test/btyacc/err_inherit3.output, test/btyacc/err_inherit3.tab.c, 3645 test/btyacc/err_inherit3.tab.h, test/btyacc/err_inherit2.error, 3646 test/btyacc/err_inherit2.output, test/btyacc/err_inherit2.tab.c, 3647 test/btyacc/err_inherit2.tab.h, test/btyacc/err_inherit4.error, 3648 test/btyacc/err_inherit4.output, test/btyacc/err_inherit4.tab.c, 3649 test/btyacc/err_inherit4.tab.h, test/btyacc/err_inherit5.error, 3650 test/btyacc/err_inherit5.output, test/btyacc/err_inherit5.tab.c, 3651 test/btyacc/err_inherit5.tab.h, test/btyacc/inherit0.error, 3652 test/btyacc/inherit0.output, test/btyacc/inherit0.tab.c, 3653 test/btyacc/inherit0.tab.h, test/btyacc/inherit1.error, 3654 test/btyacc/inherit1.output, test/btyacc/inherit1.tab.c, 3655 test/btyacc/inherit1.tab.h, test/btyacc/inherit2.error, 3656 test/btyacc/inherit2.output, test/btyacc/inherit2.tab.c, 3657 test/btyacc/inherit2.tab.h, test/btyacc/calc.error, 3658 test/btyacc/err_inherit1.error, test/btyacc/err_inherit1.output, 3659 test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit1.tab.h: 3660 reference output for testing 3661 3662 * defs.h: new functions/variables for btyacc 3663 (I reordered and ifdef'd -TD) 3664 3665 * test/inherit0.y, test/inherit1.y: testcase for btyacc 3666 36672014-03-27 Tom.Shields 3668 3669 * test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y, 3670 test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y: 3671 testcase for btyacc 3672 36732014-03-25 Tom.Shields 3674 3675 * symtab.c: extra initialization needed for btyacc 3676 (I ifdef'd -TD) 3677 3678 * yacc.1: document -L/-B features from btyacc 3679 36802014-03-25 Thomas E. Dickey <dickey@invisible-island.net> 3681 3682 * yacc.1: typo 3683 3684 * configure: regen 3685 3686 * configure.in: 3687 modified new options to act like those in my other configure-scripts, e.g., 3688 showing what option is being tested, and the resulting value. Put the 3689 definitions in config.h rather than in the makefile. 3690 36912014-03-25 Tom.Shields 3692 3693 * makefile.in: add/use LINTFLAGS variable 3694 make all of the objects (not just skeleton) rebuild if makefile changes 3695 modify check-rule to reflect updates to run_test.sh vs subdirectory 3696 3697 * mstring.c: byacc-btyacc-20140323 3698 36992014-03-25 Thomas E. Dickey <dickey@invisible-island.net> 3700 3701 * config_h.in: updated with autoheader-252 3702 37032014-03-25 Tom.Shields 3704 3705 * README.BTYACC: byacc-btyacc-20140323 3706 37072014-03-24 Tom.Shields 3708 3709 * test/btyacc/err_syntax1.output, test/btyacc/err_syntax1.tab.c, 3710 test/btyacc/err_syntax1.tab.h, test/btyacc/err_syntax10.error, 3711 test/btyacc/err_syntax10.output, test/btyacc/err_syntax10.tab.c, 3712 test/btyacc/err_syntax10.tab.h, test/btyacc/err_syntax11.error, 3713 test/btyacc/err_syntax11.output, test/btyacc/err_syntax11.tab.c, 3714 test/btyacc/err_syntax11.tab.h, test/btyacc/err_syntax12.error, 3715 test/btyacc/err_syntax12.output, test/btyacc/err_syntax12.tab.c, 3716 test/btyacc/err_syntax12.tab.h, test/btyacc/err_syntax13.error, 3717 test/btyacc/err_syntax13.output, test/btyacc/err_syntax13.tab.c, 3718 test/btyacc/err_syntax13.tab.h, test/btyacc/err_syntax14.error, 3719 test/btyacc/err_syntax14.output, test/btyacc/err_syntax14.tab.c, 3720 test/btyacc/err_syntax14.tab.h, test/btyacc/err_syntax15.error, 3721 test/btyacc/err_syntax15.output, test/btyacc/err_syntax15.tab.c, 3722 test/btyacc/err_syntax15.tab.h, test/btyacc/err_syntax16.error, 3723 test/btyacc/err_syntax16.output, test/btyacc/err_syntax16.tab.c, 3724 test/btyacc/err_syntax16.tab.h, test/btyacc/err_syntax17.error, 3725 test/btyacc/err_syntax17.output, test/btyacc/err_syntax17.tab.c, 3726 test/btyacc/err_syntax17.tab.h, test/btyacc/err_syntax18.error, 3727 test/btyacc/err_syntax18.output, test/btyacc/err_syntax18.tab.c, 3728 test/btyacc/err_syntax18.tab.h, test/btyacc/err_syntax19.error, 3729 test/btyacc/err_syntax19.output, test/btyacc/err_syntax19.tab.c, 3730 test/btyacc/err_syntax19.tab.h, test/btyacc/err_syntax2.output, 3731 test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax2.tab.h, 3732 test/btyacc/err_syntax20.error, test/btyacc/err_syntax20.output, 3733 test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax20.tab.h, 3734 test/btyacc/err_syntax21.error, test/btyacc/err_syntax21.output, 3735 test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax21.tab.h, 3736 test/btyacc/err_syntax22.error, test/btyacc/err_syntax22.output, 3737 test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax22.tab.h, 3738 test/btyacc/err_syntax23.error, test/btyacc/err_syntax23.output, 3739 test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax23.tab.h, 3740 test/btyacc/err_syntax24.error, test/btyacc/err_syntax24.output, 3741 test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax24.tab.h, 3742 test/btyacc/err_syntax25.error, test/btyacc/err_syntax25.output, 3743 test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax25.tab.h, 3744 test/btyacc/err_syntax26.error, test/btyacc/err_syntax26.output, 3745 test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax26.tab.h, 3746 test/btyacc/err_syntax3.output, test/btyacc/err_syntax3.tab.c, 3747 test/btyacc/err_syntax3.tab.h, test/btyacc/err_syntax4.output, 3748 test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax4.tab.h, 3749 test/btyacc/err_syntax5.output, test/btyacc/err_syntax5.tab.c, 3750 test/btyacc/err_syntax5.tab.h, test/btyacc/err_syntax6.output, 3751 test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax6.tab.h, 3752 test/btyacc/err_syntax7.output, test/btyacc/err_syntax7.tab.c, 3753 test/btyacc/err_syntax7.tab.h, test/btyacc/err_syntax7a.output, 3754 test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7a.tab.h, 3755 test/btyacc/err_syntax7b.output, test/btyacc/err_syntax7b.tab.c, 3756 test/btyacc/err_syntax7b.tab.h, test/btyacc/err_syntax8.output, 3757 test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8.tab.h, 3758 test/btyacc/err_syntax8a.output, test/btyacc/err_syntax8a.tab.c, 3759 test/btyacc/err_syntax8a.tab.h, test/btyacc/err_syntax9.output, 3760 test/btyacc/err_syntax9.tab.c, test/btyacc/err_syntax9.tab.h: 3761 reference output for testing 3762 37632014-03-24 Thomas E. Dickey <dickey@invisible-island.net> 3764 3765 * defs.h: fix compiler warnings due to mputc() 3766 37672014-03-23 Tom.Shields 3768 3769 * test/btyacc_demo.y: testcase for btyacc 3770 3771 * test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output, 3772 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h: 3773 reference output for testing 3774 3775 * test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc 3776 37772014-03-23 Thomas E. Dickey <dickey@invisible-island.net> 3778 3779 * test/err_syntax26.error, test/err_syntax26.output, 3780 test/err_syntax26.tab.c, test/err_syntax26.tab.h, 3781 test/yacc/err_syntax26.error, test/yacc/err_syntax26.output, 3782 test/yacc/err_syntax26.tab.c, test/yacc/err_syntax26.tab.h: 3783 reference output for testing 3784 3785 * test/err_syntax26.y: testcase for missing_brace() 3786 3787 * test/err_syntax25.error, test/err_syntax25.output, 3788 test/err_syntax25.tab.c, test/err_syntax25.tab.h, 3789 test/yacc/err_syntax25.error, test/yacc/err_syntax25.output, 3790 test/yacc/err_syntax25.tab.c, test/yacc/err_syntax25.tab.h: 3791 reference output for testing 3792 3793 * test/err_syntax25.y: testcase for over_unionized() 3794 3795 * test/err_syntax24.error, test/err_syntax24.output, 3796 test/err_syntax24.tab.c, test/err_syntax24.tab.h, 3797 test/yacc/err_syntax24.error, test/yacc/err_syntax24.output, 3798 test/yacc/err_syntax24.tab.c, test/yacc/err_syntax24.tab.h: 3799 reference output for testing 3800 3801 * test/err_syntax24.y: testcase for default_action_warning() 3802 38032014-03-23 Tom.Shields 3804 3805 * test/btyacc/quote_calc3-s.error, test/btyacc/quote_calc4-s.error, 3806 test/btyacc/quote_calc4.error, test/btyacc/grammar.dot, 3807 test/btyacc/grammar.error, test/btyacc/pure_calc.error, 3808 test/btyacc/pure_error.error, test/btyacc/quote_calc-s.error, 3809 test/btyacc/quote_calc.error, test/btyacc/quote_calc2-s.error, 3810 test/btyacc/quote_calc2.error, test/btyacc/quote_calc3.error, 3811 test/btyacc/err_syntax2.error, test/btyacc/err_syntax3.error, 3812 test/btyacc/err_syntax4.error, test/btyacc/err_syntax5.error, 3813 test/btyacc/err_syntax6.error, test/btyacc/err_syntax7.error, 3814 test/btyacc/err_syntax7a.error, test/btyacc/err_syntax7b.error, 3815 test/btyacc/err_syntax8.error, test/btyacc/err_syntax8a.error, 3816 test/btyacc/err_syntax9.error, test/btyacc/error.error, 3817 test/btyacc/calc1.error, test/btyacc/calc2.error, 3818 test/btyacc/calc3.error, test/btyacc/code_calc.error, 3819 test/btyacc/code_error.error, test/btyacc/empty.error, 3820 test/btyacc/err_syntax1.error, test/btyacc/btyacc_calc1.error, 3821 test/btyacc/btyacc_demo.error: 3822 reference output for testing 3823 38242014-03-23 Thomas E. Dickey <dickey@invisible-island.net> 3825 3826 * test/err_syntax23.error, test/err_syntax23.output, 3827 test/err_syntax23.tab.c, test/err_syntax23.tab.h, 3828 test/yacc/err_syntax23.error, test/yacc/err_syntax23.output, 3829 test/yacc/err_syntax23.tab.c, test/yacc/err_syntax23.tab.h: 3830 reference output for testing 3831 3832 * test/err_syntax23.y: testcase for untyped_lhs() 3833 38342014-03-23 Tom.Shields 3835 3836 * test/run_test.sh: 3837 move test-outputs into subdirectories to keep btyacc/yacc results separate 3838 38392014-03-23 Thomas E. Dickey <dickey@invisible-island.net> 3840 3841 * test/err_syntax22.error, test/err_syntax22.output, 3842 test/err_syntax22.tab.c, test/err_syntax22.tab.h, 3843 test/yacc/err_syntax22.error, test/yacc/err_syntax22.output, 3844 test/yacc/err_syntax22.tab.c, test/yacc/err_syntax22.tab.h: 3845 reference output for testing 3846 3847 * test/err_syntax22.y: testcase for untyped_rhs() 3848 3849 * test/err_syntax21.error, test/err_syntax21.output, 3850 test/err_syntax21.tab.c, test/err_syntax21.tab.h, 3851 test/yacc/err_syntax21.error, test/yacc/err_syntax21.output, 3852 test/yacc/err_syntax21.tab.c, test/yacc/err_syntax21.tab.h, 3853 test/err_syntax20.error, test/err_syntax20.output, 3854 test/err_syntax20.tab.c, test/err_syntax20.tab.h, 3855 test/yacc/err_syntax20.error, test/yacc/err_syntax20.output, 3856 test/yacc/err_syntax20.tab.c, test/yacc/err_syntax20.tab.h: 3857 reference output for testing 3858 3859 * test/err_syntax20.y: testcase for undefined_symbol_warning() 3860 3861 * test/err_syntax21.y: testcase for unknown_rhs() 3862 3863 * test/err_syntax19.error, test/err_syntax19.output, 3864 test/err_syntax19.tab.c, test/err_syntax19.tab.h, 3865 test/yacc/err_syntax19.error, test/yacc/err_syntax19.output, 3866 test/yacc/err_syntax19.tab.c, test/yacc/err_syntax19.tab.h: 3867 reference output for testing 3868 3869 * test/err_syntax19.y: testcase for dollar_error() 3870 3871 * test/err_syntax18.error, test/err_syntax18.output, 3872 test/err_syntax18.tab.c, test/err_syntax18.tab.h, 3873 test/yacc/err_syntax18.error, test/yacc/err_syntax18.output, 3874 test/yacc/err_syntax18.tab.c, test/yacc/err_syntax18.tab.h: 3875 reference output for testing 3876 3877 * test/err_syntax18.y: testcase for dollar_warning() 3878 3879 * test/err_syntax17.error, test/err_syntax17.output, 3880 test/err_syntax17.tab.c, test/err_syntax17.tab.h, 3881 test/yacc/err_syntax17.error, test/yacc/err_syntax17.output, 3882 test/yacc/err_syntax17.tab.c, test/yacc/err_syntax17.tab.h: 3883 reference output for testing 3884 3885 * test/err_syntax17.y: testcase for unterminated_action() 3886 38872014-03-22 Thomas E. Dickey <dickey@invisible-island.net> 3888 3889 * test/err_syntax16.error, test/err_syntax16.output, 3890 test/err_syntax16.tab.c, test/err_syntax16.tab.h, 3891 test/yacc/err_syntax16.error, test/yacc/err_syntax16.output, 3892 test/yacc/err_syntax16.tab.c, test/yacc/err_syntax16.tab.h: 3893 reference output for testing 3894 3895 * test/err_syntax16.y: testcase for terminal_lhs() 3896 3897 * test/err_syntax15.error, test/err_syntax15.output, 3898 test/err_syntax15.tab.c, test/err_syntax15.tab.h, 3899 test/yacc/err_syntax15.error, test/yacc/err_syntax15.output, 3900 test/yacc/err_syntax15.tab.c, test/yacc/err_syntax15.tab.h: 3901 reference output for testing 3902 3903 * test/err_syntax15.y: testcase for no_grammar() 3904 3905 * test/err_syntax14.error, test/err_syntax14.output, 3906 test/err_syntax14.tab.c, test/err_syntax14.tab.h, 3907 test/yacc/err_syntax14.error, test/yacc/err_syntax14.output, 3908 test/yacc/err_syntax14.tab.c, test/yacc/err_syntax14.tab.h: 3909 reference output for testing 3910 3911 * test/err_syntax14.y: 3912 testcase for restarted_warning() and undefined_goal() 3913 3914 * test/err_syntax13.error, test/err_syntax13.output, 3915 test/err_syntax13.tab.c, test/err_syntax13.tab.h, 3916 test/yacc/err_syntax13.error, test/yacc/err_syntax13.output, 3917 test/yacc/err_syntax13.tab.c, test/yacc/err_syntax13.tab.h: 3918 reference output for testing 3919 3920 * test/err_syntax13.y: testcase for terminal_start() 3921 3922 * test/err_syntax12.error, test/err_syntax12.output, 3923 test/err_syntax12.tab.c, test/err_syntax12.tab.h, 3924 test/yacc/err_syntax12.error, test/yacc/err_syntax12.output, 3925 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax12.tab.h: 3926 reference output for testing 3927 3928 * test/err_syntax12.y: testcase for revalued_warning() 3929 3930 * test/err_syntax11.error, test/err_syntax11.output, 3931 test/err_syntax11.tab.c, test/err_syntax11.tab.h, 3932 test/yacc/err_syntax11.error, test/yacc/err_syntax11.output, 3933 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax11.tab.h: 3934 reference output for testing 3935 3936 * test/err_syntax11.y: testcase for reprec_warning() 3937 3938 * test/err_syntax10.error, test/err_syntax10.output, 3939 test/err_syntax10.tab.c, test/err_syntax10.tab.h, 3940 test/yacc/err_syntax10.error, test/yacc/err_syntax10.output, 3941 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax10.tab.h: 3942 reference output for testing 3943 3944 * test/err_syntax10.y: testcase for retyped_warning() 3945 39462014-03-21 Thomas E. Dickey <dickey@invisible-island.net> 3947 3948 * test/err_syntax9.error, test/err_syntax9.output, 3949 test/err_syntax9.tab.c, test/err_syntax9.tab.h, 3950 test/yacc/err_syntax9.error, test/yacc/err_syntax9.output, 3951 test/yacc/err_syntax9.tab.c, test/yacc/err_syntax9.tab.h: 3952 reference output for testing 3953 3954 * test/err_syntax9.y: testcase for tokenized_start() 3955 3956 * test/err_syntax8.error, test/err_syntax8.output, 3957 test/err_syntax8.tab.c, test/err_syntax8.tab.h, 3958 test/err_syntax8a.error, test/err_syntax8a.output, 3959 test/err_syntax8a.tab.c, test/err_syntax8a.tab.h, 3960 test/yacc/err_syntax8.error, test/yacc/err_syntax8.output, 3961 test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8.tab.h, 3962 test/yacc/err_syntax8a.error, test/yacc/err_syntax8a.output, 3963 test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax8a.tab.h: 3964 reference output for testing 3965 3966 * test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved() 3967 3968 * test/err_syntax7.error, test/err_syntax7.output, 3969 test/err_syntax7.tab.c, test/err_syntax7.tab.h, 3970 test/err_syntax7a.error, test/err_syntax7a.output, 3971 test/err_syntax7a.tab.c, test/err_syntax7a.tab.h, 3972 test/err_syntax7b.error, test/err_syntax7b.output, 3973 test/err_syntax7b.tab.c, test/err_syntax7b.tab.h, 3974 test/yacc/err_syntax7.error, test/yacc/err_syntax7.output, 3975 test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7.tab.h, 3976 test/yacc/err_syntax7a.error, test/yacc/err_syntax7a.output, 3977 test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7a.tab.h, 3978 test/yacc/err_syntax7b.error, test/yacc/err_syntax7b.output, 3979 test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax7b.tab.h: 3980 reference output for testing 3981 3982 * test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y: 3983 testcase for illegal_character() 3984 3985 * test/err_syntax6.error, test/err_syntax6.output, 3986 test/err_syntax6.tab.c, test/err_syntax6.tab.h, 3987 test/yacc/err_syntax6.error, test/yacc/err_syntax6.output, 3988 test/yacc/err_syntax6.tab.c, test/yacc/err_syntax6.tab.h: 3989 reference output for testing 3990 3991 * test/err_syntax6.y: testcase for illegal_tag() 3992 3993 * test/err_syntax5.error, test/err_syntax5.output, 3994 test/err_syntax5.tab.c, test/err_syntax5.tab.h, 3995 test/yacc/err_syntax5.error, test/yacc/err_syntax5.output, 3996 test/yacc/err_syntax5.tab.c, test/yacc/err_syntax5.tab.h: 3997 reference output for testing 3998 3999 * test/err_syntax5.y: testcase for unterminated_union() 4000 4001 * test/err_syntax4.error, test/err_syntax4.output, 4002 test/err_syntax4.tab.c, test/err_syntax4.tab.h, 4003 test/yacc/err_syntax4.error, test/yacc/err_syntax4.output, 4004 test/yacc/err_syntax4.tab.c, test/yacc/err_syntax4.tab.h: 4005 reference output for testing 4006 4007 * test/err_syntax4.y: testcase for unterminated_text() 4008 4009 * test/err_syntax3.error, test/err_syntax3.output, 4010 test/err_syntax3.tab.c, test/err_syntax3.tab.h, 4011 test/yacc/err_syntax3.error, test/yacc/err_syntax3.output, 4012 test/yacc/err_syntax3.tab.c, test/yacc/err_syntax3.tab.h: 4013 reference output for testing 4014 4015 * test/err_syntax3.y: testcase for unterminated_string() 4016 4017 * test/err_syntax2.error, test/err_syntax2.output, 4018 test/err_syntax2.tab.c, test/err_syntax2.tab.h, 4019 test/yacc/err_syntax2.error, test/yacc/err_syntax2.output, 4020 test/yacc/err_syntax2.tab.c, test/yacc/err_syntax2.tab.h: 4021 reference output for testing 4022 4023 * test/err_syntax2.y: testcase for unterminated_comment() 4024 4025 * test/err_syntax1.error, test/yacc/err_syntax1.error: 4026 reference output for testing 4027 4028 * test/err_syntax1.y: 4029 test-case with syntax error (and nonprinting character) 4030 4031 * test/calc.error, test/calc1.error, test/calc2.error, test/calc3.error, 4032 test/code_calc.error, test/code_error.error, test/err_syntax1.error, 4033 test/error.error, test/grammar.error, test/pure_calc.error, 4034 test/pure_error.error, test/quote_calc-s.error, test/quote_calc.error, 4035 test/quote_calc2-s.error, test/quote_calc2.error, 4036 test/quote_calc3-s.error, test/quote_calc3.error, 4037 test/quote_calc4-s.error, test/quote_calc4.error, 4038 test/yacc/calc.error, test/yacc/calc1.error, test/yacc/calc2.error, 4039 test/yacc/calc3.error, test/yacc/code_calc.error, 4040 test/yacc/code_error.error, test/yacc/error.error, 4041 test/yacc/grammar.error, test/yacc/pure_calc.error, 4042 test/yacc/pure_error.error, test/yacc/quote_calc-s.error, 4043 test/yacc/quote_calc.error, test/yacc/quote_calc2-s.error, 4044 test/yacc/quote_calc2.error, test/yacc/quote_calc3-s.error, 4045 test/yacc/quote_calc3.error, test/yacc/quote_calc4-s.error, 4046 test/yacc/quote_calc4.error: 4047 reference output for testing 4048 4049 * test/run_test.sh: 4050 save stderr to reference files, to capture shift/reduce messages as well 4051 as syntax-error messages 4052 4053 * test/err_syntax1.output, test/err_syntax1.tab.c, 4054 test/err_syntax1.tab.h, test/yacc/err_syntax1.output, 4055 test/yacc/err_syntax1.tab.c, test/yacc/err_syntax1.tab.h: 4056 reference output for testing 4057 4058 * test/run_test.sh: generate a ".dot" file for the grammar file 4059 4060 * test/grammar.dot: RCS_BASE 4061 4062 * test/yacc/grammar.dot: reference output for testing 4063 40642014-03-19 Tom.Shields 4065 4066 * output.c: rename MAXSHORT to MAXYYINT 4067 40682014-03-18 Tom.Shields 4069 4070 * yaccpar.skel: skeleton with btyacc additions 4071 4072 * NOTES-btyacc-Changes: byacc-btyacc-20140323 4073 4074 * test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c, 4075 test/btyacc/btyacc_calc1.tab.h: 4076 reference output for testing 4077 4078 * test/run_make.sh: 4079 move test-outputs into subdirectories to keep btyacc/yacc results separate 4080 4081 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_calc.tab.h, 4082 test/btyacc/pure_error.output, test/btyacc/pure_error.tab.c, 4083 test/btyacc/pure_error.tab.h, test/btyacc/quote_calc-s.output, 4084 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc-s.tab.h, 4085 test/btyacc/quote_calc.output, test/btyacc/quote_calc.tab.c, 4086 test/btyacc/quote_calc.tab.h, test/btyacc/quote_calc2-s.output, 4087 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2-s.tab.h, 4088 test/btyacc/quote_calc2.output, test/btyacc/quote_calc2.tab.c, 4089 test/btyacc/quote_calc2.tab.h, test/btyacc/quote_calc3-s.output, 4090 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3-s.tab.h, 4091 test/btyacc/quote_calc3.output, test/btyacc/quote_calc3.tab.c, 4092 test/btyacc/quote_calc3.tab.h, test/btyacc/quote_calc4-s.output, 4093 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4-s.tab.h, 4094 test/btyacc/quote_calc4.output, test/btyacc/quote_calc4.tab.c, 4095 test/btyacc/quote_calc4.tab.h, test/btyacc/calc1.output, 4096 test/btyacc/calc1.tab.c, test/btyacc/calc1.tab.h, 4097 test/btyacc/calc2.output, test/btyacc/calc2.tab.c, 4098 test/btyacc/calc2.tab.h, test/btyacc/calc3.output, 4099 test/btyacc/calc3.tab.c, test/btyacc/calc3.tab.h, 4100 test/btyacc/code_calc.code.c, test/btyacc/code_calc.output, 4101 test/btyacc/code_calc.tab.c, test/btyacc/code_calc.tab.h, 4102 test/btyacc/code_error.code.c, test/btyacc/code_error.output, 4103 test/btyacc/code_error.tab.c, test/btyacc/code_error.tab.h, 4104 test/btyacc/empty.output, test/btyacc/empty.tab.c, 4105 test/btyacc/empty.tab.h, test/btyacc/error.output, 4106 test/btyacc/error.tab.c, test/btyacc/error.tab.h, 4107 test/btyacc/grammar.output, test/btyacc/grammar.tab.c, 4108 test/btyacc/grammar.tab.h, test/btyacc/pure_calc.output, 4109 test/btyacc/btyacc_demo.output, test/btyacc/btyacc_demo.tab.h, 4110 test/btyacc/calc.output, test/btyacc/calc.tab.c, test/btyacc/calc.tab.h: 4111 reference output for testing 4112 4113 * defs.h: 4114 several changes to help decouple the use of 'short' as the type of value 4115 used in yacc parsers. 4116 4117 * NOTES-btyacc-Disposition: byacc-btyacc-20140323 4118 41192014-03-17 Tom.Shields 4120 4121 * skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE 4122 4123 * test/run_lint.sh: 4124 move test-outputs into subdirectories to keep btyacc/yacc results separate 4125 4126 * configure.in: add --with-max-table-size and --enable-btyacc options 4127 41282014-03-16 Tom.Shields 4129 4130 * main.c: use Value_t rather than short 4131 41322014-03-11 Tom.Shields 4133 4134 * test/empty.y: testcase for btyacc 4135 41362014-03-10 Tom.Shields 4137 4138 * test/calc3.y, test/calc2.y: fix unused-variable warning 4139 41402014-02-18 Tom.Shields 4141 4142 * lr0.c, graph.c: use Value_t rather than short 4143 4144 * closure.c: use Value_t rather than short 4145 ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions 4146 4147 * lalr.c: rename MAXSHORT to MAXYYINT 4148 41492014-01-01 Thomas E. Dickey <dickey@invisible-island.net> 4150 4151 * yacc.1: document %token-table, improve presentation of double-quotes 4152 4153 * VERSION, package/byacc.spec, package/debian/changelog: bump 4154 4155 * test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, 4156 test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, 4157 test/yacc/code_calc.tab.c, test/yacc/code_error.code.c, 4158 test/yacc/code_error.tab.c, test/yacc/error.tab.c, 4159 test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, 4160 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, 4161 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, 4162 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, 4163 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, 4164 test/yacc/quote_calc4.tab.c: 4165 reference output for testing 4166 4167 * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, 4168 test/code_calc.code.c, test/code_calc.tab.c, test/code_error.code.c, 4169 test/code_error.tab.c, test/error.tab.c, test/ftp.tab.c, 4170 test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, 4171 test/quote_calc-s.tab.c, test/quote_calc.tab.c, 4172 test/quote_calc2-s.tab.c, test/quote_calc2.tab.c, 4173 test/quote_calc3-s.tab.c, test/quote_calc3.tab.c, 4174 test/quote_calc4-s.tab.c, test/quote_calc4.tab.c: 4175 regen 4176 4177 * output.c, skeleton.c: 4178 amend the last change so that yytname is #define'd as needed rather than 4179 permanent - to avoid breaking cproto for instance. 4180 41812014-01-01 Christos.Zoulas 4182 4183 * output.c, defs.h, main.c, reader.c, skeleton.c: 4184 changes to build ntpd using byacc: 4185 - rename yyname[] to yytname[] 4186 - add YYTRANSLATE() macro 4187 - recognize bison's %token-table declaration 4188 41892014-01-01 Thomas E. Dickey <dickey@invisible-island.net> 4190 4191 * configure: regen 4192 4193 * yacc.1: s/EE/XE/ to work around groff bug on Debian 6 4194 4195 * makefile.in: use CF_MAKE_DOCS 4196 4197 * aclocal.m4: add CF_MAKE_DOCS 4198 4199 * configure.in: use CF_MAKE_DOCS 4200 42012013-12-26 Thomas E. Dickey <dickey@invisible-island.net> 4202 4203 * config.guess: 2013-11-29 4204 42052013-11-19 Thomas E. Dickey <dickey@invisible-island.net> 4206 4207 * aclocal.m4: resync with my-autoconf (fixes for clang and mingw) 4208 42092013-10-25 Thomas E. Dickey <dickey@invisible-island.net> 4210 4211 * config.sub: 2013-10-01 4212 42132013-09-25 Thomas E. Dickey <dickey@invisible-island.net> 4214 4215 * reader.c: fix two loop-limits found by clang 3.3 --analyze 4216 4217 * configure: regen 4218 4219 * aclocal.m4: 4220 tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses 4221 4222 * package/mingw-byacc.spec: RCS_BASE 4223 4224 * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, 4225 test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, 4226 test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, 4227 test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, 4228 test/quote_calc2-s.tab.c, test/quote_calc2.tab.c, 4229 test/quote_calc3-s.tab.c, test/quote_calc3.tab.c, 4230 test/quote_calc4-s.tab.c, test/quote_calc4.tab.c: 4231 regen 4232 4233 * skeleton.c: 4234 Increase default stack-size to match FreeBSD version noted as from 4235 "BSD 4.4 Lite Usr.bin Sources". See 4236 4237 http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/ 4238 http://svnweb.freebsd.org/base/head/usr.bin/yacc/ 4239 http://svnweb.freebsd.org/base/vendor/byacc/ 4240 4241 The original 1.9 sources (on which I based development) used 500 for 4242 stacksize; the BSD Lite sources (a year or two later) used 10000. 4243 4244 This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE 4245 symbols have "always" been overridable by applications, but rarely 4246 needed to do this. RedHat began using the FreeBSD source in 2000, 4247 and switched to this source in 2007 using the 20050813 snapshot. 4248 4249 RedHat #743343 misattributed the change in default stacksize to 4250 a regression in byacc, but did not report the issue upstream. 4251 4252 * package/debian/changelog, VERSION, package/byacc.spec: bump 4253 42542013-09-07 Thomas E. Dickey <dickey@invisible-island.net> 4255 4256 * config.sub: update to 2013-09-15 4257 4258 * config.guess: update to 2013-06-10 4259 42602013-03-04 Thomas E. Dickey <dickey@invisible-island.net> 4261 4262 * package/debian/changelog, VERSION, package/byacc.spec: bump 4263 4264 * aclocal.m4: 4265 adapt tweak from Dave Beckett to work around long-ago breakage in "new" autoconf. 4266 4267 * output.c: 4268 fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton). 4269 also while testing that, found a case where the union_file is unused; added 4270 a check for address that. 4271 4272 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen 4273 4274 * test/ftp.y: fix most compiler warnings for "make check_make" 4275 4276 * test/calc1.tab.c: regen 4277 4278 * test/calc1.y: fix most compiler warnings for "make check_make" 4279 4280 * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, 4281 test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, 4282 test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, 4283 test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, 4284 test/quote_calc2-s.tab.c, test/quote_calc2.tab.c, 4285 test/quote_calc3-s.tab.c, test/quote_calc3.tab.c, 4286 test/quote_calc4-s.tab.c, test/quote_calc4.tab.c: 4287 regen 4288 4289 * skeleton.c: quiet a gcc conversion-warning in yygrowstack() 4290 4291 * configure: regen 4292 4293 * aclocal.m4: 4294 another fix for CF_GCC_VERSION to handle Debian's modification of gcc message. 4295 42962013-02-10 Thomas E. Dickey <dickey@invisible-island.net> 4297 4298 * config.sub, config.guess: update to 2013-02-04 4299 43002012-10-03 Thomas E. Dickey <dickey@invisible-island.net> 4301 4302 * package/debian/changelog, package/byacc.spec, VERSION: bump 4303 4304 * configure: regen 4305 4306 * configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC 4307 4308 * aclocal.m4: 4309 moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc) 4310 the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor. 4311 4312 * aclocal.m4, configure.in: 4313 Arian's change dropped my check for misused $CC variable - restore that with 4314 alternate macro CF_PROG_CC. 4315 43162012-10-03 Adrian.Bunk 4317 4318 * aclocal.m4: 4319 suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since 4320 they are not needed. 4321 43222012-10-03 Thomas E. Dickey <dickey@invisible-island.net> 4323 4324 * aclocal.m4: 4325 split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in 4326 Adrian's suggested changes. 4327 4328 * aclocal.m4: 4329 CF_CLANG_COMPILER - check if the given compiler is really clang. 4330 4331 * aclocal.m4: 4332 add check for clang to CF_GCC_WARNINGS. modify CF_GCC_WARNINGS to work around 4333 old gcc warning: ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1 4334 on my Sarge system (versus 3.3.5 for the normal gcc). The 2.8.1's 4335 pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work 4336 around by excluding that check for pre-3.x compilers. 4337 4338 * aclocal.m4: 4339 modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions 4340 provided by this macro. use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather 4341 than appending to confdefs.h, since long-ago concern about the ability to 4342 pass-through parameterized macros appears to be not a problem, testing with 4343 2.13 and 2.52 4344 43452012-10-03 Adrian.Bunk 4346 4347 * aclocal.m4: 4348 add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by 4349 autoheader, updated macros: 4350 CF_CHECK_CACHE 4351 CF_DISABLE_LEAKS 4352 CF_MKSTEMP 4353 CF_MIXEDCASE_FILENAMES 4354 CF_NO_LEAKS_OPTION 4355 43562012-10-03 Thomas E. Dickey <dickey@invisible-island.net> 4357 4358 * aclocal.m4: 4359 move existence-check for mkstemp out of the AC_TRY_RUN, to help with 4360 cross-compiles 4361 43622012-10-02 Thomas E. Dickey <dickey@invisible-island.net> 4363 4364 * config_h.in: 4365 Adrian Bunk request - replace this with the output from autoheader 4366 43672012-09-29 Adrian.Bunk 4368 4369 * configure.in: 4370 suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no 4371 check is needed anymore for standard C compilers), drop AC_CONST (same 4372 reason), modify AC_OUTPUT to rely upon template generated by autoheader. 4373 bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT 4374 as being obsolete with autoconf 2.52x 4375 4376 * configure.in, main.c: drop check for atexit, because it is standard C 4377 4378 * makefile.in: add assignment for datarootdir variable. 4379 43802012-05-26 Thomas E. Dickey <dickey@invisible-island.net> 4381 4382 * package/debian/changelog, package/byacc.spec, VERSION: bump 4383 4384 * reader.c: 4385 some versions of gcc may warn that bp is not set in mark_symbol, e.g., 4386 if GCC_NORETURN is not handled; appease the compiler. 4387 4388 * reader.c: 4389 use the declared types Assoc_t and Value_t in some places where compiler only 4390 cared about char versus short. 4391 4392 * reader.c: 4393 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 4394 (no object change) 4395 4396 * defs.h: 4397 add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD 4398 packagers to build without configure script. Also remove duplicate declaration 4399 of pure_parser variable (prompted by patch by Baptiste Daroussin). 4400 4401 Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and 4402 REALLOC macros. 4403 4404 * symtab.c: 4405 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 4406 (no object change) 4407 44082012-05-25 Thomas E. Dickey <dickey@invisible-island.net> 4409 4410 * output.c, main.c, verbose.c, mkpar.c, lr0.c: 4411 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 4412 (no object change) 4413 44142012-01-15 Thomas E. Dickey <dickey@invisible-island.net> 4415 4416 * package/debian/copyright: bump 4417 4418 * test/run_make.sh: workaround for breakage due to GNU make 3.82 4419 4420 * test/run_make.sh: 4421 tested with Solaris 10 (bison 1.875) and added scripting to exercise 4422 the /usr/ccs/bin/yacc executable 4423 4424 * test/grammar.tab.c: regen 4425 4426 * test/grammar.y: modify to also build with Solaris yacc 4427 4428 * VERSION, package/debian/changelog, package/byacc.spec: bump 4429 4430 * test/yacc/calc1.output: reference output for testing 4431 4432 * test/calc1.output, test/calc1.tab.c: regen 4433 4434 * test/calc1.y: 4435 undo the change made to appease bison, since it was only a warning. 4436 4437 * test/pure_calc.tab.c, test/pure_error.tab.c: regen 4438 4439 * test/run_make.sh: another fix for running from top-level directory 4440 4441 * makefile.in: 4442 ensure that check_make rule depends on having byacc built. 4443 4444 * test/run_make.sh: fixes for building from parent directory 4445 4446 * test/pure_error.y, test/pure_calc.y: bison-fixes 4447 4448 * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c, 4449 test/ftp.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c: 4450 regen 4451 4452 * test/code_debug.y: RCS_BASE 4453 4454 * test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y: 4455 byacc already declares yyerror 4456 4457 * test/pure_error.y, test/pure_calc.y: 4458 modified to help make the files build with bison 4459 4460 * test/run_make.sh: 4461 supply a "%pure-parser" directive when bison needs it. 4462 4463 * test/code_calc.code.c: regen 4464 4465 * test/code_calc.y: modified to help make the files build with bison 4466 4467 * yacc.1: 4468 in testing, found that %expect did not work as documented for bison. 4469 do not recommend it for portable code. 4470 4471 * test/run_make.sh: workaround breakage in bison's %expect directive 4472 4473 * test/grammar.y: modified to help make the files build with bison 4474 4475 * test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen 4476 4477 * test/calc1.y: quiet a spurious warning from bison 2.3 4478 4479 * test/calc1.tab.c: regen 4480 4481 * test/calc1.y: modified to help make the files build with bison 4482 4483 * yacc.1: comment on "-y" and "-P" options. 4484 4485 * yacc.1: comment on portability 4486 4487 * test/ftp.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, 4488 test/quote_calc2-s.tab.c, test/quote_calc3-s.tab.c: 4489 regen 4490 4491 * test/ftp.y: modified to help make the files build with bison 4492 (bison's "-y" option is of no use in providing "yacc" compatibility) 4493 4494 * test/quote_calc2.tab.c, test/quote_calc3.tab.c, 4495 test/quote_calc4-s.tab.c, test/quote_calc4.tab.c: 4496 regen 4497 4498 * test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, 4499 test/quote_calc4.y, test/quote_calc3.y: 4500 modified to help make the files build with bison 4501 4502 * test/calc.tab.c: regen 4503 4504 * test/calc.y: modified to help make the files build with bison 4505 4506 * test/error.tab.c: regen 4507 4508 * test/error.y: modified to help make the files build with bison 4509 4510 * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen 4511 4512 * test/run_make.sh: 4513 check for older bisons which (2.3 for instance) do not support pure parsers 4514 4515 * test/code_error.y, test/calc3.y, test/calc2.y: 4516 modified to help make the files build with bison 4517 4518 * test/run_test.sh: use $opt2 in filenames of the generated files 4519 4520 * test/quote_calc2-s.tab.c, test/quote_calc3-s.tab.c, 4521 test/quote_calc4-s.tab.c, test/quote_calc-s.tab.c, 4522 test/quote_calc.tab.c, test/quote_calc2.tab.c, test/quote_calc3.tab.c, 4523 test/quote_calc4.tab.c: 4524 regen 4525 45262012-01-14 Thomas E. Dickey <dickey@invisible-island.net> 4527 4528 * test/calc2.tab.c, test/code_calc.code.c, test/code_error.code.c, 4529 test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, 4530 test/calc1.tab.c: 4531 regen 4532 4533 * output.c: Several changes: 4534 a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex. 4535 b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL, 4536 using YYLEX_PARAM_TYPE and YYLEX_PARAM. 4537 c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL, 4538 to help with redefinitions. 4539 4540 * test/pure_calc.tab.c: 4541 modified to help make the files build with bison 4542 4543 * test/run_make.sh: 4544 start work on followup, to check if the generated files build with bison. 4545 4546 * test/pure_calc.y, test/pure_error.tab.c: 4547 modified to help make the files build with bison 4548 4549 * test/calc3.tab.c: regen 4550 4551 * test/quote_calc-s.output, test/quote_calc-s.tab.c, 4552 test/quote_calc-s.tab.h, test/quote_calc2-s.output, 4553 test/quote_calc2-s.tab.c, test/quote_calc2-s.tab.h, 4554 test/quote_calc3-s.output, test/quote_calc3-s.tab.c, 4555 test/quote_calc3-s.tab.h, test/quote_calc4-s.output, 4556 test/quote_calc4-s.tab.c, test/quote_calc4-s.tab.h: 4557 RCS_BASE 4558 4559 * test/yacc/quote_calc-s.output, test/yacc/quote_calc-s.tab.h, 4560 test/yacc/quote_calc2-s.output, test/yacc/quote_calc2-s.tab.h, 4561 test/yacc/quote_calc3-s.output, test/yacc/quote_calc3-s.tab.h, 4562 test/yacc/quote_calc4-s.output, test/yacc/quote_calc4-s.tab.h: 4563 reference output for testing 4564 4565 * test/run_test.sh: generate/test with "-s" option applied. 4566 45672012-01-13 Thomas E. Dickey <dickey@invisible-island.net> 4568 4569 * package/debian/changelog, package/byacc.spec, VERSION: bump 4570 4571 * yacc.1: improve documentation of -s option 4572 4573 * yacc.1: note that yacc ignores -y 4574 4575 * main.c: add -s option to usage message. 4576 4577 * test/quote_calc3.output, test/quote_calc3.tab.c, 4578 test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h: 4579 RCS_BASE 4580 4581 * test/yacc/quote_calc3.output, test/yacc/quote_calc4.output, 4582 test/yacc/quote_calc4.tab.h: 4583 reference output for testing 4584 4585 * test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE 4586 4587 * test/yacc/quote_calc.tab.h: reference output for testing 4588 4589 * test/quote_calc.output, test/quote_calc.tab.c, 4590 test/quote_calc2.output, test/quote_calc2.tab.c, 4591 test/quote_calc2.tab.h, test/quote_calc3.tab.h: 4592 RCS_BASE 4593 4594 * test/yacc/quote_calc.output, test/yacc/quote_calc2.output, 4595 test/yacc/quote_calc2.tab.h, test/yacc/quote_calc3.tab.h: 4596 reference output for testing 4597 4598 * test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE 4599 4600 * configure: regen 4601 4602 * aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE 4603 46042011-12-19 Thomas E. Dickey <dickey@invisible-island.net> 4605 4606 * package/debian/changelog, package/byacc.spec, VERSION: bump 4607 4608 * yacc.1, output.c, main.c, defs.h: 4609 add "-s" option to suppress generating #define's based on string contents 4610 in a %token statement. For instance 4611 %token EQLS "Equals" 4612 would generate 4613 #define EQLS 256 4614 #define Equals 257 4615 Simply suppressing the second #define makes the behavior closer to yacc. 4616 (report by Paulo Andrade). 4617 46182011-09-08 Thomas E. Dickey <dickey@invisible-island.net> 4619 4620 * package/debian/changelog, package/byacc.spec, VERSION: bump 4621 4622 * output.c: 4623 fix some more interaction between -i and -d flags to ensure YYERRCODE 4624 and YYSTYPE are declared, tested with cproto. 4625 46262011-09-07 Thomas E. Dickey <dickey@invisible-island.net> 4627 4628 * yacc.1: document "-i" option. 4629 4630 * package/debian/changelog, package/byacc.spec, VERSION: bump 4631 4632 * output.c: fix an interaction between -i and -d 4633 4634 * test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, 4635 test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, 4636 test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, 4637 test/code_calc.code.c: 4638 regen - changes for "-i" option move the global/impure variables near the 4639 macros that may add a prefix, etc. 4640 4641 * skeleton.c, output.c, defs.h: changes to support "-i" option. 4642 46432011-09-06 Thomas E. Dickey <dickey@invisible-island.net> 4644 4645 * reader.c: pass explicit file-pointer to write_section() 4646 4647 * main.c: 4648 add "-i" option, to generate interface-file (suggested by Denis M. Wilson) 4649 46502011-09-05 Thomas E. Dickey <dickey@invisible-island.net> 4651 4652 * configure: regen 4653 4654 * aclocal.m4: 4655 resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC) 4656 and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks) 4657 4658 * defs.h, error.c, reader.c: 4659 add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson) 4660 46612011-04-01 Thomas E. Dickey <dickey@invisible-island.net> 4662 4663 * config.sub: update to 2011-04-01 4664 46652011-02-02 Thomas E. Dickey <dickey@invisible-island.net> 4666 4667 * config.guess: update to 2011-01-01 4668 46692010-12-29 Thomas E. Dickey <dickey@invisible-island.net> 4670 4671 * defs.h, skeleton.c: 4672 add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas) 4673 4674 * defs.h: 4675 mark all of the error-functions as non-returning (report by Christos Zoulas) 4676 4677 * test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, 4678 test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, 4679 test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, 4680 test/ftp.tab.c: 4681 regen 4682 4683 * skeleton.c: 4684 use only realloc() rather than realloc+malloc, agree that systems needing this 4685 are very rare (prompted by NetBSD change). 4686 4687 * test/ftp.tab.c: regen 4688 46892010-12-29 Christos.Zoulas 4690 4691 * test/ftp.y: 4692 improve example, which was stuck in 19XX and assumed file sizes were longs. 4693 46942010-12-29 Thomas E. Dickey <dickey@invisible-island.net> 4695 4696 * test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, 4697 test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, 4698 test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, 4699 test/code_error.code.c, test/error.tab.c: 4700 regen 4701 4702 * test/pure_error.y, test/pure_calc.y, test/ftp.y, test/error.y, 4703 test/code_error.y, test/code_calc.y, test/calc.y, test/calc3.y, 4704 test/calc2.y, test/calc1.y: 4705 use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror 4706 4707 * skeleton.c: 4708 remove explicit prototype for yylex() via YYLEX_DECL() macro, since that 4709 would prevent declaring yylex() static (request by Christos Zoulas). 4710 4711 * test/calc2.tab.c, test/calc3.tab.c: regen 4712 47132010-12-29 Christos.Zoulas 4714 4715 * output.c: correct definition for YYERROR_DECL() 4716 47172010-12-29 Thomas E. Dickey <dickey@invisible-island.net> 4718 4719 * package/debian/changelog, package/byacc.spec, VERSION: bump 4720 47212010-12-26 Thomas E. Dickey <dickey@invisible-island.net> 4722 4723 * defs.h, main.c: 4724 change return-type of allocate() to avoid warnings of alignment problems 4725 4726 * main.c: Solaris declares chmod() in <sys/stat.h> 4727 4728 * configure: regen 4729 4730 * main.c: ifdef'd use of fcntl.h 4731 4732 * configure.in: add configure checks for fcntl.h, atexit and mkstemp 4733 4734 * main.c: for cases where mkstemp() is not available, use tempnam/open 4735 4736 * aclocal.m4: add CF_MKSTEMP 4737 4738 * aclocal.m4: 4739 improve quoting, deprecate ${name-value} in favor of standard ${name:-value} 4740 47412010-12-25 Thomas E. Dickey <dickey@invisible-island.net> 4742 4743 * main.c: 4744 start revising use of tmpfile(), to make this work with MinGW. Start by 4745 implementing a mkstemp() alternative - noting that mkstemp() also is broken 4746 for MinGW. 4747 4748 * package/debian/changelog, package/byacc.spec, VERSION: bump 4749 47502010-11-27 Thomas E. Dickey <dickey@invisible-island.net> 4751 4752 * package/byacc.spec, package/debian/changelog, VERSION: bump 4753 4754 * test/calc2.tab.c, test/calc3.tab.c: regen 4755 4756 * output.c: 4757 corrected use of %parse-param value in yyerror(); it doesn't use &yylval 4758 (report by Clifford Yapp) 4759 47602010-11-26 Thomas E. Dickey <dickey@invisible-island.net> 4761 4762 * skeleton.c: typo 4763 4764 * output.c: 4765 correct line-numbering when "-r" option is used; the 'outline' variable 4766 should only be incremented when writing to the code-file. 4767 4768 * test/code_calc.code.c, test/code_error.code.c: regen 4769 4770 * yacc.1: bump date 4771 4772 * yacc.1: comment on -b option vs -r 4773 4774 * test/calc2.tab.c, test/calc2.y, test/calc3.tab.c, test/calc3.y, 4775 test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, 4776 test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, 4777 test/code_calc.code.c, test/code_error.code.c, test/error.tab.c: 4778 regen 4779 4780 * output.c: 4781 improve on YYERROR_DECL(), adding dummy params which can be used for the 4782 actual function declaration. Also add YYERROR_CALL(). The two macros 4783 simplify maintaining sets of grammars which may/may not be pure. 4784 4785 * test/calc1.y, test/ftp.tab.c, test/grammar.tab.c, 4786 test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, 4787 test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, 4788 test/code_calc.code.c, test/code_error.code.c, test/error.tab.c: 4789 regen 4790 4791 * output.c: generate yyerror() calls in output.c 4792 This is for compatibility with bison, which passes the yylval to yyerror 4793 when the %parse-param feature is used. 4794 4795 * skeleton.c, defs.h: generate yyerror() calls in output.c 4796 4797 * output.c: simplified a little, using putc_code() and putl_code() 4798 4799 * test/yacc/calc1.tab.h: reference output for testing 4800 4801 * test/calc1.tab.h: regen 4802 4803 * reader.c: 4804 improve ifdef for YYSTYPE union declaration (report by Clifford Yapp) 4805 4806 * reader.c: 4807 accept underscore as a replacement for dash in command names, e.g., 4808 "%pure_parser" vs "%pure-parser". 4809 4810 * test/calc1.tab.c: regen 4811 4812 * output.c, reader.c: 4813 also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp) 4814 4815 * package/debian/changelog, package/byacc.spec, VERSION: bump 4816 48172010-11-24 Thomas E. Dickey <dickey@invisible-island.net> 4818 4819 * main.c, defs.h, symtab.c, error.c: reduce global variables 4820 4821 * package/debian/changelog, package/byacc.spec, VERSION: bump 4822 4823 * reader.c: 4824 amend fix for Redhat #112617 to still call default_action_warning() for 4825 empty rules (report by Bruce Cran). 4826 48272010-11-22 Thomas E. Dickey <dickey@invisible-island.net> 4828 4829 * output.c: 4830 add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp). 4831 4832 * test/calc1.tab.c: regen 4833 4834 * test/calc1.y: cleanup compiler warnings 4835 4836 * test/grammar.y: add "%expect" 4837 4838 * test/calc1.tab.h: regen 4839 4840 * test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE 4841 4842 * test/calc2.tab.c, test/calc3.tab.c: regen 4843 4844 * test/calc1.y: 4845 advanced example from Steve Johnson's paper, uses unions 4846 4847 * test/calc3.y, test/calc2.y: init 'base', so examples can run 4848 4849 * test/ftp.tab.c, test/ftp.y: tweaks to compile with g++ 4850 4851 * output.c: compensate for fix in reader.c 4852 4853 * reader.c: 4854 add/use putc_both() and puts_both(), incidentally fixing a place where 4855 a union copied to the union_file may be missing the end of the last line. 4856 4857 * package/debian/changelog, package/byacc.spec, VERSION: bump 4858 48592010-09-28 Thomas E. Dickey <dickey@invisible-island.net> 4860 4861 * config.guess: update to 2010-09-24 4862 48632010-09-10 Thomas E. Dickey <dickey@invisible-island.net> 4864 4865 * config.sub: update to 2010-09-11 4866 48672010-06-10 Thomas E. Dickey <dickey@invisible-island.net> 4868 4869 * yacc.1, package/debian/changelog, package/byacc.spec, VERSION: 4870 bump to 2010/06/10 4871 48722010-06-09 Thomas E. Dickey <dickey@invisible-island.net> 4873 4874 * reader.c: free declarations in leak-testing code. 4875 4876 * main.c: close code_file if -r option used, for leak-testing 4877 4878 * defs.h, reader.c: 4879 improve %lex-param / %parse-param implementation by allowing for arrays to 4880 be passed as parameters, e.g., "int regs[26]". 4881 4882 * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h: 4883 RCS_BASE 4884 4885 * test/yacc/calc3.output, test/yacc/calc3.tab.h: 4886 reference output for testing 4887 4888 * test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE 4889 4890 * test/yacc/calc2.tab.h: reference output for testing 4891 4892 * test/calc2.output: RCS_BASE 4893 4894 * test/yacc/calc2.output: reference output for testing 4895 4896 * output.c: 4897 improve %lex-param / %parse-param implementation by allowing for arrays to 4898 be passed as parameters, e.g., "int regs[26]". 4899 4900 * test/calc.tab.c, test/calc.y: 4901 test-cases and reference files for %lex-param / %parse-param 4902 4903 * makefile.in: add docs-rule, for html/pdf/txt form of manpage 4904 4905 * configure: regen 4906 4907 * aclocal.m4: add CF_XOPEN_SOURCE, etc. 4908 4909 * configure.in: 4910 use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89 4911 4912 * test/ftp.tab.c, test/ftp.y, reader.c, symtab.c, verbose.c, lr0.c, 4913 main.c, mkpar.c, output.c, defs.h, closure.c: 4914 fix warnings from clang --analyze 4915 49162010-06-08 Thomas E. Dickey <dickey@invisible-island.net> 4917 4918 * output.c: fix to build with c89, etc. 4919 4920 * reader.c: gcc warning 4921 4922 * test/ftp.tab.c, test/ftp.y, test/calc.tab.c, test/code_calc.code.c, 4923 test/code_error.code.c, test/code_error.y, test/code_calc.y, 4924 test/calc.y, test/pure_error.tab.c, test/error.tab.c, test/error.y, 4925 test/pure_error.y, test/pure_calc.tab.c, test/pure_calc.y: 4926 modified test-cases to allow them to compile, to validate pure-parser changes. 4927 updated reference files to match. 4928 4929 * output.c: 4930 move call for output_stype() earlier since it is used in pure-parser declarations 4931 4932 * test/grammar.tab.c, test/grammar.y: 4933 modified test-cases to allow them to compile, to validate pure-parser changes. 4934 updated reference files to match. 4935 4936 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 4937 regen 4938 4939 * yacc.1: document %lex-param and %parse-param 4940 4941 * test/run_lint.sh, test/run_make.sh: RCS_BASE 4942 4943 * test/run_test.sh: 4944 further modify to allow build-directory to be in a different location by 4945 passing this directory's location as a parameter to the script. 4946 4947 * makefile.in: 4948 add check_make and check_lint rules to help validate the generated files 4949 in the test-directory 4950 49512010-06-07 Thomas E. Dickey <dickey@invisible-island.net> 4952 4953 * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE 4954 4955 * test/run_test.sh: 4956 provide for testing -r and -P options by checking if the ".y" filename 4957 begins with "code_" or "pure_", respectively. 4958 4959 * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h: 4960 RCS_BASE 4961 4962 * test/yacc/code_error.tab.h: reference output for testing 4963 4964 * test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h: 4965 RCS_BASE 4966 4967 * test/yacc/code_calc.tab.h: reference output for testing 4968 4969 * test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, 4970 test/pure_error.tab.h: 4971 RCS_BASE 4972 4973 * test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h, 4974 test/yacc/pure_error.output, test/yacc/pure_error.tab.h: 4975 reference output for testing 4976 4977 * test/code_calc.output, test/code_error.output: RCS_BASE 4978 4979 * test/yacc/code_calc.output, test/yacc/code_error.output: 4980 reference output for testing 4981 4982 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen 4983 4984 * test/run_test.sh: 4985 changes to support running "make check" in a separate build-tree 4986 4987 * main.c: add "-P" to usage message 4988 4989 * reader.c: use UCH() macro to hide casts. 4990 49912010-06-07 Andres.Mejia 4992 4993 * main.c, output.c, reader.c, defs.h, skeleton.c: 4994 Fix the output order of the generated parse code file. This allows for 4995 the use of YYPARSE_PARAM, by having the output that checks for 4996 YYPARSE_PARAM to be defined come after the C code block in the 4997 definitions section of a yacc file. 4998 4999 Implement support for YYLEX_PARAM, similar to bison. This is useful for 5000 support for building reentrant lexers with flex. 5001 5002 Fix a compatibility issue with bison's pure-parser option. Bison 5003 defines yylex as sending at least one parameter, &yylval, as the first 5004 parameter and doesn't seem to have an easy way to remove that parameter. 5005 This on the other hand is rather convenient to support saving to yylval 5006 from flex when building reentrant lexers and parsers. 5007 5008 Add support for the %parse-param and %lex-param directives used in 5009 bison. This change bears some similarity to NetBSD's changes to byacc 5010 at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html 5011 5012 Bison allows for POSIX yacc emulation via a yacc directive in the yacc 5013 file, and also via a command line switch. Implement this feature as a 5014 no-op for byacc, since byacc is designed to be POSIX yacc compatible 5015 anyway. This allows for better compatibility with yacc sources written 5016 for bison. 5017 50182010-06-07 Thomas E. Dickey <dickey@invisible-island.net> 5019 5020 * VERSION: bump to 2010/06/07 5021 50222010-06-06 Thomas E. Dickey <dickey@invisible-island.net> 5023 5024 * test/calc.tab.c, configure: regen 5025 5026 * skeleton.c: 5027 move #include's down into the generated code, to allow user-defined code 5028 to override feature definitions, particularly with stdlib.h (request by 5029 Marcus Kool). 5030 5031 * lr0.c, error.c, reader.c, defs.h: 5032 strict gcc 3.4.6 warnings on 64-bit platform 5033 5034 * aclocal.m4, configure.in: add check for lint 5035 5036 * makefile.in: add lint rule 5037 5038 * defs.h, closure.c, lr0.c, warshall.c, main.c: 5039 fix gcc warnings, mostly for 64-bit platform 5040 5041 * aclocal.m4: 5042 add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc 5043 5044 * makefile.in: add etags/TAGS if available 5045 5046 * configure.in: add configure check for actual ctags and etags programs 5047 5048 * package/debian/copyright: add copyright notices for non-PD files 5049 5050 * package/debian/changelog: 5051 incorporated scripts in upstream to use for test-builds 5052 5053 * makefile.in: drop mkdirs.sh, just use "mkdir -p" 5054 5055 * AUTHORS: nicknames for some contributors (see CHANGES for details) 5056 5057 * package/byacc.spec: RPM file for byacc 5058 5059 * VERSION: bump to 2010/06/06 5060 5061 * aclocal.m4: add copyright notice, from "my-autoconf" macros 5062 http://invisible-island.net/autoconf/autoconf.html 5063 5064 * aclocal.m4: resync with my-autoconf. summary of changes: 5065 a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter 5066 b) CF_DISABLE_ECHO, change indent-convention for substituted makefile 5067 c) CF_GCC_VERSION, ignore stderr 5068 d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc 5069 50702010-04-20 Thomas E. Dickey <dickey@invisible-island.net> 5071 5072 * package/debian/changelog, package/debian/compat, 5073 package/debian/control, package/debian/copyright, package/debian/docs, 5074 package/debian/postinst, package/debian/prerm, package/debian/rules, 5075 package/debian/watch: 5076 scripts from Debian package 5077 50782010-02-16 Thomas E. Dickey <dickey@invisible-island.net> 5079 5080 * yacc.1: document -P and bison-extensions 5081 5082 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 5083 regen 5084 5085 * output.c: implement %pure-parser 5086 5087 * skeleton.c: 5088 implement %pure-parser, like bison. To help with this, changed the stack 5089 variables, putting them into a struct. 5090 5091 * reader.c: implement %pure-parser 5092 5093 * defs.h: modified skeleton to support %pure-parser feature 5094 5095 * main.c: add -P option to set %pure-parser 5096 5097 * output.c: 5098 make -r and -p options work together. The -r option splits the generated 5099 parser into code/table files; for this case we cannot use static data. 5100 Also, we have to repeat the #define's used for prefix (-p) as well as the 5101 redeclaration of yyparse(). Finally, allow any of the prefixed names to 5102 be overridden, e.g., by passing a -D option to the compiler. Make that 5103 a little more readable by putting a blank line before each chunk. 5104 5105 * defs.h: add definitions for %pure-parser 5106 5107 * skeleton.c: 5108 put blank line before/after the redeclaration of yyparse() 5109 5110 * output.c: allow for other program redefining yylex() 5111 5112 * skeleton.c: 5113 split-off xdecls[] array, to move declaration of yyparse() after #define's 5114 5115 * defs.h: split-out xdecls[] 5116 5117 * VERSION: bump 5118 5119 * configure: regen 5120 5121 * aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS 5122 5123 * aclocal.m4: 5124 resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes. 5125 51262010-02-16 Ostap.Cherkashi 5127 5128 * skeleton.c: fix a memory leak in the generated skeleton 5129 51302010-01-01 Thomas E. Dickey <dickey@invisible-island.net> 5131 5132 * package/debian/source/format: scripts from Debian package 5133 51342009-12-31 Thomas E. Dickey <dickey@invisible-island.net> 5135 5136 * config.guess: update to 2009-12-30 5137 5138 * config.sub: update to 2009-12-31 5139 51402009-10-27 Thomas E. Dickey <dickey@invisible-island.net> 5141 5142 * VERSION: 20091027 5143 5144 * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, 5145 verbose.c, main.c, reader.c: 5146 strict compiler warnings 5147 51482009-10-26 Thomas E. Dickey <dickey@invisible-island.net> 5149 5150 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 5151 resync 5152 5153 * main.c, defs.h: introduce some typedefs for portability, etc. 5154 5155 * makefile.in: 5156 don't remove "*.log" in mostlyclean rule since it interferes with regression 5157 script. 5158 5159 * configure: regen 5160 5161 * aclocal.m4: resync with my-autoconf 5162 51632009-08-25 Thomas E. Dickey <dickey@invisible-island.net> 5164 5165 * config.guess, config.sub: update to 2009-08-19 5166 51672009-02-21 Thomas E. Dickey <dickey@invisible-island.net> 5168 5169 * VERSION: bump 5170 5171 * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25 5172 51732008-12-26 Thomas E. Dickey <dickey@invisible-island.net> 5174 5175 * configure: regen with autoconf-2.52 (patched) 5176 51772008-12-25 Thomas E. Dickey <dickey@invisible-island.net> 5178 5179 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c: 5180 regenerated 5181 51822008-12-24 Thomas E. Dickey <dickey@invisible-island.net> 5183 5184 * VERSION: bump 5185 5186 * skeleton.c: 5187 remove ifdef-lint from goto yyerrlab, to quiet gcc warning 5188 51892008-11-26 Thomas E. Dickey <dickey@invisible-island.net> 5190 5191 * verbose.c, main.c, defs.h, mkpar.c, reader.c: 5192 completed implementation of "%expect" (report by Perry E. Metzger). 5193 add "%expect-rr", which is (unlike bison) allowable in LALR parsers. 5194 51952008-11-24 Thomas E. Dickey <dickey@invisible-island.net> 5196 5197 * closure.c, defs.h, error.c, graph.c, lalr.c, lr0.c, main.c, mkpar.c, 5198 output.c, reader.c, skeleton.c, symtab.c, verbose.c, warshall.c: 5199 change indent-style (request by Perry E. Metzger) 5200 52012008-08-27 Thomas E. Dickey <dickey@invisible-island.net> 5202 5203 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 5204 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro 5205 5206 * VERSION: bump 5207 5208 * skeleton.c: 5209 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro 5210 5211 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, 5212 skeleton.c: 5213 change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's. 5214 5215 * configure: regen'd 5216 5217 * configure.in: add -Wwrite-strings to warnings 5218 5219 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 5220 add YYPARSE_PARAM and YYPARSE_PARAM_TYPE 5221 5222 * skeleton.c: 5223 add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features. 5224 5225 * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c: 5226 fixes for gcc -Wwrite-strings 5227 5228 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 5229 generate the tables as static-const (this is an interface change) 5230 5231 * output.c: realign columns in start_table() 5232 5233 * output.c: 5234 generate the tables as static-const (this is an interface change) 5235 5236 * output.c: reorder functions to eliminate forward-references 5237 5238 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 5239 remove 'register' keywords 5240 52412008-08-26 Thomas E. Dickey <dickey@invisible-island.net> 5242 5243 * warshall.c, verbose.c, symtab.c, skeleton.c, reader.c, output.c, 5244 mkpar.c, main.c, lr0.c, lalr.c, graph.c, error.c, closure.c: 5245 remove 'register' keywords 5246 52472008-08-25 Thomas E. Dickey <dickey@invisible-island.net> 5248 5249 * test/ftp.tab.c: regen'd 5250 5251 * reader.c: 5252 improve the left-curly fix by testing after blanks, to avoid having a 5253 " {" at the beginning of a line. 5254 5255 * test/error.tab.c, test/grammar.tab.c: regen'd 5256 5257 * output.c: 5258 move the remaining newline-counting into write_XXX functions. 5259 5260 * test/calc.tab.c: regen'd 5261 5262 * output.c: 5263 simplify part of the output_file formatting using new functions, e.g., 5264 start_int_table(), output_newline(). 5265 5266 * reader.c: 5267 modify copy_action() to indent the first character, it if is is left-curly 5268 brace. That makes the output look more like the original, as well as makes 5269 it simpler to edit (not confuse editors which look for a left-curly in the 5270 first column as if it were the beginning of a function). 5271 5272 * skeleton.c: minor fixes to avoid gcc -Wconversion warnings 5273 5274 * output.c: align the #define's produced for "-p" option 5275 5276 * test/run_test.sh: use the "-p" option for better coverage. 5277 5278 * output.c: simplify output_prefix() with new define_prefixed() 5279 5280 * skeleton.c: include string.h, for memset() 5281 change stack size to unsigned to fix gcc -Wconversion warnings. 5282 5283 * VERSION: bump to 2008/8/25 5284 5285 * makefile.in: add dependency on VERSION file. 5286 52872008-08-24 Thomas E. Dickey <dickey@invisible-island.net> 5288 5289 * VERSION: bump 5290 5291 * lalr.c: improved memory-leak checking by freeing data in includes[] 5292 5293 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c: 5294 update to match skeleton-change 5295 5296 * configure: regen'd 5297 5298 * skeleton.c: Add fix for stack discussed 5299 http://undeadly.org/cgi?action=article&sid=20080708155228 5300 and applied 5301 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29 5302 5303 * aclocal.m4: resync with my-autoconf (no major changes) 5304 53052008-07-24 Thomas E. Dickey <dickey@invisible-island.net> 5306 5307 * package/pkgsrc/Makefile, package/pkgsrc/distinfo: 5308 scripts from NetBSD pkgsrc, for test-builds 5309 53102008-03-14 Thomas E. Dickey <dickey@invisible-island.net> 5311 5312 * config.sub: update to 2008-03-08 5313 5314 * config.guess: update to 2008-03-12 5315 53162007-05-09 Thomas E. Dickey <dickey@invisible-island.net> 5317 5318 * main.c: close graph, verbose files if opened, on exit. 5319 5320 * main.c: 5321 audit memory leaks - valgrind reported some memory still in use on exit. 5322 5323 * lalr.c, output.c, reader.c, mkpar.c, lr0.c: 5324 add hook for auditing memory leaks 5325 5326 * defs.h: add hooks for auditing memory leaks 5327 5328 * configure: regen'd 5329 5330 * configure.in: 5331 use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind, 5332 --with-dbmalloc and --with-dmalloc 5333 5334 * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND 5335 5336 * aclocal.m4: improve version-checking in CF_GCC_VERSION 5337 rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro 5338 5339 * VERSION: 2007/5/9 5340 5341 * main.c: file_prefix did not always have a trailing null. 5342 53432007-03-25 Thomas E. Dickey <dickey@invisible-island.net> 5344 5345 * mkdirs.sh: improved version for "make -j" 5346 53472006-12-22 Thomas E. Dickey <dickey@invisible-island.net> 5348 5349 * config.guess: update to 2006/12/22 5350 53512006-12-08 Thomas E. Dickey <dickey@invisible-island.net> 5352 5353 * config.sub: update to 2006/12/08 5354 53552005-08-13 Thomas E. Dickey <dickey@invisible-island.net> 5356 5357 * main.c: add -V to usage message 5358 5359 * makefile.in: remove -t option from ctags 5360 5361 * VERSION: 2005/8/13 5362 53632005-08-13 schmitz 5364 5365 * main.c: Sylvain Schmitz: 5366 modify the '-o' option to work like bison's, which sets the file-prefix. 5367 53682005-08-13 Matt.Kraai 5369 5370 * output.c: 5371 Debian #322858 (don't close union_file, which contained data). 5372 This feature is used in groff. 5373 53742005-08-13 Thomas E. Dickey <dickey@invisible-island.net> 5375 5376 * configure: regenerated 5377 5378 * aclocal.m4: improve checks for Intel compiler warnings 5379 53802005-06-25 Thomas E. Dickey <dickey@invisible-island.net> 5381 5382 * config.sub: update to 2005/6/2 5383 5384 * config.guess: update to 2005/5/27 5385 53862005-05-05 Thomas E. Dickey <dickey@invisible-island.net> 5387 5388 * defs.h: add a fallback for GCC_UNUSED 5389 53902005-05-04 Thomas E. Dickey <dickey@invisible-island.net> 5391 5392 * makefile.in: add "." to include-path to pickup config.h 5393 5394 * reader.c: 5395 apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617. 5396 5397 * output.c: 5398 correct a limit check in pack_vector() - report/analysis by William Evans 5399 5400 * main.c: 5401 exit after printing version. Otherwise "yacc -V" will exit with an erro 5402 after printing the usage message. 5403 5404 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 5405 regenerated after skeleton-changes 5406 5407 * skeleton.c: replace a few -1's with YYEMPTY 5408 5409 * skeleton.c: 5410 delete yynewerror (no one uses it any more, and it just makes compiler warnings) 5411 5412 * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD 5413 5414 * test/run_test.sh: 5415 filter out lines with YYPATCH, since that will change with each update 5416 5417 * yacc.1: add -V option 5418 5419 * main.c: add -V option to print the version. 5420 simplify option-parsing by moving the duplicate logic for setting flags into 5421 new function setflag(). 5422 5423 * skeleton.c: 5424 move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers). 5425 add YYPATCH here so it can be tested by applications. 5426 5427 * defs.h: 5428 add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and 5429 YYPATCH symbols. 5430 5431 * lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, 5432 verbose.c, graph.c, reader.c, main.c, symtab.c: 5433 reduce externs by making static the procedures that are not referenced outside 5434 the module in which they are defined. 5435 5436 * makefile.in: 5437 the VERSION file holds the patch-date. Define YYPATCH, so this will be 5438 compiled into the skeleton. 5439 5440 * VERSION: patch-level for byacc 5441 5442 * main.c: 5443 add "-o" to usage message. It is too long for a single line; rewrite usage() 5444 to show one option per line. 5445 54462005-05-03 Thomas E. Dickey <dickey@invisible-island.net> 5447 5448 * main.c: add -o option, to work with scripts that assume bison. 5449 simplify create_file_names() with a macro. 5450 simplify done() with a macro. 5451 adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by 5452 onintr(), do not flush output via exit(), but use _exit() instead. 5453 5454 * defs.h: remove unnecessary externs for main.c 5455 5456 * yacc.1: add -o option 5457 5458 * graph.c: remove unused parameter 5459 5460 * mkpar.c, defs.h, reader.c: 5461 add support for "%expect", a bison feature from FreeBSD sources 5462 5463 * lr0.c, reader.c, main.c, skeleton.c, graph.c, symtab.c, closure.c, 5464 mkpar.c, lalr.c, error.c, warshall.c, verbose.c, output.c: 5465 indent'd 5466 5467 * configure: regenerated for 2005/5/5 5468 5469 * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER) 5470 54712005-04-27 schmitz 5472 5473 * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1: 5474 Sylvain Schmitz <schmitz@i3s.unice.fr>: 5475 add graphical output of the LALR(1) automaton for graphviz, 5476 associated with command-line option `-g' 5477 54782005-04-16 Thomas E. Dickey <dickey@invisible-island.net> 5479 5480 * config.sub: update to 2005/2/10 5481 5482 * config.guess: update to 2005/3/24 5483 54842005-04-13 Thomas E. Dickey <dickey@invisible-island.net> 5485 5486 * package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds 5487 54882005-03-21 Thomas E. Dickey <dickey@invisible-island.net> 5489 5490 * package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds 5491 54922004-03-28 Thomas E. Dickey <dickey@invisible-island.net> 5493 5494 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 5495 updates due to adding yyparse() prototype 5496 5497 * configure: RCS_BASE 5498 5499 * configure.in: 5500 add AC_ARG_PROGRAM to make --program-prefix, etc., work. 5501 5502 * makefile.in: first cut of script to support --program-prefix 5503 5504 * configure.in: 5505 reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52 5506 5507 * makefile.in: modify so DESTDIR works 5508 5509 * makefile.in: use EXEEXT and OBJEXT 5510 5511 * configure.in: use CF_PROG_EXT 5512 generate a config.h 5513 5514 * defs.h: make this use the generated config.h 5515 5516 * skeleton.c: add a forward-reference for yyparse() 5517 5518 * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT 5519 5520 * yacc.1: remove the discussion of TMPDIR since it is obsolete 5521 5522 * skeleton.c: fix a couple of minor compiler-warnings in the skeleton 5523 5524 * defs.h: remove action_file_name, etc., since we use tmpfile() now. 5525 5526 * main.c: 5527 use tmpfile() for opening the working files. This quiets a warning 5528 advising the use of mkstemp(). 5529 5530 * output.c: 5531 Do not close temporary-files here, since they are opened with tmpfile(). 5532 Just rewind them, and they're ready to read back the data stored in them. 5533 5534 * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE 5535 5536 * test/yacc/grammar.output, test/yacc/grammar.tab.h: 5537 reference output for testing 5538 5539 * makefile.in: turn on "make check" rule 5540 5541 * test/calc.output: RCS_BASE 5542 5543 * test/yacc/calc.output: reference output for testing 5544 5545 * test/run_test.sh, test/calc.tab.h: RCS_BASE 5546 5547 * test/yacc/calc.tab.h: reference output for testing 5548 5549 * test/ftp.tab.c: yyparse() is now yyparse(void) 5550 5551 * test/calc.tab.c: RCS_BASE 5552 5553 * test/error.tab.c: yyparse() is now yyparse(void) 5554 5555 * test/README: RCS_BASE 5556 5557 * yacc.1: various typography fixes prompted by Debian #100947 5558 5559 * aclocal.m4, makefile.in, configure.in: RCS_BASE 5560 5561 * README: updated to note that this is not the original 5562 55632004-03-24 Thomas E. Dickey <dickey@invisible-island.net> 5564 5565 * test/grammar.y: RCS_BASE 5566 55672004-02-23 Thomas E. Dickey <dickey@invisible-island.net> 5568 5569 * config.sub: RCS_BASE 5570 55712004-02-17 Thomas E. Dickey <dickey@invisible-island.net> 5572 5573 * config.guess: RCS_BASE 5574 55752003-11-29 Thomas E. Dickey <dickey@invisible-island.net> 5576 5577 * install-sh: improved quoting 5578 55792002-06-29 Thomas E. Dickey <dickey@invisible-island.net> 5580 5581 * mkdirs.sh: 5582 don't use character range, since some locales don't work as expected 5583 55842001-06-22 Thomas E. Dickey <dickey@clark.net> 5585 5586 * install-sh: RCS_BASE 5587 55882000-11-20 Thomas E. Dickey <dickey@clark.net> 5589 5590 * test/calc.y: RCS_BASE 5591 5592 * test/code_calc.y, test/pure_calc.y: copy of calc.y 5593 5594 * vmsbuild.com: original version 5595 55962000-02-14 Thomas E. Dickey <dickey@clark.net> 5597 5598 * main.c: fix for VMS port - making pathname for temp-file 5599 5600 * descrip.mms: original version 5601 56022000-02-13 Thomas E. Dickey <dickey@clark.net> 5603 5604 * defs.h, verbose.c, reader.c, main.c, skeleton.c, warshall.c, symtab.c, 5605 closure.c, mkpar.c, lalr.c, lr0.c, output.c, error.c: 5606 ansify 5607 56081999-11-30 Thomas E. Dickey <dickey@clark.net> 5609 5610 * mkdirs.sh: RCS_BASE 5611 56121995-01-01 Thomas E. Dickey <dickey@clark.net> 5613 5614 * config_h.in: RCS_BASE 5615 56161993-12-23 unknown 5617 5618 * README.DOS, main.c: MSDOS-port 5619 56201993-12-22 unknown 5621 5622 * reader.c, defs.h: MSDOS-port 5623 56241993-03-02 unknown 5625 5626 * README: original version 5627 56281993-02-22 unknown 5629 5630 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE 5631 56321993-02-22 dickey@software.org 5633 5634 * test/yacc/error.output, test/yacc/error.tab.h: 5635 reference output for testing 5636 56371993-02-22 unknown 5638 5639 * test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE 5640 5641 * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES: 5642 original version 5643 56441992-10-12 unknown 5645 5646 * yacc.1: original version 5647 56481992-10-11 unknown 5649 5650 * defs.h: original version 5651 56521991-01-20 unknown 5653 5654 * mkpar.c, verbose.c: original version 5655 56561991-01-14 unknown 5657 5658 * lr0.c, Makefile, Makefile.old: original version 5659 56601990-07-16 unknown 5661 5662 * NEW_FEATURES: original version 5663 56641990-06-03 unknown 5665 5666 * ACKNOWLEDGEMENTS: original version 5667 56681990-02-05 unknown 5669 5670 * symtab.c, lalr.c, error.c: original version 5671 56721990-01-16 dickey@software.org 5673 5674 * test/code_error.y, test/pure_error.y: RCS_BASE 5675 56761990-01-16 unknown 5677 5678 * test/error.y: RCS_BASE 5679 56801989-11-22 unknown 5681 5682 * NO_WARRANTY: original version 5683 56841989-09-23 unknown 5685 5686 * test/ftp.y: RCS_BASE 5687 5688