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