Imported Upstream version 20220101
[platform/upstream/byacc.git] / CHANGES
1 2022-01-01  Thomas E. Dickey  <dickey@invisible-island.net>
2
3         * test/run_test.sh:
4         adjust to ignore NetBSD's difference in getopt warnings.
5
6         * package/pkgsrc/Makefile: resync with pkgsrc
7
8         * test/yacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.c: regen
9
10         * test/expr.oxout.y, test/expr.oxout.h: fix gcc warnings
11
12         * test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h: regen
13
14         * test/run_make.sh: workaround for compiling the expr.oxout.y files
15
16         * test/expr.oxout.y: fix syntax error
17
18         * test/btyacc/expr.oxout.tab.c: regen
19
20         * test/expr.oxout.h: RCS_BASE
21
22         * test/yacc/expr.oxout.tab.c: fix syntax error
23
24         * test/btyacc/expr.oxout.tab.c: regen, s/expr.oxout/expr_oxout/g
25
26         * test/btyacc/expr.oxout.tab.h: regen
27
28         * test/run_test.sh:
29         filter the default prefix to change "." to "_", so that the generated
30         files will compile consistently with run_make.sh
31
32         * package/debian/control, package/debian/prerm, package/debian/postinst:
33         add "byacc2" as an alternative for "yacc"
34
35         * package/byacc.spec, package/debian/control, package/debian/rules:
36         rename "btyacc" to "byacc2" to co-exist with traditional "btyacc" package
37
38         * package/debian/copyright, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
39         bump
40
41 2021-12-24  Thomas E. Dickey  <dickey@invisible-island.net>
42
43         * package/debian/rules: fixes from Debian package for lintian warnings
44
45         * package/debian/control: updates for Debian standard
46
47         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
48         bump
49
50         * package/debian/docs, package/debian/copyright, package/debian/control:
51         errata from Debian package
52
53         * config.sub: 2021-12-24
54             From: Dmitry V. Levin <ldv@altlinux.org>
55             config.sub: alias aarch64le to aarch64
56
57             Apparently, QNX reports aarch64 as aarch64le on little-endian machines.
58
59             * config.sub (aarch64le-*): Set cpu to aarch64.
60             (timestamp): Update.
61             * doc/config.sub.1: Regenerate.
62             * testsuite/config-sub.data (aarch64le-qnx): New test.
63
64             Reported-by: Elad Lahav <e2lahav@gmail.com>
65             Link: https://lists.gnu.org/archive/html/config-patches/2021-12/msg00009.html
66
67 2021-12-16  Thomas E. Dickey  <dickey@invisible-island.net>
68
69         * configure: regen
70
71         * aclocal.m4: resync with my-autoconf
72
73 2021-12-13  Thomas E. Dickey  <dickey@invisible-island.net>
74
75         * config.sub: 2021-10-27
76             From: Dmitry V. Levin <ldv@altlinux.org>
77             config.sub: fix typo in timestamp
78
79             * config.sub: Fix timestamp.
80             * doc/config.sub.1: Regenerate.
81
82             Reported-by: Jordi Sanfeliu <jordi@fibranet.cat>
83             Fixes: a013aac61edfa2a03727521508286480010e7bf3
84             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
85
86 2021-11-30  Thomas E. Dickey  <dickey@invisible-island.net>
87
88         * config.guess: 2021-11-30
89             From: Andreas F. Borchert <github@andreas-borchert.de>
90             config.guess: x86_64-pc-solaris2.11 is not properly recognized
91
92             config.guess guesses Solaris 11 to run on a 32-bit platform
93             despite Solaris 11 no longer supporting any 32-bit platform.
94
95             See the following code at lines 434 to 445:
96
97             | SUN_ARCH=i386
98             | # If there is a compiler, see if it is configured for 64-bit objects.
99             | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
100             | # This test works for both compilers.
101             | if test "$CC_FOR_BUILD" != no_compiler_found; then
102             |     if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
103             |         (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
104             |         grep IS_64BIT_ARCH >/dev/null
105             |     then
106             |         SUN_ARCH=x86_64
107             |     fi
108             | fi
109
110             If "cc" is installed, i.e. the Oracle Studio compiler, this one is
111             chosen for $CC_FOR_BUILD.  This compiler, the gcc provided by Oracle
112             and also gcc bootstrapped from sources on that platform with a default
113             configuration will by default generate 32-bit binaries -- even on
114             a 64-bit platform.  And __amd64 will not be defined for compilations
115             targeting a 32-bit platform.  This is different from the corresponding
116             behaviour on GNU/Linux systems where the local platform is targeted by
117             default.
118
119             Thus, as long as you do not add "-m64" or if you have a custom-built
120             gcc which defaults to 64 bit, you will get 32-bit binaries on Solaris
121             despite living on a 64-bit platform.
122
123             * config.guess (i86pc:SunOS:5.*:* || i86xen:SunOS:5.*:*): Adapt the
124             test by adding the "-m64" flag.  This will work properly for Solaris
125             10 as well (the last Solaris release that supported x86 32-bit
126             platforms).
127             * doc/config.guess.1: Regenerate.
128
129             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
130
131 2021-10-27  Thomas E. Dickey  <dickey@invisible-island.net>
132
133         * config.guess: 2021-10-27
134             From: Jordi Sanfeliu <jordi@fibranet.cat>
135             Recognize Fiwix
136
137             $ make check
138             cd testsuite && bash config-guess.sh && rm uname
139             PASS: config.guess checks (137 tests)
140             cd testsuite && bash config-sub.sh
141             PASS: config.sub checks (882 tests)
142             PASS: config.sub idempotency checks (819 tests)
143             PASS: config.sub canonicalise each config.guess testcase (137 tests)
144
145             * config.guess (i*86:Fiwix:*:*): Recognize.
146             * config.sub (fiwix*): Likewise.
147             * doc/config.guess.1: Regenerate.
148             * doc/config.sub.1: Likewise.
149             * testsuite/config-guess.data: Add a test case for Fiwix.
150             * testsuite/config-sub.data (i386-fiwix): New test.
151
152             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
153
154         * config.sub: 2021-20-27
155             From: Jordi Sanfeliu <jordi@fibranet.cat>
156             Recognize Fiwix
157
158             $ make check
159             cd testsuite && bash config-guess.sh && rm uname
160             PASS: config.guess checks (137 tests)
161             cd testsuite && bash config-sub.sh
162             PASS: config.sub checks (882 tests)
163             PASS: config.sub idempotency checks (819 tests)
164             PASS: config.sub canonicalise each config.guess testcase (137 tests)
165
166             * config.guess (i*86:Fiwix:*:*): Recognize.
167             * config.sub (fiwix*): Likewise.
168             * doc/config.guess.1: Regenerate.
169             * doc/config.sub.1: Likewise.
170             * testsuite/config-guess.data: Add a test case for Fiwix.
171             * testsuite/config-sub.data (i386-fiwix): New test.
172
173             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
174
175 2021-10-18  Thomas E. Dickey  <dickey@invisible-island.net>
176
177         * config.sub: 2021-08-14
178             From: Kinshuk Dua <kinshukdua@gmail.com>
179             config.sub: Fix typo in comment
180
181             Fixes: 5e531d391852a54e7fab2d8ff55625fca514b305
182             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
183
184 2021-08-14  Thomas E. Dickey  <dickey@invisible-island.net>
185
186         * config.sub: 2021-08-14
187             From: Nick Bowler <nbowler@draconx.ca>
188             config.sub: work around command assignment bug in some shells
189
190             When combining variable assignments with a shell command, some older
191             shells (notably heirloom-sh and presumably also Solaris 10 /bin/sh)
192             have a bug which causes the assignment to alter the current execution
193             environment whenever the command is a shell built-in.  For example:
194
195               % dash -c 'x=good; x=bad echo >/dev/null; echo $x'
196               good
197
198               % jsh -c 'x=good; x=bad echo >/dev/null; echo $x'
199               bad
200
201             The config.sub script contains a few commands of the form:
202
203               IFS=- read ...
204
205             which triggers this bug, causing the IFS assignment to persist for the
206             remainder of the script.  This can cause misbehaviour in certain cases,
207             for example:
208
209               % jsh config.sub i386-linux-gnu
210               config.sub: test: unknown operator gnu
211
212               % jsh config.sub i386-gnu/linux
213               sed: can't read s|gnu/linux|gnu|: No such file or directory
214               Invalid configuration `i386-gnu/linux': OS `' not recognized
215
216             * config.sub: Save and restore IFS explicitly to avoid shell bugs.
217             * doc/config.sub.1: Regenerate.
218
219             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
220
221 2021-08-08  Thomas E. Dickey  <dickey@invisible-island.net>
222
223         * reader.c:
224         fix memory-leak when replacing $$'s in destructor code (report/testcase
225         by Boris Kolpackov).
226
227         * main.c: account for a memory-leak
228
229         * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/defines1.calc.c, test/yacc/defines2.calc.c, test/yacc/defines3.calc.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c, test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c, test/yacc/varsyntax_calc1.tab.c, btyaccpar.c, yaccpar.c:
230         regen
231
232         * btyaccpar.skel, yaccpar.skel:
233         revert change to initialization of yystate, which confuses gcc, making a
234         different warning
235
236         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
237         bump
238
239 2021-08-04  Thomas E. Dickey  <dickey@invisible-island.net>
240
241         * config.sub: 2021-08-04
242             From: Jeremy Soller <jackpot51@gmail.com>
243             config.sub: add Linux Relibc Target
244
245             $ make check
246             cd testsuite && bash config-guess.sh && rm uname
247             PASS: config.guess checks (136 tests)
248             cd testsuite && bash config-sub.sh
249             PASS: config.sub checks (881 tests)
250             PASS: config.sub idempotency checks (818 tests)
251             PASS: config.sub canonicalise each config.guess testcase (136 tests)
252
253             * config.sub (relibc*): Recognize.
254             * doc/config.sub.1: Regenerate.
255             * testsuite/config-sub.data (x86_64-linux-relibc): New test.
256
257             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
258
259 2021-08-02  Thomas E. Dickey  <dickey@invisible-island.net>
260
261         * main.c, yacc.1: add "-h" option
262
263         * test/btyacc/no_b_opt.error, test/btyacc/no_output2.error, test/btyacc/no_p_opt.error, test/btyacc/big_b.error, test/btyacc/big_l.error, test/btyacc/help.error, test/btyacc/nostdin.error, test/yacc/big_b.error, test/yacc/big_l.error, test/yacc/help.error, test/yacc/no_b_opt.error, test/yacc/no_output2.error, test/yacc/no_p_opt.error, test/yacc/nostdin.error:
264         regen
265
266         * main.c:
267         map any of bison's long-options which have a corresponding yacc option
268         into the latter, without depending upon getopt_long().
269
270         * main.c: suggested patch:
271         From: Boris Kolpackov <boris@codesynthesis.com>
272         Subject: Re: [PATCH] support bison's --defines and --output options in byacc
273
274         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
275         bump
276
277 2021-08-01  Thomas E. Dickey  <dickey@invisible-island.net>
278
279         * test/btyacc/inherit2.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c:
280         regen
281
282         * output.c:
283         fix a misplaced #line, which was after a generated line in the code-file
284
285         * test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, test/yacc/code_calc.code.c, test/yacc/defines1.calc.c, test/yacc/defines2.calc.c, test/yacc/defines3.calc.c, test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c:
286         regen
287
288         * output.c:
289         add a state-machine to output_semantic_actions() to detect and replace
290         the "#line" directives added by Roland Illig's change, making them show
291         the actual line-numbers in the code-file.
292
293         * test/btyacc/pure_calc.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, test/btyacc/code_calc.code.c, test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c:
294         regen
295
296         * reader.c:
297         adapt a patch by Roland Illig which added #line directives with dummy
298         filename and line number, because the debug information was incorrect.
299         The actual fix (see output_semantic_actions) is to emit #line directives
300         which correspond to the code-file.
301
302         * reader.c: simplify an ifdef so I can balance {/}
303
304         * output.c: use new macro
305
306         * defs.h: add fprintf_lineno macro
307
308         * reader.c:
309         make that a little simpler - but I see that this should be using the
310         code-file's line-numbering rather than ""
311
312         * reader.c:
313         make that into a macro, and add a begin_case() to more/less match (the
314         #line's are not together in some btyacc cases...)
315
316         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
317         bump
318
319 2021-07-14  Thomas E. Dickey  <dickey@invisible-island.net>
320
321         * reader.c: From: Roland Illig <roland.illig@gmx.de>
322         Subject: small patch for byacc
323         ...
324         this splits up "\nbreak;\n" output to put #line directives after first "\n"
325
326 2021-07-06  Thomas E. Dickey  <dickey@invisible-island.net>
327
328         * config.sub: 2021-07-06
329             From: Stephanos Ioannidis <root@stephanos.io>
330             config.sub: add Zephyr RTOS support
331
332             This adds the Zephyr RTOS targets in preparation for implementing the
333             Zephyr RTOS-specific toolchain support.
334
335             $ make check
336             cd testsuite && bash config-guess.sh && rm uname
337             PASS: config.guess checks (136 tests)
338             cd testsuite && bash config-sub.sh
339             PASS: config.sub checks (880 tests)
340             PASS: config.sub idempotency checks (817 tests)
341             PASS: config.sub canonicalise each config.guess testcase (136 tests)
342
343             * config.sub (zephyr*): Recognize.
344             * doc/config.sub.1: Regenerate.
345             * testsuite/config-sub.data: Add testcases for *-zephyr.
346
347             Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
348             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
349
350 2021-07-03  Thomas E. Dickey  <dickey@invisible-island.net>
351
352         * config.sub: 2021-07-03
353             From: Ozkan Sezer <sezero@users.sourceforge.net>
354             config.sub: disable shellcheck SC2006 / SC2268 warnings
355
356             This is in line with the recent config.guess change in commit
357             12fcf67c9108f4c4b581eaa302088782f0ee40ea
358
359             * config.sub (shellcheck disable): Add SC2006,SC2268.
360
361             Suggested-by: Jacob Bachmeyer <jcb@gnu.org>
362             Signed-off-by: Ozkan Sezer <sezero@users.sourceforge.net>
363             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
364
365         * config.sub: 2021-07-03
366             From: Ozkan Sezer <sezero@users.sourceforge.net>
367             config.sub: normalize the quoting in the `echo FOO | sed ...`
368
369             Some cases quote the argument to echo and some do not.  At runtime
370             it probably does not matter because the substituted values will never
371             contain whitespace, but quoting them all would make shellcheck more
372             useful.
373
374             * config.sub: Consistently quote the argument of echo.
375             * doc/config.sub.1: Regenerate.
376
377             Suggested-by: Jacob Bachmeyer <jcb@gnu.org>
378             Signed-off-by: Ozkan Sezer <sezero@users.sourceforge.net>
379             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
380
381 2021-07-02  Thomas E. Dickey  <dickey@invisible-island.net>
382
383         * config.sub: 2021-06-03
384             From: Ozkan Sezer <sezero@users.sourceforge.net>
385             config.sub: replace POSIX $( ) with classic ` ` throughout
386
387             This is in line with the recent config.guess change in commit
388             d70c4fa934de164178054c3a60aaa0024ed07c91.
389
390             The patch was generated using patch-6.gawk script introduced in that
391             commit.
392
393             * config.sub: Revert POSIX command substitutions to classic form.
394
395             Signed-off-by: Ozkan Sezer <sezero@users.sourceforge.net>
396             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
397
398 2021-06-19  Thomas E. Dickey  <dickey@invisible-island.net>
399
400         * configure: regen
401
402         * aclocal.m4: resync with my-autoconf
403
404         * test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c, btyaccpar.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/defines1.calc.c, test/yacc/defines2.calc.c, test/yacc/defines3.calc.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/rename_debug.c, test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c, yaccpar.c:
405         regen
406
407         * btyaccpar.skel, yaccpar.skel: cancel unused assignments
408
409         * output.c: gcc warning
410
411         * test/run_test.sh, test/run_lint.sh, test/run_make.sh:
412         shellcheck-warnings
413
414 2021-06-19  jannick0
415
416         * test/run_test.sh: changes suggested at
417                 https://github.com/jannick0/byacc-snapshots/tree/YYINT-fix-20210520
418
419 2021-06-19  Thomas E. Dickey  <dickey@invisible-island.net>
420
421         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
422         bump
423
424 2021-06-13  Thomas E. Dickey  <dickey@invisible-island.net>
425
426         * aclocal.m4: resync with my-autoconf
427
428 2021-06-04  Thomas E. Dickey  <dickey@invisible-island.net>
429
430         * config.guess: 2021-06-03
431             From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
432             Recognize arc32
433
434             This is the 32-bit variant of ARCv3 ISA (which is not compatible with the
435             32-bit ARCv2 ISA)
436
437             | make check
438             | cd testsuite && bash config-guess.sh && rm uname
439             | PASS: config.guess checks (136 tests)
440             | cd testsuite && bash config-sub.sh
441             | PASS: config.sub checks (864 tests)
442             | PASS: config.sub idempotency checks (801 tests)
443             | PASS: config.sub canonicalise each config.guess testcase (136 tests)
444
445             * config.guess (arc32:Linux:*:*): Recognize.
446             * config.sub (arc32): Likewise.
447             * doc/config.guess.1: Regenerate.
448             * doc/config.sub.1: Likewise.
449             * testsuite/config-guess.data: Add a test case for arc32.
450             * testsuite/config-sub.data (arc32, arc*-elf): Add test cases.
451
452             Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
453             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
454
455         * config.sub: 2021-06-03 (repaired)
456             From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
457             Recognize arc32
458
459             This is the 32-bit variant of ARCv3 ISA (which is not compatible with the
460             32-bit ARCv2 ISA)
461
462             | make check
463             | cd testsuite && bash config-guess.sh && rm uname
464             | PASS: config.guess checks (136 tests)
465             | cd testsuite && bash config-sub.sh
466             | PASS: config.sub checks (864 tests)
467             | PASS: config.sub idempotency checks (801 tests)
468             | PASS: config.sub canonicalise each config.guess testcase (136 tests)
469
470             * config.guess (arc32:Linux:*:*): Recognize.
471             * config.sub (arc32): Likewise.
472             * doc/config.guess.1: Regenerate.
473             * doc/config.sub.1: Likewise.
474             * testsuite/config-guess.data: Add a test case for arc32.
475             * testsuite/config-sub.data (arc32, arc*-elf): Add test cases.
476
477             Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
478             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
479
480 2021-05-26  Thomas E. Dickey  <dickey@invisible-island.net>
481
482         * config.guess: 2021-05-24
483             From: Jacob Bachmeyer <jcb@gnu.org>
484             config.guess: manual fixups after previous automatic patch
485
486             The tool could not handle command substitutions that span lines, but
487             fortunately there were only two such substitutions in the script.
488
489             The test for which universe is active on Pyramid is rewritten into a
490             case block because it was the only use of a command substitution as an
491             argument to the test command, which would require quoting.
492
493             * config.guess: Rewrite "if" for Pyramid systems to "case".
494
495         * config.guess: 2021-05-24 (repaired)
496             From: Jacob Bachmeyer <jcb@gnu.org>
497             config.guess: replace POSIX $( ) with classic ` ` throughout
498
499             The previous replacement of backticks with POSIX command substitutions
500             was ill-considered and illogical: this script recognizes many archaic
501             machine types that probably never had POSIX shells, therefore it needs
502             to be able to run successfully under pre-POSIX shells.
503
504             This patch was generated using the included GNU Awk program.
505
506             * config.guess: Revert POSIX command substitutions to classic form.
507             * patch-6.gawk: Store the tool that produced the automated patch.
508
509 2021-05-25  Thomas E. Dickey  <dickey@invisible-island.net>
510
511         * config.guess: 2021-05-24 (repaired)
512             From: Jacob Bachmeyer <jcb@gnu.org>
513             config.guess: manual fixup after previous automated patches
514
515             This patch provides the special handling for the GNU system.  As these
516             were two small and unique edits, they were not included in the scripts.
517
518             This patch also cleans up other minor issues that must be addressed
519             before reverting to classic command substitutions and updates
520             "shellcheck" directives to account for changes in this script and the
521             change in "shellcheck" towards reporting individual portability issues.
522
523         * config.guess: 2021-05-24 (repaired)
524             From: Jacob Bachmeyer <jcb@gnu.org>
525             config.guess: automatic fixups after previous automated patch
526
527             This patch was generated using the following command:
528
529               sed -i config.guess \
530                   -e '/="[^"]\+"\(-\|$\)/s/="\([^"([:space:])]\+\)"/=\1/' \
531                   -e '/="[^"]\+"[[:alnum:]]/s/="\$\([^([:space:])]\+\)"/=${\1}/' \
532                   -e \
533             '/\$(echo[^|]\+|/s/\([^[:space:]]\)[[:space:]]*|[[:space:]]*sed/\1 | sed/g'
534
535             * config.guess: Remove unneeded quotes in other variable assignments,
536             standardize spacing for "echo ... | sed" substitutions.
537
538         * config.guess: 2021-05-24 (repaired)
539             From: Jacob Bachmeyer <jcb@gnu.org>
540             config.guess: remove unneeded quotes and factor command substitutions
541
542             This is further cleanup and simplifies some constructs that can confuse
543             Emacs' syntax highlighting while generally reducing required quoting.
544
545             This patch was generated using the included GNU Awk program.
546
547             * config.guess: Remove unneeded variable quotes and factor out command
548             substitutions when setting GUESS.
549             * patch-3.gawk: Store the tool that produced the automated patch.
550
551         * config.guess: 2021-05-24 (repaired)
552             From: Jacob Bachmeyer <jcb@gnu.org>
553             config.guess: manual fixups after previous automatic patch
554
555             * config.guess: Adjust a few "leftover" cases that the tool could not
556             easily recognize and fixes comment indentation in a few other special
557             cases.
558
559         * config.guess: 2021-05-24 (repaired)
560             From: Jacob Bachmeyer <jcb@gnu.org>
561             config.guess: introduce intermediate variable with uname results
562
563             This will allow quoting to be significantly simplified in another
564             pass through the file.
565
566             * config.guess: Introduce GUESS variable to hold results of uname analysis.
567
568         * config.guess: 2021-05-24 (repaired)
569             From: Jacob Bachmeyer <jcb@gnu.org>
570             config.guess: use intermediate variable with uname results
571
572             This will allow quoting to be significantly simplified in another
573             pass through the file.
574
575             This patch was generated using the included GNU Awk program.
576
577             * config.guess: Use GUESS variable to hold results of uname analysis.
578             * patch-1.gawk: Store the tool that produced the automated patch.
579
580 2021-05-24  Thomas E. Dickey  <dickey@invisible-island.net>
581
582         * config.guess: 2021-05-24 (repaired)
583             From: Dmitry V. Levin <ldv@altlinux.org>
584             config.guess: fix shellcheck warning SC2154
585
586             While, according to Plan 9 documentation, the environment variable
587             $cputype is set to the name of the kernel's CPU's architecture,
588             shellcheck warns that cputype is referenced but not assigned.
589             Be on the safe side and do not use cputype if it is not defined
590             or empty.
591
592             * config.guess (*:Plan9:*:*): Fix shellcheck warning SC2154.
593
594         * config.guess: 2021-05-24 (repaired)
595             From: Dmitry V. Levin <ldv@altlinux.org>
596             config.guess: remove redundant quotes in case commands
597
598             According to the GNU Autoconf Portable Shell Programming manual,
599             the Bourne shell does not systematically split variables and back-quoted
600             expressions, in particular on the right-hand side of assignments and in
601             the argument of 'case'.
602
603             The change is made automatically using the following command:
604             $ sed -E -i 's/(\<case )"(\$[^"]+)"( in\>)/\1\2\3/' config.guess
605
606             * config.guess: Simplify case commands by removing quotes around the
607             argument.
608
609             Suggested-by: Jacob Bachmeyer <jcb@gnu.org>
610
611         * config.guess: 2021-05-24 (repaired)
612             From: Dmitry V. Levin <ldv@altlinux.org>
613             config.guess: simplify exit status workaround on alphaev67-dec-osf5.1
614
615             Commit 29865ea8a5622cdd80b7a69a0afa78004b4cd311 introduced an exit trap
616             reset before exiting to avoid a spurious non-zero exit status on
617             alphaev67-dec-osf5.1.  Simplify that code a bit by moving the exit trap
618             reset around.
619
620             * config.guess (alpha:OSF1:*:*): Reset exit trap earlier.
621             * doc/config.guess.1: Regenerate.
622
623 2021-05-20  Thomas E. Dickey  <dickey@invisible-island.net>
624
625         * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_calc.tab.c, test/btyacc/code_error.code.c, test/btyacc/code_error.tab.c, test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, test/yacc/code_error.code.c, test/yacc/code_error.tab.c, test/yacc/defines1.calc.c, test/yacc/defines2.calc.c, test/yacc/defines3.calc.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c, test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c, test/yacc/varsyntax_calc1.tab.c:
626         regen
627
628         * mkpar.c, reader.c: change printf format to allow for long-YYINT
629
630         * lalr.c, lr0.c: change type, fix gcc warnings
631
632         * verbose.c: change type, fix gcc warnings
633         also change printf format, to allow for long YYINT
634
635         * output.c: change type, fix gcc warnings
636         also change printf format, to allow for long-YYINT
637
638         * package/debian/rules, package/byacc.spec:
639         change max-table-size to correspond with switch of YYINT from short to int
640
641         * defs.h:
642         change default for MAXTABLE to INT_MAX, like the FreeBSD port.
643         that requires changing some types to eliminate type-mismatches.
644
645         * configure: regen
646
647         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
648         bump
649
650 2021-05-01  Thomas E. Dickey  <dickey@invisible-island.net>
651
652         * aclocal.m4: resync with my-autoconf
653
654 2021-04-30  Thomas E. Dickey  <dickey@invisible-island.net>
655
656         * config.sub: 2021-04-30 (repaired)
657             From: Maciej W. Rozycki <macro@orcam.me.uk>
658             config.sub: Handle MIPS R3 and R5 ISA levels with CPU names
659
660             Complement binutils commit ae52f4830604 ("Add MIPS r3 and r5 support.")
661             and recognize MIPS CPU patterns for the R3 and R5 ISA levels, used by
662             GAS to set defaults.
663
664             * config.sub (mipsisa32r3, mipsisa32r3el, mipsisa32r5, mipsisa32r5el,
665             mipsisa64r3, mipsisa64r3el, mipsisa64r5, mipsisa64r5el): Recognize.
666             * doc/config.sub.1: Regenerate.
667             * testsuite/config-sub.data: Add test cases.
668
669             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
670
671 2021-04-21  Thomas E. Dickey  <dickey@invisible-island.net>
672
673         * config.guess, config.sub: 2021-04-21 (repaired)
674             From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
675             Recognize arc64
676
677             This paves way for setting up arc64 software ecosystem.
678
679             $ make check
680             cd testsuite && bash config-guess.sh && rm uname
681             PASS: config.guess checks (136 tests)
682             cd testsuite && bash config-sub.sh
683             PASS: config.sub checks (853 tests)
684             PASS: config.sub idempotency checks (790 tests)
685             PASS: config.sub canonicalise each config.guess testcase (136 tests)
686
687             * config.guess (arc64:Linux:*:*): Recognize.
688             * config.sub (arc64): Likewise.
689             * doc/config.guess.1: Regenerate.
690             * doc/config.sub.1: Likewise.
691             * testsuite/config-guess.data: Add a test case for arc64.
692             * testsuite/config-sub.data (arc64, arc*-elf): Add test cases.
693
694             Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
695             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
696
697 2021-04-16  Thomas E. Dickey  <dickey@invisible-island.net>
698
699         * config.guess: 2021-04-16 (repaired)
700             From: Purple Rain <purplerain@secbsd.org>
701             config.guess: add SecBSD support
702
703             * config.guess (*:SecBSD:*:*): Recognize.
704             * doc/config.guess.1: Regenerate.
705             * testsuite/config-guess.data: Add a test case.
706
707             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
708
709         * config.sub: 2021-04-16 (repaired)
710             From: Purple Rain <purplerain@secbsd.org>
711             config.sub: add SecBSD support
712
713             * config.sub (secbsd*): Recognize.
714             * doc/config.sub.1: Regenerate.
715             * testsuite/config-sub.data: Add x86_64-secbsd.
716
717             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
718
719 2021-03-28  Thomas E. Dickey  <dickey@invisible-island.net>
720
721         * reader.c: ignore bison's "%empty" extension
722
723         * reader.c, defs.h:
724         %debug was a trivial bison "extension", mark it as such
725
726         * yacc.1: use italics in a few places where bold was inappropriate
727
728         * test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h, test/btyacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.h, test/btyacc/inherit1.tab.c, test/btyacc/inherit1.tab.h, test/btyacc/inherit2.tab.c, test/btyacc/inherit2.tab.h, test/btyacc/ok_syntax1.tab.c, test/btyacc/ok_syntax1.tab.h, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit3.tab.h, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit4.tab.h, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_demo.tab.h, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy1.tab.h, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy2.tab.h, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/btyacc_destroy3.tab.h, test/btyacc/calc1.tab.c, test/btyacc/calc1.tab.h, test/yacc/varsyntax_calc1.tab.c, test/yacc/varsyntax_calc1.tab.h, test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h, test/yacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.h, test/yacc/calc1.tab.c, test/yacc/calc1.tab.h:
729         regen
730
731         * reader.c:
732         add union tag to YYSTYPE structure for compatibility with a feature which
733         bison copied from Solaris yacc (request by Ella Stanforth)
734
735         * configure: regen
736
737         * config_h.in: update for _Noreturn feature
738
739         * aclocal.m4: updated to work with autoheader
740
741         * defs.h: apply syntax change needed for _Noreturn keyword
742
743         * package/byacc.spec, package/debian/rules: use stdnoreturn
744
745         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
746         bump
747
748 2021-03-20  Thomas E. Dickey  <dickey@invisible-island.net>
749
750         * configure: regen
751
752         * aclocal.m4:
753         resync with my-autoconf (adds --enable-stdnoreturn option)
754
755 2021-03-10  Thomas E. Dickey  <dickey@invisible-island.net>
756
757         * config.sub: 2021-03-10 (repaired)
758             From: Idan Horo <idan.horowitz@gmail.com>
759             config.sub: Add support for SerenityOS
760
761             * config.sub (serenity*): Recognize.
762             * doc/config.sub.1: Regenerate.
763             * testsuite/config-sub.data: Add i386-serenity.
764
765             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
766
767 2021-01-25  Thomas E. Dickey  <dickey@invisible-island.net>
768
769         * config.guess: 2021-01-25 (repaired)
770             From: Kalamatee <kalamatee@gmail.com>
771             config.guess: update AROS system detection
772
773             * config.guess: Recognize *:AROS:*:*.
774             * doc/config.guess.1: Regenerate.
775             * testsuite/config-guess.data: Add test cases.
776
777             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
778
779 2021-01-19  Thomas E. Dickey  <dickey@invisible-island.net>
780
781         * config.guess: 2021-01-19 (repaired)
782             From: M. Levinson <mlevins@users.sourceforge.net>
783             config.guess: fix shell variable quoting bug
784
785             * config.guess (*:NetBSD:*:*): Spell out the full sysctl command twice
786             instead of using a shell variable.
787             * doc/config.guess.1: Regenerate.
788
789             Fixes: 827c77253b396c07306927b2a4b794a3251c48eb
790             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
791
792 2021-01-09  Thomas E. Dickey  <dickey@invisible-island.net>
793
794         * package/debian/copyright, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
795         bump
796
797 2021-01-07  Thomas E. Dickey  <dickey@invisible-island.net>
798
799         * config.sub: 2021-01-08 (repaired)
800             From: Peixing Xin <peixing.xin@windriver.com>
801             config.sub: recognize four-part configuration name for VxWorks
802
803             For example:
804
805               armv7m-wrs-vxworks-eabihf
806               armv7-wrs-vxworks-eabihf
807               i686-wrs-vxworks-simlinux
808               i686-wrs-vxworks-simwindows
809               powerpc-wrs-vxworks-spe
810               x86_64-wrs-vxworks-simlinux
811               x86_64-wrs-vxworks-simwindows
812
813             * config.sub: Recognize four-part configuration name for VxWorks.
814             * doc/config.guess.1: Regenerate.
815             * testsuite/config-sub.data: Add test cases.
816
817             Co-authored-by: John Ericson <git@JohnEricson.me>
818             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
819
820 2021-01-06  Thomas E. Dickey  <dickey@invisible-island.net>
821
822         * config.sub: 2021-01-07 (repaired)
823             From: Alan Modra <amodra@gmail.com>
824             config.sub: accept OS of eabi* and gnueabi*
825
826             Commit 5e531d391852 broke powerpc-eabivle:
827
828             $ ./config.sub powerpc-eabivle
829             Invalid configuration `powerpc-eabivle': OS `eabivle' not recognized
830
831             Also powerpc-eabisim and probably some arm configurations.
832
833             * config.sub: Accept OS of eabi* and gnueabi*.
834             * testsuite/config-sub.data: Add powerpc-eabisim and powerpc-eabivle.
835
836             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
837
838 2021-01-05  Thomas E. Dickey  <dickey@invisible-island.net>
839
840         * configure: regen
841
842         * aclocal.m4: resync with my-autoconf
843
844 2021-01-01  Thomas E. Dickey  <dickey@invisible-island.net>
845
846         * config.guess, config.sub: 2021-01-01 (repaired)
847             From: Dmitry V. Levin <ldv@altlinux.org>
848             Update copyright years
849
850             * config.guess: Update copyright years.
851             * config.sub: Likewise.
852             * doc/config.guess.1: Regenerate.
853             * doc/config.sub.1: Likewise.
854
855 2020-12-31  Thomas E. Dickey  <dickey@invisible-island.net>
856
857         * config.guess, config.sub: 2020-12-31 (repaired)
858             From: Kito Cheng <kito.cheng@sifive.com>
859             Recognize riscv32be and riscv64be
860
861             Recently RISC-V community got patches big-endian support for binutils,
862             and we'd like to accept that, however before accepting that I think it
863             would be better to upstream config.sub and config.guess change here :)
864
865             It's my check result on Ubuntu 18.04:
866
867              $ make check
868              cd testsuite && bash config-guess.sh && rm uname
869              PASS: config.guess checks (131 tests)
870              cd testsuite && bash config-sub.sh
871              PASS: config.sub checks (830 tests)
872              PASS: config.sub idempotency checks (767 tests)
873              PASS: config.sub canonicalise each config.guess testcase (131 tests)
874
875             * config.guess (riscv32be:Linux:*:*, riscv64be:Linux:*:*): Recognize.
876             * config.sub (riscv32be, riscv64be): Likewise.
877             * doc/config.guess.1: Regenerate.
878             * doc/config.sub.1: Likewise.
879             * testsuite/config-guess.data: Add test cases for riscv32be, and riscv64be.
880             * testsuite/config-sub.data (riscv32be, riscv64be): Add test cases.
881
882             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
883
884 2020-12-03  Thomas E. Dickey  <dickey@invisible-island.net>
885
886         * config.guess, config.sub: 2020-12-22 (repaired)
887             From: Xiaotian Wu <wuxiaotian@loongson.cn>
888             Recognize loongarch32, loongarch64, and loongarchx32
889
890             * config.guess (loongarch32:Linux:*:*, loongarch64:Linux:*:*,
891             loongarchx32:Linux:*:*): Recognize.
892             * config.sub (loongarch32, loongarch64, loongarchx32): Likewise.
893             * doc/config.guess.1: Regenerate.
894             * doc/config.sub.1: Likewise.
895             * testsuite/config-guess.data: Add test cases for loongarch32,
896             loongarch64, and loongarchx32.
897             * testsuite/config-sub.data (loongarch32, loongarch64, loongarchx32):
898             Add test cases.
899
900             Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
901
902 2020-12-01  Thomas E. Dickey  <dickey@invisible-island.net>
903
904         * config.sub: 2020-12-02 (repaired)
905             From: Dmitry V. Levin <ldv@altlinux.org>
906             config.sub: recognize thumbv7*
907
908             * config.sub (thumbv7*): Recognize.
909             * testsuite/config-sub.data (thumbv7): New test.
910
911             Reported-by: Karl Berry <karl@freefriends.org>
912             Link: https://lists.gnu.org/archive/html/config-patches/2020-12/msg00001.html
913
914 2020-11-19  Thomas E. Dickey  <dickey@invisible-island.net>
915
916         * config.guess, config.sub: 2020-11-17 (repaired)
917             From: Dmitry V. Levin <ldv@altlinux.org>
918             .gitattributes: specify a custom git merge driver for the ChangeLog file
919
920         * config.guess, config.sub: 2020-11-19 (repaired)
921             From: Dmitry V. Levin <ldv@altlinux.org>
922             Update URLs of the latest version of config.guess and config.sub scripts
923
924             Prefer cgit URLs over gitweb as the former are usually served faster:
925             $ time -f %e wget -q 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess'
926             1.06
927             $ time -f %e wget -q 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess'
928             0.73
929
930             * config.guess: Prefer cgit URLs over gitweb.
931             (timestamp): Update.
932             * config.sub: Likewise.
933             * doc/config.guess.1: Regenerate.
934             * doc/config.sub.1: Likewise.
935
936 2020-11-06  Thomas E. Dickey  <dickey@invisible-island.net>
937
938         * config.guess, config.sub: 2020-11-07 (repaired)
939             From: Ben Elliston <bje@gnu.org>
940             Update timestamps.
941
942         * config.sub: 2020-10-13 (repaired)
943             From: Ben Elliston <bje@gnu.org>
944                     * config.sub, config.guess: Replace backtick `..` substitutions
945                     with POSIX $(..) command substitutions throughout.
946                     * Makefile (shellcheck): Don't exclude message SC2006.
947
948         * config.guess: 2020-10-22 (repaired)
949             From: Ben Elliston <bje@gnu.org>
950                     * config.sub, config.guess: Replace backtick `..` substitutions
951                     with POSIX $(..) command substitutions throughout.
952                     * Makefile (shellcheck): Don't exclude message SC2006.
953
954 2020-10-21  Thomas E. Dickey  <dickey@invisible-island.net>
955
956         * config.guess: 2020-10-22
957             From: Rin Okuyama <rin@netbsd.org>
958                     * config.guess (*:NetBSD:*:*): Handle aarch64eb.
959                     * testsuite/config-guess.data: Add test cases.
960
961             Signed-off-by: Ben Elliston <bje@gnu.org>
962
963 2020-10-14  Thomas E. Dickey  <dickey@invisible-island.net>
964
965         * config.sub: 2020-10-13
966             From: Ben Elliston <bje@gnu.org>
967             Fix whitespace problem in config.sub.
968
969 2020-10-13  Thomas E. Dickey  <dickey@invisible-island.net>
970
971         * config.sub: 2020-10-13
972             From: Ben Elliston <bje@gnu.org>
973                     * config.sub (i*86-pc-os2-emx): Recognise correctly.
974                     * testsuite/config-sub.data: Add OS/2 tests to avoid regressions.
975
976 2020-09-26  Thomas E. Dickey  <dickey@invisible-island.net>
977
978         * config.sub: 2020-09-08
979             From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
980                     * config.sub (uclinux-uclibc*): Fix detection.
981                     * testsuite/config-sub.data: Add a test case to avoid regression.
982
983             Signed-off-by: Ben Elliston <bje@gnu.org>
984
985 2020-09-22  Thomas E. Dickey  <dickey@invisible-island.net>
986
987         * closure.c, warshall.c:
988         fix undefined-behavior diagnosed with gcc -fsanitize=undefined (report by
989         Alexander Richardson)
990
991 2020-09-20  Thomas E. Dickey  <dickey@invisible-island.net>
992
993         * config.guess: 2020-09-19
994             From: Bruno Haible <bruno@clisp.org>
995                     * config.guess: Don't use 'ldd --version' to determine the presence of
996                     musl libc, as this fails on Alpine Linux 3.10.
997
998             Signed-off-by: Ben Elliston <bje@gnu.org>
999
1000 2020-09-10  Thomas E. Dickey  <dickey@invisible-island.net>
1001
1002         * LICENSE: RCS_BASE
1003
1004         * reader.c, output.c: cppcheck -- reduce scope
1005
1006         * defs.h: update to 2.0
1007
1008         * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/defines1.calc.c, test/yacc/defines2.calc.c, test/yacc/defines3.calc.c, test/yacc/empty.tab.c, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax27.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c, test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c, test/yacc/varsyntax_calc1.tab.c:
1009         update to version 2.0
1010
1011         * reader.c:
1012         improve loop which skips backward through a (possibly nested) sequence of
1013         square-brackets.
1014
1015         * reader.c: simplify a check to quiet a bogus cppcheck-warning
1016
1017         * yacc.1: bump date
1018
1019         * reader.c: add a note about a bogus cppcheck warning
1020
1021         * configure: regen
1022
1023         * configure.in:
1024         always check for gcc attributes, to work around defect in clang's imitation
1025         of this feature
1026
1027         * reader.c: cppcheck -- scope reduction
1028         cppcheck -- eliminate bogus returns after no-return functions
1029
1030         * verbose.c, output.c, mkpar.c, main.c, warshall.c, lr0.c, lalr.c, graph.c, closure.c:
1031         cppcheck -- scope reduction
1032
1033         * package/debian/compat: quiet compatibility-warning
1034
1035         * yacc.1: use "ASCII" for dashes which are part of proper names
1036
1037         * configure: regen
1038
1039         * configure.in: switch to --enable-warnings, for consistency
1040
1041         * aclocal.m4:
1042         resync with my-autoconf, for compiler-warning fixes with macOS
1043
1044         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1045         bump
1046
1047 2020-09-07  Thomas E. Dickey  <dickey@invisible-island.net>
1048
1049         * config.sub: 2020-09-08
1050             From: Elad Lahav <e2lahav@gmail.com>
1051                     * config.sub: Fix regression in QNX recognition.
1052                     * testsuite/config-sub.data: Add some test cases.
1053
1054             Signed-off-by: Ben Elliston <bje@gnu.org>
1055
1056 2020-08-16  Thomas E. Dickey  <dickey@invisible-island.net>
1057
1058         * config.guess, config.sub: 2020-08-17
1059
1060 2020-06-28  Thomas E. Dickey  <dickey@invisible-island.net>
1061
1062         * config.sub: 2020/06/28
1063
1064 2020-06-14  Thomas E. Dickey  <dickey@invisible-island.net>
1065
1066         * config.guess: 2020/04/26
1067
1068 2020-03-30  Thomas E. Dickey  <dickey@invisible-island.net>
1069
1070         * package/debian/copyright: bump
1071
1072         * test/yacc/grammar.tab.c, test/btyacc/grammar.tab.c, test/grammar.y, reader.c:
1073         typo found with codespell
1074
1075         * yacc.1: fixes noted in the original report, overlooked in followup
1076
1077 2020-03-30  Bjarni.Ingi.Gislason
1078
1079         * yacc.1: typography/spelling fixes - Debian #955175
1080
1081 2020-03-30  Thomas E. Dickey  <dickey@invisible-island.net>
1082
1083         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1084         bump
1085
1086 2020-03-10  Thomas E. Dickey  <dickey@invisible-island.net>
1087
1088         * configure: regen
1089
1090         * aclocal.m4:
1091         resync with my-autoconf, mostly fixes for compiler-warnings
1092
1093         * configure.in: use macro to suppress X-dependency from newer macros
1094
1095 2019-12-20  Thomas E. Dickey  <dickey@invisible-island.net>
1096
1097         * config.guess: 2019-12-21
1098
1099 2019-11-25  Tom.Shields
1100
1101         * main.c:
1102         fix an inconsistency between the getopt and non-getopt configuration.
1103         In the former, getopt always used "yacc", not the name of the executable.
1104
1105 2019-11-25  Thomas E. Dickey  <dickey@invisible-island.net>
1106
1107         * test/run_make.sh:
1108         suppress bison's -Wyacc warning, which is not useful.
1109
1110         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1111         bump
1112
1113 2019-11-19  Thomas E. Dickey  <dickey@invisible-island.net>
1114
1115         * yacc.1: new version of manpage
1116
1117         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1118         bump
1119
1120         * yacc.1: document %code
1121
1122         * test/btyacc/calc_code_all.error, test/btyacc/calc_code_all.output, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_all.tab.h, test/btyacc/calc_code_default.error, test/btyacc/calc_code_default.output, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_default.tab.h, test/btyacc/calc_code_imports.error, test/btyacc/calc_code_imports.output, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_imports.tab.h, test/btyacc/calc_code_provides.error, test/btyacc/calc_code_provides.output, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_provides.tab.h, test/btyacc/calc_code_requires.error, test/btyacc/calc_code_requires.output, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_requires.tab.h, test/btyacc/calc_code_top.error, test/btyacc/calc_code_top.output, test/btyacc/calc_code_top.tab.c, test/btyacc/calc_code_top.tab.h, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_all.tab.h, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_provides.tab.h, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_requires.tab.h, test/yacc/calc_code_top.tab.c:
1123         RCS_BASE
1124
1125         * output.c:
1126         amend updates for 'outline' when processing "%code" in code-file
1127
1128         * output.c:
1129         modify output_code_lines() to show begin/end block comments which were in
1130         reader.c, and to generate a #line for the code-file.
1131
1132         * reader.c:
1133         modify copy_code() to allow for multiple %code directives for a given
1134         section, recording the input line-number for each directive as a #line
1135         in the resulting string.  remove the block start/end comments, since those
1136         will be done for a whole section in output.c
1137
1138         * mstring.c, defs.h: add msrenew()
1139
1140         * test/yacc/calc_code_all.error, test/yacc/calc_code_all.output, test/yacc/calc_code_default.error, test/yacc/calc_code_default.output, test/yacc/calc_code_default.tab.h, test/yacc/calc_code_imports.error, test/yacc/calc_code_imports.output, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_imports.tab.h, test/yacc/calc_code_provides.error, test/yacc/calc_code_provides.output, test/yacc/calc_code_requires.error, test/yacc/calc_code_requires.output, test/yacc/calc_code_top.error, test/yacc/calc_code_top.output, test/yacc/calc_code_top.tab.h:
1141         RCS_BASE
1142
1143 2019-11-18  Thomas E. Dickey  <dickey@invisible-island.net>
1144
1145         * test/calc_code_imports.y, test/calc_code_all.y, test/calc_code_default.y, test/calc_code_top.y, test/calc_code_provides.y, test/calc_code_requires.y:
1146         RCS_BASE
1147
1148 2019-11-04  Michael.Forney
1149
1150         * defs.h: add missing "extern" for new variable "code_lines"
1151
1152 2019-11-03  Thomas E. Dickey  <dickey@invisible-island.net>
1153
1154         * main.c: build-fix for MinGW cross-compiling
1155
1156         * output.c, reader.c: gcc-warnings
1157
1158         * output.c: check validity of text_file before rewind
1159         remove redundant check of iflag
1160
1161         * main.c: fix memory-leak reported by clang
1162
1163         * mkpar.c: guard against a null-reference reported by clang (unlikely)
1164
1165         * reader.c: fix two coverity warnings:
1166         a) resource leak on malloc-failure
1167         b) possible null-pointer dereference on parse-error
1168
1169         * test/btyacc/err_inherit4.tab.h, test/btyacc/btyacc_demo.tab.h: regen
1170
1171         * defs.h: use enum's to simplify recent change
1172
1173         * mstring.c:
1174         enable mstring() in regular byacc, since Zoulas' change relies upon it
1175
1176 2019-11-03  Christos.Zoulas
1177
1178         * defs.h, reader.c, output.c: add support for bison's "%code" feature
1179         also fix a small bug: declare YYLTYPE externally when producing locations
1180
1181 2019-11-03  Thomas E. Dickey  <dickey@invisible-island.net>
1182
1183         * test/btyacc/help.error, test/btyacc/no_b_opt.error, test/btyacc/no_output2.error, test/btyacc/no_p_opt.error, test/yacc/help.error, test/yacc/no_b_opt.error, test/yacc/no_output2.error, test/yacc/no_p_opt.error:
1184         regen
1185
1186         * test/run_test.sh:
1187         there's no standard wording for the options-errors from getopt;
1188         filter that to "error message" in the test reference files.
1189
1190         * main.c:
1191         provide for using getopt(), to accommodate a case where developers have
1192         relied upon non-POSIX behavior.
1193
1194         * test/run_test.sh:
1195         getopt's messages do not print the full pathname of yacc in some cases;
1196         adjust the sed-script which changes those to "YACC"
1197
1198         * configure: regen
1199
1200         * config_h.in: regen, using autoheader-252
1201
1202         * configure.in: add configure check for getopt
1203
1204         * configure: regen
1205
1206         * aclocal.m4:
1207         resync with my-autoconf adds a fix which accommodates a difference in
1208         warning options between gcc/clang when --enable-warnings is not set.
1209
1210         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1211         bump
1212
1213 2019-09-11  Thomas E. Dickey  <dickey@invisible-island.net>
1214
1215         * config.guess, config.sub: 2019-09-10
1216
1217 2019-06-17  Thomas E. Dickey  <dickey@invisible-island.net>
1218
1219         * test/btyacc/big_b.error, test/btyacc/big_l.error, test/btyacc/help.error, test/btyacc/no_b_opt.error, test/btyacc/no_output2.error, test/btyacc/no_p_opt.error, test/btyacc/nostdin.error, test/yacc/big_b.error, test/yacc/big_l.error, test/yacc/help.error, test/yacc/no_b_opt.error, test/yacc/no_output2.error, test/yacc/no_p_opt.error, test/yacc/nostdin.error:
1220         regen
1221
1222         * test/run_test.sh: test "-H" rather than "-D"
1223
1224 2019-06-16  Thomas E. Dickey  <dickey@invisible-island.net>
1225
1226         * main.c, yacc.1:
1227         change "-D" option to "-H" (discussion with Ethan Sommer)
1228
1229         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1230         bump
1231
1232         * test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c:
1233         RCS_BASE
1234
1235         * test/run_test.sh: in test_defines, save the ".c" file too
1236
1237         * test/yacc/defines3.calc.c, test/yacc/defines2.calc.c, test/yacc/defines1.calc.c:
1238         RCS_BASE
1239
1240         * test/run_test.sh:
1241         output of test_defines should be a header ".h", not ".c"
1242
1243         * test/btyacc/defines1.calc.h, test/btyacc/defines1.error, test/btyacc/defines1.output, test/btyacc/defines2.calc.h, test/btyacc/defines2.error, test/btyacc/defines2.output, test/btyacc/defines3.calc.h, test/btyacc/defines3.error, test/btyacc/defines3.output:
1244         RCS_BASE
1245
1246         * main.c: however, a subsequent -d cancels -D
1247
1248         * test/yacc/defines1.calc.h, test/yacc/defines3.calc.h: RCS_BASE
1249
1250         * main.c: -D option implies -d
1251
1252         * test/yacc/defines1.error, test/yacc/defines1.output, test/yacc/defines2.calc.h, test/yacc/defines2.error, test/yacc/defines2.output, test/yacc/defines3.error, test/yacc/defines3.output:
1253         RCS_BASE
1254
1255         * yacc.1: align macro definitions with my other manpages
1256
1257         * test/run_test.sh: add test for -D after -d or -b options
1258
1259         * test/btyacc/stdin1.calc.c, test/btyacc/stdin1.error, test/btyacc/stdin1.output, test/btyacc/stdin2.calc.c, test/btyacc/stdin2.error, test/btyacc/stdin2.output:
1260         RCS_BASE
1261
1262         * test/btyacc/big_b.error, test/btyacc/big_b.output, test/btyacc/big_l.error, test/btyacc/big_l.output, test/btyacc/help.error, test/btyacc/help.output, test/btyacc/no_b_opt.error, test/btyacc/no_b_opt.output, test/btyacc/no_b_opt1.error, test/btyacc/no_b_opt1.output, test/btyacc/no_code_c.error, test/btyacc/no_code_c.output, test/btyacc/no_defines.error, test/btyacc/no_defines.output, test/btyacc/no_graph.error, test/btyacc/no_graph.output, test/btyacc/no_include.error, test/btyacc/no_include.output, test/btyacc/no_opts.error, test/btyacc/no_opts.output, test/btyacc/no_output.error, test/btyacc/no_output.output, test/btyacc/no_output1.error, test/btyacc/no_output1.output, test/btyacc/no_output2.error, test/btyacc/no_output2.output, test/btyacc/no_p_opt.error, test/btyacc/no_p_opt.output, test/btyacc/no_p_opt1.error, test/btyacc/no_p_opt1.output, test/btyacc/no_verbose.error, test/btyacc/no_verbose.output, test/btyacc/nostdin.error, test/btyacc/nostdin.output, test/yacc/big_b.error, test/yacc/big_b.output, test/yacc/big_l.error, test/yacc/big_l.output, test/yacc/help.error, test/yacc/help.output, test/yacc/no_b_opt.error, test/yacc/no_b_opt.output, test/yacc/no_b_opt1.error, test/yacc/no_b_opt1.output, test/yacc/no_code_c.error, test/yacc/no_code_c.output, test/yacc/no_defines.error, test/yacc/no_defines.output, test/yacc/no_graph.error, test/yacc/no_graph.output, test/yacc/no_include.error, test/yacc/no_include.output, test/yacc/no_opts.error, test/yacc/no_opts.output, test/yacc/no_output.error, test/yacc/no_output.output, test/yacc/no_output1.error, test/yacc/no_output1.output, test/yacc/no_output2.error, test/yacc/no_output2.output, test/yacc/no_p_opt.error, test/yacc/no_p_opt.output, test/yacc/no_p_opt1.error, test/yacc/no_p_opt1.output, test/yacc/no_verbose.error, test/yacc/no_verbose.output, test/yacc/nostdin.error, test/yacc/nostdin.output:
1263         regen
1264
1265         * test/run_test.sh:
1266         add a test for stdin "-" vs end-options "--", and correct a redirection
1267         of stderr in test_flags
1268
1269         * test/yacc/stdin2.output, test/yacc/stdin2.calc.c, test/yacc/stdin1.calc.c, test/yacc/stdin1.error, test/yacc/stdin1.output, test/yacc/stdin2.error:
1270         RCS_BASE
1271
1272         * test/btyacc/big_b.output, test/btyacc/big_l.output, test/btyacc/help.output, test/btyacc/no_b_opt.output, test/btyacc/no_output2.output, test/btyacc/no_p_opt.output, test/btyacc/nostdin.output, test/yacc/big_b.output, test/yacc/big_l.output, test/yacc/help.output, test/yacc/no_b_opt.output, test/yacc/no_output2.output, test/yacc/no_p_opt.output, test/yacc/nostdin.output:
1273         regen
1274
1275         * main.c: add -D option, to specify filename vs y.tab.h for -d
1276
1277         * defs.h: add dflag2, for -D option
1278
1279         * yacc.1: document -D option
1280
1281         * config_h.in: updated with autoheader-252
1282
1283         * configure: regen
1284
1285         * package/debian/copyright: bump
1286
1287         * aclocal.m4: add CF_GETOPT_HEADER
1288
1289         * aclocal.m4: Improved autoconf macros:
1290         + CF_CC_ENV_FLAGS
1291                 putting preprocessor flags in CFLAGS also is a nuisance, which can be
1292                 addressed in the same way.
1293         + CF_GCC_WARNINGS
1294                 factor out workaround for XTSTRINGDEFINES as CF_CONST_X_STRING
1295         + CF_GNU_SOURCE
1296                 The check for _DEFAULT_SOURCE should apply to "recent" Cygwin (since early 2016),
1297                 and except for "NEWLIB" vs "GLIBC" in the test, acts the same if I pretend
1298                 that "newlib" is the GNU C library.  Without this, the check falls through
1299                 to the _XOPEN_SOURCE test, which breaks the pseudoterminal checks for xterm.
1300         + CF_POSIX_C_SOURCE
1301                 add/use CF_POSIX_VISIBLE
1302         + CF_TRY_XOPEN_SOURCE
1303                 use CF_APPEND_TEXT
1304         + CF_WITH_MAN2HTML
1305                 use sed to work around non-POSIX tail utility
1306         + CF_XOPEN_SOURCE
1307                 use CF_APPEND_TEXT
1308                 add/use CF_POSIX_VISIBLE
1309
1310         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1311         bump
1312
1313 2019-06-10  Thomas E. Dickey  <dickey@invisible-island.net>
1314
1315         * config.guess: 2019-06-10
1316
1317 2019-05-22  Thomas E. Dickey  <dickey@invisible-island.net>
1318
1319         * config.sub: 2019-05-22
1320
1321 2018-06-09  Thomas E. Dickey  <dickey@invisible-island.net>
1322
1323         * yacc.1: minor typographical fixes
1324
1325         * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/rename_debug.c, btyaccpar.c:
1326         regen
1327
1328         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1329         bump
1330
1331 2018-06-09  Tom.Shields
1332
1333         * btyaccpar.skel:
1334         add casts to fix g++ (clang++) compile errors in the backtracking skeleton
1335         due to assignment of â€˜void *’ to another pointer type.
1336
1337 2018-05-25  Thomas E. Dickey  <dickey@invisible-island.net>
1338
1339         * test/run_make.sh:
1340         check if this is bison 3+ before adding options to suppress warnings
1341
1342         * package/byacc.spec: build-fix for Mageia 6
1343
1344         * package/byacc.spec: add btyacc package
1345
1346         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1347         bump
1348
1349         * package/debian/control: add a package for btyacc
1350
1351         * package/debian/rules: generate a package for btyacc
1352
1353 2018-05-24  Thomas E. Dickey  <dickey@invisible-island.net>
1354
1355         * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, btyaccpar.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/rename_debug.c:
1356         regen
1357
1358         * btyaccpar.skel: fix typo
1359
1360 2018-05-21  Thomas E. Dickey  <dickey@invisible-island.net>
1361
1362         * test/run_make.sh:
1363         ignore case for "%" directives to skip with old-yacc, and add %token-table
1364         to the list
1365
1366         * btyaccpar.c: regen
1367
1368 2018-05-21  Christos.Zoulas
1369
1370         * btyaccpar.skel:
1371         improve compatibility with bison by changing the YYLLOC_DEFAULT macro to use
1372         YYRHSLOC() macro, and adjusting the array indices of yyerror_loc_range[] for
1373         consistency.
1374
1375 2018-05-10  Thomas E. Dickey  <dickey@invisible-island.net>
1376
1377         * output.c:
1378         add a fallback definition for YYDEBUG to the -i externs file.
1379
1380         * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
1381
1382         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1383         bump
1384
1385 2018-05-09  Thomas E. Dickey  <dickey@invisible-island.net>
1386
1387         * configure: regen
1388
1389         * aclocal.m4: resync with my-autoconf
1390
1391         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1392         bump
1393
1394         * test/btyacc/rename_debug.i, btyaccpar.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/rename_debug.c, test/btyacc/varsyntax_calc1.tab.c:
1395         regen
1396
1397         * btyaccpar.skel: apply Guy Harris' changes here as well
1398
1399         * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
1400
1401         * output.c: correct/improve fallback prototype for yylex()
1402
1403         * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
1404
1405 2018-05-08  Thomas E. Dickey  <dickey@invisible-island.net>
1406
1407         * test/btyacc/grammar.tab.c, test/yacc/grammar.tab.c: regen
1408
1409         * test/grammar.y:
1410         quiet some warnings from gcc 7 when doing "make check_make"
1411
1412         * package/debian/watch, package/pkgsrc/Makefile: update ftp-url
1413
1414         * test/btyacc/ok_syntax1.tab.h, test/btyacc/btyacc_calc1.tab.h: regen
1415
1416         * output.c:
1417         provide yylex() declaration for simple case (request by "Mutiny")
1418
1419         * test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.h, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/rename_debug.c, test/yacc/rename_debug.i, yaccpar.c:
1420         regen
1421
1422         * VERSION, package/byacc.spec, package/debian/changelog, package/debian/copyright, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1423         bump
1424
1425 2018-05-06  Guy.Harris
1426
1427         * yaccpar.skel: two fixes:
1428         1) define yydebug only if YYDEBUG is defined and
1429         2) make yynerrs a parser-local variable if the parser is reentrant.
1430
1431 2018-02-24  Guy.Harris
1432
1433         * output.c: do not emit "extern YYSTYPE yylval;" for pure parsers
1434
1435 2018-02-05  Thomas E. Dickey  <dickey@invisible-island.net>
1436
1437         * config.sub: 2018-01-15
1438
1439         * config.guess: 2018-01-26
1440
1441 2017-12-04  erik.b.andersen
1442
1443         * main.c: A proper path for temporary files is needed by byacc under
1444         Windows commandline, otherwise there's a risk of empty files.
1445         The TEMP environment variable is always defined in Windows.
1446
1447         * defs.h: The noreturn attribute needs to be specified before function
1448         to be portable among compilers (gcc, clang, msvc).
1449
1450 2017-12-04  Thomas E. Dickey  <dickey@invisible-island.net>
1451
1452         * reader.c: adapted fix by Erik B:
1453          a) increase the length of name[] to account for a trailing null
1454          b) note that calling syntax_error() from get_number() does not return
1455
1456 2017-09-14  Tom.Shields
1457
1458         * yacc.1: fix typo
1459
1460 2017-07-09  Thomas E. Dickey  <dickey@invisible-island.net>
1461
1462         * package/byacc.spec, package/mingw-byacc.spec:
1463         use predefined "configure"
1464
1465         * reader.c: remove unused assignment
1466
1467         * package/debian/rules: use dpkg-buildflags
1468
1469         * configure: regen
1470
1471         * aclocal.m4: resync with my-autoconf
1472
1473         * reader.c, output.c, defs.h:
1474         add/use IS_NAME1() and IS_NAME2() to reduce clutter
1475
1476         * reader.c, output.c, defs.h:
1477         guard against sign-extension in ctype-macros
1478
1479         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1480         bump
1481
1482         * reader.c: check for numeric overflow in get_number()
1483
1484         * reader.c:
1485         correct limit-checks for input filename and line-number, in case no valid
1486         filename and/or number was found.
1487
1488 2017-04-30  Thomas E. Dickey  <dickey@invisible-island.net>
1489
1490         * test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c, btyaccpar.c, btyaccpar.skel:
1491         fix another uninitialized variable warning in "make check_make" for btyacc
1492
1493         * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/calc3.tab.c, btyaccpar.c, btyaccpar.skel, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/calc3.tab.c, yaccpar.c, defs.h, yaccpar.skel, output.c:
1494         fix some compiler warnings for "make check_make" by adding section init_vars,
1495         which initializes the body_vars for pure-parser configuration.
1496
1497 2017-04-30  Tom.Shields
1498
1499         * output.c:
1500         use YY_NO_LEAKS set in configure --with-no-leaks, in the generated code
1501
1502 2017-04-30  Julien.Ramseier
1503
1504         * main.c, test/yacc/big_l.output:
1505         fix typo in unsupported-flag warning message
1506
1507 2017-04-30  Thomas E. Dickey  <dickey@invisible-island.net>
1508
1509         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1510         bump
1511
1512 2017-04-29  Thomas E. Dickey  <dickey@invisible-island.net>
1513
1514         * config.sub: 2017-04-02
1515
1516 2017-03-18  Thomas E. Dickey  <dickey@invisible-island.net>
1517
1518         * config.sub: 2017-02-07
1519
1520         * config.guess: 2017-03-05
1521
1522 2017-02-01  Thomas E. Dickey  <dickey@invisible-island.net>
1523
1524         * test/btyacc/expr.oxout.error, test/btyacc/expr.oxout.output, test/btyacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.h, test/yacc/expr.oxout.error, test/yacc/expr.oxout.output, test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h:
1525         RCS_BASE
1526
1527         * package/debian/copyright: update copyright
1528
1529         * reader.c, defs.h, main.c:
1530         avoid using regex.h since some low-end platforms do not have this
1531
1532         * test/expr.oxout.y: RCS_BASE
1533
1534         * configure: regen
1535
1536         * aclocal.m4: quiet a strict gcc warning in CF_MKSTEMP
1537
1538 2017-02-01  Tom.Shields
1539
1540         * main.c, reader.c, defs.h:
1541         process #line directives, like bison and flex
1542
1543 2017-02-01  Thomas E. Dickey  <dickey@invisible-island.net>
1544
1545         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1546         bump
1547
1548 2016-12-31  Thomas E. Dickey  <dickey@invisible-island.net>
1549
1550         * config.guess, config.sub: 2017-01-01
1551
1552 2016-12-02  Thomas E. Dickey  <dickey@invisible-island.net>
1553
1554         * test/btyacc/quote_calc4-s.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/rename_debug.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, btyaccpar.c:
1555         regen
1556
1557         * btyaccpar.skel: changes from NetBSD
1558         + use YYINT rather than short in btyaccpar.skel
1559           (some of this had already been done by Tom Shields)
1560         + remove some casts of malloc/realloc
1561
1562         * yaccpar.c, yaccpar.skel, output.c: changes from NetBSD
1563         - Add some more bison stuff to make the mesa/gallium parser work:
1564             %initial-action (add missing source struct member in location)
1565             %debug (unimplemented)
1566             %error-verbose (unimplemented)
1567
1568         This changes some existing code:
1569         + yylloc is now a pointer, so
1570         + the first parameter to YYERROR_DECL() is a pointer
1571         + struct YYLTYPE now has a "source" field
1572
1573         * test/btyacc/btyacc_demo.tab.h, test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c, test/btyacc/err_inherit4.tab.h:
1574         regen
1575
1576         * btyaccpar.c, btyaccpar.skel, reader.c: changes from NetBSD
1577         - Add some more bison stuff to make the mesa/gallium parser work:
1578             %initial-action (add missing source struct member in location)
1579             %debug (unimplemented)
1580             %error-verbose (unimplemented)
1581
1582         This changes some existing code:
1583         + yylloc is now a pointer, so
1584         + the first parameter to YYERROR_DECL() is a pointer
1585         + struct YYLTYPE now has a "source" field
1586
1587         * reader.c:
1588         fix from NetBSD: correct off-by-one when adding a null in copy_param()
1589
1590         * reader.c: adapted from NetBSD
1591         - Convert *most* error fingerprints to:
1592             -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
1593             +unterminated_arglist(const struct ainfo *a)
1594         - Cast new <ctype.h> args to unsigned char
1595
1596         * defs.h: changes from NetBSD
1597         - Add some more bison stuff to make the mesa/gallium parser work:
1598             %initial-action (add missing source struct member in location)
1599             %debug (unimplemented)
1600             %error-verbose (unimplemented)
1601
1602         This changes some existing code:
1603         + yylloc is now a pointer, so
1604         + the first parameter to YYERROR_DECL() is a pointer
1605         + struct YYLTYPE now has a "source" field
1606
1607         * defs.h: adapted from NetBSD
1608         - Convert *most* error fingerprints to:
1609             -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
1610             +unterminated_arglist(const struct ainfo *a)
1611         - Cast new <ctype.h> args to unsigned char
1612
1613         * main.c: changes from NetBSD
1614         - Add some more bison stuff to make the mesa/gallium parser work:
1615             %initial-action (add missing source struct member in location)
1616             %debug (unimplemented)
1617             %error-verbose (unimplemented)
1618
1619         This changes some existing code:
1620         + yylloc is now a pointer, so
1621         + the first parameter to YYERROR_DECL() is a pointer
1622         + struct YYLTYPE now has a "source" field
1623
1624         * error.c: adapted from NetBSD
1625         - Convert *most* error fingerprints to:
1626             -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
1627             +unterminated_arglist(const struct ainfo *a)
1628         - Cast new <ctype.h> args to unsigned char
1629
1630         * mstring.c: adapted change from NetBSD to add casts for ctype macros
1631
1632         * test/btyacc/btyacc_demo.tab.h, test/btyacc/err_inherit4.tab.h: regen
1633
1634         * output.c: reorder to eliminate a forward-reference
1635
1636 2016-12-02  Tom.Shields
1637
1638         * output.c:
1639         modify output to enable compilation of a lexer generated by flex (using
1640         "%option bison-bridge" and "%option bison-locations") to be used with a parser
1641         generated by b(t)yacc (using directives "%locations" and "%pure-parser").
1642
1643 2016-12-02  Thomas E. Dickey  <dickey@invisible-island.net>
1644
1645         * configure: regen
1646
1647         * aclocal.m4: Improved autoconf macros
1648         CF_CC_ENV_FLAGS
1649         + improve split between compiler and options, prompted by report where user
1650           had "ccache" before the compiler
1651         + leave non-preprocessor options in "$CC" (but still copy them to "$CFLAGS"
1652           since that's where they should be)
1653         CF_GNU_SOURCE,v
1654         + recent glibc (Debian 2.23-4 for example) has misordered ifdef/checks for new
1655           symbol _DEFAULT_SOURCE, producing warning messages when only _GNU_SOURCE is
1656           defined.  Add a followup check to define _DEFAULT_SOURCE.
1657         CF_XOPEN_SOURCE
1658         + add "uclinux" to list of Linux's (patch by Yann E.  Morin)
1659         + use _GNU_SOURCE for cygwin headers
1660         + build-fixes for OS/2
1661
1662         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1663         bump
1664
1665 2016-11-20  Thomas E. Dickey  <dickey@invisible-island.net>
1666
1667         * config.sub: 2016-11-19
1668
1669         * config.guess: 2016-10-02
1670
1671 2016-06-06  Thomas E. Dickey  <dickey@invisible-island.net>
1672
1673         * configure: regen
1674
1675         * aclocal.m4: improved autoconf macros:
1676         CF_CC_ENV_FLAGS - don't limit the check to -I, -U and -D options, since the
1677                 added options can include various compiler options before and after
1678                 preprocessor options.
1679         CF_PROG_LINT - add cpplint to programs to use; drop ad hoc tdlint and alint.
1680
1681         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1682         bump
1683
1684         * lalr.c: indented
1685
1686         * btyaccpar.c: regen
1687
1688         * skel2c:
1689         adjust whitespace so that generated skeleton will follow the same format
1690         as other code
1691
1692         * mkpar.c, verbose.c, lr0.c, reader.c, error.c, output.c: indented
1693
1694         * reader.c: fix two compiler warnings
1695
1696         * test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/rename_debug.c, btyaccpar.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/rename_debug.c, yaccpar.c:
1697         regen
1698
1699 2016-06-06  Tom.Shields
1700
1701         * btyaccpar.skel, yaccpar.skel:
1702         small fix for an edge case of initialized data in Chris Dodd's btyacc changes:
1703         "Avoid crash when input pops up an Action error at the first token"
1704
1705 2016-06-01  Thomas E. Dickey  <dickey@invisible-island.net>
1706
1707         * test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax24.error, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, test/yacc/code_calc.tab.h, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/rename_debug.c, yaccpar.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.error, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.output, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.error, test/btyacc/btyacc_demo.output, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_calc.tab.c, test/btyacc/code_calc.tab.h, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.output, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.output, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c, btyaccpar.c:
1708         regen
1709
1710 2016-06-01  Tom.Shields
1711
1712         * btyaccpar.skel, defs.h, error.c, output.c, reader.c, test/code_calc.y, test/err_inherit4.y, test/run_make.sh, yaccpar.skel:
1713         fixes for issues in btyacc (report by Francis Andre):
1714
1715         + correction to the placement of the #line directive for a %union specification
1716
1717         + recovery of a set of casts originally added into btyaccpar.c rather than into
1718           btyaccpar.skel, and so are lost whenever building from scratch
1719
1720         + Chris Dodd's btyacc improved handling of inherited attributes to eliminate
1721           implicit empty copy rules that are not necessary, and thereby avoiding the
1722           introduction of extra parsing ambiguity
1723
1724         + Chris Dodd's added support for @-N syntax to reference inherited position
1725           information
1726
1727         + correction to bad interaction between %token-table and YYDEBUG, where YYDEBUG
1728           was required to be defined in order to compile the generated code
1729
1730         + correction to yyname[] access in code included with YYDEBUG defined for
1731           single character symbols not recognized (e.g., input containing '&' character
1732           where grammar doesn't define that as a symbol) - map to existing
1733           "illegal-symbol" entry in byname[]
1734
1735         + fixes to test/run_make.sh:  skip test-err_* files; in the bison test phase
1736           skip additional files that contain features not supported by bison and
1737           inhibit new bison warning messages
1738
1739         + minor changes to btyaccpar.skel & yaccpar.skel so they are more similar in
1740           their commonality; makes it easier to maintain the pair of files using
1741           vimdiff
1742
1743         + changes to a couple of test cases for coverage of #3, #4 and #5 above
1744
1745 2016-06-01  Thomas E. Dickey  <dickey@invisible-island.net>
1746
1747         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1748         bump
1749
1750 2016-03-24  Thomas E. Dickey  <dickey@invisible-island.net>
1751
1752         * reader.c: unused variable
1753
1754         * package/pkgsrc/Makefile, package/debian/copyright: bump
1755
1756 2016-03-24  Jung-uk.Kim
1757
1758         * main.c:
1759         correct logic for finding output suffix in the "-o" option, which matched
1760         the first occurrence of ".c" in the name in 2005-08-13 changes rather than
1761         at the end of the filename (patch by Jung-uk Kim)
1762
1763 2016-03-24  Thomas E. Dickey  <dickey@invisible-island.net>
1764
1765         * aclocal.m4:
1766         update CF_WITH_MAN2HTML to use configured shell rather than /bin/sh
1767
1768         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1769         bump
1770
1771 2016-01-25  Thomas E. Dickey  <dickey@invisible-island.net>
1772
1773         * config.guess, config.sub: 2016-01-01
1774
1775 2015-07-10  Thomas E. Dickey  <dickey@invisible-island.net>
1776
1777         * lr0.c: fix a duplicate-free in the leak-checking
1778
1779         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1780         bump
1781
1782         * reader.c:
1783         make cache-size clearer (prompted by discussion with Pedro Giffuni,
1784         Oliver Pinter)
1785
1786         * main.c:
1787         make relationship with format/size clearer (prompted by discussion
1788         with Pedro Giffuni, Oliver Pinter)
1789
1790 2015-07-05  Thomas E. Dickey  <dickey@invisible-island.net>
1791
1792         * configure: regen
1793
1794         * package/pkgsrc/Makefile, package/mingw-byacc.spec, package/debian/copyright, package/debian/changelog, package/byacc.spec, VERSION:
1795         bump
1796
1797         * aclocal.m4: resync with my-autoconf
1798         add configure option --with-man2html
1799
1800         * makefile.in: add configure options --with-man2html
1801
1802         * configure.in: add configure option --with-man2html
1803
1804 2015-05-02  Thomas E. Dickey  <dickey@invisible-island.net>
1805
1806         * config.guess: 2015-03-04
1807
1808         * config.sub: 2015-03-08
1809
1810 2014-11-28  Thomas E. Dickey  <dickey@invisible-island.net>
1811
1812         * lr0.c: coverity #39181: memory leak
1813
1814         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1815         bump
1816
1817 2014-11-13  Jouk.Jansen
1818
1819         * descrip.mms:
1820         I sucessfully compiled byacc on my OpenVMS systems. However, I had to update
1821         the descrip.mms to include some extra c-source files and some dependenxcies
1822         so that it also works when the distribution is located on an ODS5 disk.
1823
1824         The patched descrip.mms file can be found at:
1825           http://nchrem.tnw.tudelft.nl/openvms/software2.html#BYACC
1826
1827         Please feel free to insert the file in your distribution.
1828
1829                      Regards
1830                          Jouk.
1831
1832 2014-10-06  Thomas E. Dickey  <dickey@invisible-island.net>
1833
1834         * package/debian/source/format:
1835         change to native format to work around regression in Debian packaging.
1836
1837         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1838         bump
1839
1840         * configure: regen
1841
1842         * main.c:
1843         correct parameter for umask - for very old mkstemp's - and use type mode_t
1844         to quiet compiler warning
1845
1846         * configure.in: add configure check for mode_t
1847
1848         * reader.c:
1849         better fix for get_line, by ensuring there is enough space to null-terminate
1850         its result (prompted by discussion with Craig Rodrigues).
1851
1852 2014-10-05  Thomas E. Dickey  <dickey@invisible-island.net>
1853
1854         * main.c:
1855         make change to umask before calling mkstemp, as suggested in Coverity #56902
1856
1857         * reader.c:
1858         adjust logic in copy_action to avoid potential null-pointer dereference
1859         (Coverity #56901)
1860
1861         * reader.c:
1862         adjust logic to avoid potential null-pointer dereference in compile_args
1863         (Coverity #63407)
1864
1865         * reader.c: eliminate strcpy into fixed-size buffer (Coverity #63408)
1866
1867         * yacc.1: document changes made with respect to %parse-param
1868
1869         * output.c:
1870         add parameters from %parse-param to destructor.  The order of the parameters
1871         is intentionally inconsistent with yyparse/yyerror, for "compatibility" with
1872         bison.
1873
1874         * test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c:
1875         regen
1876
1877         * output.c:
1878         use puts_param_types/puts_param_names to output lex_param data.
1879
1880         * test/btyacc/ok_syntax1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/rename_debug.c:
1881         regen
1882
1883         * btyaccpar.c: add casts, change types to fix strict compiler warnings
1884
1885         * test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c:
1886         regen
1887
1888         * output.c: gcc-warning
1889
1890         * test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c: regen
1891
1892         * output.c: fix limit when merging real/workaround tables
1893
1894         * output.c:
1895         for btyacc, it is possible to have no conflicts - but in that case, the
1896         "ctable" was not generated at all, while the skeleton uses the table.
1897         The most straightforward (workaround) is generating a dummy table which
1898         rejects any state.
1899
1900         * test/btyacc_destroy3.y, test/btyacc_destroy2.y, test/btyacc_destroy1.y:
1901         fix "make check_make"
1902
1903         * test/yacc/calc3.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/calc2.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c:
1904         regen
1905
1906         * reader.c:
1907         trim blanks from interim value in copy_param() to handle special case when
1908         a space precedes a comma.
1909
1910         * output.c:
1911         use two new functions, puts_param_types and puts_param_names, to improve
1912         format of the parse_param list (by trimming space after "*") as well as
1913         correcting the output of the comma-separated names (only the last name
1914         was output).
1915
1916         * test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c:
1917         regen
1918
1919         * reader.c:
1920         modify copy_param() to handle resulting comma-separated list.  Before, it
1921         only expected a single parameter.
1922
1923 2014-10-04  Thomas E. Dickey  <dickey@invisible-island.net>
1924
1925         * reader.c: split-out save_param() from copy_param()
1926
1927         * reader.c: trim_blanks() did not always convert spaces - fix.
1928
1929         * reader.c: fix some minor regressions with error-reporting
1930
1931         * aclocal.m4: update CF_XOPEN_SOURCE for Unixware change from lynx
1932
1933         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1934         bump
1935
1936         * reader.c:
1937         modify copy_param() to accept multiple parameters, each in curly braces like
1938         recent bison, as well as honoring bison's undocumented feature to accept the
1939         parameters as a comma-separated list.
1940
1941         * test/btyacc/btyacc_destroy3.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.error, test/btyacc/btyacc_destroy3.output, test/btyacc/btyacc_destroy3.tab.h, test/btyacc/btyacc_destroy2.error, test/btyacc/btyacc_destroy2.output, test/btyacc/btyacc_destroy2.tab.h:
1942         RCS_BASE
1943
1944 2014-10-03  Thomas E. Dickey  <dickey@invisible-island.net>
1945
1946         * test/btyacc/btyacc_demo2.error, test/btyacc/btyacc_demo2.output, test/btyacc/btyacc_demo2.tab.c, test/btyacc/btyacc_demo2.tab.h, test/btyacc/btyacc_destroy1.error, test/btyacc/btyacc_destroy1.output, test/btyacc/btyacc_destroy1.tab.h, test/btyacc_destroy3.y, test/btyacc_destroy1.y, test/btyacc_destroy2.y:
1947         RCS_BASE
1948
1949 2014-10-02  Thomas E. Dickey  <dickey@invisible-island.net>
1950
1951         * main.c, reader.c, defs.h:
1952         use calloc in get_line() when allocating line to ensure it is fully initialized,
1953         fixes a later uninitialized value in copy_param() (FreeBSD #193499).
1954
1955 2014-09-17  Thomas E. Dickey  <dickey@invisible-island.net>
1956
1957         * closure.c, lalr.c, output.c, defs.h:
1958         rephrase odd addressing to fix Coverity #48848, #38950, #38860, not actually
1959         a bug.
1960
1961 2014-09-01  Thomas E. Dickey  <dickey@invisible-island.net>
1962
1963         * config.sub: update to 2014-07-28
1964
1965 2014-07-27  Thomas E. Dickey  <dickey@invisible-island.net>
1966
1967         * configure: regen
1968
1969         * aclocal.m4: modified to support port to Minix3.2
1970
1971         * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
1972         bump
1973
1974 2014-07-15  Thomas E. Dickey  <dickey@invisible-island.net>
1975
1976         * aclocal.m4: resync with my-autoconf (no change to configure script)
1977
1978         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1979         bump
1980
1981         * test/run_test.sh:
1982         make top-level "make check" work again, by adding another step to filtering
1983         the test results.
1984
1985 2014-07-14  Thomas E. Dickey  <dickey@invisible-island.net>
1986
1987         * test/run_test.sh: changes from Garrett Cooper's patch:
1988                 a) ensure that the script returns an error-code if there are differences
1989                 b) escape "." character in left side of sed expression for $YACC
1990                 c) ensure that $ifBTYACC has a value
1991
1992         * test/btyacc/big_b.output, test/btyacc/big_l.output, test/btyacc/help.output, test/btyacc/no_b_opt.output, test/btyacc/no_output2.output, test/btyacc/no_p_opt.output, test/btyacc/nostdin.output:
1993         regen (reminder by Garrett Cooper)
1994
1995 2014-07-14  Garrett.Cooper
1996
1997         * test/btyacc/err_inherit1.error, test/btyacc/err_inherit2.error, test/btyacc/err_inherit3.error, test/btyacc/err_inherit4.error, test/btyacc/err_inherit5.error, test/btyacc/err_syntax1.error, test/btyacc/err_syntax10.error, test/btyacc/err_syntax11.error, test/btyacc/err_syntax12.error, test/btyacc/err_syntax13.error, test/btyacc/err_syntax14.error, test/btyacc/err_syntax15.error, test/btyacc/err_syntax16.error, test/btyacc/err_syntax17.error, test/btyacc/err_syntax18.error, test/btyacc/err_syntax19.error, test/btyacc/err_syntax2.error, test/btyacc/err_syntax21.error, test/btyacc/err_syntax22.error, test/btyacc/err_syntax23.error, test/btyacc/err_syntax24.error, test/btyacc/err_syntax25.error, test/btyacc/err_syntax26.error, test/btyacc/err_syntax27.error, test/btyacc/err_syntax3.error, test/btyacc/err_syntax4.error, test/btyacc/err_syntax5.error, test/btyacc/err_syntax6.error, test/btyacc/err_syntax7.error, test/btyacc/err_syntax7a.error, test/btyacc/err_syntax7b.error, test/btyacc/err_syntax8.error, test/btyacc/err_syntax8a.error, test/btyacc/err_syntax9.error, test/yacc/err_syntax1.error, test/yacc/err_syntax10.error, test/yacc/err_syntax11.error, test/yacc/err_syntax12.error, test/yacc/err_syntax13.error, test/yacc/err_syntax14.error, test/yacc/err_syntax15.error, test/yacc/err_syntax16.error, test/yacc/err_syntax17.error, test/yacc/err_syntax18.error, test/yacc/err_syntax19.error, test/yacc/err_syntax2.error, test/yacc/err_syntax21.error, test/yacc/err_syntax22.error, test/yacc/err_syntax23.error, test/yacc/err_syntax24.error, test/yacc/err_syntax25.error, test/yacc/err_syntax26.error, test/yacc/err_syntax27.error, test/yacc/err_syntax3.error, test/yacc/err_syntax4.error, test/yacc/err_syntax5.error, test/yacc/err_syntax6.error, test/yacc/err_syntax7.error, test/yacc/err_syntax7a.error, test/yacc/err_syntax7b.error, test/yacc/err_syntax8.error, test/yacc/err_syntax8a.error, test/yacc/err_syntax9.error:
1998         regen
1999
2000 2014-05-27  Tom.Shields
2001
2002         * main.c: remove obsolete -D option from usage message
2003
2004 2014-05-27  Thomas E. Dickey  <dickey@invisible-island.net>
2005
2006         * VERSION, package/byacc.spec, package/debian/changelog, test/yacc/big_b.output, test/yacc/big_l.output, test/yacc/help.output, test/yacc/no_b_opt.output, test/yacc/no_output2.output, test/yacc/no_p_opt.output, test/yacc/nostdin.output:
2007         bump
2008
2009 2014-04-22  Thomas E. Dickey  <dickey@invisible-island.net>
2010
2011         * mstring.c:
2012         use vsnprintf() to ensure that msprintf's buffer is large enough.
2013
2014         * main.c, defs.h: add mstring_leaks()
2015
2016         * configure: regen
2017
2018         * output.c: fix a complementary warning
2019
2020         * mstring.c: introduce vsnprintf
2021
2022         * configure.in, config_h.in: add check for vsnprintf
2023
2024         * output.c: quiet a type-conversion warning
2025
2026         * mstring.c: fix a potential memory leak on ENOMEM
2027         quiet a couple of type-conversion warnings
2028
2029         * defs.h: add/use GCC_PRINTFLIKE for msprintf()
2030
2031 2014-04-22  Tom.Shields
2032
2033         * README.BTYACC:
2034         drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant
2035         content into README.BTYACC
2036
2037 2014-04-22  Thomas E. Dickey  <dickey@invisible-island.net>
2038
2039         * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
2040         bump
2041
2042 2014-04-19  Thomas E. Dickey  <dickey@invisible-island.net>
2043
2044         * config.sub: 2014-04-03
2045
2046         * config.guess: 2014-03-23
2047
2048 2014-04-09  Rick.Spates
2049
2050         * main.c, defs.h: patch to allow DEBUG build with WIN32 system
2051
2052 2014-04-09  Thomas E. Dickey  <dickey@invisible-island.net>
2053
2054         * output.c, reader.c: gcc warnings
2055
2056         * reader.c: fix const-cast warnings
2057
2058         * test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/code_error.tab.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/error.tab.c, test/btyacc/rename_debug.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.tab.c, output.c:
2059         fix a few clang --analyze warnings; one was a case where output_ctable emitted
2060         an empty table (which should be an error).
2061
2062         * reader.c: appease clang --analyze
2063
2064         * defs.h: mark two functions as no-return.
2065
2066         * package/debian/changelog: reason for release
2067
2068         * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
2069         bump
2070
2071         * makefile.in: use $LINT_OPTS from environment via configure script
2072
2073         * test/btyacc/ok_syntax1.output, test/btyacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.c, test/ok_syntax1.y, test/yacc/ok_syntax1.output:
2074         tweaks to make generated files from ok_syntax1.y compile with check_make rule
2075
2076         * test/btyacc/rename_debug.c, test/btyacc/rename_debug.error, test/btyacc/rename_debug.h, test/btyacc/rename_debug.i, test/btyacc/rename_debug.output, test/yacc/rename_debug.c:
2077         reference output for testing
2078
2079         * test/run_test.sh:
2080         retain the renaming done for code_debug.y so that check_make will work.
2081
2082         * test/yacc/rename_debug.error, test/yacc/rename_debug.h, test/yacc/rename_debug.i, test/yacc/rename_debug.output:
2083         reference output for testing
2084
2085         * test/btyacc/ok_syntax1.error: RCS_BASE
2086
2087         * test/yacc/quote_calc4-s.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, yaccpar.c:
2088         regen
2089
2090         * yacc.1:
2091         clarify relationship of btyacc features to default configuration.
2092
2093 2014-04-08  Thomas E. Dickey  <dickey@invisible-island.net>
2094
2095         * test/yacc/ok_syntax1.output, test/yacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.h, test/btyacc/ok_syntax1.output, test/btyacc/ok_syntax1.tab.c, test/btyacc/ok_syntax1.tab.h:
2096         reference output for testing
2097
2098         * test/ok_syntax1.y: RCS_BASE
2099
2100         * test/yacc/ok_syntax1.error: reference output for testing
2101
2102         * test/yacc/big_b.error, test/yacc/big_b.output, test/yacc/big_l.error, test/yacc/big_l.output, test/btyacc/big_b.error, test/btyacc/big_b.output, test/btyacc/big_l.error, test/btyacc/big_l.output, test/run_test.sh:
2103         exercise -L/-B options
2104
2105         * test/yacc/code_debug.c, test/btyacc/code_debug.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax27.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/run_test.sh, test/yacc/no_b_opt1.output:
2106         use a better renaming of the YYPATCH definition (none of the test-cases rely
2107         upon it, but redefinition in the "make check_make" rule is a problem).
2108
2109         * test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, test/btyacc/varsyntax_calc1.tab.c:
2110         undid temporary reordering in reader() by Tom Shields to align with byacc outputs
2111
2112         * test/run_test.sh: remove a repeated test-case
2113
2114         * mstring.c: minor reformatting to make coverage analysis simpler
2115
2116 2014-04-07  Thomas E. Dickey  <dickey@invisible-island.net>
2117
2118         * test/run_test.sh: tidy
2119
2120         * test/yacc/help.error, test/yacc/help.output, test/yacc/no_b_opt.error, test/yacc/no_b_opt.output, test/yacc/no_b_opt1.error, test/yacc/no_b_opt1.output, test/yacc/no_code_c.error, test/yacc/no_code_c.output, test/yacc/no_defines.error, test/yacc/no_defines.output, test/yacc/no_graph.error, test/yacc/no_graph.output, test/yacc/no_include.error, test/yacc/no_include.output, test/yacc/no_opts.error, test/yacc/no_opts.output, test/yacc/no_output.error, test/yacc/no_output.output, test/yacc/no_output1.error, test/yacc/no_output1.output, test/yacc/no_output2.error, test/yacc/no_output2.output, test/yacc/no_p_opt.error, test/yacc/no_p_opt.output, test/yacc/no_p_opt1.error, test/yacc/no_p_opt1.output, test/yacc/no_verbose.error, test/yacc/no_verbose.output, test/yacc/nostdin.error, test/yacc/nostdin.output, test/yacc/test-no_b_opt1.output:
2121         reference output for testing
2122
2123         * test/run_test.sh:
2124         add special checks for flags which depend on writable/existing files
2125
2126         * test/btyacc/no_b_opt1.output, test/btyacc/no_p_opt1.output, test/btyacc/no_b_opt.error, test/btyacc/no_b_opt.output, test/btyacc/no_b_opt1.error, test/btyacc/no_code_c.output, test/btyacc/no_p_opt.error, test/btyacc/no_p_opt.output, test/btyacc/no_p_opt1.error, test/btyacc/no_output2.output, test/btyacc/no_code_c.error, test/btyacc/no_output2.error, test/btyacc/no_include.error, test/btyacc/no_include.output, test/btyacc/no_defines.output, test/btyacc/no_defines.error, test/btyacc/no_verbose.output, test/btyacc/no_graph.output, test/btyacc/no_graph.error, test/btyacc/no_opts.error, test/btyacc/no_opts.output, test/btyacc/no_verbose.error, test/btyacc/nostdin.error, test/btyacc/nostdin.output, test/btyacc/no_output.error, test/btyacc/no_output.output, test/btyacc/no_output1.error, test/btyacc/no_output1.output:
2127         reference output for testing
2128
2129         * main.c:
2130         change CREATE_FILE_NAMES() to use local function rather than inline code,
2131         to simplify coverage analysis.
2132
2133         * test/btyacc/err_syntax27.error, test/btyacc/err_syntax27.output, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax27.tab.h, test/btyacc/help.error, test/btyacc/help.output, test/yacc/err_syntax27.error, test/yacc/err_syntax27.output, test/yacc/err_syntax27.tab.c, test/yacc/err_syntax27.tab.h:
2134         reference output for testing
2135
2136         * test/err_syntax27.y: testcase for missing_brace()
2137
2138         * error.c: ifdef'd non-btyacc function
2139
2140         * lr0.c: ifdef'd debug-code
2141
2142         * yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel
2143
2144         * test/btyacc/code_debug.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_debug.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, output.c, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/run_test.sh:
2145         2010/11/26 simplification of output.c using putc_code() and putl_code()
2146         omitted an adjustment of the #line value used for code-file.  Fix that.
2147         Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for
2148         YYPATCH #define's to make test-outputs easier to compare #line's (report
2149         by Tom Shields)
2150
2151 2014-04-06  Thomas E. Dickey  <dickey@invisible-island.net>
2152
2153         * reader.c: fix for valgrind
2154         (the calloc's are intentional - valgrind reported use of uninitialized memory)
2155
2156         * lr0.c, output.c: fix for valgrind
2157
2158         * test/btyacc/code_debug.c, test/btyacc/code_debug.error, test/btyacc/code_debug.h, test/btyacc/code_debug.i, test/btyacc/code_debug.output:
2159         RCS_BASE
2160
2161         * test/yacc/code_debug.c, test/yacc/code_debug.h:
2162         exercise the -i option
2163
2164         * test/yacc/code_debug.i: reference output for testing
2165
2166         * test/run_test.sh: exercise the -i option
2167
2168         * test/yacc/code_debug.c: reference output for testing
2169
2170         * test/run_test.sh: exercise the "-o" option
2171
2172         * test/yacc/code_debug.error, test/yacc/code_debug.h, test/yacc/code_debug.output:
2173         reference output for testing
2174
2175         * output.c: don't call exit() without giving a chance to cleanup.
2176
2177         * mstring.c: ifdef'd functions not used in byacc
2178
2179         * btyaccpar.c: generated from btyaccpar.skel
2180
2181         * yaccpar.c: generated from yaccpar.skel
2182
2183         * skel2c:
2184         change the generated-by comment to show which version of this script (and
2185         which version of the given skeleton file) were used to produce the C-file.
2186
2187         * configure: regen
2188
2189         * makefile.in:
2190         add rules to generate byacc and btyacc parser skeleton files independently
2191
2192         * aclocal.m4: CF_PROG_AWK - add to byacc's configure script
2193         CF_INTEL_COMPILER
2194                 cleanup the -no-gcc option which was leftover from testing - prcs does
2195                 not build with this option.
2196         CF_MAKE_DOCS
2197                 protect $2 from substitution, for luit's "$(manext)"
2198         CF_XOPEN_SOURCE
2199                 for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2
2200                 on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE
2201                 because it is not needed, as well as because g++ 4.7.3 (no package,
2202                 used in Sage for Solaris 10) has some unspecified header breakage which
2203                 is triggered by the duplicate definition.
2204
2205         * configure.in:
2206         modify so skeleton-source is determined by configure options rather than by
2207         having developer rename yaccpar.skel.old to yaccpar.skel
2208
2209         * descrip.mms: rename skeleton
2210
2211         * vmsbuild.com:
2212         fwiw, renamed the skeleton for consistency with makefile
2213
2214         * skel2c, skeleton.c: resync skeleton and its generating files
2215
2216         * yaccpar.skel:
2217         renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules
2218
2219         * yaccpar.skel.old: resync skeleton and its generating files
2220
2221         * test/run_make.sh: improve cleanup after error recovery
2222
2223         * test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, output.c, skeleton.c, defs.h:
2224         use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton
2225
2226         * output.c: simplify output_yyerror_decl()
2227
2228         * test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.tab.c, test/yacc/code_error.tab.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, output.c:
2229         add second "const" to string-table declarations, from Tom Shield's btyacc changes
2230
2231         * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c:
2232         discard unnecessary call on write_code_lineno() from Tom Shield's changes
2233
2234         * test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, test/yacc/code_error.code.c, test/yacc/code_error.tab.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, output.c:
2235         use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short"
2236
2237         * test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c:
2238         use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL()
2239
2240         * test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c:
2241         discard unnecessary call on write_code_lineno() from Tom Shield's changes
2242
2243         * output.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/code_calc.tab.c, test/yacc/code_error.tab.c:
2244         use fix from Tom Shield's btyacc changes: prefix-definitions went to the
2245         output (.tab.c) file in a case where they should have gone to the code
2246         (.code.c) file.  Remove now-redundant call to output_prefix().
2247
2248         * main.c: do the same for help-message
2249
2250         * main.c: use OUTPUT_SUFFIX symbol in an overlooked case
2251
2252         * test/run_make.sh:
2253         modify to avoid use of VPATH, which has no standard implementation
2254
2255 2014-04-05  Thomas E. Dickey  <dickey@invisible-island.net>
2256
2257         * test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c:
2258         discard a change which merged CountLines() with explicit comparisons against
2259         code_file because that adds extra to the #line values
2260
2261         * test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/calc.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/error.tab.c, output.c:
2262         add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to
2263         override fallback typedef for YYSTYPE when that symbol is undefined
2264
2265         * test/btyacc/error.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c:
2266         minor tweak to coding style - use parenthesis for "defined" operator's parameter
2267
2268         * test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c:
2269         regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent
2270
2271         * test/yacc/err_syntax20.tab.c, test/yacc/grammar.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, test/yacc/code_error.code.c, test/yacc/code_error.tab.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c:
2272         regen after adding the YYUNDFTOKEN symbol
2273
2274         * output.c:
2275         integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol
2276         (I changed order of output to keep this adjacent to YYMAXTOKEN)
2277
2278         * reader.c:
2279         merge all but one small change from Tom Shield's btyacc changes - that
2280         changes the order of code-file in the tests.
2281
2282         * test/btyacc/btyacc_demo.tab.c: regen
2283
2284         * test/btyacc_demo.y: fix prototypes
2285
2286 2014-04-04  Thomas E. Dickey  <dickey@invisible-island.net>
2287
2288         * reader.c, defs.h, main.c:
2289         more merging of Tom Shield's btyacc changes.  In the merge, I moved the
2290         symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs
2291
2292 2014-04-03  Thomas E. Dickey  <dickey@invisible-island.net>
2293
2294         * reader.c:
2295         merge-in 3/4 of btyacc's changes, deferring those which change test-outputs.
2296         Tom Shield's changes split-out copy_string() and copy_comment() functions
2297         to simplify some logic, as well as adding btyacc-only chunks
2298
2299         * makefile.in: build mstring.o, needed for changes in reader.c
2300
2301         * output.c:
2302         merge-in all of btyacc's changes which do not change byacc's test-output.
2303         Some of the merge uses ifdef-changes which I applied to ongoing resync,
2304         e.g., the introduction of PER_STATE.
2305
2306 2014-04-02  Thomas E. Dickey  <dickey@invisible-island.net>
2307
2308         * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen
2309
2310         * output.c: fix typo
2311
2312         * output.c, reader.c:
2313         merge in some chunks of reader and output files which do not affect byacc tests
2314
2315         * test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen
2316
2317         * test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, skeleton.c:
2318         incorporate YYENOMEM and YYEOF symbols from btyacc
2319
2320         * output.c: merge chunk from btyacc changes for header-guards
2321
2322         * btyaccpar.skel: RCS_BASE
2323
2324         * yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues
2325         remove GCC_UNUSED to reduce name-pollution as well as being simpler
2326
2327         * main.c:
2328         move a btyacc symbol outside ifdef to work around current state of merge
2329
2330         * defs.h:
2331         add USE_HEADER_GUARDS to defer whether to modify byacc's header-output
2332
2333         * test/run_make.sh:
2334         do not try to compile files used for testing syntax-errors, since they are
2335         likely to be incomplete
2336
2337 2014-04-02  Tom.Shields
2338
2339         * main.c: changes for btyacc
2340
2341 2014-04-01  Thomas E. Dickey  <dickey@invisible-island.net>
2342
2343         * reader.c:
2344         integrate change by Tom Shields to use bsearch rather than successive
2345         calls to matchec()
2346
2347         * defs.h: typedef __compar_fn_t is unnecessary
2348
2349         * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c:
2350         omit the GCC_UNUSED, as noted by Tom Shields not really essential
2351
2352 2014-04-01  Tom.Shields
2353
2354         * verbose.c: changes for btyacc, ifdef'd
2355
2356 2014-04-01  Thomas E. Dickey  <dickey@invisible-island.net>
2357
2358         * mkpar.c: eliminate most of the ifdef's using macros
2359
2360 2014-04-01  Tom.Shields
2361
2362         * mkpar.c: merge btyacc changes (ifdef'd - no change to byacc)
2363
2364         * error.c:
2365         new functions used for reporting errors from the btyacc configuration
2366         (I reordered some, and ifdef'd the new ones -TD)
2367
2368 2014-03-31  Thomas E. Dickey  <dickey@invisible-island.net>
2369
2370         * test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c:
2371         omit the GCC_UNUSED, as noted by Tom Shields not really essential
2372
2373         * test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c:
2374         regen
2375
2376 2014-03-29  Thomas E. Dickey  <dickey@invisible-island.net>
2377
2378         * test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, skeleton.c:
2379         comment-out yysccsid in the banner because it produces unnecessary compiler
2380         warnings.  The suggested alternative (using #pragma ident) in the preceding
2381         comment is also obsolete; remove that comment (request by Gleb Smirnoff).
2382
2383         * test/run_test.sh:
2384         for yacc, ignore the inherit testcases, since they are btyacc-specific
2385
2386 2014-03-28  Thomas E. Dickey  <dickey@invisible-island.net>
2387
2388         * test/yacc/varsyntax_calc1.error, test/yacc/varsyntax_calc1.output, test/yacc/varsyntax_calc1.tab.c, test/yacc/varsyntax_calc1.tab.h, test/yacc/err_inherit3.error, test/yacc/err_inherit3.output, test/yacc/err_inherit3.tab.c, test/yacc/err_inherit3.tab.h, test/yacc/err_inherit4.error, test/yacc/err_inherit4.output, test/yacc/err_inherit4.tab.c, test/yacc/err_inherit4.tab.h, test/yacc/err_inherit5.error, test/yacc/err_inherit5.output, test/yacc/err_inherit5.tab.c, test/yacc/err_inherit5.tab.h, test/yacc/inherit0.error, test/yacc/inherit0.output, test/yacc/inherit0.tab.c, test/yacc/inherit0.tab.h, test/yacc/inherit1.error, test/yacc/inherit1.output, test/yacc/inherit1.tab.c, test/yacc/inherit1.tab.h, test/yacc/inherit2.error, test/yacc/inherit2.output, test/yacc/inherit2.tab.c, test/yacc/inherit2.tab.h, test/yacc/empty.error, test/yacc/empty.output, test/yacc/empty.tab.c, test/yacc/empty.tab.h, test/yacc/err_inherit1.error, test/yacc/err_inherit1.output, test/yacc/err_inherit1.tab.c, test/yacc/err_inherit1.tab.h, test/yacc/err_inherit2.error, test/yacc/err_inherit2.output, test/yacc/err_inherit2.tab.c, test/yacc/err_inherit2.tab.h:
2389         reference output for testing
2390
2391         * test/run_lint.sh, test/run_make.sh, test/run_test.sh:
2392         moving #define's out of makefile broke check for yacc vs btyacc (fix)
2393
2394 2014-03-28  Tom.Shields
2395
2396         * test/btyacc/btyacc_demo.tab.c, test/btyacc/err_inherit3.error, test/btyacc/err_inherit3.output, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit3.tab.h, test/btyacc/err_inherit2.error, test/btyacc/err_inherit2.output, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit2.tab.h, test/btyacc/err_inherit4.error, test/btyacc/err_inherit4.output, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit4.tab.h, test/btyacc/err_inherit5.error, test/btyacc/err_inherit5.output, test/btyacc/err_inherit5.tab.c, test/btyacc/err_inherit5.tab.h, test/btyacc/inherit0.error, test/btyacc/inherit0.output, test/btyacc/inherit0.tab.c, test/btyacc/inherit0.tab.h, test/btyacc/inherit1.error, test/btyacc/inherit1.output, test/btyacc/inherit1.tab.c, test/btyacc/inherit1.tab.h, test/btyacc/inherit2.error, test/btyacc/inherit2.output, test/btyacc/inherit2.tab.c, test/btyacc/inherit2.tab.h, test/btyacc/calc.error, test/btyacc/err_inherit1.error, test/btyacc/err_inherit1.output, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit1.tab.h:
2397         reference output for testing
2398
2399         * defs.h: new functions/variables for btyacc
2400         (I reordered and ifdef'd -TD)
2401
2402         * test/inherit0.y, test/inherit1.y: testcase for btyacc
2403
2404 2014-03-27  Tom.Shields
2405
2406         * test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y, test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y:
2407         testcase for btyacc
2408
2409 2014-03-25  Tom.Shields
2410
2411         * symtab.c: extra initialization needed for btyacc
2412         (I ifdef'd -TD)
2413
2414         * yacc.1: document -L/-B features from btyacc
2415
2416 2014-03-25  Thomas E. Dickey  <dickey@invisible-island.net>
2417
2418         * yacc.1: typo
2419
2420         * configure: regen
2421
2422         * configure.in:
2423         modified new options to act like those in my other configure-scripts, e.g.,
2424         showing what option is being tested, and the resulting value.  Put the
2425         definitions in config.h rather than in the makefile.
2426
2427 2014-03-25  Tom.Shields
2428
2429         * makefile.in: add/use LINTFLAGS variable
2430         make all of the objects (not just skeleton) rebuild if makefile changes
2431         modify check-rule to reflect updates to run_test.sh vs subdirectory
2432
2433         * mstring.c: byacc-btyacc-20140323
2434
2435 2014-03-25  Thomas E. Dickey  <dickey@invisible-island.net>
2436
2437         * test/btyacc/RCS, test/yacc/RCS: PERMIT FILE
2438
2439         * config_h.in: updated with autoheader-252
2440
2441 2014-03-25  Tom.Shields
2442
2443         * README.BTYACC: byacc-btyacc-20140323
2444
2445 2014-03-24  Tom.Shields
2446
2447         * test/btyacc/err_syntax1.output, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax1.tab.h, test/btyacc/err_syntax10.error, test/btyacc/err_syntax10.output, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax10.tab.h, test/btyacc/err_syntax11.error, test/btyacc/err_syntax11.output, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax11.tab.h, test/btyacc/err_syntax12.error, test/btyacc/err_syntax12.output, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax12.tab.h, test/btyacc/err_syntax13.error, test/btyacc/err_syntax13.output, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax13.tab.h, test/btyacc/err_syntax14.error, test/btyacc/err_syntax14.output, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax14.tab.h, test/btyacc/err_syntax15.error, test/btyacc/err_syntax15.output, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax15.tab.h, test/btyacc/err_syntax16.error, test/btyacc/err_syntax16.output, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax16.tab.h, test/btyacc/err_syntax17.error, test/btyacc/err_syntax17.output, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax17.tab.h, test/btyacc/err_syntax18.error, test/btyacc/err_syntax18.output, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax18.tab.h, test/btyacc/err_syntax19.error, test/btyacc/err_syntax19.output, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax19.tab.h, test/btyacc/err_syntax2.output, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax2.tab.h, test/btyacc/err_syntax20.error, test/btyacc/err_syntax20.output, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax20.tab.h, test/btyacc/err_syntax21.error, test/btyacc/err_syntax21.output, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax21.tab.h, test/btyacc/err_syntax22.error, test/btyacc/err_syntax22.output, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax22.tab.h, test/btyacc/err_syntax23.error, test/btyacc/err_syntax23.output, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax23.tab.h, test/btyacc/err_syntax24.error, test/btyacc/err_syntax24.output, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax24.tab.h, test/btyacc/err_syntax25.error, test/btyacc/err_syntax25.output, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax25.tab.h, test/btyacc/err_syntax26.error, test/btyacc/err_syntax26.output, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax26.tab.h, test/btyacc/err_syntax3.output, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax3.tab.h, test/btyacc/err_syntax4.output, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax4.tab.h, test/btyacc/err_syntax5.output, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax5.tab.h, test/btyacc/err_syntax6.output, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax6.tab.h, test/btyacc/err_syntax7.output, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7.tab.h, test/btyacc/err_syntax7a.output, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7a.tab.h, test/btyacc/err_syntax7b.output, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax7b.tab.h, test/btyacc/err_syntax8.output, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8.tab.h, test/btyacc/err_syntax8a.output, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax8a.tab.h, test/btyacc/err_syntax9.output, test/btyacc/err_syntax9.tab.c, test/btyacc/err_syntax9.tab.h:
2448         reference output for testing
2449
2450 2014-03-24  Thomas E. Dickey  <dickey@invisible-island.net>
2451
2452         * defs.h: fix compiler warnings due to mputc()
2453
2454 2014-03-23  Tom.Shields
2455
2456         * test/btyacc_demo.y: testcase for btyacc
2457
2458         * test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h:
2459         reference output for testing
2460
2461         * test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc
2462
2463 2014-03-23  Thomas E. Dickey  <dickey@invisible-island.net>
2464
2465         * test/err_syntax26.error, test/err_syntax26.output, test/err_syntax26.tab.c, test/err_syntax26.tab.h, test/yacc/err_syntax26.error, test/yacc/err_syntax26.output, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax26.tab.h:
2466         reference output for testing
2467
2468         * test/err_syntax26.y: testcase for missing_brace()
2469
2470         * test/err_syntax25.error, test/err_syntax25.output, test/err_syntax25.tab.c, test/err_syntax25.tab.h, test/yacc/err_syntax25.error, test/yacc/err_syntax25.output, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax25.tab.h:
2471         reference output for testing
2472
2473         * test/err_syntax25.y: testcase for over_unionized()
2474
2475         * test/err_syntax24.error, test/err_syntax24.output, test/err_syntax24.tab.c, test/err_syntax24.tab.h, test/yacc/err_syntax24.error, test/yacc/err_syntax24.output, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax24.tab.h:
2476         reference output for testing
2477
2478         * test/err_syntax24.y: testcase for default_action_warning()
2479
2480 2014-03-23  Tom.Shields
2481
2482         * test/btyacc/quote_calc3-s.error, test/btyacc/quote_calc4-s.error, test/btyacc/quote_calc4.error, test/btyacc/grammar.dot, test/btyacc/grammar.error, test/btyacc/pure_calc.error, test/btyacc/pure_error.error, test/btyacc/quote_calc-s.error, test/btyacc/quote_calc.error, test/btyacc/quote_calc2-s.error, test/btyacc/quote_calc2.error, test/btyacc/quote_calc3.error, test/btyacc/err_syntax2.error, test/btyacc/err_syntax3.error, test/btyacc/err_syntax4.error, test/btyacc/err_syntax5.error, test/btyacc/err_syntax6.error, test/btyacc/err_syntax7.error, test/btyacc/err_syntax7a.error, test/btyacc/err_syntax7b.error, test/btyacc/err_syntax8.error, test/btyacc/err_syntax8a.error, test/btyacc/err_syntax9.error, test/btyacc/error.error, test/btyacc/calc1.error, test/btyacc/calc2.error, test/btyacc/calc3.error, test/btyacc/code_calc.error, test/btyacc/code_error.error, test/btyacc/empty.error, test/btyacc/err_syntax1.error, test/btyacc/btyacc_calc1.error, test/btyacc/btyacc_demo.error:
2483         reference output for testing
2484
2485 2014-03-23  Thomas E. Dickey  <dickey@invisible-island.net>
2486
2487         * test/err_syntax23.error, test/err_syntax23.output, test/err_syntax23.tab.c, test/err_syntax23.tab.h, test/yacc/err_syntax23.error, test/yacc/err_syntax23.output, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax23.tab.h:
2488         reference output for testing
2489
2490         * test/err_syntax23.y: testcase for untyped_lhs()
2491
2492 2014-03-23  Tom.Shields
2493
2494         * test/run_test.sh:
2495         move test-outputs into subdirectories to keep btyacc/yacc results separate
2496
2497 2014-03-23  Thomas E. Dickey  <dickey@invisible-island.net>
2498
2499         * test/err_syntax22.error, test/err_syntax22.output, test/err_syntax22.tab.c, test/err_syntax22.tab.h, test/yacc/err_syntax22.error, test/yacc/err_syntax22.output, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax22.tab.h:
2500         reference output for testing
2501
2502         * test/err_syntax22.y: testcase for untyped_rhs()
2503
2504         * test/err_syntax21.error, test/err_syntax21.output, test/err_syntax21.tab.c, test/err_syntax21.tab.h, test/yacc/err_syntax21.error, test/yacc/err_syntax21.output, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax21.tab.h, test/err_syntax20.error, test/err_syntax20.output, test/err_syntax20.tab.c, test/err_syntax20.tab.h, test/yacc/err_syntax20.error, test/yacc/err_syntax20.output, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax20.tab.h:
2505         reference output for testing
2506
2507         * test/err_syntax20.y: testcase for undefined_symbol_warning()
2508
2509         * test/err_syntax21.y: testcase for unknown_rhs()
2510
2511         * test/err_syntax19.error, test/err_syntax19.output, test/err_syntax19.tab.c, test/err_syntax19.tab.h, test/yacc/err_syntax19.error, test/yacc/err_syntax19.output, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax19.tab.h:
2512         reference output for testing
2513
2514         * test/err_syntax19.y: testcase for dollar_error()
2515
2516         * test/err_syntax18.error, test/err_syntax18.output, test/err_syntax18.tab.c, test/err_syntax18.tab.h, test/yacc/err_syntax18.error, test/yacc/err_syntax18.output, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax18.tab.h:
2517         reference output for testing
2518
2519         * test/err_syntax18.y: testcase for dollar_warning()
2520
2521         * test/err_syntax17.error, test/err_syntax17.output, test/err_syntax17.tab.c, test/err_syntax17.tab.h, test/yacc/err_syntax17.error, test/yacc/err_syntax17.output, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax17.tab.h:
2522         reference output for testing
2523
2524         * test/err_syntax17.y: testcase for unterminated_action()
2525
2526 2014-03-22  Thomas E. Dickey  <dickey@invisible-island.net>
2527
2528         * test/err_syntax16.error, test/err_syntax16.output, test/err_syntax16.tab.c, test/err_syntax16.tab.h, test/yacc/err_syntax16.error, test/yacc/err_syntax16.output, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax16.tab.h:
2529         reference output for testing
2530
2531         * test/err_syntax16.y: testcase for terminal_lhs()
2532
2533         * test/err_syntax15.error, test/err_syntax15.output, test/err_syntax15.tab.c, test/err_syntax15.tab.h, test/yacc/err_syntax15.error, test/yacc/err_syntax15.output, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax15.tab.h:
2534         reference output for testing
2535
2536         * test/err_syntax15.y: testcase for no_grammar()
2537
2538         * test/err_syntax14.error, test/err_syntax14.output, test/err_syntax14.tab.c, test/err_syntax14.tab.h, test/yacc/err_syntax14.error, test/yacc/err_syntax14.output, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax14.tab.h:
2539         reference output for testing
2540
2541         * test/err_syntax14.y:
2542         testcase for restarted_warning() and undefined_goal()
2543
2544         * test/err_syntax13.error, test/err_syntax13.output, test/err_syntax13.tab.c, test/err_syntax13.tab.h, test/yacc/err_syntax13.error, test/yacc/err_syntax13.output, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax13.tab.h:
2545         reference output for testing
2546
2547         * test/err_syntax13.y: testcase for terminal_start()
2548
2549         * test/err_syntax12.error, test/err_syntax12.output, test/err_syntax12.tab.c, test/err_syntax12.tab.h, test/yacc/err_syntax12.error, test/yacc/err_syntax12.output, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax12.tab.h:
2550         reference output for testing
2551
2552         * test/err_syntax12.y: testcase for revalued_warning()
2553
2554         * test/err_syntax11.error, test/err_syntax11.output, test/err_syntax11.tab.c, test/err_syntax11.tab.h, test/yacc/err_syntax11.error, test/yacc/err_syntax11.output, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax11.tab.h:
2555         reference output for testing
2556
2557         * test/err_syntax11.y: testcase for reprec_warning()
2558
2559         * test/err_syntax10.error, test/err_syntax10.output, test/err_syntax10.tab.c, test/err_syntax10.tab.h, test/yacc/err_syntax10.error, test/yacc/err_syntax10.output, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax10.tab.h:
2560         reference output for testing
2561
2562         * test/err_syntax10.y: testcase for retyped_warning()
2563
2564 2014-03-21  Thomas E. Dickey  <dickey@invisible-island.net>
2565
2566         * test/err_syntax9.error, test/err_syntax9.output, test/err_syntax9.tab.c, test/err_syntax9.tab.h, test/yacc/err_syntax9.error, test/yacc/err_syntax9.output, test/yacc/err_syntax9.tab.c, test/yacc/err_syntax9.tab.h:
2567         reference output for testing
2568
2569         * test/err_syntax9.y: testcase for tokenized_start()
2570
2571         * test/err_syntax8.error, test/err_syntax8.output, test/err_syntax8.tab.c, test/err_syntax8.tab.h, test/err_syntax8a.error, test/err_syntax8a.output, test/err_syntax8a.tab.c, test/err_syntax8a.tab.h, test/yacc/err_syntax8.error, test/yacc/err_syntax8.output, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8.tab.h, test/yacc/err_syntax8a.error, test/yacc/err_syntax8a.output, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax8a.tab.h:
2572         reference output for testing
2573
2574         * test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved()
2575
2576         * test/err_syntax7.error, test/err_syntax7.output, test/err_syntax7.tab.c, test/err_syntax7.tab.h, test/err_syntax7a.error, test/err_syntax7a.output, test/err_syntax7a.tab.c, test/err_syntax7a.tab.h, test/err_syntax7b.error, test/err_syntax7b.output, test/err_syntax7b.tab.c, test/err_syntax7b.tab.h, test/yacc/err_syntax7.error, test/yacc/err_syntax7.output, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7.tab.h, test/yacc/err_syntax7a.error, test/yacc/err_syntax7a.output, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7a.tab.h, test/yacc/err_syntax7b.error, test/yacc/err_syntax7b.output, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax7b.tab.h:
2577         reference output for testing
2578
2579         * test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y:
2580         testcase for illegal_character()
2581
2582         * test/err_syntax6.error, test/err_syntax6.output, test/err_syntax6.tab.c, test/err_syntax6.tab.h, test/yacc/err_syntax6.error, test/yacc/err_syntax6.output, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax6.tab.h:
2583         reference output for testing
2584
2585         * test/err_syntax6.y: testcase for illegal_tag()
2586
2587         * test/err_syntax5.error, test/err_syntax5.output, test/err_syntax5.tab.c, test/err_syntax5.tab.h, test/yacc/err_syntax5.error, test/yacc/err_syntax5.output, test/yacc/err_syntax5.tab.c, test/yacc/err_syntax5.tab.h:
2588         reference output for testing
2589
2590         * test/err_syntax5.y: testcase for unterminated_union()
2591
2592         * test/err_syntax4.error, test/err_syntax4.output, test/err_syntax4.tab.c, test/err_syntax4.tab.h, test/yacc/err_syntax4.error, test/yacc/err_syntax4.output, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax4.tab.h:
2593         reference output for testing
2594
2595         * test/err_syntax4.y: testcase for unterminated_text()
2596
2597         * test/err_syntax3.error, test/err_syntax3.output, test/err_syntax3.tab.c, test/err_syntax3.tab.h, test/yacc/err_syntax3.error, test/yacc/err_syntax3.output, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax3.tab.h:
2598         reference output for testing
2599
2600         * test/err_syntax3.y: testcase for unterminated_string()
2601
2602         * test/err_syntax2.error, test/err_syntax2.output, test/err_syntax2.tab.c, test/err_syntax2.tab.h, test/yacc/err_syntax2.error, test/yacc/err_syntax2.output, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax2.tab.h:
2603         reference output for testing
2604
2605         * test/err_syntax2.y: testcase for unterminated_comment()
2606
2607         * test/err_syntax1.error, test/yacc/err_syntax1.error:
2608         reference output for testing
2609
2610         * test/err_syntax1.y:
2611         test-case with syntax error (and nonprinting character)
2612
2613         * test/calc.error, test/calc1.error, test/calc2.error, test/calc3.error, test/code_calc.error, test/code_error.error, test/err_syntax1.error, test/error.error, test/grammar.error, test/pure_calc.error, test/pure_error.error, test/quote_calc-s.error, test/quote_calc.error, test/quote_calc2-s.error, test/quote_calc2.error, test/quote_calc3-s.error, test/quote_calc3.error, test/quote_calc4-s.error, test/quote_calc4.error, test/yacc/calc.error, test/yacc/calc1.error, test/yacc/calc2.error, test/yacc/calc3.error, test/yacc/code_calc.error, test/yacc/code_error.error, test/yacc/error.error, test/yacc/grammar.error, test/yacc/pure_calc.error, test/yacc/pure_error.error, test/yacc/quote_calc-s.error, test/yacc/quote_calc.error, test/yacc/quote_calc2-s.error, test/yacc/quote_calc2.error, test/yacc/quote_calc3-s.error, test/yacc/quote_calc3.error, test/yacc/quote_calc4-s.error, test/yacc/quote_calc4.error:
2614         reference output for testing
2615
2616         * test/run_test.sh:
2617         save stderr to reference files, to capture shift/reduce messages as well
2618         as syntax-error messages
2619
2620         * test/err_syntax1.output, test/err_syntax1.tab.c, test/err_syntax1.tab.h, test/yacc/err_syntax1.output, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax1.tab.h:
2621         reference output for testing
2622
2623         * test/run_test.sh: generate a ".dot" file for the grammar file
2624
2625         * test/grammar.dot: RCS_BASE
2626
2627         * test/yacc/grammar.dot: reference output for testing
2628
2629 2014-03-19  Tom.Shields
2630
2631         * output.c: rename MAXSHORT to MAXYYINT
2632
2633 2014-03-18  Tom.Shields
2634
2635         * yaccpar.skel: skeleton with btyacc additions
2636
2637         * NOTES-btyacc-Changes: byacc-btyacc-20140323
2638
2639         * test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h:
2640         reference output for testing
2641
2642         * test/run_make.sh:
2643         move test-outputs into subdirectories to keep btyacc/yacc results separate
2644
2645         * test/btyacc/pure_calc.tab.c, test/btyacc/pure_calc.tab.h, test/btyacc/pure_error.output, test/btyacc/pure_error.tab.c, test/btyacc/pure_error.tab.h, test/btyacc/quote_calc-s.output, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc-s.tab.h, test/btyacc/quote_calc.output, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc.tab.h, test/btyacc/quote_calc2-s.output, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2-s.tab.h, test/btyacc/quote_calc2.output, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc2.tab.h, test/btyacc/quote_calc3-s.output, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3-s.tab.h, test/btyacc/quote_calc3.output, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc3.tab.h, test/btyacc/quote_calc4-s.output, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4-s.tab.h, test/btyacc/quote_calc4.output, test/btyacc/quote_calc4.tab.c, test/btyacc/quote_calc4.tab.h, test/btyacc/calc1.output, test/btyacc/calc1.tab.c, test/btyacc/calc1.tab.h, test/btyacc/calc2.output, test/btyacc/calc2.tab.c, test/btyacc/calc2.tab.h, test/btyacc/calc3.output, test/btyacc/calc3.tab.c, test/btyacc/calc3.tab.h, test/btyacc/code_calc.code.c, test/btyacc/code_calc.output, test/btyacc/code_calc.tab.c, test/btyacc/code_calc.tab.h, test/btyacc/code_error.code.c, test/btyacc/code_error.output, test/btyacc/code_error.tab.c, test/btyacc/code_error.tab.h, test/btyacc/empty.output, test/btyacc/empty.tab.c, test/btyacc/empty.tab.h, test/btyacc/error.output, test/btyacc/error.tab.c, test/btyacc/error.tab.h, test/btyacc/grammar.output, test/btyacc/grammar.tab.c, test/btyacc/grammar.tab.h, test/btyacc/pure_calc.output, test/btyacc/btyacc_demo.output, test/btyacc/btyacc_demo.tab.h, test/btyacc/calc.output, test/btyacc/calc.tab.c, test/btyacc/calc.tab.h:
2646         reference output for testing
2647
2648         * defs.h:
2649         several changes to help decouple the use of 'short' as the type of value
2650         used in yacc parsers.
2651
2652         * NOTES-btyacc-Disposition: byacc-btyacc-20140323
2653
2654 2014-03-17  Tom.Shields
2655
2656         * skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE
2657
2658         * test/run_lint.sh:
2659         move test-outputs into subdirectories to keep btyacc/yacc results separate
2660
2661         * configure.in: add --with-max-table-size and --enable-btyacc options
2662
2663 2014-03-16  Tom.Shields
2664
2665         * main.c: use Value_t rather than short
2666
2667 2014-03-11  Tom.Shields
2668
2669         * test/empty.y: testcase for btyacc
2670
2671 2014-03-10  Tom.Shields
2672
2673         * test/calc3.y, test/calc2.y: fix unused-variable warning
2674
2675 2014-02-18  Tom.Shields
2676
2677         * lr0.c, graph.c: use Value_t rather than short
2678
2679         * closure.c: use Value_t rather than short
2680         ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions
2681
2682         * lalr.c: rename MAXSHORT to MAXYYINT
2683
2684 2014-01-01  Thomas E. Dickey  <dickey@invisible-island.net>
2685
2686         * yacc.1: document %token-table, improve presentation of double-quotes
2687
2688         * VERSION, package/byacc.spec, package/debian/changelog: bump
2689
2690         * test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, test/yacc/code_error.code.c, test/yacc/code_error.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c:
2691         reference output for testing
2692
2693         * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_calc.tab.c, test/code_error.code.c, test/code_error.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc2.tab.c, test/quote_calc3-s.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
2694         regen
2695
2696         * output.c, skeleton.c:
2697         amend the last change so that yytname is #define'd as needed rather than
2698         permanent - to avoid breaking cproto for instance.
2699
2700 2014-01-01  Christos.Zoulas
2701
2702         * output.c, defs.h, main.c, reader.c, skeleton.c:
2703         changes to build ntpd using byacc:
2704         - rename yyname[] to yytname[]
2705         - add YYTRANSLATE() macro
2706         - recognize bison's %token-table declaration
2707
2708 2014-01-01  Thomas E. Dickey  <dickey@invisible-island.net>
2709
2710         * configure: regen
2711
2712         * yacc.1: s/EE/XE/ to work around groff bug on Debian 6
2713
2714         * makefile.in: use CF_MAKE_DOCS
2715
2716         * aclocal.m4: add CF_MAKE_DOCS
2717
2718         * configure.in: use CF_MAKE_DOCS
2719
2720 2013-12-26  Thomas E. Dickey  <dickey@invisible-island.net>
2721
2722         * config.guess: 2013-11-29
2723
2724 2013-11-19  Thomas E. Dickey  <dickey@invisible-island.net>
2725
2726         * aclocal.m4: resync with my-autoconf (fixes for clang and mingw)
2727
2728 2013-10-25  Thomas E. Dickey  <dickey@invisible-island.net>
2729
2730         * config.sub: 2013-10-01
2731
2732 2013-09-25  Thomas E. Dickey  <dickey@invisible-island.net>
2733
2734         * reader.c: fix two loop-limits found by clang 3.3 --analyze
2735
2736         * configure: regen
2737
2738         * aclocal.m4:
2739         tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses
2740
2741         * package/mingw-byacc.spec: RCS_BASE
2742
2743         * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc2.tab.c, test/quote_calc3-s.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
2744         regen
2745
2746         * skeleton.c:
2747         Increase default stack-size to match FreeBSD version noted as from
2748         "BSD 4.4 Lite Usr.bin Sources".  See
2749
2750                 http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/
2751                 http://svnweb.freebsd.org/base/head/usr.bin/yacc/
2752                 http://svnweb.freebsd.org/base/vendor/byacc/
2753
2754         The original 1.9 sources (on which I based development) used 500 for
2755         stacksize; the BSD Lite sources (a year or two later) used 10000.
2756
2757         This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE
2758         symbols have "always" been overridable by applications, but rarely
2759         needed to do this.  RedHat began using the FreeBSD source in 2000,
2760         and switched to this source in 2007 using the 20050813 snapshot.
2761
2762         RedHat #743343 misattributed the change in default stacksize to
2763         a regression in byacc, but did not report the issue upstream.
2764
2765         * package/debian/changelog, VERSION, package/byacc.spec: bump
2766
2767 2013-09-07  Thomas E. Dickey  <dickey@invisible-island.net>
2768
2769         * config.sub: update to 2013-09-15
2770
2771         * config.guess: update to 2013-06-10
2772
2773 2013-03-04  Thomas E. Dickey  <dickey@invisible-island.net>
2774
2775         * package/debian/changelog, VERSION, package/byacc.spec: bump
2776
2777         * aclocal.m4:
2778         adapt tweak from Dave Beckett to work around long-ago breakage in "new" autoconf.
2779
2780         * output.c:
2781         fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton).
2782         also while testing that, found a case where the union_file is unused; added
2783         a check for address that.
2784
2785         * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen
2786
2787         * test/ftp.y: fix most compiler warnings for "make check_make"
2788
2789         * test/calc1.tab.c: regen
2790
2791         * test/calc1.y: fix most compiler warnings for "make check_make"
2792
2793         * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc2.tab.c, test/quote_calc3-s.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
2794         regen
2795
2796         * skeleton.c: quiet a gcc conversion-warning in yygrowstack()
2797
2798         * configure: regen
2799
2800         * aclocal.m4:
2801         another fix for CF_GCC_VERSION to handle Debian's modification of gcc message.
2802
2803 2013-02-10  Thomas E. Dickey  <dickey@invisible-island.net>
2804
2805         * config.sub, config.guess: update to 2013-02-04
2806
2807 2012-10-03  Thomas E. Dickey  <dickey@invisible-island.net>
2808
2809         * package/debian/changelog, package/byacc.spec, VERSION: bump
2810
2811         * configure: regen
2812
2813         * configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC
2814
2815         * aclocal.m4:
2816         moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc)
2817         the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor.
2818
2819         * aclocal.m4, configure.in:
2820         Arian's change dropped my check for misused $CC variable - restore that with
2821         alternate macro CF_PROG_CC.
2822
2823 2012-10-03  Adrian.Bunk
2824
2825         * aclocal.m4:
2826         suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since
2827         they are not needed.
2828
2829 2012-10-03  Thomas E. Dickey  <dickey@invisible-island.net>
2830
2831         * aclocal.m4:
2832         split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in
2833         Adrian's suggested changes.
2834
2835         * aclocal.m4:
2836         CF_CLANG_COMPILER - check if the given compiler is really clang.
2837
2838         * aclocal.m4:
2839         add check for clang to CF_GCC_WARNINGS.  modify CF_GCC_WARNINGS to work around
2840         old gcc warning:  ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1
2841         on my Sarge system (versus 3.3.5 for the normal gcc).  The 2.8.1's
2842         pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work
2843         around by excluding that check for pre-3.x compilers.
2844
2845         * aclocal.m4:
2846         modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions
2847         provided by this macro.  use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather
2848         than appending to confdefs.h, since long-ago concern about the ability to
2849         pass-through parameterized macros appears to be not a problem, testing with
2850         2.13 and 2.52
2851
2852 2012-10-03  Adrian.Bunk
2853
2854         * aclocal.m4:
2855         add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by
2856         autoheader, updated macros:
2857                 CF_CHECK_CACHE
2858                 CF_DISABLE_LEAKS
2859                 CF_MKSTEMP
2860                 CF_MIXEDCASE_FILENAMES
2861                 CF_NO_LEAKS_OPTION
2862
2863 2012-10-03  Thomas E. Dickey  <dickey@invisible-island.net>
2864
2865         * aclocal.m4:
2866         move existence-check for mkstemp out of the AC_TRY_RUN, to help with
2867         cross-compiles
2868
2869 2012-10-02  Thomas E. Dickey  <dickey@invisible-island.net>
2870
2871         * config_h.in:
2872         Adrian Bunk request - replace this with the output from autoheader
2873
2874 2012-09-29  Adrian.Bunk
2875
2876         * configure.in:
2877         suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no
2878         check is needed anymore for standard C compilers), drop AC_CONST (same
2879         reason), modify AC_OUTPUT to rely upon template generated by autoheader.
2880         bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT
2881         as being obsolete with autoconf 2.52x
2882
2883         * configure.in, main.c: drop check for atexit, because it is standard C
2884
2885         * makefile.in: add assignment for datarootdir variable.
2886
2887 2012-05-26  Thomas E. Dickey  <dickey@invisible-island.net>
2888
2889         * package/debian/changelog, package/byacc.spec, VERSION: bump
2890
2891         * reader.c:
2892         some versions of gcc may warn that bp is not set in mark_symbol, e.g.,
2893         if GCC_NORETURN is not handled; appease the compiler.
2894
2895         * reader.c:
2896         use the declared types Assoc_t and Value_t in some places where compiler only
2897         cared about char versus short.
2898
2899         * reader.c:
2900         use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
2901         (no object change)
2902
2903         * defs.h:
2904         add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD
2905         packagers to build without configure script.  Also remove duplicate declaration
2906         of pure_parser variable (prompted by patch by Baptiste Daroussin).
2907
2908         Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and
2909         REALLOC macros.
2910
2911         * symtab.c:
2912         use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
2913         (no object change)
2914
2915 2012-05-25  Thomas E. Dickey  <dickey@invisible-island.net>
2916
2917         * output.c, main.c, verbose.c, mkpar.c, lr0.c:
2918         use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
2919         (no object change)
2920
2921 2012-01-15  Thomas E. Dickey  <dickey@invisible-island.net>
2922
2923         * package/debian/copyright: bump
2924
2925         * test/run_make.sh: workaround for breakage due to GNU make 3.82
2926
2927         * test/run_make.sh:
2928         tested with Solaris 10 (bison 1.875) and added scripting to exercise
2929         the /usr/ccs/bin/yacc executable
2930
2931         * test/grammar.tab.c: regen
2932
2933         * test/grammar.y: modify to also build with Solaris yacc
2934
2935         * VERSION, package/debian/changelog, package/byacc.spec: bump
2936
2937         * test/yacc/calc1.output: reference output for testing
2938
2939         * test/calc1.output, test/calc1.tab.c: regen
2940
2941         * test/calc1.y:
2942         undo the change made to appease bison, since it was only a warning.
2943
2944         * test/pure_calc.tab.c, test/pure_error.tab.c: regen
2945
2946         * test/run_make.sh: another fix for running from top-level directory
2947
2948         * makefile.in:
2949         ensure that check_make rule depends on having byacc built.
2950
2951         * test/run_make.sh: fixes for building from parent directory
2952
2953         * test/pure_error.y, test/pure_calc.y: bison-fixes
2954
2955         * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c, test/ftp.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c:
2956         regen
2957
2958         * test/code_debug.y: RCS_BASE
2959
2960         * test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y:
2961         byacc already declares yyerror
2962
2963         * test/pure_error.y, test/pure_calc.y:
2964         modified to help make the files build with bison
2965
2966         * test/run_make.sh:
2967         supply a "%pure-parser" directive when bison needs it.
2968
2969         * test/code_calc.code.c: regen
2970
2971         * test/code_calc.y: modified to help make the files build with bison
2972
2973         * yacc.1:
2974         in testing, found that %expect did not work as documented for bison.
2975         do not recommend it for portable code.
2976
2977         * test/run_make.sh: workaround breakage in bison's %expect directive
2978
2979         * test/grammar.y: modified to help make the files build with bison
2980
2981         * test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen
2982
2983         * test/calc1.y: quiet a spurious warning from bison 2.3
2984
2985         * test/calc1.tab.c: regen
2986
2987         * test/calc1.y: modified to help make the files build with bison
2988
2989         * yacc.1: comment on "-y" and "-P" options.
2990
2991         * yacc.1: comment on portability
2992
2993         * test/ftp.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc3-s.tab.c:
2994         regen
2995
2996         * test/ftp.y: modified to help make the files build with bison
2997         (bison's "-y" option is of no use in providing "yacc" compatibility)
2998
2999         * test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
3000         regen
3001
3002         * test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, test/quote_calc4.y, test/quote_calc3.y:
3003         modified to help make the files build with bison
3004
3005         * test/calc.tab.c: regen
3006
3007         * test/calc.y: modified to help make the files build with bison
3008
3009         * test/error.tab.c: regen
3010
3011         * test/error.y: modified to help make the files build with bison
3012
3013         * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen
3014
3015         * test/run_make.sh:
3016         check for older bisons which (2.3 for instance) do not support pure parsers
3017
3018         * test/code_error.y, test/calc3.y, test/calc2.y:
3019         modified to help make the files build with bison
3020
3021         * test/run_test.sh: use $opt2 in filenames of the generated files
3022
3023         * test/quote_calc2-s.tab.c, test/quote_calc3-s.tab.c, test/quote_calc4-s.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4.tab.c:
3024         regen
3025
3026 2012-01-14  Thomas E. Dickey  <dickey@invisible-island.net>
3027
3028         * test/calc2.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/calc1.tab.c:
3029         regen
3030
3031         * output.c: Several changes:
3032                 a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex.
3033                 b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL,
3034                    using YYLEX_PARAM_TYPE and YYLEX_PARAM.
3035                 c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL,
3036                    to help with redefinitions.
3037
3038         * test/pure_calc.tab.c:
3039         modified to help make the files build with bison
3040
3041         * test/run_make.sh:
3042         start work on followup, to check if the generated files build with bison.
3043
3044         * test/pure_calc.y, test/pure_error.tab.c:
3045         modified to help make the files build with bison
3046
3047         * test/calc3.tab.c: regen
3048
3049         * test/quote_calc-s.output, test/quote_calc-s.tab.c, test/quote_calc-s.tab.h, test/quote_calc2-s.output, test/quote_calc2-s.tab.c, test/quote_calc2-s.tab.h, test/quote_calc3-s.output, test/quote_calc3-s.tab.c, test/quote_calc3-s.tab.h, test/quote_calc4-s.output, test/quote_calc4-s.tab.c, test/quote_calc4-s.tab.h:
3050         RCS_BASE
3051
3052         * test/yacc/quote_calc-s.output, test/yacc/quote_calc-s.tab.h, test/yacc/quote_calc2-s.output, test/yacc/quote_calc2-s.tab.h, test/yacc/quote_calc3-s.output, test/yacc/quote_calc3-s.tab.h, test/yacc/quote_calc4-s.output, test/yacc/quote_calc4-s.tab.h:
3053         reference output for testing
3054
3055         * test/run_test.sh: generate/test with "-s" option applied.
3056
3057 2012-01-13  Thomas E. Dickey  <dickey@invisible-island.net>
3058
3059         * package/debian/changelog, package/byacc.spec, VERSION: bump
3060
3061         * yacc.1: improve documentation of -s option
3062
3063         * yacc.1: note that yacc ignores -y
3064
3065         * main.c: add -s option to usage message.
3066
3067         * test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h:
3068         RCS_BASE
3069
3070         * test/yacc/quote_calc3.output, test/yacc/quote_calc4.output, test/yacc/quote_calc4.tab.h:
3071         reference output for testing
3072
3073         * test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE
3074
3075         * test/yacc/quote_calc.tab.h: reference output for testing
3076
3077         * test/quote_calc.output, test/quote_calc.tab.c, test/quote_calc2.output, test/quote_calc2.tab.c, test/quote_calc2.tab.h, test/quote_calc3.tab.h:
3078         RCS_BASE
3079
3080         * test/yacc/quote_calc.output, test/yacc/quote_calc2.output, test/yacc/quote_calc2.tab.h, test/yacc/quote_calc3.tab.h:
3081         reference output for testing
3082
3083         * test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE
3084
3085         * configure: regen
3086
3087         * aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE
3088
3089 2011-12-19  Thomas E. Dickey  <dickey@invisible-island.net>
3090
3091         * package/debian/changelog, package/byacc.spec, VERSION: bump
3092
3093         * yacc.1, output.c, main.c, defs.h:
3094         add "-s" option to suppress generating #define's based on string contents
3095         in a %token statement.  For instance
3096                 %token EQLS "Equals"
3097         would generate
3098                 #define EQLS 256
3099                 #define Equals 257
3100         Simply suppressing the second #define makes the behavior closer to yacc.
3101         (report by Paulo Andrade).
3102
3103 2011-09-08  Thomas E. Dickey  <dickey@invisible-island.net>
3104
3105         * package/debian/changelog, package/byacc.spec, VERSION: bump
3106
3107         * output.c:
3108         fix some more interaction between -i and -d flags to ensure YYERRCODE
3109         and YYSTYPE are declared, tested with cproto.
3110
3111 2011-09-07  Thomas E. Dickey  <dickey@invisible-island.net>
3112
3113         * yacc.1: document "-i" option.
3114
3115         * package/debian/changelog, package/byacc.spec, VERSION: bump
3116
3117         * output.c: fix an interaction between -i and -d
3118
3119         * test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c:
3120         regen - changes for "-i" option move the global/impure variables near the
3121         macros that may add a prefix, etc.
3122
3123         * skeleton.c, output.c, defs.h: changes to support "-i" option.
3124
3125 2011-09-06  Thomas E. Dickey  <dickey@invisible-island.net>
3126
3127         * reader.c: pass explicit file-pointer to write_section()
3128
3129         * main.c:
3130         add "-i" option, to generate interface-file (suggested by Denis M. Wilson)
3131
3132 2011-09-05  Thomas E. Dickey  <dickey@invisible-island.net>
3133
3134         * configure: regen
3135
3136         * aclocal.m4:
3137         resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC)
3138         and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks)
3139
3140         * defs.h, error.c, reader.c:
3141         add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson)
3142
3143 2011-04-01  Thomas E. Dickey  <dickey@invisible-island.net>
3144
3145         * config.sub: update to 2011-04-01
3146
3147 2011-02-02  Thomas E. Dickey  <dickey@invisible-island.net>
3148
3149         * config.guess: update to 2011-01-01
3150
3151 2010-12-29  Thomas E. Dickey  <dickey@invisible-island.net>
3152
3153         * defs.h, skeleton.c:
3154         add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas)
3155
3156         * defs.h:
3157         mark all of the error-functions as non-returning (report by Christos Zoulas)
3158
3159         * test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c:
3160         regen
3161
3162         * skeleton.c:
3163         use only realloc() rather than realloc+malloc, agree that systems needing this
3164         are very rare (prompted by NetBSD change).
3165
3166         * test/ftp.tab.c: regen
3167
3168 2010-12-29  Christos.Zoulas
3169
3170         * test/ftp.y:
3171         improve example, which was stuck in 19XX and assumed file sizes were longs.
3172
3173 2010-12-29  Thomas E. Dickey  <dickey@invisible-island.net>
3174
3175         * test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c:
3176         regen
3177
3178         * test/pure_error.y, test/pure_calc.y, test/ftp.y, test/error.y, test/code_error.y, test/code_calc.y, test/calc.y, test/calc3.y, test/calc2.y, test/calc1.y:
3179         use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror
3180
3181         * skeleton.c:
3182         remove explicit prototype for yylex() via YYLEX_DECL() macro, since that
3183         would prevent declaring yylex() static (request by Christos Zoulas).
3184
3185         * test/calc2.tab.c, test/calc3.tab.c: regen
3186
3187 2010-12-29  Christos.Zoulas
3188
3189         * output.c: correct definition for YYERROR_DECL()
3190
3191 2010-12-29  Thomas E. Dickey  <dickey@invisible-island.net>
3192
3193         * package/debian/changelog, package/byacc.spec, VERSION: bump
3194
3195 2010-12-26  Thomas E. Dickey  <dickey@invisible-island.net>
3196
3197         * defs.h, main.c:
3198         change return-type of allocate() to avoid warnings of alignment problems
3199
3200         * main.c: Solaris declares chmod() in <sys/stat.h>
3201
3202         * configure: regen
3203
3204         * main.c: ifdef'd use of fcntl.h
3205
3206         * configure.in: add configure checks for fcntl.h, atexit and mkstemp
3207
3208         * main.c: for cases where mkstemp() is not available, use tempnam/open
3209
3210         * aclocal.m4: add CF_MKSTEMP
3211
3212         * aclocal.m4:
3213         improve quoting, deprecate ${name-value} in favor of standard ${name:-value}
3214
3215 2010-12-25  Thomas E. Dickey  <dickey@invisible-island.net>
3216
3217         * main.c:
3218         start revising use of tmpfile(), to make this work with MinGW.  Start by
3219         implementing a mkstemp() alternative - noting that mkstemp() also is broken
3220         for MinGW.
3221
3222         * package/debian/changelog, package/byacc.spec, VERSION: bump
3223
3224 2010-11-27  Thomas E. Dickey  <dickey@invisible-island.net>
3225
3226         * package/byacc.spec, package/debian/changelog, VERSION: bump
3227
3228         * test/calc2.tab.c, test/calc3.tab.c: regen
3229
3230         * output.c:
3231         corrected use of %parse-param value in yyerror(); it doesn't use &yylval
3232         (report by Clifford Yapp)
3233
3234 2010-11-26  Thomas E. Dickey  <dickey@invisible-island.net>
3235
3236         * skeleton.c: typo
3237
3238         * output.c:
3239         correct line-numbering when "-r" option is used; the 'outline' variable
3240         should only be incremented when writing to the code-file.
3241
3242         * test/code_calc.code.c, test/code_error.code.c: regen
3243
3244         * yacc.1: bump date
3245
3246         * yacc.1: comment on -b option vs -r
3247
3248         * test/calc2.tab.c, test/calc2.y, test/calc3.tab.c, test/calc3.y, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c:
3249         regen
3250
3251         * output.c:
3252         improve on YYERROR_DECL(), adding dummy params which can be used for the
3253         actual function declaration.  Also add YYERROR_CALL().  The two macros
3254         simplify maintaining sets of grammars which may/may not be pure.
3255
3256         * test/calc1.y, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c:
3257         regen
3258
3259         * output.c: generate yyerror() calls in output.c
3260         This is for compatibility with bison, which passes the yylval to yyerror
3261         when the %parse-param feature is used.
3262
3263         * skeleton.c, defs.h: generate yyerror() calls in output.c
3264
3265         * output.c: simplified a little, using putc_code() and putl_code()
3266
3267         * test/yacc/calc1.tab.h: reference output for testing
3268
3269         * test/calc1.tab.h: regen
3270
3271         * reader.c:
3272         improve ifdef for YYSTYPE union declaration (report by Clifford Yapp)
3273
3274         * reader.c:
3275         accept underscore as a replacement for dash in command names, e.g.,
3276         "%pure_parser" vs "%pure-parser".
3277
3278         * test/calc1.tab.c: regen
3279
3280         * output.c, reader.c:
3281         also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp)
3282
3283         * package/debian/changelog, package/byacc.spec, VERSION: bump
3284
3285 2010-11-24  Thomas E. Dickey  <dickey@invisible-island.net>
3286
3287         * main.c, defs.h, symtab.c, error.c: reduce global variables
3288
3289         * package/debian/changelog, package/byacc.spec, VERSION: bump
3290
3291         * reader.c:
3292         amend fix for Redhat #112617 to still call default_action_warning() for
3293         empty rules (report by Bruce Cran).
3294
3295 2010-11-22  Thomas E. Dickey  <dickey@invisible-island.net>
3296
3297         * output.c:
3298         add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp).
3299
3300         * test/calc1.tab.c: regen
3301
3302         * test/calc1.y: cleanup compiler warnings
3303
3304         * test/grammar.y: add "%expect"
3305
3306         * test/calc1.tab.h: regen
3307
3308         * test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE
3309
3310         * test/calc2.tab.c, test/calc3.tab.c: regen
3311
3312         * test/calc1.y:
3313         advanced example from Steve Johnson's paper, uses unions
3314
3315         * test/calc3.y, test/calc2.y: init 'base', so examples can run
3316
3317         * test/ftp.tab.c, test/ftp.y: tweaks to compile with g++
3318
3319         * output.c: compensate for fix in reader.c
3320
3321         * reader.c:
3322         add/use putc_both() and puts_both(), incidentally fixing a place where
3323         a union copied to the union_file may be missing the end of the last line.
3324
3325         * package/debian/changelog, package/byacc.spec, VERSION: bump
3326
3327 2010-09-28  Thomas E. Dickey  <dickey@invisible-island.net>
3328
3329         * config.guess: update to 2010-09-24
3330
3331 2010-09-10  Thomas E. Dickey  <dickey@invisible-island.net>
3332
3333         * config.sub: update to 2010-09-11
3334
3335 2010-06-10  Thomas E. Dickey  <dickey@invisible-island.net>
3336
3337         * yacc.1, package/debian/changelog, package/byacc.spec, VERSION:
3338         bump to 2010/06/10
3339
3340 2010-06-09  Thomas E. Dickey  <dickey@invisible-island.net>
3341
3342         * reader.c: free declarations in leak-testing code.
3343
3344         * main.c: close code_file if -r option used, for leak-testing
3345
3346         * defs.h, reader.c:
3347         improve %lex-param / %parse-param implementation by allowing for arrays to
3348         be passed as parameters, e.g., "int regs[26]".
3349
3350         * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h:
3351         RCS_BASE
3352
3353         * test/yacc/calc3.output, test/yacc/calc3.tab.h:
3354         reference output for testing
3355
3356         * test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE
3357
3358         * test/yacc/calc2.tab.h: reference output for testing
3359
3360         * test/calc2.output: RCS_BASE
3361
3362         * test/yacc/calc2.output: reference output for testing
3363
3364         * output.c:
3365         improve %lex-param / %parse-param implementation by allowing for arrays to
3366         be passed as parameters, e.g., "int regs[26]".
3367
3368         * test/calc.tab.c, test/calc.y:
3369         test-cases and reference files for %lex-param / %parse-param
3370
3371         * makefile.in: add docs-rule, for html/pdf/txt form of manpage
3372
3373         * configure: regen
3374
3375         * aclocal.m4: add CF_XOPEN_SOURCE, etc.
3376
3377         * configure.in:
3378         use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89
3379
3380         * test/ftp.tab.c, test/ftp.y, reader.c, symtab.c, verbose.c, lr0.c, main.c, mkpar.c, output.c, defs.h, closure.c:
3381         fix warnings from clang --analyze
3382
3383 2010-06-08  Thomas E. Dickey  <dickey@invisible-island.net>
3384
3385         * output.c: fix to build with c89, etc.
3386
3387         * reader.c: gcc warning
3388
3389         * test/ftp.tab.c, test/ftp.y, test/calc.tab.c, test/code_calc.code.c, test/code_error.code.c, test/code_error.y, test/code_calc.y, test/calc.y, test/pure_error.tab.c, test/error.tab.c, test/error.y, test/pure_error.y, test/pure_calc.tab.c, test/pure_calc.y:
3390         modified test-cases to allow them to compile, to validate pure-parser changes.
3391         updated reference files to match.
3392
3393         * output.c:
3394         move call for output_stype() earlier since it is used in pure-parser declarations
3395
3396         * test/grammar.tab.c, test/grammar.y:
3397         modified test-cases to allow them to compile, to validate pure-parser changes.
3398         updated reference files to match.
3399
3400         * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
3401         regen
3402
3403         * yacc.1: document %lex-param and %parse-param
3404
3405         * test/run_lint.sh, test/run_make.sh: RCS_BASE
3406
3407         * test/run_test.sh:
3408         further modify to allow build-directory to be in a different location by
3409         passing this directory's location as a parameter to the script.
3410
3411         * makefile.in:
3412         add check_make and check_lint rules to help validate the generated files
3413         in the test-directory
3414
3415 2010-06-07  Thomas E. Dickey  <dickey@invisible-island.net>
3416
3417         * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE
3418
3419         * test/run_test.sh:
3420         provide for testing -r and -P options by checking if the ".y" filename
3421         begins with "code_" or "pure_", respectively.
3422
3423         * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h:
3424         RCS_BASE
3425
3426         * test/yacc/code_error.tab.h: reference output for testing
3427
3428         * test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h:
3429         RCS_BASE
3430
3431         * test/yacc/code_calc.tab.h: reference output for testing
3432
3433         * test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h:
3434         RCS_BASE
3435
3436         * test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h, test/yacc/pure_error.output, test/yacc/pure_error.tab.h:
3437         reference output for testing
3438
3439         * test/code_calc.output, test/code_error.output: RCS_BASE
3440
3441         * test/yacc/code_calc.output, test/yacc/code_error.output:
3442         reference output for testing
3443
3444         * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen
3445
3446         * test/run_test.sh:
3447         changes to support running "make check" in a separate build-tree
3448
3449         * main.c: add "-P" to usage message
3450
3451         * reader.c: use UCH() macro to hide casts.
3452
3453 2010-06-07  Andres.Mejia
3454
3455         * main.c, output.c, reader.c, defs.h, skeleton.c:
3456         Fix the output order of the generated parse code file.  This allows for
3457         the use of YYPARSE_PARAM, by having the output that checks for
3458         YYPARSE_PARAM to be defined come after the C code block in the
3459         definitions section of a yacc file.
3460
3461         Implement support for YYLEX_PARAM, similar to bison.  This is useful for
3462         support for building reentrant lexers with flex.
3463
3464         Fix a compatibility issue with bison's pure-parser option.  Bison
3465         defines yylex as sending at least one parameter, &yylval, as the first
3466         parameter and doesn't seem to have an easy way to remove that parameter.
3467         This on the other hand is rather convenient to support saving to yylval
3468         from flex when building reentrant lexers and parsers.
3469
3470         Add support for the %parse-param and %lex-param directives used in
3471         bison.  This change bears some similarity to NetBSD's changes to byacc
3472         at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html
3473
3474         Bison allows for POSIX yacc emulation via a yacc directive in the yacc
3475         file, and also via a command line switch.  Implement this feature as a
3476         no-op for byacc, since byacc is designed to be POSIX yacc compatible
3477         anyway.  This allows for better compatibility with yacc sources written
3478         for bison.
3479
3480 2010-06-07  Thomas E. Dickey  <dickey@invisible-island.net>
3481
3482         * VERSION: bump to 2010/06/07
3483
3484 2010-06-06  Thomas E. Dickey  <dickey@invisible-island.net>
3485
3486         * test/calc.tab.c, configure: regen
3487
3488         * skeleton.c:
3489         move #include's down into the generated code, to allow user-defined code
3490         to override feature definitions, particularly with stdlib.h (request by
3491         Marcus Kool).
3492
3493         * lr0.c, error.c, reader.c, defs.h:
3494         strict gcc 3.4.6 warnings on 64-bit platform
3495
3496         * aclocal.m4, configure.in: add check for lint
3497
3498         * makefile.in: add lint rule
3499
3500         * defs.h, closure.c, lr0.c, warshall.c, main.c:
3501         fix gcc warnings, mostly for 64-bit platform
3502
3503         * aclocal.m4:
3504         add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc
3505
3506         * makefile.in: add etags/TAGS if available
3507
3508         * configure.in: add configure check for actual ctags and etags programs
3509
3510         * package/debian/copyright: add copyright notices for non-PD files
3511
3512         * package/debian/changelog:
3513         incorporated scripts in upstream to use for test-builds
3514
3515         * makefile.in: drop mkdirs.sh, just use "mkdir -p"
3516
3517         * AUTHORS: nicknames for some contributors (see CHANGES for details)
3518
3519         * package/byacc.spec: RPM file for byacc
3520
3521         * VERSION: bump to 2010/06/06
3522
3523         * aclocal.m4: add copyright notice, from "my-autoconf" macros
3524                 http://invisible-island.net/autoconf/autoconf.html
3525
3526         * package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS:
3527         PERMIT FILE
3528
3529         * aclocal.m4: resync with my-autoconf.  summary of changes:
3530                 a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter
3531                 b) CF_DISABLE_ECHO, change indent-convention for substituted makefile
3532                 c) CF_GCC_VERSION, ignore stderr
3533                 d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc
3534
3535 2010-04-20  Thomas E. Dickey  <dickey@invisible-island.net>
3536
3537         * package/debian/changelog, package/debian/compat, package/debian/control, package/debian/copyright, package/debian/docs, package/debian/postinst, package/debian/prerm, package/debian/rules, package/debian/watch:
3538         scripts from Debian package
3539
3540 2010-02-16  Thomas E. Dickey  <dickey@invisible-island.net>
3541
3542         * yacc.1: document -P and bison-extensions
3543
3544         * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
3545         regen
3546
3547         * output.c: implement %pure-parser
3548
3549         * skeleton.c:
3550         implement %pure-parser, like bison.  To help with this, changed the stack
3551         variables, putting them into a struct.
3552
3553         * reader.c: implement %pure-parser
3554
3555         * defs.h: modified skeleton to support %pure-parser feature
3556
3557         * main.c: add -P option to set %pure-parser
3558
3559         * output.c:
3560         make -r and -p options work together.  The -r option splits the generated
3561         parser into code/table files; for this case we cannot use static data.
3562         Also, we have to repeat the #define's used for prefix (-p) as well as the
3563         redeclaration of yyparse().  Finally, allow any of the prefixed names to
3564         be overridden, e.g., by passing a -D option to the compiler.  Make that
3565         a little more readable by putting a blank line before each chunk.
3566
3567         * defs.h: add definitions for %pure-parser
3568
3569         * skeleton.c:
3570         put blank line before/after the redeclaration of yyparse()
3571
3572         * output.c: allow for other program redefining yylex()
3573
3574         * skeleton.c:
3575         split-off xdecls[] array, to move declaration of yyparse() after #define's
3576
3577         * defs.h: split-out xdecls[]
3578
3579         * VERSION: bump
3580
3581         * configure: regen
3582
3583         * aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS
3584
3585         * aclocal.m4:
3586         resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes.
3587
3588 2010-02-16  Ostap.Cherkashi
3589
3590         * skeleton.c: fix a memory leak in the generated skeleton
3591
3592 2010-01-01  Thomas E. Dickey  <dickey@invisible-island.net>
3593
3594         * package/debian/source/format: scripts from Debian package
3595
3596 2009-12-31  Thomas E. Dickey  <dickey@invisible-island.net>
3597
3598         * config.guess: update to 2009-12-30
3599
3600         * config.sub: update to 2009-12-31
3601
3602 2009-10-27  Thomas E. Dickey  <dickey@invisible-island.net>
3603
3604         * VERSION: 20091027
3605
3606         * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c:
3607         strict compiler warnings
3608
3609 2009-10-26  Thomas E. Dickey  <dickey@invisible-island.net>
3610
3611         * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
3612         resync
3613
3614         * main.c, defs.h: introduce some typedefs for portability, etc.
3615
3616         * makefile.in:
3617         don't remove "*.log" in mostlyclean rule since it interferes with regression
3618         script.
3619
3620         * configure: regen
3621
3622         * aclocal.m4: resync with my-autoconf
3623
3624 2009-08-25  Thomas E. Dickey  <dickey@invisible-island.net>
3625
3626         * config.guess, config.sub: update to 2009-08-19
3627
3628 2009-02-21  Thomas E. Dickey  <dickey@invisible-island.net>
3629
3630         * VERSION: bump
3631
3632         * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
3633
3634 2008-12-26  Thomas E. Dickey  <dickey@invisible-island.net>
3635
3636         * configure: regen with autoconf-2.52 (patched)
3637
3638 2008-12-25  Thomas E. Dickey  <dickey@invisible-island.net>
3639
3640         * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
3641         regenerated
3642
3643 2008-12-24  Thomas E. Dickey  <dickey@invisible-island.net>
3644
3645         * VERSION: bump
3646
3647         * skeleton.c:
3648         remove ifdef-lint from goto yyerrlab, to quiet gcc warning
3649
3650 2008-11-26  Thomas E. Dickey  <dickey@invisible-island.net>
3651
3652         * verbose.c, main.c, defs.h, mkpar.c, reader.c:
3653         completed implementation of "%expect" (report by Perry E. Metzger).
3654         add "%expect-rr", which is (unlike bison) allowable in LALR parsers.
3655
3656 2008-11-24  Thomas E. Dickey  <dickey@invisible-island.net>
3657
3658         * closure.c, defs.h, error.c, graph.c, lalr.c, lr0.c, main.c, mkpar.c, output.c, reader.c, skeleton.c, symtab.c, verbose.c, warshall.c:
3659         change indent-style (request by Perry E. Metzger)
3660
3661 2008-08-27  Thomas E. Dickey  <dickey@invisible-island.net>
3662
3663         * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
3664         better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
3665
3666         * VERSION: bump
3667
3668         * skeleton.c:
3669         better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
3670
3671         * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c:
3672         change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's.
3673
3674         * configure: regen'd
3675
3676         * configure.in: add -Wwrite-strings to warnings
3677
3678         * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
3679         add YYPARSE_PARAM and YYPARSE_PARAM_TYPE
3680
3681         * skeleton.c:
3682         add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features.
3683
3684         * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c:
3685         fixes for gcc -Wwrite-strings
3686
3687         * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
3688         generate the tables as static-const (this is an interface change)
3689
3690         * output.c: realign columns in start_table()
3691
3692         * output.c:
3693         generate the tables as static-const (this is an interface change)
3694
3695         * output.c: reorder functions to eliminate forward-references
3696
3697         * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
3698         remove 'register' keywords
3699
3700 2008-08-26  Thomas E. Dickey  <dickey@invisible-island.net>
3701
3702         * warshall.c, verbose.c, symtab.c, skeleton.c, reader.c, output.c, mkpar.c, main.c, lr0.c, lalr.c, graph.c, error.c, closure.c:
3703         remove 'register' keywords
3704
3705 2008-08-25  Thomas E. Dickey  <dickey@invisible-island.net>
3706
3707         * test/ftp.tab.c: regen'd
3708
3709         * reader.c:
3710         improve the left-curly fix by testing after blanks, to avoid having a
3711         " {" at the beginning of a line.
3712
3713         * test/error.tab.c, test/grammar.tab.c: regen'd
3714
3715         * output.c:
3716         move the remaining newline-counting into write_XXX functions.
3717
3718         * test/calc.tab.c: regen'd
3719
3720         * output.c:
3721         simplify part of the output_file formatting using new functions, e.g.,
3722         start_int_table(), output_newline().
3723
3724         * reader.c:
3725         modify copy_action() to indent the first character, it if is is left-curly
3726         brace.  That makes the output look more like the original, as well as makes
3727         it simpler to edit (not confuse editors which look for a left-curly in the
3728         first column as if it were the beginning of a function).
3729
3730         * skeleton.c: minor fixes to avoid gcc -Wconversion warnings
3731
3732         * output.c: align the #define's produced for "-p" option
3733
3734         * test/run_test.sh: use the "-p" option for better coverage.
3735
3736         * output.c: simplify output_prefix() with new define_prefixed()
3737
3738         * skeleton.c: include string.h, for memset()
3739         change stack size to unsigned to fix gcc -Wconversion warnings.
3740
3741         * VERSION: bump to 2008/8/25
3742
3743         * makefile.in: add dependency on VERSION file.
3744
3745 2008-08-24  Thomas E. Dickey  <dickey@invisible-island.net>
3746
3747         * VERSION: bump
3748
3749         * lalr.c: improved memory-leak checking by freeing data in includes[]
3750
3751         * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
3752         update to match skeleton-change
3753
3754         * configure: regen'd
3755
3756         * skeleton.c: Add fix for stack discussed
3757                 http://undeadly.org/cgi?action=article&sid=20080708155228
3758         and applied
3759                 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29
3760
3761         * aclocal.m4: resync with my-autoconf (no major changes)
3762
3763 2008-07-24  Thomas E. Dickey  <dickey@invisible-island.net>
3764
3765         * package/pkgsrc/Makefile, package/pkgsrc/distinfo:
3766         scripts from NetBSD pkgsrc, for test-builds
3767
3768 2008-03-14  Thomas E. Dickey  <dickey@invisible-island.net>
3769
3770         * config.sub: update to 2008-03-08
3771
3772         * config.guess: update to 2008-03-12
3773
3774 2007-05-09  Thomas E. Dickey  <dickey@invisible-island.net>
3775
3776         * main.c: close graph, verbose files if opened, on exit.
3777
3778         * main.c:
3779         audit memory leaks - valgrind reported some memory still in use on exit.
3780
3781         * lalr.c, output.c, reader.c, mkpar.c, lr0.c:
3782         add hook for auditing memory leaks
3783
3784         * defs.h: add hooks for auditing memory leaks
3785
3786         * configure: regen'd
3787
3788         * configure.in:
3789         use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind,
3790         --with-dbmalloc and --with-dmalloc
3791
3792         * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND
3793
3794         * aclocal.m4: improve version-checking in CF_GCC_VERSION
3795         rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro
3796
3797         * VERSION: 2007/5/9
3798
3799         * main.c: file_prefix did not always have a trailing null.
3800
3801 2007-03-25  Thomas E. Dickey  <dickey@invisible-island.net>
3802
3803         * mkdirs.sh: improved version for "make -j"
3804
3805 2006-12-22  Thomas E. Dickey  <dickey@invisible-island.net>
3806
3807         * config.guess: update to 2006/12/22
3808
3809 2006-12-08  Thomas E. Dickey  <dickey@invisible-island.net>
3810
3811         * config.sub: update to 2006/12/08
3812
3813 2005-08-13  Thomas E. Dickey  <dickey@invisible-island.net>
3814
3815         * main.c: add -V to usage message
3816
3817         * makefile.in: remove -t option from ctags
3818
3819         * VERSION: 2005/8/13
3820
3821 2005-08-13  schmitz
3822
3823         * main.c: Sylvain Schmitz:
3824         modify the '-o' option to work like bison's, which sets the file-prefix.
3825
3826 2005-08-13  Matt.Kraai
3827
3828         * output.c:
3829         Debian #322858 (don't close union_file, which contained data).
3830         This feature is used in groff.
3831
3832 2005-08-13  Thomas E. Dickey  <dickey@invisible-island.net>
3833
3834         * configure: regenerated
3835
3836         * aclocal.m4: improve checks for Intel compiler warnings
3837
3838 2005-06-25  Thomas E. Dickey  <dickey@invisible-island.net>
3839
3840         * config.sub: update to 2005/6/2
3841
3842         * config.guess: update to 2005/5/27
3843
3844 2005-05-05  Thomas E. Dickey  <dickey@invisible-island.net>
3845
3846         * defs.h: add a fallback for GCC_UNUSED
3847
3848 2005-05-04  Thomas E. Dickey  <dickey@invisible-island.net>
3849
3850         * makefile.in: add "." to include-path to pickup config.h
3851
3852         * reader.c:
3853         apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617.
3854
3855         * output.c:
3856         correct a limit check in pack_vector() - report/analysis by William Evans
3857
3858         * main.c:
3859         exit after printing version.  Otherwise "yacc -V" will exit with an erro
3860         after printing the usage message.
3861
3862         * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
3863         regenerated after skeleton-changes
3864
3865         * skeleton.c: replace a few -1's with YYEMPTY
3866
3867         * skeleton.c:
3868         delete yynewerror (no one uses it any more, and it just makes compiler warnings)
3869
3870         * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD
3871
3872         * test/run_test.sh:
3873         filter out lines with YYPATCH, since that will change with each update
3874
3875         * yacc.1: add -V option
3876
3877         * main.c: add -V option to print the version.
3878         simplify option-parsing by moving the duplicate logic for setting flags into
3879         new function setflag().
3880
3881         * skeleton.c:
3882         move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers).
3883         add YYPATCH here so it can be tested by applications.
3884
3885         * defs.h:
3886         add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and
3887         YYPATCH symbols.
3888
3889         * lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c:
3890         reduce externs by making static the procedures that are not referenced outside
3891         the module in which they are defined.
3892
3893         * makefile.in:
3894         the VERSION file holds the patch-date.  Define YYPATCH, so this will be
3895         compiled into the skeleton.
3896
3897         * VERSION: patch-level for byacc
3898
3899         * main.c:
3900         add "-o" to usage message.  It is too long for a single line; rewrite usage()
3901         to show one option per line.
3902
3903 2005-05-03  Thomas E. Dickey  <dickey@invisible-island.net>
3904
3905         * main.c: add -o option, to work with scripts that assume bison.
3906         simplify create_file_names() with a macro.
3907         simplify done() with a macro.
3908         adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by
3909         onintr(), do not flush output via exit(), but use _exit() instead.
3910
3911         * defs.h: remove unnecessary externs for main.c
3912
3913         * yacc.1: add -o option
3914
3915         * graph.c: remove unused parameter
3916
3917         * mkpar.c, defs.h, reader.c:
3918         add support for "%expect", a bison feature from FreeBSD sources
3919
3920         * lr0.c, reader.c, main.c, skeleton.c, graph.c, symtab.c, closure.c, mkpar.c, lalr.c, error.c, warshall.c, verbose.c, output.c:
3921         indent'd
3922
3923         * configure: regenerated for 2005/5/5
3924
3925         * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER)
3926
3927 2005-04-27  schmitz
3928
3929         * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1:
3930         Sylvain Schmitz <schmitz@i3s.unice.fr>:
3931         add graphical output of the LALR(1) automaton for graphviz,
3932         associated with command-line option `-g'
3933
3934 2005-04-16  Thomas E. Dickey  <dickey@invisible-island.net>
3935
3936         * config.sub: update to 2005/2/10
3937
3938         * config.guess: update to 2005/3/24
3939
3940 2005-04-13  Thomas E. Dickey  <dickey@invisible-island.net>
3941
3942         * package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds
3943
3944 2005-03-21  Thomas E. Dickey  <dickey@invisible-island.net>
3945
3946         * package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds
3947
3948 2004-03-28  Thomas E. Dickey  <dickey@invisible-island.net>
3949
3950         * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
3951         updates due to adding yyparse() prototype
3952
3953         * configure: RCS_BASE
3954
3955         * configure.in:
3956         add AC_ARG_PROGRAM to make --program-prefix, etc., work.
3957
3958         * makefile.in: first cut of script to support --program-prefix
3959
3960         * configure.in:
3961         reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52
3962
3963         * makefile.in: modify so DESTDIR works
3964
3965         * makefile.in: use EXEEXT and OBJEXT
3966
3967         * configure.in: use CF_PROG_EXT
3968         generate a config.h
3969
3970         * defs.h: make this use the generated config.h
3971
3972         * skeleton.c: add a forward-reference for yyparse()
3973
3974         * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT
3975
3976         * yacc.1: remove the discussion of TMPDIR since it is obsolete
3977
3978         * skeleton.c: fix a couple of minor compiler-warnings in the skeleton
3979
3980         * defs.h: remove action_file_name, etc., since we use tmpfile() now.
3981
3982         * main.c:
3983         use tmpfile() for opening the working files.  This quiets a warning
3984         advising the use of mkstemp().
3985
3986         * output.c:
3987         Do not close temporary-files here, since they are opened with tmpfile().
3988         Just rewind them, and they're ready to read back the data stored in them.
3989
3990         * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE
3991
3992         * test/yacc/grammar.output, test/yacc/grammar.tab.h:
3993         reference output for testing
3994
3995         * makefile.in: turn on "make check" rule
3996
3997         * test/calc.output: RCS_BASE
3998
3999         * test/yacc/calc.output: reference output for testing
4000
4001         * test/run_test.sh, test/calc.tab.h: RCS_BASE
4002
4003         * test/yacc/calc.tab.h: reference output for testing
4004
4005         * test/ftp.tab.c: yyparse() is now yyparse(void)
4006
4007         * test/calc.tab.c: RCS_BASE
4008
4009         * test/error.tab.c: yyparse() is now yyparse(void)
4010
4011         * test/README: RCS_BASE
4012
4013         * yacc.1: various typography fixes prompted by Debian #100947
4014
4015         * aclocal.m4, makefile.in, configure.in: RCS_BASE
4016
4017         * README: updated to note that this is not the original
4018
4019 2004-03-24  Thomas E. Dickey  <dickey@invisible-island.net>
4020
4021         * test/grammar.y: RCS_BASE
4022
4023 2004-02-23  Thomas E. Dickey  <dickey@invisible-island.net>
4024
4025         * config.sub: RCS_BASE
4026
4027 2004-02-17  Thomas E. Dickey  <dickey@invisible-island.net>
4028
4029         * config.guess: RCS_BASE
4030
4031 2003-11-29  Thomas E. Dickey  <dickey@invisible-island.net>
4032
4033         * install-sh: improved quoting
4034
4035 2002-06-29  Thomas E. Dickey  <dickey@invisible-island.net>
4036
4037         * mkdirs.sh:
4038         don't use character range, since some locales don't work as expected
4039
4040 2001-06-22  Thomas E. Dickey  <dickey@clark.net>
4041
4042         * install-sh: RCS_BASE
4043
4044 2000-11-20  Thomas E. Dickey  <dickey@clark.net>
4045
4046         * test/calc.y: RCS_BASE
4047
4048         * test/code_calc.y, test/pure_calc.y: copy of calc.y
4049
4050         * vmsbuild.com: original version
4051
4052 2000-02-23  Thomas E. Dickey  <dickey@clark.net>
4053
4054         * test/RCS, RCS: PERMIT FILE
4055
4056 2000-02-14  Thomas E. Dickey  <dickey@clark.net>
4057
4058         * main.c: fix for VMS port - making pathname for temp-file
4059
4060         * descrip.mms: original version
4061
4062 2000-02-13  Thomas E. Dickey  <dickey@clark.net>
4063
4064         * defs.h, verbose.c, reader.c, main.c, skeleton.c, warshall.c, symtab.c, closure.c, mkpar.c, lalr.c, lr0.c, output.c, error.c:
4065         ansify
4066
4067 1999-11-30  Thomas E. Dickey  <dickey@clark.net>
4068
4069         * mkdirs.sh: RCS_BASE
4070
4071 1995-01-01  Thomas E. Dickey  <dickey@clark.net>
4072
4073         * config_h.in: RCS_BASE
4074
4075 1993-12-23  unknown
4076
4077         * README.DOS, main.c: MSDOS-port
4078
4079 1993-12-22  unknown
4080
4081         * reader.c, defs.h: MSDOS-port
4082
4083 1993-03-02  unknown
4084
4085         * README: original version
4086
4087 1993-02-22  unknown
4088
4089         * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE
4090
4091 1993-02-22  dickey@software.org
4092
4093         * test/yacc/error.output, test/yacc/error.tab.h:
4094         reference output for testing
4095
4096 1993-02-22  unknown
4097
4098         * test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE
4099
4100         * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES:
4101         original version
4102
4103 1992-10-12  unknown
4104
4105         * yacc.1: original version
4106
4107 1992-10-11  unknown
4108
4109         * defs.h: original version
4110
4111 1991-01-20  unknown
4112
4113         * mkpar.c, verbose.c: original version
4114
4115 1991-01-14  unknown
4116
4117         * lr0.c, Makefile, Makefile.old: original version
4118
4119 1990-07-16  unknown
4120
4121         * NEW_FEATURES: original version
4122
4123 1990-06-03  unknown
4124
4125         * ACKNOWLEDGEMENTS: original version
4126
4127 1990-02-05  unknown
4128
4129         * symtab.c, lalr.c, error.c: original version
4130
4131 1990-01-16  dickey@software.org
4132
4133         * test/code_error.y, test/pure_error.y: RCS_BASE
4134
4135 1990-01-16  unknown
4136
4137         * test/error.y: RCS_BASE
4138
4139 1989-11-22  unknown
4140
4141         * NO_WARRANTY: original version
4142
4143 1989-09-23  unknown
4144
4145         * test/ftp.y: RCS_BASE
4146