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