1 2021-05-20 Thomas E. Dickey <dickey@invisible-island.net>
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:
6 * mkpar.c, reader.c: change printf format to allow for long-YYINT
8 * lalr.c, lr0.c: change type, fix gcc warnings
10 * verbose.c: change type, fix gcc warnings
11 also change printf format, to allow for long YYINT
13 * output.c: change type, fix gcc warnings
14 also change printf format, to allow for long-YYINT
16 * package/debian/rules, package/byacc.spec:
17 change max-table-size to correspond with switch of YYINT from short to int
20 change default for MAXTABLE to INT_MAX, like the FreeBSD port.
21 that requires changing some types to eliminate type-mismatches.
25 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
28 2021-05-01 Thomas E. Dickey <dickey@invisible-island.net>
30 * aclocal.m4: resync with my-autoconf
32 2021-04-30 Thomas E. Dickey <dickey@invisible-island.net>
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
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
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.
47 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
49 2021-04-21 Thomas E. Dickey <dickey@invisible-island.net>
51 * config.guess, config.sub: 2021-04-21 (repaired)
52 From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
55 This paves way for setting up arc64 software ecosystem.
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)
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.
72 Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
73 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
75 2021-04-16 Thomas E. Dickey <dickey@invisible-island.net>
77 * config.guess: 2021-04-16 (repaired)
78 From: Purple Rain <purplerain@secbsd.org>
79 config.guess: add SecBSD support
81 * config.guess (*:SecBSD:*:*): Recognize.
82 * doc/config.guess.1: Regenerate.
83 * testsuite/config-guess.data: Add a test case.
85 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
87 * config.sub: 2021-04-16 (repaired)
88 From: Purple Rain <purplerain@secbsd.org>
89 config.sub: add SecBSD support
91 * config.sub (secbsd*): Recognize.
92 * doc/config.sub.1: Regenerate.
93 * testsuite/config-sub.data: Add x86_64-secbsd.
95 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
97 2021-03-28 Thomas E. Dickey <dickey@invisible-island.net>
99 * reader.c: ignore bison's "%empty" extension
102 %debug was a trivial bison "extension", mark it as such
104 * yacc.1: use italics in a few places where bold was inappropriate
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:
110 add union tag to YYSTYPE structure for compatibility with a feature which
111 bison copied from Solaris yacc (request by Ella Stanforth)
115 * config_h.in: update for _Noreturn feature
117 * aclocal.m4: updated to work with autoheader
119 * defs.h: apply syntax change needed for _Noreturn keyword
121 * package/byacc.spec, package/debian/rules: use stdnoreturn
123 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
126 2021-03-20 Thomas E. Dickey <dickey@invisible-island.net>
131 resync with my-autoconf (adds --enable-stdnoreturn option)
133 2021-03-10 Thomas E. Dickey <dickey@invisible-island.net>
135 * config.sub: 2021-03-10 (repaired)
136 From: Idan Horo <idan.horowitz@gmail.com>
137 config.sub: Add support for SerenityOS
139 * config.sub (serenity*): Recognize.
140 * doc/config.sub.1: Regenerate.
141 * testsuite/config-sub.data: Add i386-serenity.
143 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
145 2021-01-25 Thomas E. Dickey <dickey@invisible-island.net>
147 * config.guess: 2021-01-25 (repaired)
148 From: Kalamatee <kalamatee@gmail.com>
149 config.guess: update AROS system detection
151 * config.guess: Recognize *:AROS:*:*.
152 * doc/config.guess.1: Regenerate.
153 * testsuite/config-guess.data: Add test cases.
155 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
157 2021-01-19 Thomas E. Dickey <dickey@invisible-island.net>
159 * config.guess: 2021-01-19 (repaired)
160 From: M. Levinson <mlevins@users.sourceforge.net>
161 config.guess: fix shell variable quoting bug
163 * config.guess (*:NetBSD:*:*): Spell out the full sysctl command twice
164 instead of using a shell variable.
165 * doc/config.guess.1: Regenerate.
167 Fixes: 827c77253b396c07306927b2a4b794a3251c48eb
168 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
170 2021-01-09 Thomas E. Dickey <dickey@invisible-island.net>
172 * package/debian/copyright, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
175 2021-01-07 Thomas E. Dickey <dickey@invisible-island.net>
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
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
191 * config.sub: Recognize four-part configuration name for VxWorks.
192 * doc/config.guess.1: Regenerate.
193 * testsuite/config-sub.data: Add test cases.
195 Co-authored-by: John Ericson <git@JohnEricson.me>
196 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
198 2021-01-06 Thomas E. Dickey <dickey@invisible-island.net>
200 * config.sub: 2021-01-07 (repaired)
201 From: Alan Modra <amodra@gmail.com>
202 config.sub: accept OS of eabi* and gnueabi*
204 Commit 5e531d391852 broke powerpc-eabivle:
206 $ ./config.sub powerpc-eabivle
207 Invalid configuration `powerpc-eabivle': OS `eabivle' not recognized
209 Also powerpc-eabisim and probably some arm configurations.
211 * config.sub: Accept OS of eabi* and gnueabi*.
212 * testsuite/config-sub.data: Add powerpc-eabisim and powerpc-eabivle.
214 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
216 2021-01-05 Thomas E. Dickey <dickey@invisible-island.net>
220 * aclocal.m4: resync with my-autoconf
222 2021-01-01 Thomas E. Dickey <dickey@invisible-island.net>
224 * config.guess, config.sub: 2021-01-01 (repaired)
225 From: Dmitry V. Levin <ldv@altlinux.org>
226 Update copyright years
228 * config.guess: Update copyright years.
229 * config.sub: Likewise.
230 * doc/config.guess.1: Regenerate.
231 * doc/config.sub.1: Likewise.
233 2020-12-31 Thomas E. Dickey <dickey@invisible-island.net>
235 * config.guess, config.sub: 2020-12-31 (repaired)
236 From: Kito Cheng <kito.cheng@sifive.com>
237 Recognize riscv32be and riscv64be
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 :)
243 It's my check result on Ubuntu 18.04:
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)
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.
260 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
262 2020-12-03 Thomas E. Dickey <dickey@invisible-island.net>
264 * config.guess, config.sub: 2020-12-22 (repaired)
265 From: Xiaotian Wu <wuxiaotian@loongson.cn>
266 Recognize loongarch32, loongarch64, and loongarchx32
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):
278 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
280 2020-12-01 Thomas E. Dickey <dickey@invisible-island.net>
282 * config.sub: 2020-12-02 (repaired)
283 From: Dmitry V. Levin <ldv@altlinux.org>
284 config.sub: recognize thumbv7*
286 * config.sub (thumbv7*): Recognize.
287 * testsuite/config-sub.data (thumbv7): New test.
289 Reported-by: Karl Berry <karl@freefriends.org>
290 Link: https://lists.gnu.org/archive/html/config-patches/2020-12/msg00001.html
292 2020-11-19 Thomas E. Dickey <dickey@invisible-island.net>
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
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
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'
305 $ time -f %e wget -q 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess'
308 * config.guess: Prefer cgit URLs over gitweb.
310 * config.sub: Likewise.
311 * doc/config.guess.1: Regenerate.
312 * doc/config.sub.1: Likewise.
314 2020-11-06 Thomas E. Dickey <dickey@invisible-island.net>
316 * config.guess, config.sub: 2020-11-07 (repaired)
317 From: Ben Elliston <bje@gnu.org>
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.
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.
332 2020-10-21 Thomas E. Dickey <dickey@invisible-island.net>
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.
339 Signed-off-by: Ben Elliston <bje@gnu.org>
341 2020-10-14 Thomas E. Dickey <dickey@invisible-island.net>
343 * config.sub: 2020-10-13
344 From: Ben Elliston <bje@gnu.org>
345 Fix whitespace problem in config.sub.
347 2020-10-13 Thomas E. Dickey <dickey@invisible-island.net>
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.
354 2020-09-26 Thomas E. Dickey <dickey@invisible-island.net>
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.
361 Signed-off-by: Ben Elliston <bje@gnu.org>
363 2020-09-22 Thomas E. Dickey <dickey@invisible-island.net>
365 * closure.c, warshall.c:
366 fix undefined-behavior diagnosed with gcc -fsanitize=undefined (report by
367 Alexander Richardson)
369 2020-09-20 Thomas E. Dickey <dickey@invisible-island.net>
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.
376 Signed-off-by: Ben Elliston <bje@gnu.org>
378 2020-09-10 Thomas E. Dickey <dickey@invisible-island.net>
382 * reader.c, output.c: cppcheck -- reduce scope
384 * defs.h: update to 2.0
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
390 improve loop which skips backward through a (possibly nested) sequence of
393 * reader.c: simplify a check to quiet a bogus cppcheck-warning
397 * reader.c: add a note about a bogus cppcheck warning
402 always check for gcc attributes, to work around defect in clang's imitation
405 * reader.c: cppcheck -- scope reduction
406 cppcheck -- eliminate bogus returns after no-return functions
408 * verbose.c, output.c, mkpar.c, main.c, warshall.c, lr0.c, lalr.c, graph.c, closure.c:
409 cppcheck -- scope reduction
411 * package/debian/compat: quiet compatibility-warning
413 * yacc.1: use "ASCII" for dashes which are part of proper names
417 * configure.in: switch to --enable-warnings, for consistency
420 resync with my-autoconf, for compiler-warning fixes with macOS
422 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
425 2020-09-07 Thomas E. Dickey <dickey@invisible-island.net>
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.
432 Signed-off-by: Ben Elliston <bje@gnu.org>
434 2020-08-16 Thomas E. Dickey <dickey@invisible-island.net>
436 * config.guess, config.sub: 2020-08-17
438 2020-06-28 Thomas E. Dickey <dickey@invisible-island.net>
440 * config.sub: 2020/06/28
442 2020-06-14 Thomas E. Dickey <dickey@invisible-island.net>
444 * config.guess: 2020/04/26
446 2020-03-30 Thomas E. Dickey <dickey@invisible-island.net>
448 * package/debian/copyright: bump
450 * test/yacc/grammar.tab.c, test/btyacc/grammar.tab.c, test/grammar.y, reader.c:
451 typo found with codespell
453 * yacc.1: fixes noted in the original report, overlooked in followup
455 2020-03-30 Bjarni.Ingi.Gislason
457 * yacc.1: typography/spelling fixes - Debian #955175
459 2020-03-30 Thomas E. Dickey <dickey@invisible-island.net>
461 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
464 2020-03-10 Thomas E. Dickey <dickey@invisible-island.net>
469 resync with my-autoconf, mostly fixes for compiler-warnings
471 * configure.in: use macro to suppress X-dependency from newer macros
473 2019-12-20 Thomas E. Dickey <dickey@invisible-island.net>
475 * config.guess: 2019-12-21
477 2019-11-25 Tom.Shields
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.
483 2019-11-25 Thomas E. Dickey <dickey@invisible-island.net>
486 suppress bison's -Wyacc warning, which is not useful.
488 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
491 2019-11-19 Thomas E. Dickey <dickey@invisible-island.net>
493 * yacc.1: new version of manpage
495 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
498 * yacc.1: document %code
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:
504 amend updates for 'outline' when processing "%code" in code-file
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.
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
516 * mstring.c, defs.h: add msrenew()
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:
521 2019-11-18 Thomas E. Dickey <dickey@invisible-island.net>
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:
526 2019-11-04 Michael.Forney
528 * defs.h: add missing "extern" for new variable "code_lines"
530 2019-11-03 Thomas E. Dickey <dickey@invisible-island.net>
532 * main.c: build-fix for MinGW cross-compiling
534 * output.c, reader.c: gcc-warnings
536 * output.c: check validity of text_file before rewind
537 remove redundant check of iflag
539 * main.c: fix memory-leak reported by clang
541 * mkpar.c: guard against a null-reference reported by clang (unlikely)
543 * reader.c: fix two coverity warnings:
544 a) resource leak on malloc-failure
545 b) possible null-pointer dereference on parse-error
547 * test/btyacc/err_inherit4.tab.h, test/btyacc/btyacc_demo.tab.h: regen
549 * defs.h: use enum's to simplify recent change
552 enable mstring() in regular byacc, since Zoulas' change relies upon it
554 2019-11-03 Christos.Zoulas
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
559 2019-11-03 Thomas E. Dickey <dickey@invisible-island.net>
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:
565 there's no standard wording for the options-errors from getopt;
566 filter that to "error message" in the test reference files.
569 provide for using getopt(), to accommodate a case where developers have
570 relied upon non-POSIX behavior.
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"
578 * config_h.in: regen, using autoheader-252
580 * configure.in: add configure check for getopt
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.
588 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
591 2019-09-11 Thomas E. Dickey <dickey@invisible-island.net>
593 * config.guess, config.sub: 2019-09-10
595 2019-06-17 Thomas E. Dickey <dickey@invisible-island.net>
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:
600 * test/run_test.sh: test "-H" rather than "-D"
602 2019-06-16 Thomas E. Dickey <dickey@invisible-island.net>
605 change "-D" option to "-H" (discussion with Ethan Sommer)
607 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
610 * test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c:
613 * test/run_test.sh: in test_defines, save the ".c" file too
615 * test/yacc/defines3.calc.c, test/yacc/defines2.calc.c, test/yacc/defines1.calc.c:
619 output of test_defines should be a header ".h", not ".c"
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:
624 * main.c: however, a subsequent -d cancels -D
626 * test/yacc/defines1.calc.h, test/yacc/defines3.calc.h: RCS_BASE
628 * main.c: -D option implies -d
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:
633 * yacc.1: align macro definitions with my other manpages
635 * test/run_test.sh: add test for -D after -d or -b options
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:
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:
644 add a test for stdin "-" vs end-options "--", and correct a redirection
645 of stderr in test_flags
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:
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:
653 * main.c: add -D option, to specify filename vs y.tab.h for -d
655 * defs.h: add dflag2, for -D option
657 * yacc.1: document -D option
659 * config_h.in: updated with autoheader-252
663 * package/debian/copyright: bump
665 * aclocal.m4: add CF_GETOPT_HEADER
667 * aclocal.m4: Improved autoconf macros:
669 putting preprocessor flags in CFLAGS also is a nuisance, which can be
670 addressed in the same way.
672 factor out workaround for XTSTRINGDEFINES as CF_CONST_X_STRING
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.
679 add/use CF_POSIX_VISIBLE
680 + CF_TRY_XOPEN_SOURCE
683 use sed to work around non-POSIX tail utility
686 add/use CF_POSIX_VISIBLE
688 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
691 2019-06-10 Thomas E. Dickey <dickey@invisible-island.net>
693 * config.guess: 2019-06-10
695 2019-05-22 Thomas E. Dickey <dickey@invisible-island.net>
697 * config.sub: 2019-05-22
699 2018-06-09 Thomas E. Dickey <dickey@invisible-island.net>
701 * yacc.1: minor typographical fixes
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:
706 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
709 2018-06-09 Tom.Shields
712 add casts to fix g++ (clang++) compile errors in the backtracking skeleton
713 due to assignment of ‘void *’ to another pointer type.
715 2018-05-25 Thomas E. Dickey <dickey@invisible-island.net>
718 check if this is bison 3+ before adding options to suppress warnings
720 * package/byacc.spec: build-fix for Mageia 6
722 * package/byacc.spec: add btyacc package
724 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
727 * package/debian/control: add a package for btyacc
729 * package/debian/rules: generate a package for btyacc
731 2018-05-24 Thomas E. Dickey <dickey@invisible-island.net>
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:
736 * btyaccpar.skel: fix typo
738 2018-05-21 Thomas E. Dickey <dickey@invisible-island.net>
741 ignore case for "%" directives to skip with old-yacc, and add %token-table
746 2018-05-21 Christos.Zoulas
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
753 2018-05-10 Thomas E. Dickey <dickey@invisible-island.net>
756 add a fallback definition for YYDEBUG to the -i externs file.
758 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
760 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
763 2018-05-09 Thomas E. Dickey <dickey@invisible-island.net>
767 * aclocal.m4: resync with my-autoconf
769 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
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:
775 * btyaccpar.skel: apply Guy Harris' changes here as well
777 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
779 * output.c: correct/improve fallback prototype for yylex()
781 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
783 2018-05-08 Thomas E. Dickey <dickey@invisible-island.net>
785 * test/btyacc/grammar.tab.c, test/yacc/grammar.tab.c: regen
788 quiet some warnings from gcc 7 when doing "make check_make"
790 * package/debian/watch, package/pkgsrc/Makefile: update ftp-url
792 * test/btyacc/ok_syntax1.tab.h, test/btyacc/btyacc_calc1.tab.h: regen
795 provide yylex() declaration for simple case (request by "Mutiny")
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:
800 * VERSION, package/byacc.spec, package/debian/changelog, package/debian/copyright, package/mingw-byacc.spec, package/pkgsrc/Makefile:
803 2018-05-06 Guy.Harris
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.
809 2018-02-24 Guy.Harris
811 * output.c: do not emit "extern YYSTYPE yylval;" for pure parsers
813 2018-02-05 Thomas E. Dickey <dickey@invisible-island.net>
815 * config.sub: 2018-01-15
817 * config.guess: 2018-01-26
819 2017-12-04 erik.b.andersen
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.
825 * defs.h: The noreturn attribute needs to be specified before function
826 to be portable among compilers (gcc, clang, msvc).
828 2017-12-04 Thomas E. Dickey <dickey@invisible-island.net>
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
834 2017-09-14 Tom.Shields
838 2017-07-09 Thomas E. Dickey <dickey@invisible-island.net>
840 * package/byacc.spec, package/mingw-byacc.spec:
841 use predefined "configure"
843 * reader.c: remove unused assignment
845 * package/debian/rules: use dpkg-buildflags
849 * aclocal.m4: resync with my-autoconf
851 * reader.c, output.c, defs.h:
852 add/use IS_NAME1() and IS_NAME2() to reduce clutter
854 * reader.c, output.c, defs.h:
855 guard against sign-extension in ctype-macros
857 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
860 * reader.c: check for numeric overflow in get_number()
863 correct limit-checks for input filename and line-number, in case no valid
864 filename and/or number was found.
866 2017-04-30 Thomas E. Dickey <dickey@invisible-island.net>
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
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.
875 2017-04-30 Tom.Shields
878 use YY_NO_LEAKS set in configure --with-no-leaks, in the generated code
880 2017-04-30 Julien.Ramseier
882 * main.c, test/yacc/big_l.output:
883 fix typo in unsupported-flag warning message
885 2017-04-30 Thomas E. Dickey <dickey@invisible-island.net>
887 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
890 2017-04-29 Thomas E. Dickey <dickey@invisible-island.net>
892 * config.sub: 2017-04-02
894 2017-03-18 Thomas E. Dickey <dickey@invisible-island.net>
896 * config.sub: 2017-02-07
898 * config.guess: 2017-03-05
900 2017-02-01 Thomas E. Dickey <dickey@invisible-island.net>
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:
905 * package/debian/copyright: update copyright
907 * reader.c, defs.h, main.c:
908 avoid using regex.h since some low-end platforms do not have this
910 * test/expr.oxout.y: RCS_BASE
914 * aclocal.m4: quiet a strict gcc warning in CF_MKSTEMP
916 2017-02-01 Tom.Shields
918 * main.c, reader.c, defs.h:
919 process #line directives, like bison and flex
921 2017-02-01 Thomas E. Dickey <dickey@invisible-island.net>
923 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
926 2016-12-31 Thomas E. Dickey <dickey@invisible-island.net>
928 * config.guess, config.sub: 2017-01-01
930 2016-12-02 Thomas E. Dickey <dickey@invisible-island.net>
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:
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
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)
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
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:
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)
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
966 fix from NetBSD: correct off-by-one when adding a null in copy_param()
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
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)
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
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
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)
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
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
1008 * mstring.c: adapted change from NetBSD to add casts for ctype macros
1010 * test/btyacc/btyacc_demo.tab.h, test/btyacc/err_inherit4.tab.h: regen
1012 * output.c: reorder to eliminate a forward-reference
1014 2016-12-02 Tom.Shields
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").
1021 2016-12-02 Thomas E. Dickey <dickey@invisible-island.net>
1025 * aclocal.m4: Improved autoconf macros
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)
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.
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
1040 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1043 2016-11-20 Thomas E. Dickey <dickey@invisible-island.net>
1045 * config.sub: 2016-11-19
1047 * config.guess: 2016-10-02
1049 2016-06-06 Thomas E. Dickey <dickey@invisible-island.net>
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.
1059 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1064 * btyaccpar.c: regen
1067 adjust whitespace so that generated skeleton will follow the same format
1070 * mkpar.c, verbose.c, lr0.c, reader.c, error.c, output.c: indented
1072 * reader.c: fix two compiler warnings
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:
1077 2016-06-06 Tom.Shields
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"
1083 2016-06-01 Thomas E. Dickey <dickey@invisible-island.net>
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:
1088 2016-06-01 Tom.Shields
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):
1093 + correction to the placement of the #line directive for a %union specification
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
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
1102 + Chris Dodd's added support for @-N syntax to reference inherited position
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
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[]
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
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
1121 + changes to a couple of test cases for coverage of #3, #4 and #5 above
1123 2016-06-01 Thomas E. Dickey <dickey@invisible-island.net>
1125 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1128 2016-03-24 Thomas E. Dickey <dickey@invisible-island.net>
1130 * reader.c: unused variable
1132 * package/pkgsrc/Makefile, package/debian/copyright: bump
1134 2016-03-24 Jung-uk.Kim
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)
1141 2016-03-24 Thomas E. Dickey <dickey@invisible-island.net>
1144 update CF_WITH_MAN2HTML to use configured shell rather than /bin/sh
1146 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1149 2016-01-25 Thomas E. Dickey <dickey@invisible-island.net>
1151 * config.guess, config.sub: 2016-01-01
1153 2015-07-10 Thomas E. Dickey <dickey@invisible-island.net>
1155 * lr0.c: fix a duplicate-free in the leak-checking
1157 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1161 make cache-size clearer (prompted by discussion with Pedro Giffuni,
1165 make relationship with format/size clearer (prompted by discussion
1166 with Pedro Giffuni, Oliver Pinter)
1168 2015-07-05 Thomas E. Dickey <dickey@invisible-island.net>
1172 * package/pkgsrc/Makefile, package/mingw-byacc.spec, package/debian/copyright, package/debian/changelog, package/byacc.spec, VERSION:
1175 * aclocal.m4: resync with my-autoconf
1176 add configure option --with-man2html
1178 * makefile.in: add configure options --with-man2html
1180 * configure.in: add configure option --with-man2html
1182 2015-05-02 Thomas E. Dickey <dickey@invisible-island.net>
1184 * config.guess: 2015-03-04
1186 * config.sub: 2015-03-08
1188 2014-11-28 Thomas E. Dickey <dickey@invisible-island.net>
1190 * lr0.c: coverity #39181: memory leak
1192 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1195 2014-11-13 Jouk.Jansen
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.
1202 The patched descrip.mms file can be found at:
1203 http://nchrem.tnw.tudelft.nl/openvms/software2.html#BYACC
1205 Please feel free to insert the file in your distribution.
1210 2014-10-06 Thomas E. Dickey <dickey@invisible-island.net>
1212 * package/debian/source/format:
1213 change to native format to work around regression in Debian packaging.
1215 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1221 correct parameter for umask - for very old mkstemp's - and use type mode_t
1222 to quiet compiler warning
1224 * configure.in: add configure check for mode_t
1227 better fix for get_line, by ensuring there is enough space to null-terminate
1228 its result (prompted by discussion with Craig Rodrigues).
1230 2014-10-05 Thomas E. Dickey <dickey@invisible-island.net>
1233 make change to umask before calling mkstemp, as suggested in Coverity #56902
1236 adjust logic in copy_action to avoid potential null-pointer dereference
1240 adjust logic to avoid potential null-pointer dereference in compile_args
1243 * reader.c: eliminate strcpy into fixed-size buffer (Coverity #63408)
1245 * yacc.1: document changes made with respect to %parse-param
1248 add parameters from %parse-param to destructor. The order of the parameters
1249 is intentionally inconsistent with yyparse/yyerror, for "compatibility" with
1252 * test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c:
1256 use puts_param_types/puts_param_names to output lex_param data.
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:
1261 * btyaccpar.c: add casts, change types to fix strict compiler warnings
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:
1266 * output.c: gcc-warning
1268 * test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c: regen
1270 * output.c: fix limit when merging real/workaround tables
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
1278 * test/btyacc_destroy3.y, test/btyacc_destroy2.y, test/btyacc_destroy1.y:
1279 fix "make check_make"
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:
1285 trim blanks from interim value in copy_param() to handle special case when
1286 a space precedes a comma.
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
1294 * test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c:
1298 modify copy_param() to handle resulting comma-separated list. Before, it
1299 only expected a single parameter.
1301 2014-10-04 Thomas E. Dickey <dickey@invisible-island.net>
1303 * reader.c: split-out save_param() from copy_param()
1305 * reader.c: trim_blanks() did not always convert spaces - fix.
1307 * reader.c: fix some minor regressions with error-reporting
1309 * aclocal.m4: update CF_XOPEN_SOURCE for Unixware change from lynx
1311 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
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.
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:
1322 2014-10-03 Thomas E. Dickey <dickey@invisible-island.net>
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:
1327 2014-10-02 Thomas E. Dickey <dickey@invisible-island.net>
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).
1333 2014-09-17 Thomas E. Dickey <dickey@invisible-island.net>
1335 * closure.c, lalr.c, output.c, defs.h:
1336 rephrase odd addressing to fix Coverity #48848, #38950, #38860, not actually
1339 2014-09-01 Thomas E. Dickey <dickey@invisible-island.net>
1341 * config.sub: update to 2014-07-28
1343 2014-07-27 Thomas E. Dickey <dickey@invisible-island.net>
1347 * aclocal.m4: modified to support port to Minix3.2
1349 * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
1352 2014-07-15 Thomas E. Dickey <dickey@invisible-island.net>
1354 * aclocal.m4: resync with my-autoconf (no change to configure script)
1356 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1360 make top-level "make check" work again, by adding another step to filtering
1363 2014-07-14 Thomas E. Dickey <dickey@invisible-island.net>
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
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)
1373 2014-07-14 Garrett.Cooper
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:
1378 2014-05-27 Tom.Shields
1380 * main.c: remove obsolete -D option from usage message
1382 2014-05-27 Thomas E. Dickey <dickey@invisible-island.net>
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:
1387 2014-04-22 Thomas E. Dickey <dickey@invisible-island.net>
1390 use vsnprintf() to ensure that msprintf's buffer is large enough.
1392 * main.c, defs.h: add mstring_leaks()
1396 * output.c: fix a complementary warning
1398 * mstring.c: introduce vsnprintf
1400 * configure.in, config_h.in: add check for vsnprintf
1402 * output.c: quiet a type-conversion warning
1404 * mstring.c: fix a potential memory leak on ENOMEM
1405 quiet a couple of type-conversion warnings
1407 * defs.h: add/use GCC_PRINTFLIKE for msprintf()
1409 2014-04-22 Tom.Shields
1412 drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant
1413 content into README.BTYACC
1415 2014-04-22 Thomas E. Dickey <dickey@invisible-island.net>
1417 * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
1420 2014-04-19 Thomas E. Dickey <dickey@invisible-island.net>
1422 * config.sub: 2014-04-03
1424 * config.guess: 2014-03-23
1426 2014-04-09 Rick.Spates
1428 * main.c, defs.h: patch to allow DEBUG build with WIN32 system
1430 2014-04-09 Thomas E. Dickey <dickey@invisible-island.net>
1432 * output.c, reader.c: gcc warnings
1434 * reader.c: fix const-cast warnings
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).
1440 * reader.c: appease clang --analyze
1442 * defs.h: mark two functions as no-return.
1444 * package/debian/changelog: reason for release
1446 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1449 * makefile.in: use $LINT_OPTS from environment via configure script
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
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
1458 retain the renaming done for code_debug.y so that check_make will work.
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
1463 * test/btyacc/ok_syntax1.error: RCS_BASE
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:
1469 clarify relationship of btyacc features to default configuration.
1471 2014-04-08 Thomas E. Dickey <dickey@invisible-island.net>
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
1476 * test/ok_syntax1.y: RCS_BASE
1478 * test/yacc/ok_syntax1.error: reference output for testing
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
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).
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
1490 * test/run_test.sh: remove a repeated test-case
1492 * mstring.c: minor reformatting to make coverage analysis simpler
1494 2014-04-07 Thomas E. Dickey <dickey@invisible-island.net>
1496 * test/run_test.sh: tidy
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
1502 add special checks for flags which depend on writable/existing files
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
1508 change CREATE_FILE_NAMES() to use local function rather than inline code,
1509 to simplify coverage analysis.
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
1514 * test/err_syntax27.y: testcase for missing_brace()
1516 * error.c: ifdef'd non-btyacc function
1518 * lr0.c: ifdef'd debug-code
1520 * yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel
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
1529 2014-04-06 Thomas E. Dickey <dickey@invisible-island.net>
1531 * reader.c: fix for valgrind
1532 (the calloc's are intentional - valgrind reported use of uninitialized memory)
1534 * lr0.c, output.c: fix for valgrind
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:
1539 * test/yacc/code_debug.c, test/yacc/code_debug.h:
1540 exercise the -i option
1542 * test/yacc/code_debug.i: reference output for testing
1544 * test/run_test.sh: exercise the -i option
1546 * test/yacc/code_debug.c: reference output for testing
1548 * test/run_test.sh: exercise the "-o" option
1550 * test/yacc/code_debug.error, test/yacc/code_debug.h, test/yacc/code_debug.output:
1551 reference output for testing
1553 * output.c: don't call exit() without giving a chance to cleanup.
1555 * mstring.c: ifdef'd functions not used in byacc
1557 * btyaccpar.c: generated from btyaccpar.skel
1559 * yaccpar.c: generated from yaccpar.skel
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.
1568 add rules to generate byacc and btyacc parser skeleton files independently
1570 * aclocal.m4: CF_PROG_AWK - add to byacc's configure script
1572 cleanup the -no-gcc option which was leftover from testing - prcs does
1573 not build with this option.
1575 protect $2 from substitution, for luit's "$(manext)"
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.
1584 modify so skeleton-source is determined by configure options rather than by
1585 having developer rename yaccpar.skel.old to yaccpar.skel
1587 * descrip.mms: rename skeleton
1590 fwiw, renamed the skeleton for consistency with makefile
1592 * skel2c, skeleton.c: resync skeleton and its generating files
1595 renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules
1597 * yaccpar.skel.old: resync skeleton and its generating files
1599 * test/run_make.sh: improve cleanup after error recovery
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
1604 * output.c: simplify output_yyerror_decl()
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
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
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"
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()
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
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().
1626 * main.c: do the same for help-message
1628 * main.c: use OUTPUT_SUFFIX symbol in an overlooked case
1631 modify to avoid use of VPATH, which has no standard implementation
1633 2014-04-05 Thomas E. Dickey <dickey@invisible-island.net>
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
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
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
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
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
1653 integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol
1654 (I changed order of output to keep this adjacent to YYMAXTOKEN)
1657 merge all but one small change from Tom Shield's btyacc changes - that
1658 changes the order of code-file in the tests.
1660 * test/btyacc/btyacc_demo.tab.c: regen
1662 * test/btyacc_demo.y: fix prototypes
1664 2014-04-04 Thomas E. Dickey <dickey@invisible-island.net>
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
1670 2014-04-03 Thomas E. Dickey <dickey@invisible-island.net>
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
1677 * makefile.in: build mstring.o, needed for changes in reader.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.
1684 2014-04-02 Thomas E. Dickey <dickey@invisible-island.net>
1686 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen
1688 * output.c: fix typo
1690 * output.c, reader.c:
1691 merge in some chunks of reader and output files which do not affect byacc tests
1693 * test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen
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
1698 * output.c: merge chunk from btyacc changes for header-guards
1700 * btyaccpar.skel: RCS_BASE
1702 * yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues
1703 remove GCC_UNUSED to reduce name-pollution as well as being simpler
1706 move a btyacc symbol outside ifdef to work around current state of merge
1709 add USE_HEADER_GUARDS to defer whether to modify byacc's header-output
1712 do not try to compile files used for testing syntax-errors, since they are
1713 likely to be incomplete
1715 2014-04-02 Tom.Shields
1717 * main.c: changes for btyacc
1719 2014-04-01 Thomas E. Dickey <dickey@invisible-island.net>
1722 integrate change by Tom Shields to use bsearch rather than successive
1725 * defs.h: typedef __compar_fn_t is unnecessary
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
1730 2014-04-01 Tom.Shields
1732 * verbose.c: changes for btyacc, ifdef'd
1734 2014-04-01 Thomas E. Dickey <dickey@invisible-island.net>
1736 * mkpar.c: eliminate most of the ifdef's using macros
1738 2014-04-01 Tom.Shields
1740 * mkpar.c: merge btyacc changes (ifdef'd - no change to byacc)
1743 new functions used for reporting errors from the btyacc configuration
1744 (I reordered some, and ifdef'd the new ones -TD)
1746 2014-03-31 Thomas E. Dickey <dickey@invisible-island.net>
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
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:
1754 2014-03-29 Thomas E. Dickey <dickey@invisible-island.net>
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).
1762 for yacc, ignore the inherit testcases, since they are btyacc-specific
1764 2014-03-28 Thomas E. Dickey <dickey@invisible-island.net>
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
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)
1772 2014-03-28 Tom.Shields
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
1777 * defs.h: new functions/variables for btyacc
1778 (I reordered and ifdef'd -TD)
1780 * test/inherit0.y, test/inherit1.y: testcase for btyacc
1782 2014-03-27 Tom.Shields
1784 * test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y, test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y:
1787 2014-03-25 Tom.Shields
1789 * symtab.c: extra initialization needed for btyacc
1792 * yacc.1: document -L/-B features from btyacc
1794 2014-03-25 Thomas E. Dickey <dickey@invisible-island.net>
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.
1805 2014-03-25 Tom.Shields
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
1811 * mstring.c: byacc-btyacc-20140323
1813 2014-03-25 Thomas E. Dickey <dickey@invisible-island.net>
1815 * test/btyacc/RCS, test/yacc/RCS: PERMIT FILE
1817 * config_h.in: updated with autoheader-252
1819 2014-03-25 Tom.Shields
1821 * README.BTYACC: byacc-btyacc-20140323
1823 2014-03-24 Tom.Shields
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
1828 2014-03-24 Thomas E. Dickey <dickey@invisible-island.net>
1830 * defs.h: fix compiler warnings due to mputc()
1832 2014-03-23 Tom.Shields
1834 * test/btyacc_demo.y: testcase for btyacc
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
1839 * test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc
1841 2014-03-23 Thomas E. Dickey <dickey@invisible-island.net>
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
1846 * test/err_syntax26.y: testcase for missing_brace()
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
1851 * test/err_syntax25.y: testcase for over_unionized()
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
1856 * test/err_syntax24.y: testcase for default_action_warning()
1858 2014-03-23 Tom.Shields
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
1863 2014-03-23 Thomas E. Dickey <dickey@invisible-island.net>
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
1868 * test/err_syntax23.y: testcase for untyped_lhs()
1870 2014-03-23 Tom.Shields
1873 move test-outputs into subdirectories to keep btyacc/yacc results separate
1875 2014-03-23 Thomas E. Dickey <dickey@invisible-island.net>
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
1880 * test/err_syntax22.y: testcase for untyped_rhs()
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
1885 * test/err_syntax20.y: testcase for undefined_symbol_warning()
1887 * test/err_syntax21.y: testcase for unknown_rhs()
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
1892 * test/err_syntax19.y: testcase for dollar_error()
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
1897 * test/err_syntax18.y: testcase for dollar_warning()
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
1902 * test/err_syntax17.y: testcase for unterminated_action()
1904 2014-03-22 Thomas E. Dickey <dickey@invisible-island.net>
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
1909 * test/err_syntax16.y: testcase for terminal_lhs()
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
1914 * test/err_syntax15.y: testcase for no_grammar()
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
1919 * test/err_syntax14.y:
1920 testcase for restarted_warning() and undefined_goal()
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
1925 * test/err_syntax13.y: testcase for terminal_start()
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
1930 * test/err_syntax12.y: testcase for revalued_warning()
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
1935 * test/err_syntax11.y: testcase for reprec_warning()
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
1940 * test/err_syntax10.y: testcase for retyped_warning()
1942 2014-03-21 Thomas E. Dickey <dickey@invisible-island.net>
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
1947 * test/err_syntax9.y: testcase for tokenized_start()
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
1952 * test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved()
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
1957 * test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y:
1958 testcase for illegal_character()
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
1963 * test/err_syntax6.y: testcase for illegal_tag()
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
1968 * test/err_syntax5.y: testcase for unterminated_union()
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
1973 * test/err_syntax4.y: testcase for unterminated_text()
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
1978 * test/err_syntax3.y: testcase for unterminated_string()
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
1983 * test/err_syntax2.y: testcase for unterminated_comment()
1985 * test/err_syntax1.error, test/yacc/err_syntax1.error:
1986 reference output for testing
1988 * test/err_syntax1.y:
1989 test-case with syntax error (and nonprinting character)
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
1995 save stderr to reference files, to capture shift/reduce messages as well
1996 as syntax-error messages
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
2001 * test/run_test.sh: generate a ".dot" file for the grammar file
2003 * test/grammar.dot: RCS_BASE
2005 * test/yacc/grammar.dot: reference output for testing
2007 2014-03-19 Tom.Shields
2009 * output.c: rename MAXSHORT to MAXYYINT
2011 2014-03-18 Tom.Shields
2013 * yaccpar.skel: skeleton with btyacc additions
2015 * NOTES-btyacc-Changes: byacc-btyacc-20140323
2017 * test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h:
2018 reference output for testing
2021 move test-outputs into subdirectories to keep btyacc/yacc results separate
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
2027 several changes to help decouple the use of 'short' as the type of value
2028 used in yacc parsers.
2030 * NOTES-btyacc-Disposition: byacc-btyacc-20140323
2032 2014-03-17 Tom.Shields
2034 * skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE
2037 move test-outputs into subdirectories to keep btyacc/yacc results separate
2039 * configure.in: add --with-max-table-size and --enable-btyacc options
2041 2014-03-16 Tom.Shields
2043 * main.c: use Value_t rather than short
2045 2014-03-11 Tom.Shields
2047 * test/empty.y: testcase for btyacc
2049 2014-03-10 Tom.Shields
2051 * test/calc3.y, test/calc2.y: fix unused-variable warning
2053 2014-02-18 Tom.Shields
2055 * lr0.c, graph.c: use Value_t rather than short
2057 * closure.c: use Value_t rather than short
2058 ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions
2060 * lalr.c: rename MAXSHORT to MAXYYINT
2062 2014-01-01 Thomas E. Dickey <dickey@invisible-island.net>
2064 * yacc.1: document %token-table, improve presentation of double-quotes
2066 * VERSION, package/byacc.spec, package/debian/changelog: bump
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
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:
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.
2078 2014-01-01 Christos.Zoulas
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
2086 2014-01-01 Thomas E. Dickey <dickey@invisible-island.net>
2090 * yacc.1: s/EE/XE/ to work around groff bug on Debian 6
2092 * makefile.in: use CF_MAKE_DOCS
2094 * aclocal.m4: add CF_MAKE_DOCS
2096 * configure.in: use CF_MAKE_DOCS
2098 2013-12-26 Thomas E. Dickey <dickey@invisible-island.net>
2100 * config.guess: 2013-11-29
2102 2013-11-19 Thomas E. Dickey <dickey@invisible-island.net>
2104 * aclocal.m4: resync with my-autoconf (fixes for clang and mingw)
2106 2013-10-25 Thomas E. Dickey <dickey@invisible-island.net>
2108 * config.sub: 2013-10-01
2110 2013-09-25 Thomas E. Dickey <dickey@invisible-island.net>
2112 * reader.c: fix two loop-limits found by clang 3.3 --analyze
2117 tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses
2119 * package/mingw-byacc.spec: RCS_BASE
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:
2125 Increase default stack-size to match FreeBSD version noted as from
2126 "BSD 4.4 Lite Usr.bin Sources". See
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/
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.
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.
2140 RedHat #743343 misattributed the change in default stacksize to
2141 a regression in byacc, but did not report the issue upstream.
2143 * package/debian/changelog, VERSION, package/byacc.spec: bump
2145 2013-09-07 Thomas E. Dickey <dickey@invisible-island.net>
2147 * config.sub: update to 2013-09-15
2149 * config.guess: update to 2013-06-10
2151 2013-03-04 Thomas E. Dickey <dickey@invisible-island.net>
2153 * package/debian/changelog, VERSION, package/byacc.spec: bump
2156 adapt tweak from Dave Beckett to work around long-ago breakage in "new" autoconf.
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.
2163 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen
2165 * test/ftp.y: fix most compiler warnings for "make check_make"
2167 * test/calc1.tab.c: regen
2169 * test/calc1.y: fix most compiler warnings for "make check_make"
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:
2174 * skeleton.c: quiet a gcc conversion-warning in yygrowstack()
2179 another fix for CF_GCC_VERSION to handle Debian's modification of gcc message.
2181 2013-02-10 Thomas E. Dickey <dickey@invisible-island.net>
2183 * config.sub, config.guess: update to 2013-02-04
2185 2012-10-03 Thomas E. Dickey <dickey@invisible-island.net>
2187 * package/debian/changelog, package/byacc.spec, VERSION: bump
2191 * configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC
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.
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.
2201 2012-10-03 Adrian.Bunk
2204 suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since
2205 they are not needed.
2207 2012-10-03 Thomas E. Dickey <dickey@invisible-island.net>
2210 split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in
2211 Adrian's suggested changes.
2214 CF_CLANG_COMPILER - check if the given compiler is really clang.
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.
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
2230 2012-10-03 Adrian.Bunk
2233 add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by
2234 autoheader, updated macros:
2238 CF_MIXEDCASE_FILENAMES
2241 2012-10-03 Thomas E. Dickey <dickey@invisible-island.net>
2244 move existence-check for mkstemp out of the AC_TRY_RUN, to help with
2247 2012-10-02 Thomas E. Dickey <dickey@invisible-island.net>
2250 Adrian Bunk request - replace this with the output from autoheader
2252 2012-09-29 Adrian.Bunk
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
2261 * configure.in, main.c: drop check for atexit, because it is standard C
2263 * makefile.in: add assignment for datarootdir variable.
2265 2012-05-26 Thomas E. Dickey <dickey@invisible-island.net>
2267 * package/debian/changelog, package/byacc.spec, VERSION: bump
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.
2274 use the declared types Assoc_t and Value_t in some places where compiler only
2275 cared about char versus short.
2278 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
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).
2286 Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and
2290 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
2293 2012-05-25 Thomas E. Dickey <dickey@invisible-island.net>
2295 * output.c, main.c, verbose.c, mkpar.c, lr0.c:
2296 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
2299 2012-01-15 Thomas E. Dickey <dickey@invisible-island.net>
2301 * package/debian/copyright: bump
2303 * test/run_make.sh: workaround for breakage due to GNU make 3.82
2306 tested with Solaris 10 (bison 1.875) and added scripting to exercise
2307 the /usr/ccs/bin/yacc executable
2309 * test/grammar.tab.c: regen
2311 * test/grammar.y: modify to also build with Solaris yacc
2313 * VERSION, package/debian/changelog, package/byacc.spec: bump
2315 * test/yacc/calc1.output: reference output for testing
2317 * test/calc1.output, test/calc1.tab.c: regen
2320 undo the change made to appease bison, since it was only a warning.
2322 * test/pure_calc.tab.c, test/pure_error.tab.c: regen
2324 * test/run_make.sh: another fix for running from top-level directory
2327 ensure that check_make rule depends on having byacc built.
2329 * test/run_make.sh: fixes for building from parent directory
2331 * test/pure_error.y, test/pure_calc.y: bison-fixes
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:
2336 * test/code_debug.y: RCS_BASE
2338 * test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y:
2339 byacc already declares yyerror
2341 * test/pure_error.y, test/pure_calc.y:
2342 modified to help make the files build with bison
2345 supply a "%pure-parser" directive when bison needs it.
2347 * test/code_calc.code.c: regen
2349 * test/code_calc.y: modified to help make the files build with bison
2352 in testing, found that %expect did not work as documented for bison.
2353 do not recommend it for portable code.
2355 * test/run_make.sh: workaround breakage in bison's %expect directive
2357 * test/grammar.y: modified to help make the files build with bison
2359 * test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen
2361 * test/calc1.y: quiet a spurious warning from bison 2.3
2363 * test/calc1.tab.c: regen
2365 * test/calc1.y: modified to help make the files build with bison
2367 * yacc.1: comment on "-y" and "-P" options.
2369 * yacc.1: comment on portability
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:
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)
2377 * test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
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
2383 * test/calc.tab.c: regen
2385 * test/calc.y: modified to help make the files build with bison
2387 * test/error.tab.c: regen
2389 * test/error.y: modified to help make the files build with bison
2391 * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen
2394 check for older bisons which (2.3 for instance) do not support pure parsers
2396 * test/code_error.y, test/calc3.y, test/calc2.y:
2397 modified to help make the files build with bison
2399 * test/run_test.sh: use $opt2 in filenames of the generated files
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:
2404 2012-01-14 Thomas E. Dickey <dickey@invisible-island.net>
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:
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.
2416 * test/pure_calc.tab.c:
2417 modified to help make the files build with bison
2420 start work on followup, to check if the generated files build with bison.
2422 * test/pure_calc.y, test/pure_error.tab.c:
2423 modified to help make the files build with bison
2425 * test/calc3.tab.c: regen
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:
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
2433 * test/run_test.sh: generate/test with "-s" option applied.
2435 2012-01-13 Thomas E. Dickey <dickey@invisible-island.net>
2437 * package/debian/changelog, package/byacc.spec, VERSION: bump
2439 * yacc.1: improve documentation of -s option
2441 * yacc.1: note that yacc ignores -y
2443 * main.c: add -s option to usage message.
2445 * test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h:
2448 * test/yacc/quote_calc3.output, test/yacc/quote_calc4.output, test/yacc/quote_calc4.tab.h:
2449 reference output for testing
2451 * test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE
2453 * test/yacc/quote_calc.tab.h: reference output for testing
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:
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
2461 * test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE
2465 * aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE
2467 2011-12-19 Thomas E. Dickey <dickey@invisible-island.net>
2469 * package/debian/changelog, package/byacc.spec, VERSION: bump
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"
2478 Simply suppressing the second #define makes the behavior closer to yacc.
2479 (report by Paulo Andrade).
2481 2011-09-08 Thomas E. Dickey <dickey@invisible-island.net>
2483 * package/debian/changelog, package/byacc.spec, VERSION: bump
2486 fix some more interaction between -i and -d flags to ensure YYERRCODE
2487 and YYSTYPE are declared, tested with cproto.
2489 2011-09-07 Thomas E. Dickey <dickey@invisible-island.net>
2491 * yacc.1: document "-i" option.
2493 * package/debian/changelog, package/byacc.spec, VERSION: bump
2495 * output.c: fix an interaction between -i and -d
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.
2501 * skeleton.c, output.c, defs.h: changes to support "-i" option.
2503 2011-09-06 Thomas E. Dickey <dickey@invisible-island.net>
2505 * reader.c: pass explicit file-pointer to write_section()
2508 add "-i" option, to generate interface-file (suggested by Denis M. Wilson)
2510 2011-09-05 Thomas E. Dickey <dickey@invisible-island.net>
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)
2518 * defs.h, error.c, reader.c:
2519 add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson)
2521 2011-04-01 Thomas E. Dickey <dickey@invisible-island.net>
2523 * config.sub: update to 2011-04-01
2525 2011-02-02 Thomas E. Dickey <dickey@invisible-island.net>
2527 * config.guess: update to 2011-01-01
2529 2010-12-29 Thomas E. Dickey <dickey@invisible-island.net>
2531 * defs.h, skeleton.c:
2532 add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas)
2535 mark all of the error-functions as non-returning (report by Christos Zoulas)
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:
2541 use only realloc() rather than realloc+malloc, agree that systems needing this
2542 are very rare (prompted by NetBSD change).
2544 * test/ftp.tab.c: regen
2546 2010-12-29 Christos.Zoulas
2549 improve example, which was stuck in 19XX and assumed file sizes were longs.
2551 2010-12-29 Thomas E. Dickey <dickey@invisible-island.net>
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:
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
2560 remove explicit prototype for yylex() via YYLEX_DECL() macro, since that
2561 would prevent declaring yylex() static (request by Christos Zoulas).
2563 * test/calc2.tab.c, test/calc3.tab.c: regen
2565 2010-12-29 Christos.Zoulas
2567 * output.c: correct definition for YYERROR_DECL()
2569 2010-12-29 Thomas E. Dickey <dickey@invisible-island.net>
2571 * package/debian/changelog, package/byacc.spec, VERSION: bump
2573 2010-12-26 Thomas E. Dickey <dickey@invisible-island.net>
2576 change return-type of allocate() to avoid warnings of alignment problems
2578 * main.c: Solaris declares chmod() in <sys/stat.h>
2582 * main.c: ifdef'd use of fcntl.h
2584 * configure.in: add configure checks for fcntl.h, atexit and mkstemp
2586 * main.c: for cases where mkstemp() is not available, use tempnam/open
2588 * aclocal.m4: add CF_MKSTEMP
2591 improve quoting, deprecate ${name-value} in favor of standard ${name:-value}
2593 2010-12-25 Thomas E. Dickey <dickey@invisible-island.net>
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
2600 * package/debian/changelog, package/byacc.spec, VERSION: bump
2602 2010-11-27 Thomas E. Dickey <dickey@invisible-island.net>
2604 * package/byacc.spec, package/debian/changelog, VERSION: bump
2606 * test/calc2.tab.c, test/calc3.tab.c: regen
2609 corrected use of %parse-param value in yyerror(); it doesn't use &yylval
2610 (report by Clifford Yapp)
2612 2010-11-26 Thomas E. Dickey <dickey@invisible-island.net>
2617 correct line-numbering when "-r" option is used; the 'outline' variable
2618 should only be incremented when writing to the code-file.
2620 * test/code_calc.code.c, test/code_error.code.c: regen
2624 * yacc.1: comment on -b option vs -r
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:
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.
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:
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.
2641 * skeleton.c, defs.h: generate yyerror() calls in output.c
2643 * output.c: simplified a little, using putc_code() and putl_code()
2645 * test/yacc/calc1.tab.h: reference output for testing
2647 * test/calc1.tab.h: regen
2650 improve ifdef for YYSTYPE union declaration (report by Clifford Yapp)
2653 accept underscore as a replacement for dash in command names, e.g.,
2654 "%pure_parser" vs "%pure-parser".
2656 * test/calc1.tab.c: regen
2658 * output.c, reader.c:
2659 also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp)
2661 * package/debian/changelog, package/byacc.spec, VERSION: bump
2663 2010-11-24 Thomas E. Dickey <dickey@invisible-island.net>
2665 * main.c, defs.h, symtab.c, error.c: reduce global variables
2667 * package/debian/changelog, package/byacc.spec, VERSION: bump
2670 amend fix for Redhat #112617 to still call default_action_warning() for
2671 empty rules (report by Bruce Cran).
2673 2010-11-22 Thomas E. Dickey <dickey@invisible-island.net>
2676 add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp).
2678 * test/calc1.tab.c: regen
2680 * test/calc1.y: cleanup compiler warnings
2682 * test/grammar.y: add "%expect"
2684 * test/calc1.tab.h: regen
2686 * test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE
2688 * test/calc2.tab.c, test/calc3.tab.c: regen
2691 advanced example from Steve Johnson's paper, uses unions
2693 * test/calc3.y, test/calc2.y: init 'base', so examples can run
2695 * test/ftp.tab.c, test/ftp.y: tweaks to compile with g++
2697 * output.c: compensate for fix in 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.
2703 * package/debian/changelog, package/byacc.spec, VERSION: bump
2705 2010-09-28 Thomas E. Dickey <dickey@invisible-island.net>
2707 * config.guess: update to 2010-09-24
2709 2010-09-10 Thomas E. Dickey <dickey@invisible-island.net>
2711 * config.sub: update to 2010-09-11
2713 2010-06-10 Thomas E. Dickey <dickey@invisible-island.net>
2715 * yacc.1, package/debian/changelog, package/byacc.spec, VERSION:
2718 2010-06-09 Thomas E. Dickey <dickey@invisible-island.net>
2720 * reader.c: free declarations in leak-testing code.
2722 * main.c: close code_file if -r option used, for leak-testing
2725 improve %lex-param / %parse-param implementation by allowing for arrays to
2726 be passed as parameters, e.g., "int regs[26]".
2728 * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h:
2731 * test/yacc/calc3.output, test/yacc/calc3.tab.h:
2732 reference output for testing
2734 * test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE
2736 * test/yacc/calc2.tab.h: reference output for testing
2738 * test/calc2.output: RCS_BASE
2740 * test/yacc/calc2.output: reference output for testing
2743 improve %lex-param / %parse-param implementation by allowing for arrays to
2744 be passed as parameters, e.g., "int regs[26]".
2746 * test/calc.tab.c, test/calc.y:
2747 test-cases and reference files for %lex-param / %parse-param
2749 * makefile.in: add docs-rule, for html/pdf/txt form of manpage
2753 * aclocal.m4: add CF_XOPEN_SOURCE, etc.
2756 use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89
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
2761 2010-06-08 Thomas E. Dickey <dickey@invisible-island.net>
2763 * output.c: fix to build with c89, etc.
2765 * reader.c: gcc warning
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.
2772 move call for output_stype() earlier since it is used in pure-parser declarations
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.
2778 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2781 * yacc.1: document %lex-param and %parse-param
2783 * test/run_lint.sh, test/run_make.sh: RCS_BASE
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.
2790 add check_make and check_lint rules to help validate the generated files
2791 in the test-directory
2793 2010-06-07 Thomas E. Dickey <dickey@invisible-island.net>
2795 * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE
2798 provide for testing -r and -P options by checking if the ".y" filename
2799 begins with "code_" or "pure_", respectively.
2801 * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h:
2804 * test/yacc/code_error.tab.h: reference output for testing
2806 * test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h:
2809 * test/yacc/code_calc.tab.h: reference output for testing
2811 * test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h:
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
2817 * test/code_calc.output, test/code_error.output: RCS_BASE
2819 * test/yacc/code_calc.output, test/yacc/code_error.output:
2820 reference output for testing
2822 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen
2825 changes to support running "make check" in a separate build-tree
2827 * main.c: add "-P" to usage message
2829 * reader.c: use UCH() macro to hide casts.
2831 2010-06-07 Andres.Mejia
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.
2839 Implement support for YYLEX_PARAM, similar to bison. This is useful for
2840 support for building reentrant lexers with flex.
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.
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
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
2858 2010-06-07 Thomas E. Dickey <dickey@invisible-island.net>
2860 * VERSION: bump to 2010/06/07
2862 2010-06-06 Thomas E. Dickey <dickey@invisible-island.net>
2864 * test/calc.tab.c, configure: regen
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
2871 * lr0.c, error.c, reader.c, defs.h:
2872 strict gcc 3.4.6 warnings on 64-bit platform
2874 * aclocal.m4, configure.in: add check for lint
2876 * makefile.in: add lint rule
2878 * defs.h, closure.c, lr0.c, warshall.c, main.c:
2879 fix gcc warnings, mostly for 64-bit platform
2882 add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc
2884 * makefile.in: add etags/TAGS if available
2886 * configure.in: add configure check for actual ctags and etags programs
2888 * package/debian/copyright: add copyright notices for non-PD files
2890 * package/debian/changelog:
2891 incorporated scripts in upstream to use for test-builds
2893 * makefile.in: drop mkdirs.sh, just use "mkdir -p"
2895 * AUTHORS: nicknames for some contributors (see CHANGES for details)
2897 * package/byacc.spec: RPM file for byacc
2899 * VERSION: bump to 2010/06/06
2901 * aclocal.m4: add copyright notice, from "my-autoconf" macros
2902 http://invisible-island.net/autoconf/autoconf.html
2904 * package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS:
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
2913 2010-04-20 Thomas E. Dickey <dickey@invisible-island.net>
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
2918 2010-02-16 Thomas E. Dickey <dickey@invisible-island.net>
2920 * yacc.1: document -P and bison-extensions
2922 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
2925 * output.c: implement %pure-parser
2928 implement %pure-parser, like bison. To help with this, changed the stack
2929 variables, putting them into a struct.
2931 * reader.c: implement %pure-parser
2933 * defs.h: modified skeleton to support %pure-parser feature
2935 * main.c: add -P option to set %pure-parser
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.
2945 * defs.h: add definitions for %pure-parser
2948 put blank line before/after the redeclaration of yyparse()
2950 * output.c: allow for other program redefining yylex()
2953 split-off xdecls[] array, to move declaration of yyparse() after #define's
2955 * defs.h: split-out xdecls[]
2961 * aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS
2964 resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes.
2966 2010-02-16 Ostap.Cherkashi
2968 * skeleton.c: fix a memory leak in the generated skeleton
2970 2010-01-01 Thomas E. Dickey <dickey@invisible-island.net>
2972 * package/debian/source/format: scripts from Debian package
2974 2009-12-31 Thomas E. Dickey <dickey@invisible-island.net>
2976 * config.guess: update to 2009-12-30
2978 * config.sub: update to 2009-12-31
2980 2009-10-27 Thomas E. Dickey <dickey@invisible-island.net>
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
2987 2009-10-26 Thomas E. Dickey <dickey@invisible-island.net>
2989 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
2992 * main.c, defs.h: introduce some typedefs for portability, etc.
2995 don't remove "*.log" in mostlyclean rule since it interferes with regression
3000 * aclocal.m4: resync with my-autoconf
3002 2009-08-25 Thomas E. Dickey <dickey@invisible-island.net>
3004 * config.guess, config.sub: update to 2009-08-19
3006 2009-02-21 Thomas E. Dickey <dickey@invisible-island.net>
3010 * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
3012 2008-12-26 Thomas E. Dickey <dickey@invisible-island.net>
3014 * configure: regen with autoconf-2.52 (patched)
3016 2008-12-25 Thomas E. Dickey <dickey@invisible-island.net>
3018 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
3021 2008-12-24 Thomas E. Dickey <dickey@invisible-island.net>
3026 remove ifdef-lint from goto yyerrlab, to quiet gcc warning
3028 2008-11-26 Thomas E. Dickey <dickey@invisible-island.net>
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.
3034 2008-11-24 Thomas E. Dickey <dickey@invisible-island.net>
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)
3039 2008-08-27 Thomas E. Dickey <dickey@invisible-island.net>
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
3047 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
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.
3052 * configure: regen'd
3054 * configure.in: add -Wwrite-strings to warnings
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
3060 add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features.
3062 * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c:
3063 fixes for gcc -Wwrite-strings
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)
3068 * output.c: realign columns in start_table()
3071 generate the tables as static-const (this is an interface change)
3073 * output.c: reorder functions to eliminate forward-references
3075 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
3076 remove 'register' keywords
3078 2008-08-26 Thomas E. Dickey <dickey@invisible-island.net>
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
3083 2008-08-25 Thomas E. Dickey <dickey@invisible-island.net>
3085 * test/ftp.tab.c: regen'd
3088 improve the left-curly fix by testing after blanks, to avoid having a
3089 " {" at the beginning of a line.
3091 * test/error.tab.c, test/grammar.tab.c: regen'd
3094 move the remaining newline-counting into write_XXX functions.
3096 * test/calc.tab.c: regen'd
3099 simplify part of the output_file formatting using new functions, e.g.,
3100 start_int_table(), output_newline().
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).
3108 * skeleton.c: minor fixes to avoid gcc -Wconversion warnings
3110 * output.c: align the #define's produced for "-p" option
3112 * test/run_test.sh: use the "-p" option for better coverage.
3114 * output.c: simplify output_prefix() with new define_prefixed()
3116 * skeleton.c: include string.h, for memset()
3117 change stack size to unsigned to fix gcc -Wconversion warnings.
3119 * VERSION: bump to 2008/8/25
3121 * makefile.in: add dependency on VERSION file.
3123 2008-08-24 Thomas E. Dickey <dickey@invisible-island.net>
3127 * lalr.c: improved memory-leak checking by freeing data in includes[]
3129 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
3130 update to match skeleton-change
3132 * configure: regen'd
3134 * skeleton.c: Add fix for stack discussed
3135 http://undeadly.org/cgi?action=article&sid=20080708155228
3137 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29
3139 * aclocal.m4: resync with my-autoconf (no major changes)
3141 2008-07-24 Thomas E. Dickey <dickey@invisible-island.net>
3143 * package/pkgsrc/Makefile, package/pkgsrc/distinfo:
3144 scripts from NetBSD pkgsrc, for test-builds
3146 2008-03-14 Thomas E. Dickey <dickey@invisible-island.net>
3148 * config.sub: update to 2008-03-08
3150 * config.guess: update to 2008-03-12
3152 2007-05-09 Thomas E. Dickey <dickey@invisible-island.net>
3154 * main.c: close graph, verbose files if opened, on exit.
3157 audit memory leaks - valgrind reported some memory still in use on exit.
3159 * lalr.c, output.c, reader.c, mkpar.c, lr0.c:
3160 add hook for auditing memory leaks
3162 * defs.h: add hooks for auditing memory leaks
3164 * configure: regen'd
3167 use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind,
3168 --with-dbmalloc and --with-dmalloc
3170 * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND
3172 * aclocal.m4: improve version-checking in CF_GCC_VERSION
3173 rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro
3177 * main.c: file_prefix did not always have a trailing null.
3179 2007-03-25 Thomas E. Dickey <dickey@invisible-island.net>
3181 * mkdirs.sh: improved version for "make -j"
3183 2006-12-22 Thomas E. Dickey <dickey@invisible-island.net>
3185 * config.guess: update to 2006/12/22
3187 2006-12-08 Thomas E. Dickey <dickey@invisible-island.net>
3189 * config.sub: update to 2006/12/08
3191 2005-08-13 Thomas E. Dickey <dickey@invisible-island.net>
3193 * main.c: add -V to usage message
3195 * makefile.in: remove -t option from ctags
3197 * VERSION: 2005/8/13
3201 * main.c: Sylvain Schmitz:
3202 modify the '-o' option to work like bison's, which sets the file-prefix.
3204 2005-08-13 Matt.Kraai
3207 Debian #322858 (don't close union_file, which contained data).
3208 This feature is used in groff.
3210 2005-08-13 Thomas E. Dickey <dickey@invisible-island.net>
3212 * configure: regenerated
3214 * aclocal.m4: improve checks for Intel compiler warnings
3216 2005-06-25 Thomas E. Dickey <dickey@invisible-island.net>
3218 * config.sub: update to 2005/6/2
3220 * config.guess: update to 2005/5/27
3222 2005-05-05 Thomas E. Dickey <dickey@invisible-island.net>
3224 * defs.h: add a fallback for GCC_UNUSED
3226 2005-05-04 Thomas E. Dickey <dickey@invisible-island.net>
3228 * makefile.in: add "." to include-path to pickup config.h
3231 apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617.
3234 correct a limit check in pack_vector() - report/analysis by William Evans
3237 exit after printing version. Otherwise "yacc -V" will exit with an erro
3238 after printing the usage message.
3240 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
3241 regenerated after skeleton-changes
3243 * skeleton.c: replace a few -1's with YYEMPTY
3246 delete yynewerror (no one uses it any more, and it just makes compiler warnings)
3248 * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD
3251 filter out lines with YYPATCH, since that will change with each update
3253 * yacc.1: add -V option
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().
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.
3264 add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and
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.
3272 the VERSION file holds the patch-date. Define YYPATCH, so this will be
3273 compiled into the skeleton.
3275 * VERSION: patch-level for byacc
3278 add "-o" to usage message. It is too long for a single line; rewrite usage()
3279 to show one option per line.
3281 2005-05-03 Thomas E. Dickey <dickey@invisible-island.net>
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.
3289 * defs.h: remove unnecessary externs for main.c
3291 * yacc.1: add -o option
3293 * graph.c: remove unused parameter
3295 * mkpar.c, defs.h, reader.c:
3296 add support for "%expect", a bison feature from FreeBSD sources
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:
3301 * configure: regenerated for 2005/5/5
3303 * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER)
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'
3312 2005-04-16 Thomas E. Dickey <dickey@invisible-island.net>
3314 * config.sub: update to 2005/2/10
3316 * config.guess: update to 2005/3/24
3318 2005-04-13 Thomas E. Dickey <dickey@invisible-island.net>
3320 * package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds
3322 2005-03-21 Thomas E. Dickey <dickey@invisible-island.net>
3324 * package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds
3326 2004-03-28 Thomas E. Dickey <dickey@invisible-island.net>
3328 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
3329 updates due to adding yyparse() prototype
3331 * configure: RCS_BASE
3334 add AC_ARG_PROGRAM to make --program-prefix, etc., work.
3336 * makefile.in: first cut of script to support --program-prefix
3339 reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52
3341 * makefile.in: modify so DESTDIR works
3343 * makefile.in: use EXEEXT and OBJEXT
3345 * configure.in: use CF_PROG_EXT
3348 * defs.h: make this use the generated config.h
3350 * skeleton.c: add a forward-reference for yyparse()
3352 * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT
3354 * yacc.1: remove the discussion of TMPDIR since it is obsolete
3356 * skeleton.c: fix a couple of minor compiler-warnings in the skeleton
3358 * defs.h: remove action_file_name, etc., since we use tmpfile() now.
3361 use tmpfile() for opening the working files. This quiets a warning
3362 advising the use of mkstemp().
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.
3368 * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE
3370 * test/yacc/grammar.output, test/yacc/grammar.tab.h:
3371 reference output for testing
3373 * makefile.in: turn on "make check" rule
3375 * test/calc.output: RCS_BASE
3377 * test/yacc/calc.output: reference output for testing
3379 * test/run_test.sh, test/calc.tab.h: RCS_BASE
3381 * test/yacc/calc.tab.h: reference output for testing
3383 * test/ftp.tab.c: yyparse() is now yyparse(void)
3385 * test/calc.tab.c: RCS_BASE
3387 * test/error.tab.c: yyparse() is now yyparse(void)
3389 * test/README: RCS_BASE
3391 * yacc.1: various typography fixes prompted by Debian #100947
3393 * aclocal.m4, makefile.in, configure.in: RCS_BASE
3395 * README: updated to note that this is not the original
3397 2004-03-24 Thomas E. Dickey <dickey@invisible-island.net>
3399 * test/grammar.y: RCS_BASE
3401 2004-02-23 Thomas E. Dickey <dickey@invisible-island.net>
3403 * config.sub: RCS_BASE
3405 2004-02-17 Thomas E. Dickey <dickey@invisible-island.net>
3407 * config.guess: RCS_BASE
3409 2003-11-29 Thomas E. Dickey <dickey@invisible-island.net>
3411 * install-sh: improved quoting
3413 2002-06-29 Thomas E. Dickey <dickey@invisible-island.net>
3416 don't use character range, since some locales don't work as expected
3418 2001-06-22 Thomas E. Dickey <dickey@clark.net>
3420 * install-sh: RCS_BASE
3422 2000-11-20 Thomas E. Dickey <dickey@clark.net>
3424 * test/calc.y: RCS_BASE
3426 * test/code_calc.y, test/pure_calc.y: copy of calc.y
3428 * vmsbuild.com: original version
3430 2000-02-23 Thomas E. Dickey <dickey@clark.net>
3432 * test/RCS, RCS: PERMIT FILE
3434 2000-02-14 Thomas E. Dickey <dickey@clark.net>
3436 * main.c: fix for VMS port - making pathname for temp-file
3438 * descrip.mms: original version
3440 2000-02-13 Thomas E. Dickey <dickey@clark.net>
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:
3445 1999-11-30 Thomas E. Dickey <dickey@clark.net>
3447 * mkdirs.sh: RCS_BASE
3449 1995-01-01 Thomas E. Dickey <dickey@clark.net>
3451 * config_h.in: RCS_BASE
3455 * README.DOS, main.c: MSDOS-port
3459 * reader.c, defs.h: MSDOS-port
3463 * README: original version
3467 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE
3469 1993-02-22 dickey@software.org
3471 * test/yacc/error.output, test/yacc/error.tab.h:
3472 reference output for testing
3476 * test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE
3478 * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES:
3483 * yacc.1: original version
3487 * defs.h: original version
3491 * mkpar.c, verbose.c: original version
3495 * lr0.c, Makefile, Makefile.old: original version
3499 * NEW_FEATURES: original version
3503 * ACKNOWLEDGEMENTS: original version
3507 * symtab.c, lalr.c, error.c: original version
3509 1990-01-16 dickey@software.org
3511 * test/code_error.y, test/pure_error.y: RCS_BASE
3515 * test/error.y: RCS_BASE
3519 * NO_WARRANTY: original version
3523 * test/ftp.y: RCS_BASE