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