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