1 2022-01-01 Thomas E. Dickey <dickey@invisible-island.net>
4 adjust to ignore NetBSD's difference in getopt warnings.
6 * package/pkgsrc/Makefile: resync with pkgsrc
8 * test/yacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.c: regen
10 * test/expr.oxout.y, test/expr.oxout.h: fix gcc warnings
12 * test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h: regen
14 * test/run_make.sh: workaround for compiling the expr.oxout.y files
16 * test/expr.oxout.y: fix syntax error
18 * test/btyacc/expr.oxout.tab.c: regen
20 * test/expr.oxout.h: RCS_BASE
22 * test/yacc/expr.oxout.tab.c: fix syntax error
24 * test/btyacc/expr.oxout.tab.c: regen, s/expr.oxout/expr_oxout/g
26 * test/btyacc/expr.oxout.tab.h: regen
29 filter the default prefix to change "." to "_", so that the generated
30 files will compile consistently with run_make.sh
32 * package/debian/control, package/debian/prerm, package/debian/postinst:
33 add "byacc2" as an alternative for "yacc"
35 * package/byacc.spec, package/debian/control, package/debian/rules:
36 rename "btyacc" to "byacc2" to co-exist with traditional "btyacc" package
38 * package/debian/copyright, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
41 2021-12-24 Thomas E. Dickey <dickey@invisible-island.net>
43 * package/debian/rules: fixes from Debian package for lintian warnings
45 * package/debian/control: updates for Debian standard
47 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
50 * package/debian/docs, package/debian/copyright, package/debian/control:
51 errata from Debian package
53 * config.sub: 2021-12-24
54 From: Dmitry V. Levin <ldv@altlinux.org>
55 config.sub: alias aarch64le to aarch64
57 Apparently, QNX reports aarch64 as aarch64le on little-endian machines.
59 * config.sub (aarch64le-*): Set cpu to aarch64.
61 * doc/config.sub.1: Regenerate.
62 * testsuite/config-sub.data (aarch64le-qnx): New test.
64 Reported-by: Elad Lahav <e2lahav@gmail.com>
65 Link: https://lists.gnu.org/archive/html/config-patches/2021-12/msg00009.html
67 2021-12-16 Thomas E. Dickey <dickey@invisible-island.net>
71 * aclocal.m4: resync with my-autoconf
73 2021-12-13 Thomas E. Dickey <dickey@invisible-island.net>
75 * config.sub: 2021-10-27
76 From: Dmitry V. Levin <ldv@altlinux.org>
77 config.sub: fix typo in timestamp
79 * config.sub: Fix timestamp.
80 * doc/config.sub.1: Regenerate.
82 Reported-by: Jordi Sanfeliu <jordi@fibranet.cat>
83 Fixes: a013aac61edfa2a03727521508286480010e7bf3
84 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
86 2021-11-30 Thomas E. Dickey <dickey@invisible-island.net>
88 * config.guess: 2021-11-30
89 From: Andreas F. Borchert <github@andreas-borchert.de>
90 config.guess: x86_64-pc-solaris2.11 is not properly recognized
92 config.guess guesses Solaris 11 to run on a 32-bit platform
93 despite Solaris 11 no longer supporting any 32-bit platform.
95 See the following code at lines 434 to 445:
98 | # If there is a compiler, see if it is configured for 64-bit objects.
99 | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
100 | # This test works for both compilers.
101 | if test "$CC_FOR_BUILD" != no_compiler_found; then
102 | if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
103 | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
104 | grep IS_64BIT_ARCH >/dev/null
110 If "cc" is installed, i.e. the Oracle Studio compiler, this one is
111 chosen for $CC_FOR_BUILD. This compiler, the gcc provided by Oracle
112 and also gcc bootstrapped from sources on that platform with a default
113 configuration will by default generate 32-bit binaries -- even on
114 a 64-bit platform. And __amd64 will not be defined for compilations
115 targeting a 32-bit platform. This is different from the corresponding
116 behaviour on GNU/Linux systems where the local platform is targeted by
119 Thus, as long as you do not add "-m64" or if you have a custom-built
120 gcc which defaults to 64 bit, you will get 32-bit binaries on Solaris
121 despite living on a 64-bit platform.
123 * config.guess (i86pc:SunOS:5.*:* || i86xen:SunOS:5.*:*): Adapt the
124 test by adding the "-m64" flag. This will work properly for Solaris
125 10 as well (the last Solaris release that supported x86 32-bit
127 * doc/config.guess.1: Regenerate.
129 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
131 2021-10-27 Thomas E. Dickey <dickey@invisible-island.net>
133 * config.guess: 2021-10-27
134 From: Jordi Sanfeliu <jordi@fibranet.cat>
138 cd testsuite && bash config-guess.sh && rm uname
139 PASS: config.guess checks (137 tests)
140 cd testsuite && bash config-sub.sh
141 PASS: config.sub checks (882 tests)
142 PASS: config.sub idempotency checks (819 tests)
143 PASS: config.sub canonicalise each config.guess testcase (137 tests)
145 * config.guess (i*86:Fiwix:*:*): Recognize.
146 * config.sub (fiwix*): Likewise.
147 * doc/config.guess.1: Regenerate.
148 * doc/config.sub.1: Likewise.
149 * testsuite/config-guess.data: Add a test case for Fiwix.
150 * testsuite/config-sub.data (i386-fiwix): New test.
152 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
154 * config.sub: 2021-20-27
155 From: Jordi Sanfeliu <jordi@fibranet.cat>
159 cd testsuite && bash config-guess.sh && rm uname
160 PASS: config.guess checks (137 tests)
161 cd testsuite && bash config-sub.sh
162 PASS: config.sub checks (882 tests)
163 PASS: config.sub idempotency checks (819 tests)
164 PASS: config.sub canonicalise each config.guess testcase (137 tests)
166 * config.guess (i*86:Fiwix:*:*): Recognize.
167 * config.sub (fiwix*): Likewise.
168 * doc/config.guess.1: Regenerate.
169 * doc/config.sub.1: Likewise.
170 * testsuite/config-guess.data: Add a test case for Fiwix.
171 * testsuite/config-sub.data (i386-fiwix): New test.
173 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
175 2021-10-18 Thomas E. Dickey <dickey@invisible-island.net>
177 * config.sub: 2021-08-14
178 From: Kinshuk Dua <kinshukdua@gmail.com>
179 config.sub: Fix typo in comment
181 Fixes: 5e531d391852a54e7fab2d8ff55625fca514b305
182 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
184 2021-08-14 Thomas E. Dickey <dickey@invisible-island.net>
186 * config.sub: 2021-08-14
187 From: Nick Bowler <nbowler@draconx.ca>
188 config.sub: work around command assignment bug in some shells
190 When combining variable assignments with a shell command, some older
191 shells (notably heirloom-sh and presumably also Solaris 10 /bin/sh)
192 have a bug which causes the assignment to alter the current execution
193 environment whenever the command is a shell built-in. For example:
195 % dash -c 'x=good; x=bad echo >/dev/null; echo $x'
198 % jsh -c 'x=good; x=bad echo >/dev/null; echo $x'
201 The config.sub script contains a few commands of the form:
205 which triggers this bug, causing the IFS assignment to persist for the
206 remainder of the script. This can cause misbehaviour in certain cases,
209 % jsh config.sub i386-linux-gnu
210 config.sub: test: unknown operator gnu
212 % jsh config.sub i386-gnu/linux
213 sed: can't read s|gnu/linux|gnu|: No such file or directory
214 Invalid configuration `i386-gnu/linux': OS `' not recognized
216 * config.sub: Save and restore IFS explicitly to avoid shell bugs.
217 * doc/config.sub.1: Regenerate.
219 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
221 2021-08-08 Thomas E. Dickey <dickey@invisible-island.net>
224 fix memory-leak when replacing $$'s in destructor code (report/testcase
227 * main.c: account for a memory-leak
229 * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/defines1.calc.c, test/yacc/defines2.calc.c, test/yacc/defines3.calc.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c, test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c, test/yacc/varsyntax_calc1.tab.c, btyaccpar.c, yaccpar.c:
232 * btyaccpar.skel, yaccpar.skel:
233 revert change to initialization of yystate, which confuses gcc, making a
236 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
239 2021-08-04 Thomas E. Dickey <dickey@invisible-island.net>
241 * config.sub: 2021-08-04
242 From: Jeremy Soller <jackpot51@gmail.com>
243 config.sub: add Linux Relibc Target
246 cd testsuite && bash config-guess.sh && rm uname
247 PASS: config.guess checks (136 tests)
248 cd testsuite && bash config-sub.sh
249 PASS: config.sub checks (881 tests)
250 PASS: config.sub idempotency checks (818 tests)
251 PASS: config.sub canonicalise each config.guess testcase (136 tests)
253 * config.sub (relibc*): Recognize.
254 * doc/config.sub.1: Regenerate.
255 * testsuite/config-sub.data (x86_64-linux-relibc): New test.
257 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
259 2021-08-02 Thomas E. Dickey <dickey@invisible-island.net>
261 * main.c, yacc.1: add "-h" option
263 * test/btyacc/no_b_opt.error, test/btyacc/no_output2.error, test/btyacc/no_p_opt.error, test/btyacc/big_b.error, test/btyacc/big_l.error, test/btyacc/help.error, test/btyacc/nostdin.error, test/yacc/big_b.error, test/yacc/big_l.error, test/yacc/help.error, test/yacc/no_b_opt.error, test/yacc/no_output2.error, test/yacc/no_p_opt.error, test/yacc/nostdin.error:
267 map any of bison's long-options which have a corresponding yacc option
268 into the latter, without depending upon getopt_long().
270 * main.c: suggested patch:
271 From: Boris Kolpackov <boris@codesynthesis.com>
272 Subject: Re: [PATCH] support bison's --defines and --output options in byacc
274 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
277 2021-08-01 Thomas E. Dickey <dickey@invisible-island.net>
279 * test/btyacc/inherit2.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c:
283 fix a misplaced #line, which was after a generated line in the code-file
285 * test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, test/yacc/code_calc.code.c, test/yacc/defines1.calc.c, test/yacc/defines2.calc.c, test/yacc/defines3.calc.c, test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c:
289 add a state-machine to output_semantic_actions() to detect and replace
290 the "#line" directives added by Roland Illig's change, making them show
291 the actual line-numbers in the code-file.
293 * test/btyacc/pure_calc.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, test/btyacc/code_calc.code.c, test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c:
297 adapt a patch by Roland Illig which added #line directives with dummy
298 filename and line number, because the debug information was incorrect.
299 The actual fix (see output_semantic_actions) is to emit #line directives
300 which correspond to the code-file.
302 * reader.c: simplify an ifdef so I can balance {/}
304 * output.c: use new macro
306 * defs.h: add fprintf_lineno macro
309 make that a little simpler - but I see that this should be using the
310 code-file's line-numbering rather than ""
313 make that into a macro, and add a begin_case() to more/less match (the
314 #line's are not together in some btyacc cases...)
316 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
319 2021-07-14 Thomas E. Dickey <dickey@invisible-island.net>
321 * reader.c: From: Roland Illig <roland.illig@gmx.de>
322 Subject: small patch for byacc
324 this splits up "\nbreak;\n" output to put #line directives after first "\n"
326 2021-07-06 Thomas E. Dickey <dickey@invisible-island.net>
328 * config.sub: 2021-07-06
329 From: Stephanos Ioannidis <root@stephanos.io>
330 config.sub: add Zephyr RTOS support
332 This adds the Zephyr RTOS targets in preparation for implementing the
333 Zephyr RTOS-specific toolchain support.
336 cd testsuite && bash config-guess.sh && rm uname
337 PASS: config.guess checks (136 tests)
338 cd testsuite && bash config-sub.sh
339 PASS: config.sub checks (880 tests)
340 PASS: config.sub idempotency checks (817 tests)
341 PASS: config.sub canonicalise each config.guess testcase (136 tests)
343 * config.sub (zephyr*): Recognize.
344 * doc/config.sub.1: Regenerate.
345 * testsuite/config-sub.data: Add testcases for *-zephyr.
347 Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
348 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
350 2021-07-03 Thomas E. Dickey <dickey@invisible-island.net>
352 * config.sub: 2021-07-03
353 From: Ozkan Sezer <sezero@users.sourceforge.net>
354 config.sub: disable shellcheck SC2006 / SC2268 warnings
356 This is in line with the recent config.guess change in commit
357 12fcf67c9108f4c4b581eaa302088782f0ee40ea
359 * config.sub (shellcheck disable): Add SC2006,SC2268.
361 Suggested-by: Jacob Bachmeyer <jcb@gnu.org>
362 Signed-off-by: Ozkan Sezer <sezero@users.sourceforge.net>
363 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
365 * config.sub: 2021-07-03
366 From: Ozkan Sezer <sezero@users.sourceforge.net>
367 config.sub: normalize the quoting in the `echo FOO | sed ...`
369 Some cases quote the argument to echo and some do not. At runtime
370 it probably does not matter because the substituted values will never
371 contain whitespace, but quoting them all would make shellcheck more
374 * config.sub: Consistently quote the argument of echo.
375 * doc/config.sub.1: Regenerate.
377 Suggested-by: Jacob Bachmeyer <jcb@gnu.org>
378 Signed-off-by: Ozkan Sezer <sezero@users.sourceforge.net>
379 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
381 2021-07-02 Thomas E. Dickey <dickey@invisible-island.net>
383 * config.sub: 2021-06-03
384 From: Ozkan Sezer <sezero@users.sourceforge.net>
385 config.sub: replace POSIX $( ) with classic ` ` throughout
387 This is in line with the recent config.guess change in commit
388 d70c4fa934de164178054c3a60aaa0024ed07c91.
390 The patch was generated using patch-6.gawk script introduced in that
393 * config.sub: Revert POSIX command substitutions to classic form.
395 Signed-off-by: Ozkan Sezer <sezero@users.sourceforge.net>
396 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
398 2021-06-19 Thomas E. Dickey <dickey@invisible-island.net>
402 * aclocal.m4: resync with my-autoconf
404 * test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c, btyaccpar.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/defines1.calc.c, test/yacc/defines2.calc.c, test/yacc/defines3.calc.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/rename_debug.c, test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c, yaccpar.c:
407 * btyaccpar.skel, yaccpar.skel: cancel unused assignments
409 * output.c: gcc warning
411 * test/run_test.sh, test/run_lint.sh, test/run_make.sh:
416 * test/run_test.sh: changes suggested at
417 https://github.com/jannick0/byacc-snapshots/tree/YYINT-fix-20210520
419 2021-06-19 Thomas E. Dickey <dickey@invisible-island.net>
421 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
424 2021-06-13 Thomas E. Dickey <dickey@invisible-island.net>
426 * aclocal.m4: resync with my-autoconf
428 2021-06-04 Thomas E. Dickey <dickey@invisible-island.net>
430 * config.guess: 2021-06-03
431 From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
434 This is the 32-bit variant of ARCv3 ISA (which is not compatible with the
438 | cd testsuite && bash config-guess.sh && rm uname
439 | PASS: config.guess checks (136 tests)
440 | cd testsuite && bash config-sub.sh
441 | PASS: config.sub checks (864 tests)
442 | PASS: config.sub idempotency checks (801 tests)
443 | PASS: config.sub canonicalise each config.guess testcase (136 tests)
445 * config.guess (arc32:Linux:*:*): Recognize.
446 * config.sub (arc32): Likewise.
447 * doc/config.guess.1: Regenerate.
448 * doc/config.sub.1: Likewise.
449 * testsuite/config-guess.data: Add a test case for arc32.
450 * testsuite/config-sub.data (arc32, arc*-elf): Add test cases.
452 Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
453 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
455 * config.sub: 2021-06-03 (repaired)
456 From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
459 This is the 32-bit variant of ARCv3 ISA (which is not compatible with the
463 | cd testsuite && bash config-guess.sh && rm uname
464 | PASS: config.guess checks (136 tests)
465 | cd testsuite && bash config-sub.sh
466 | PASS: config.sub checks (864 tests)
467 | PASS: config.sub idempotency checks (801 tests)
468 | PASS: config.sub canonicalise each config.guess testcase (136 tests)
470 * config.guess (arc32:Linux:*:*): Recognize.
471 * config.sub (arc32): Likewise.
472 * doc/config.guess.1: Regenerate.
473 * doc/config.sub.1: Likewise.
474 * testsuite/config-guess.data: Add a test case for arc32.
475 * testsuite/config-sub.data (arc32, arc*-elf): Add test cases.
477 Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
478 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
480 2021-05-26 Thomas E. Dickey <dickey@invisible-island.net>
482 * config.guess: 2021-05-24
483 From: Jacob Bachmeyer <jcb@gnu.org>
484 config.guess: manual fixups after previous automatic patch
486 The tool could not handle command substitutions that span lines, but
487 fortunately there were only two such substitutions in the script.
489 The test for which universe is active on Pyramid is rewritten into a
490 case block because it was the only use of a command substitution as an
491 argument to the test command, which would require quoting.
493 * config.guess: Rewrite "if" for Pyramid systems to "case".
495 * config.guess: 2021-05-24 (repaired)
496 From: Jacob Bachmeyer <jcb@gnu.org>
497 config.guess: replace POSIX $( ) with classic ` ` throughout
499 The previous replacement of backticks with POSIX command substitutions
500 was ill-considered and illogical: this script recognizes many archaic
501 machine types that probably never had POSIX shells, therefore it needs
502 to be able to run successfully under pre-POSIX shells.
504 This patch was generated using the included GNU Awk program.
506 * config.guess: Revert POSIX command substitutions to classic form.
507 * patch-6.gawk: Store the tool that produced the automated patch.
509 2021-05-25 Thomas E. Dickey <dickey@invisible-island.net>
511 * config.guess: 2021-05-24 (repaired)
512 From: Jacob Bachmeyer <jcb@gnu.org>
513 config.guess: manual fixup after previous automated patches
515 This patch provides the special handling for the GNU system. As these
516 were two small and unique edits, they were not included in the scripts.
518 This patch also cleans up other minor issues that must be addressed
519 before reverting to classic command substitutions and updates
520 "shellcheck" directives to account for changes in this script and the
521 change in "shellcheck" towards reporting individual portability issues.
523 * config.guess: 2021-05-24 (repaired)
524 From: Jacob Bachmeyer <jcb@gnu.org>
525 config.guess: automatic fixups after previous automated patch
527 This patch was generated using the following command:
529 sed -i config.guess \
530 -e '/="[^"]\+"\(-\|$\)/s/="\([^"([:space:])]\+\)"/=\1/' \
531 -e '/="[^"]\+"[[:alnum:]]/s/="\$\([^([:space:])]\+\)"/=${\1}/' \
533 '/\$(echo[^|]\+|/s/\([^[:space:]]\)[[:space:]]*|[[:space:]]*sed/\1 | sed/g'
535 * config.guess: Remove unneeded quotes in other variable assignments,
536 standardize spacing for "echo ... | sed" substitutions.
538 * config.guess: 2021-05-24 (repaired)
539 From: Jacob Bachmeyer <jcb@gnu.org>
540 config.guess: remove unneeded quotes and factor command substitutions
542 This is further cleanup and simplifies some constructs that can confuse
543 Emacs' syntax highlighting while generally reducing required quoting.
545 This patch was generated using the included GNU Awk program.
547 * config.guess: Remove unneeded variable quotes and factor out command
548 substitutions when setting GUESS.
549 * patch-3.gawk: Store the tool that produced the automated patch.
551 * config.guess: 2021-05-24 (repaired)
552 From: Jacob Bachmeyer <jcb@gnu.org>
553 config.guess: manual fixups after previous automatic patch
555 * config.guess: Adjust a few "leftover" cases that the tool could not
556 easily recognize and fixes comment indentation in a few other special
559 * config.guess: 2021-05-24 (repaired)
560 From: Jacob Bachmeyer <jcb@gnu.org>
561 config.guess: introduce intermediate variable with uname results
563 This will allow quoting to be significantly simplified in another
564 pass through the file.
566 * config.guess: Introduce GUESS variable to hold results of uname analysis.
568 * config.guess: 2021-05-24 (repaired)
569 From: Jacob Bachmeyer <jcb@gnu.org>
570 config.guess: use intermediate variable with uname results
572 This will allow quoting to be significantly simplified in another
573 pass through the file.
575 This patch was generated using the included GNU Awk program.
577 * config.guess: Use GUESS variable to hold results of uname analysis.
578 * patch-1.gawk: Store the tool that produced the automated patch.
580 2021-05-24 Thomas E. Dickey <dickey@invisible-island.net>
582 * config.guess: 2021-05-24 (repaired)
583 From: Dmitry V. Levin <ldv@altlinux.org>
584 config.guess: fix shellcheck warning SC2154
586 While, according to Plan 9 documentation, the environment variable
587 $cputype is set to the name of the kernel's CPU's architecture,
588 shellcheck warns that cputype is referenced but not assigned.
589 Be on the safe side and do not use cputype if it is not defined
592 * config.guess (*:Plan9:*:*): Fix shellcheck warning SC2154.
594 * config.guess: 2021-05-24 (repaired)
595 From: Dmitry V. Levin <ldv@altlinux.org>
596 config.guess: remove redundant quotes in case commands
598 According to the GNU Autoconf Portable Shell Programming manual,
599 the Bourne shell does not systematically split variables and back-quoted
600 expressions, in particular on the right-hand side of assignments and in
601 the argument of 'case'.
603 The change is made automatically using the following command:
604 $ sed -E -i 's/(\<case )"(\$[^"]+)"( in\>)/\1\2\3/' config.guess
606 * config.guess: Simplify case commands by removing quotes around the
609 Suggested-by: Jacob Bachmeyer <jcb@gnu.org>
611 * config.guess: 2021-05-24 (repaired)
612 From: Dmitry V. Levin <ldv@altlinux.org>
613 config.guess: simplify exit status workaround on alphaev67-dec-osf5.1
615 Commit 29865ea8a5622cdd80b7a69a0afa78004b4cd311 introduced an exit trap
616 reset before exiting to avoid a spurious non-zero exit status on
617 alphaev67-dec-osf5.1. Simplify that code a bit by moving the exit trap
620 * config.guess (alpha:OSF1:*:*): Reset exit trap earlier.
621 * doc/config.guess.1: Regenerate.
623 2021-05-20 Thomas E. Dickey <dickey@invisible-island.net>
625 * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_calc.tab.c, test/btyacc/code_error.code.c, test/btyacc/code_error.tab.c, test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, test/yacc/code_error.code.c, test/yacc/code_error.tab.c, test/yacc/defines1.calc.c, test/yacc/defines2.calc.c, test/yacc/defines3.calc.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c, test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c, test/yacc/varsyntax_calc1.tab.c:
628 * mkpar.c, reader.c: change printf format to allow for long-YYINT
630 * lalr.c, lr0.c: change type, fix gcc warnings
632 * verbose.c: change type, fix gcc warnings
633 also change printf format, to allow for long YYINT
635 * output.c: change type, fix gcc warnings
636 also change printf format, to allow for long-YYINT
638 * package/debian/rules, package/byacc.spec:
639 change max-table-size to correspond with switch of YYINT from short to int
642 change default for MAXTABLE to INT_MAX, like the FreeBSD port.
643 that requires changing some types to eliminate type-mismatches.
647 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
650 2021-05-01 Thomas E. Dickey <dickey@invisible-island.net>
652 * aclocal.m4: resync with my-autoconf
654 2021-04-30 Thomas E. Dickey <dickey@invisible-island.net>
656 * config.sub: 2021-04-30 (repaired)
657 From: Maciej W. Rozycki <macro@orcam.me.uk>
658 config.sub: Handle MIPS R3 and R5 ISA levels with CPU names
660 Complement binutils commit ae52f4830604 ("Add MIPS r3 and r5 support.")
661 and recognize MIPS CPU patterns for the R3 and R5 ISA levels, used by
664 * config.sub (mipsisa32r3, mipsisa32r3el, mipsisa32r5, mipsisa32r5el,
665 mipsisa64r3, mipsisa64r3el, mipsisa64r5, mipsisa64r5el): Recognize.
666 * doc/config.sub.1: Regenerate.
667 * testsuite/config-sub.data: Add test cases.
669 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
671 2021-04-21 Thomas E. Dickey <dickey@invisible-island.net>
673 * config.guess, config.sub: 2021-04-21 (repaired)
674 From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
677 This paves way for setting up arc64 software ecosystem.
680 cd testsuite && bash config-guess.sh && rm uname
681 PASS: config.guess checks (136 tests)
682 cd testsuite && bash config-sub.sh
683 PASS: config.sub checks (853 tests)
684 PASS: config.sub idempotency checks (790 tests)
685 PASS: config.sub canonicalise each config.guess testcase (136 tests)
687 * config.guess (arc64:Linux:*:*): Recognize.
688 * config.sub (arc64): Likewise.
689 * doc/config.guess.1: Regenerate.
690 * doc/config.sub.1: Likewise.
691 * testsuite/config-guess.data: Add a test case for arc64.
692 * testsuite/config-sub.data (arc64, arc*-elf): Add test cases.
694 Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
695 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
697 2021-04-16 Thomas E. Dickey <dickey@invisible-island.net>
699 * config.guess: 2021-04-16 (repaired)
700 From: Purple Rain <purplerain@secbsd.org>
701 config.guess: add SecBSD support
703 * config.guess (*:SecBSD:*:*): Recognize.
704 * doc/config.guess.1: Regenerate.
705 * testsuite/config-guess.data: Add a test case.
707 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
709 * config.sub: 2021-04-16 (repaired)
710 From: Purple Rain <purplerain@secbsd.org>
711 config.sub: add SecBSD support
713 * config.sub (secbsd*): Recognize.
714 * doc/config.sub.1: Regenerate.
715 * testsuite/config-sub.data: Add x86_64-secbsd.
717 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
719 2021-03-28 Thomas E. Dickey <dickey@invisible-island.net>
721 * reader.c: ignore bison's "%empty" extension
724 %debug was a trivial bison "extension", mark it as such
726 * yacc.1: use italics in a few places where bold was inappropriate
728 * test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h, test/btyacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.h, test/btyacc/inherit1.tab.c, test/btyacc/inherit1.tab.h, test/btyacc/inherit2.tab.c, test/btyacc/inherit2.tab.h, test/btyacc/ok_syntax1.tab.c, test/btyacc/ok_syntax1.tab.h, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit3.tab.h, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit4.tab.h, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_demo.tab.h, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy1.tab.h, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy2.tab.h, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/btyacc_destroy3.tab.h, test/btyacc/calc1.tab.c, test/btyacc/calc1.tab.h, test/yacc/varsyntax_calc1.tab.c, test/yacc/varsyntax_calc1.tab.h, test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h, test/yacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.h, test/yacc/calc1.tab.c, test/yacc/calc1.tab.h:
732 add union tag to YYSTYPE structure for compatibility with a feature which
733 bison copied from Solaris yacc (request by Ella Stanforth)
737 * config_h.in: update for _Noreturn feature
739 * aclocal.m4: updated to work with autoheader
741 * defs.h: apply syntax change needed for _Noreturn keyword
743 * package/byacc.spec, package/debian/rules: use stdnoreturn
745 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
748 2021-03-20 Thomas E. Dickey <dickey@invisible-island.net>
753 resync with my-autoconf (adds --enable-stdnoreturn option)
755 2021-03-10 Thomas E. Dickey <dickey@invisible-island.net>
757 * config.sub: 2021-03-10 (repaired)
758 From: Idan Horo <idan.horowitz@gmail.com>
759 config.sub: Add support for SerenityOS
761 * config.sub (serenity*): Recognize.
762 * doc/config.sub.1: Regenerate.
763 * testsuite/config-sub.data: Add i386-serenity.
765 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
767 2021-01-25 Thomas E. Dickey <dickey@invisible-island.net>
769 * config.guess: 2021-01-25 (repaired)
770 From: Kalamatee <kalamatee@gmail.com>
771 config.guess: update AROS system detection
773 * config.guess: Recognize *:AROS:*:*.
774 * doc/config.guess.1: Regenerate.
775 * testsuite/config-guess.data: Add test cases.
777 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
779 2021-01-19 Thomas E. Dickey <dickey@invisible-island.net>
781 * config.guess: 2021-01-19 (repaired)
782 From: M. Levinson <mlevins@users.sourceforge.net>
783 config.guess: fix shell variable quoting bug
785 * config.guess (*:NetBSD:*:*): Spell out the full sysctl command twice
786 instead of using a shell variable.
787 * doc/config.guess.1: Regenerate.
789 Fixes: 827c77253b396c07306927b2a4b794a3251c48eb
790 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
792 2021-01-09 Thomas E. Dickey <dickey@invisible-island.net>
794 * package/debian/copyright, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
797 2021-01-07 Thomas E. Dickey <dickey@invisible-island.net>
799 * config.sub: 2021-01-08 (repaired)
800 From: Peixing Xin <peixing.xin@windriver.com>
801 config.sub: recognize four-part configuration name for VxWorks
805 armv7m-wrs-vxworks-eabihf
806 armv7-wrs-vxworks-eabihf
807 i686-wrs-vxworks-simlinux
808 i686-wrs-vxworks-simwindows
809 powerpc-wrs-vxworks-spe
810 x86_64-wrs-vxworks-simlinux
811 x86_64-wrs-vxworks-simwindows
813 * config.sub: Recognize four-part configuration name for VxWorks.
814 * doc/config.guess.1: Regenerate.
815 * testsuite/config-sub.data: Add test cases.
817 Co-authored-by: John Ericson <git@JohnEricson.me>
818 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
820 2021-01-06 Thomas E. Dickey <dickey@invisible-island.net>
822 * config.sub: 2021-01-07 (repaired)
823 From: Alan Modra <amodra@gmail.com>
824 config.sub: accept OS of eabi* and gnueabi*
826 Commit 5e531d391852 broke powerpc-eabivle:
828 $ ./config.sub powerpc-eabivle
829 Invalid configuration `powerpc-eabivle': OS `eabivle' not recognized
831 Also powerpc-eabisim and probably some arm configurations.
833 * config.sub: Accept OS of eabi* and gnueabi*.
834 * testsuite/config-sub.data: Add powerpc-eabisim and powerpc-eabivle.
836 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
838 2021-01-05 Thomas E. Dickey <dickey@invisible-island.net>
842 * aclocal.m4: resync with my-autoconf
844 2021-01-01 Thomas E. Dickey <dickey@invisible-island.net>
846 * config.guess, config.sub: 2021-01-01 (repaired)
847 From: Dmitry V. Levin <ldv@altlinux.org>
848 Update copyright years
850 * config.guess: Update copyright years.
851 * config.sub: Likewise.
852 * doc/config.guess.1: Regenerate.
853 * doc/config.sub.1: Likewise.
855 2020-12-31 Thomas E. Dickey <dickey@invisible-island.net>
857 * config.guess, config.sub: 2020-12-31 (repaired)
858 From: Kito Cheng <kito.cheng@sifive.com>
859 Recognize riscv32be and riscv64be
861 Recently RISC-V community got patches big-endian support for binutils,
862 and we'd like to accept that, however before accepting that I think it
863 would be better to upstream config.sub and config.guess change here :)
865 It's my check result on Ubuntu 18.04:
868 cd testsuite && bash config-guess.sh && rm uname
869 PASS: config.guess checks (131 tests)
870 cd testsuite && bash config-sub.sh
871 PASS: config.sub checks (830 tests)
872 PASS: config.sub idempotency checks (767 tests)
873 PASS: config.sub canonicalise each config.guess testcase (131 tests)
875 * config.guess (riscv32be:Linux:*:*, riscv64be:Linux:*:*): Recognize.
876 * config.sub (riscv32be, riscv64be): Likewise.
877 * doc/config.guess.1: Regenerate.
878 * doc/config.sub.1: Likewise.
879 * testsuite/config-guess.data: Add test cases for riscv32be, and riscv64be.
880 * testsuite/config-sub.data (riscv32be, riscv64be): Add test cases.
882 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
884 2020-12-03 Thomas E. Dickey <dickey@invisible-island.net>
886 * config.guess, config.sub: 2020-12-22 (repaired)
887 From: Xiaotian Wu <wuxiaotian@loongson.cn>
888 Recognize loongarch32, loongarch64, and loongarchx32
890 * config.guess (loongarch32:Linux:*:*, loongarch64:Linux:*:*,
891 loongarchx32:Linux:*:*): Recognize.
892 * config.sub (loongarch32, loongarch64, loongarchx32): Likewise.
893 * doc/config.guess.1: Regenerate.
894 * doc/config.sub.1: Likewise.
895 * testsuite/config-guess.data: Add test cases for loongarch32,
896 loongarch64, and loongarchx32.
897 * testsuite/config-sub.data (loongarch32, loongarch64, loongarchx32):
900 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
902 2020-12-01 Thomas E. Dickey <dickey@invisible-island.net>
904 * config.sub: 2020-12-02 (repaired)
905 From: Dmitry V. Levin <ldv@altlinux.org>
906 config.sub: recognize thumbv7*
908 * config.sub (thumbv7*): Recognize.
909 * testsuite/config-sub.data (thumbv7): New test.
911 Reported-by: Karl Berry <karl@freefriends.org>
912 Link: https://lists.gnu.org/archive/html/config-patches/2020-12/msg00001.html
914 2020-11-19 Thomas E. Dickey <dickey@invisible-island.net>
916 * config.guess, config.sub: 2020-11-17 (repaired)
917 From: Dmitry V. Levin <ldv@altlinux.org>
918 .gitattributes: specify a custom git merge driver for the ChangeLog file
920 * config.guess, config.sub: 2020-11-19 (repaired)
921 From: Dmitry V. Levin <ldv@altlinux.org>
922 Update URLs of the latest version of config.guess and config.sub scripts
924 Prefer cgit URLs over gitweb as the former are usually served faster:
925 $ time -f %e wget -q 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess'
927 $ time -f %e wget -q 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess'
930 * config.guess: Prefer cgit URLs over gitweb.
932 * config.sub: Likewise.
933 * doc/config.guess.1: Regenerate.
934 * doc/config.sub.1: Likewise.
936 2020-11-06 Thomas E. Dickey <dickey@invisible-island.net>
938 * config.guess, config.sub: 2020-11-07 (repaired)
939 From: Ben Elliston <bje@gnu.org>
942 * config.sub: 2020-10-13 (repaired)
943 From: Ben Elliston <bje@gnu.org>
944 * config.sub, config.guess: Replace backtick `..` substitutions
945 with POSIX $(..) command substitutions throughout.
946 * Makefile (shellcheck): Don't exclude message SC2006.
948 * config.guess: 2020-10-22 (repaired)
949 From: Ben Elliston <bje@gnu.org>
950 * config.sub, config.guess: Replace backtick `..` substitutions
951 with POSIX $(..) command substitutions throughout.
952 * Makefile (shellcheck): Don't exclude message SC2006.
954 2020-10-21 Thomas E. Dickey <dickey@invisible-island.net>
956 * config.guess: 2020-10-22
957 From: Rin Okuyama <rin@netbsd.org>
958 * config.guess (*:NetBSD:*:*): Handle aarch64eb.
959 * testsuite/config-guess.data: Add test cases.
961 Signed-off-by: Ben Elliston <bje@gnu.org>
963 2020-10-14 Thomas E. Dickey <dickey@invisible-island.net>
965 * config.sub: 2020-10-13
966 From: Ben Elliston <bje@gnu.org>
967 Fix whitespace problem in config.sub.
969 2020-10-13 Thomas E. Dickey <dickey@invisible-island.net>
971 * config.sub: 2020-10-13
972 From: Ben Elliston <bje@gnu.org>
973 * config.sub (i*86-pc-os2-emx): Recognise correctly.
974 * testsuite/config-sub.data: Add OS/2 tests to avoid regressions.
976 2020-09-26 Thomas E. Dickey <dickey@invisible-island.net>
978 * config.sub: 2020-09-08
979 From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
980 * config.sub (uclinux-uclibc*): Fix detection.
981 * testsuite/config-sub.data: Add a test case to avoid regression.
983 Signed-off-by: Ben Elliston <bje@gnu.org>
985 2020-09-22 Thomas E. Dickey <dickey@invisible-island.net>
987 * closure.c, warshall.c:
988 fix undefined-behavior diagnosed with gcc -fsanitize=undefined (report by
989 Alexander Richardson)
991 2020-09-20 Thomas E. Dickey <dickey@invisible-island.net>
993 * config.guess: 2020-09-19
994 From: Bruno Haible <bruno@clisp.org>
995 * config.guess: Don't use 'ldd --version' to determine the presence of
996 musl libc, as this fails on Alpine Linux 3.10.
998 Signed-off-by: Ben Elliston <bje@gnu.org>
1000 2020-09-10 Thomas E. Dickey <dickey@invisible-island.net>
1004 * reader.c, output.c: cppcheck -- reduce scope
1006 * defs.h: update to 2.0
1008 * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/defines1.calc.c, test/yacc/defines2.calc.c, test/yacc/defines3.calc.c, test/yacc/empty.tab.c, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax27.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c, test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c, test/yacc/varsyntax_calc1.tab.c:
1009 update to version 2.0
1012 improve loop which skips backward through a (possibly nested) sequence of
1015 * reader.c: simplify a check to quiet a bogus cppcheck-warning
1019 * reader.c: add a note about a bogus cppcheck warning
1024 always check for gcc attributes, to work around defect in clang's imitation
1027 * reader.c: cppcheck -- scope reduction
1028 cppcheck -- eliminate bogus returns after no-return functions
1030 * verbose.c, output.c, mkpar.c, main.c, warshall.c, lr0.c, lalr.c, graph.c, closure.c:
1031 cppcheck -- scope reduction
1033 * package/debian/compat: quiet compatibility-warning
1035 * yacc.1: use "ASCII" for dashes which are part of proper names
1039 * configure.in: switch to --enable-warnings, for consistency
1042 resync with my-autoconf, for compiler-warning fixes with macOS
1044 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1047 2020-09-07 Thomas E. Dickey <dickey@invisible-island.net>
1049 * config.sub: 2020-09-08
1050 From: Elad Lahav <e2lahav@gmail.com>
1051 * config.sub: Fix regression in QNX recognition.
1052 * testsuite/config-sub.data: Add some test cases.
1054 Signed-off-by: Ben Elliston <bje@gnu.org>
1056 2020-08-16 Thomas E. Dickey <dickey@invisible-island.net>
1058 * config.guess, config.sub: 2020-08-17
1060 2020-06-28 Thomas E. Dickey <dickey@invisible-island.net>
1062 * config.sub: 2020/06/28
1064 2020-06-14 Thomas E. Dickey <dickey@invisible-island.net>
1066 * config.guess: 2020/04/26
1068 2020-03-30 Thomas E. Dickey <dickey@invisible-island.net>
1070 * package/debian/copyright: bump
1072 * test/yacc/grammar.tab.c, test/btyacc/grammar.tab.c, test/grammar.y, reader.c:
1073 typo found with codespell
1075 * yacc.1: fixes noted in the original report, overlooked in followup
1077 2020-03-30 Bjarni.Ingi.Gislason
1079 * yacc.1: typography/spelling fixes - Debian #955175
1081 2020-03-30 Thomas E. Dickey <dickey@invisible-island.net>
1083 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1086 2020-03-10 Thomas E. Dickey <dickey@invisible-island.net>
1091 resync with my-autoconf, mostly fixes for compiler-warnings
1093 * configure.in: use macro to suppress X-dependency from newer macros
1095 2019-12-20 Thomas E. Dickey <dickey@invisible-island.net>
1097 * config.guess: 2019-12-21
1099 2019-11-25 Tom.Shields
1102 fix an inconsistency between the getopt and non-getopt configuration.
1103 In the former, getopt always used "yacc", not the name of the executable.
1105 2019-11-25 Thomas E. Dickey <dickey@invisible-island.net>
1108 suppress bison's -Wyacc warning, which is not useful.
1110 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1113 2019-11-19 Thomas E. Dickey <dickey@invisible-island.net>
1115 * yacc.1: new version of manpage
1117 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1120 * yacc.1: document %code
1122 * test/btyacc/calc_code_all.error, test/btyacc/calc_code_all.output, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_all.tab.h, test/btyacc/calc_code_default.error, test/btyacc/calc_code_default.output, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_default.tab.h, test/btyacc/calc_code_imports.error, test/btyacc/calc_code_imports.output, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_imports.tab.h, test/btyacc/calc_code_provides.error, test/btyacc/calc_code_provides.output, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_provides.tab.h, test/btyacc/calc_code_requires.error, test/btyacc/calc_code_requires.output, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_requires.tab.h, test/btyacc/calc_code_top.error, test/btyacc/calc_code_top.output, test/btyacc/calc_code_top.tab.c, test/btyacc/calc_code_top.tab.h, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_all.tab.h, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_provides.tab.h, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_requires.tab.h, test/yacc/calc_code_top.tab.c:
1126 amend updates for 'outline' when processing "%code" in code-file
1129 modify output_code_lines() to show begin/end block comments which were in
1130 reader.c, and to generate a #line for the code-file.
1133 modify copy_code() to allow for multiple %code directives for a given
1134 section, recording the input line-number for each directive as a #line
1135 in the resulting string. remove the block start/end comments, since those
1136 will be done for a whole section in output.c
1138 * mstring.c, defs.h: add msrenew()
1140 * test/yacc/calc_code_all.error, test/yacc/calc_code_all.output, test/yacc/calc_code_default.error, test/yacc/calc_code_default.output, test/yacc/calc_code_default.tab.h, test/yacc/calc_code_imports.error, test/yacc/calc_code_imports.output, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_imports.tab.h, test/yacc/calc_code_provides.error, test/yacc/calc_code_provides.output, test/yacc/calc_code_requires.error, test/yacc/calc_code_requires.output, test/yacc/calc_code_top.error, test/yacc/calc_code_top.output, test/yacc/calc_code_top.tab.h:
1143 2019-11-18 Thomas E. Dickey <dickey@invisible-island.net>
1145 * test/calc_code_imports.y, test/calc_code_all.y, test/calc_code_default.y, test/calc_code_top.y, test/calc_code_provides.y, test/calc_code_requires.y:
1148 2019-11-04 Michael.Forney
1150 * defs.h: add missing "extern" for new variable "code_lines"
1152 2019-11-03 Thomas E. Dickey <dickey@invisible-island.net>
1154 * main.c: build-fix for MinGW cross-compiling
1156 * output.c, reader.c: gcc-warnings
1158 * output.c: check validity of text_file before rewind
1159 remove redundant check of iflag
1161 * main.c: fix memory-leak reported by clang
1163 * mkpar.c: guard against a null-reference reported by clang (unlikely)
1165 * reader.c: fix two coverity warnings:
1166 a) resource leak on malloc-failure
1167 b) possible null-pointer dereference on parse-error
1169 * test/btyacc/err_inherit4.tab.h, test/btyacc/btyacc_demo.tab.h: regen
1171 * defs.h: use enum's to simplify recent change
1174 enable mstring() in regular byacc, since Zoulas' change relies upon it
1176 2019-11-03 Christos.Zoulas
1178 * defs.h, reader.c, output.c: add support for bison's "%code" feature
1179 also fix a small bug: declare YYLTYPE externally when producing locations
1181 2019-11-03 Thomas E. Dickey <dickey@invisible-island.net>
1183 * test/btyacc/help.error, test/btyacc/no_b_opt.error, test/btyacc/no_output2.error, test/btyacc/no_p_opt.error, test/yacc/help.error, test/yacc/no_b_opt.error, test/yacc/no_output2.error, test/yacc/no_p_opt.error:
1187 there's no standard wording for the options-errors from getopt;
1188 filter that to "error message" in the test reference files.
1191 provide for using getopt(), to accommodate a case where developers have
1192 relied upon non-POSIX behavior.
1195 getopt's messages do not print the full pathname of yacc in some cases;
1196 adjust the sed-script which changes those to "YACC"
1200 * config_h.in: regen, using autoheader-252
1202 * configure.in: add configure check for getopt
1207 resync with my-autoconf adds a fix which accommodates a difference in
1208 warning options between gcc/clang when --enable-warnings is not set.
1210 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1213 2019-09-11 Thomas E. Dickey <dickey@invisible-island.net>
1215 * config.guess, config.sub: 2019-09-10
1217 2019-06-17 Thomas E. Dickey <dickey@invisible-island.net>
1219 * test/btyacc/big_b.error, test/btyacc/big_l.error, test/btyacc/help.error, test/btyacc/no_b_opt.error, test/btyacc/no_output2.error, test/btyacc/no_p_opt.error, test/btyacc/nostdin.error, test/yacc/big_b.error, test/yacc/big_l.error, test/yacc/help.error, test/yacc/no_b_opt.error, test/yacc/no_output2.error, test/yacc/no_p_opt.error, test/yacc/nostdin.error:
1222 * test/run_test.sh: test "-H" rather than "-D"
1224 2019-06-16 Thomas E. Dickey <dickey@invisible-island.net>
1227 change "-D" option to "-H" (discussion with Ethan Sommer)
1229 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1232 * test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c:
1235 * test/run_test.sh: in test_defines, save the ".c" file too
1237 * test/yacc/defines3.calc.c, test/yacc/defines2.calc.c, test/yacc/defines1.calc.c:
1241 output of test_defines should be a header ".h", not ".c"
1243 * test/btyacc/defines1.calc.h, test/btyacc/defines1.error, test/btyacc/defines1.output, test/btyacc/defines2.calc.h, test/btyacc/defines2.error, test/btyacc/defines2.output, test/btyacc/defines3.calc.h, test/btyacc/defines3.error, test/btyacc/defines3.output:
1246 * main.c: however, a subsequent -d cancels -D
1248 * test/yacc/defines1.calc.h, test/yacc/defines3.calc.h: RCS_BASE
1250 * main.c: -D option implies -d
1252 * test/yacc/defines1.error, test/yacc/defines1.output, test/yacc/defines2.calc.h, test/yacc/defines2.error, test/yacc/defines2.output, test/yacc/defines3.error, test/yacc/defines3.output:
1255 * yacc.1: align macro definitions with my other manpages
1257 * test/run_test.sh: add test for -D after -d or -b options
1259 * test/btyacc/stdin1.calc.c, test/btyacc/stdin1.error, test/btyacc/stdin1.output, test/btyacc/stdin2.calc.c, test/btyacc/stdin2.error, test/btyacc/stdin2.output:
1262 * test/btyacc/big_b.error, test/btyacc/big_b.output, test/btyacc/big_l.error, test/btyacc/big_l.output, test/btyacc/help.error, test/btyacc/help.output, test/btyacc/no_b_opt.error, test/btyacc/no_b_opt.output, test/btyacc/no_b_opt1.error, test/btyacc/no_b_opt1.output, test/btyacc/no_code_c.error, test/btyacc/no_code_c.output, test/btyacc/no_defines.error, test/btyacc/no_defines.output, test/btyacc/no_graph.error, test/btyacc/no_graph.output, test/btyacc/no_include.error, test/btyacc/no_include.output, test/btyacc/no_opts.error, test/btyacc/no_opts.output, test/btyacc/no_output.error, test/btyacc/no_output.output, test/btyacc/no_output1.error, test/btyacc/no_output1.output, test/btyacc/no_output2.error, test/btyacc/no_output2.output, test/btyacc/no_p_opt.error, test/btyacc/no_p_opt.output, test/btyacc/no_p_opt1.error, test/btyacc/no_p_opt1.output, test/btyacc/no_verbose.error, test/btyacc/no_verbose.output, test/btyacc/nostdin.error, test/btyacc/nostdin.output, test/yacc/big_b.error, test/yacc/big_b.output, test/yacc/big_l.error, test/yacc/big_l.output, test/yacc/help.error, test/yacc/help.output, test/yacc/no_b_opt.error, test/yacc/no_b_opt.output, test/yacc/no_b_opt1.error, test/yacc/no_b_opt1.output, test/yacc/no_code_c.error, test/yacc/no_code_c.output, test/yacc/no_defines.error, test/yacc/no_defines.output, test/yacc/no_graph.error, test/yacc/no_graph.output, test/yacc/no_include.error, test/yacc/no_include.output, test/yacc/no_opts.error, test/yacc/no_opts.output, test/yacc/no_output.error, test/yacc/no_output.output, test/yacc/no_output1.error, test/yacc/no_output1.output, test/yacc/no_output2.error, test/yacc/no_output2.output, test/yacc/no_p_opt.error, test/yacc/no_p_opt.output, test/yacc/no_p_opt1.error, test/yacc/no_p_opt1.output, test/yacc/no_verbose.error, test/yacc/no_verbose.output, test/yacc/nostdin.error, test/yacc/nostdin.output:
1266 add a test for stdin "-" vs end-options "--", and correct a redirection
1267 of stderr in test_flags
1269 * test/yacc/stdin2.output, test/yacc/stdin2.calc.c, test/yacc/stdin1.calc.c, test/yacc/stdin1.error, test/yacc/stdin1.output, test/yacc/stdin2.error:
1272 * test/btyacc/big_b.output, test/btyacc/big_l.output, test/btyacc/help.output, test/btyacc/no_b_opt.output, test/btyacc/no_output2.output, test/btyacc/no_p_opt.output, test/btyacc/nostdin.output, test/yacc/big_b.output, test/yacc/big_l.output, test/yacc/help.output, test/yacc/no_b_opt.output, test/yacc/no_output2.output, test/yacc/no_p_opt.output, test/yacc/nostdin.output:
1275 * main.c: add -D option, to specify filename vs y.tab.h for -d
1277 * defs.h: add dflag2, for -D option
1279 * yacc.1: document -D option
1281 * config_h.in: updated with autoheader-252
1285 * package/debian/copyright: bump
1287 * aclocal.m4: add CF_GETOPT_HEADER
1289 * aclocal.m4: Improved autoconf macros:
1291 putting preprocessor flags in CFLAGS also is a nuisance, which can be
1292 addressed in the same way.
1294 factor out workaround for XTSTRINGDEFINES as CF_CONST_X_STRING
1296 The check for _DEFAULT_SOURCE should apply to "recent" Cygwin (since early 2016),
1297 and except for "NEWLIB" vs "GLIBC" in the test, acts the same if I pretend
1298 that "newlib" is the GNU C library. Without this, the check falls through
1299 to the _XOPEN_SOURCE test, which breaks the pseudoterminal checks for xterm.
1301 add/use CF_POSIX_VISIBLE
1302 + CF_TRY_XOPEN_SOURCE
1305 use sed to work around non-POSIX tail utility
1308 add/use CF_POSIX_VISIBLE
1310 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1313 2019-06-10 Thomas E. Dickey <dickey@invisible-island.net>
1315 * config.guess: 2019-06-10
1317 2019-05-22 Thomas E. Dickey <dickey@invisible-island.net>
1319 * config.sub: 2019-05-22
1321 2018-06-09 Thomas E. Dickey <dickey@invisible-island.net>
1323 * yacc.1: minor typographical fixes
1325 * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/rename_debug.c, btyaccpar.c:
1328 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1331 2018-06-09 Tom.Shields
1334 add casts to fix g++ (clang++) compile errors in the backtracking skeleton
1335 due to assignment of ‘void *’ to another pointer type.
1337 2018-05-25 Thomas E. Dickey <dickey@invisible-island.net>
1340 check if this is bison 3+ before adding options to suppress warnings
1342 * package/byacc.spec: build-fix for Mageia 6
1344 * package/byacc.spec: add btyacc package
1346 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1349 * package/debian/control: add a package for btyacc
1351 * package/debian/rules: generate a package for btyacc
1353 2018-05-24 Thomas E. Dickey <dickey@invisible-island.net>
1355 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, btyaccpar.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/rename_debug.c:
1358 * btyaccpar.skel: fix typo
1360 2018-05-21 Thomas E. Dickey <dickey@invisible-island.net>
1363 ignore case for "%" directives to skip with old-yacc, and add %token-table
1366 * btyaccpar.c: regen
1368 2018-05-21 Christos.Zoulas
1371 improve compatibility with bison by changing the YYLLOC_DEFAULT macro to use
1372 YYRHSLOC() macro, and adjusting the array indices of yyerror_loc_range[] for
1375 2018-05-10 Thomas E. Dickey <dickey@invisible-island.net>
1378 add a fallback definition for YYDEBUG to the -i externs file.
1380 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
1382 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1385 2018-05-09 Thomas E. Dickey <dickey@invisible-island.net>
1389 * aclocal.m4: resync with my-autoconf
1391 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1394 * test/btyacc/rename_debug.i, btyaccpar.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/rename_debug.c, test/btyacc/varsyntax_calc1.tab.c:
1397 * btyaccpar.skel: apply Guy Harris' changes here as well
1399 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
1401 * output.c: correct/improve fallback prototype for yylex()
1403 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
1405 2018-05-08 Thomas E. Dickey <dickey@invisible-island.net>
1407 * test/btyacc/grammar.tab.c, test/yacc/grammar.tab.c: regen
1410 quiet some warnings from gcc 7 when doing "make check_make"
1412 * package/debian/watch, package/pkgsrc/Makefile: update ftp-url
1414 * test/btyacc/ok_syntax1.tab.h, test/btyacc/btyacc_calc1.tab.h: regen
1417 provide yylex() declaration for simple case (request by "Mutiny")
1419 * test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.h, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/rename_debug.c, test/yacc/rename_debug.i, yaccpar.c:
1422 * VERSION, package/byacc.spec, package/debian/changelog, package/debian/copyright, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1425 2018-05-06 Guy.Harris
1427 * yaccpar.skel: two fixes:
1428 1) define yydebug only if YYDEBUG is defined and
1429 2) make yynerrs a parser-local variable if the parser is reentrant.
1431 2018-02-24 Guy.Harris
1433 * output.c: do not emit "extern YYSTYPE yylval;" for pure parsers
1435 2018-02-05 Thomas E. Dickey <dickey@invisible-island.net>
1437 * config.sub: 2018-01-15
1439 * config.guess: 2018-01-26
1441 2017-12-04 erik.b.andersen
1443 * main.c: A proper path for temporary files is needed by byacc under
1444 Windows commandline, otherwise there's a risk of empty files.
1445 The TEMP environment variable is always defined in Windows.
1447 * defs.h: The noreturn attribute needs to be specified before function
1448 to be portable among compilers (gcc, clang, msvc).
1450 2017-12-04 Thomas E. Dickey <dickey@invisible-island.net>
1452 * reader.c: adapted fix by Erik B:
1453 a) increase the length of name[] to account for a trailing null
1454 b) note that calling syntax_error() from get_number() does not return
1456 2017-09-14 Tom.Shields
1460 2017-07-09 Thomas E. Dickey <dickey@invisible-island.net>
1462 * package/byacc.spec, package/mingw-byacc.spec:
1463 use predefined "configure"
1465 * reader.c: remove unused assignment
1467 * package/debian/rules: use dpkg-buildflags
1471 * aclocal.m4: resync with my-autoconf
1473 * reader.c, output.c, defs.h:
1474 add/use IS_NAME1() and IS_NAME2() to reduce clutter
1476 * reader.c, output.c, defs.h:
1477 guard against sign-extension in ctype-macros
1479 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1482 * reader.c: check for numeric overflow in get_number()
1485 correct limit-checks for input filename and line-number, in case no valid
1486 filename and/or number was found.
1488 2017-04-30 Thomas E. Dickey <dickey@invisible-island.net>
1490 * test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c, btyaccpar.c, btyaccpar.skel:
1491 fix another uninitialized variable warning in "make check_make" for btyacc
1493 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/calc3.tab.c, btyaccpar.c, btyaccpar.skel, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/calc3.tab.c, yaccpar.c, defs.h, yaccpar.skel, output.c:
1494 fix some compiler warnings for "make check_make" by adding section init_vars,
1495 which initializes the body_vars for pure-parser configuration.
1497 2017-04-30 Tom.Shields
1500 use YY_NO_LEAKS set in configure --with-no-leaks, in the generated code
1502 2017-04-30 Julien.Ramseier
1504 * main.c, test/yacc/big_l.output:
1505 fix typo in unsupported-flag warning message
1507 2017-04-30 Thomas E. Dickey <dickey@invisible-island.net>
1509 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1512 2017-04-29 Thomas E. Dickey <dickey@invisible-island.net>
1514 * config.sub: 2017-04-02
1516 2017-03-18 Thomas E. Dickey <dickey@invisible-island.net>
1518 * config.sub: 2017-02-07
1520 * config.guess: 2017-03-05
1522 2017-02-01 Thomas E. Dickey <dickey@invisible-island.net>
1524 * test/btyacc/expr.oxout.error, test/btyacc/expr.oxout.output, test/btyacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.h, test/yacc/expr.oxout.error, test/yacc/expr.oxout.output, test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h:
1527 * package/debian/copyright: update copyright
1529 * reader.c, defs.h, main.c:
1530 avoid using regex.h since some low-end platforms do not have this
1532 * test/expr.oxout.y: RCS_BASE
1536 * aclocal.m4: quiet a strict gcc warning in CF_MKSTEMP
1538 2017-02-01 Tom.Shields
1540 * main.c, reader.c, defs.h:
1541 process #line directives, like bison and flex
1543 2017-02-01 Thomas E. Dickey <dickey@invisible-island.net>
1545 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1548 2016-12-31 Thomas E. Dickey <dickey@invisible-island.net>
1550 * config.guess, config.sub: 2017-01-01
1552 2016-12-02 Thomas E. Dickey <dickey@invisible-island.net>
1554 * test/btyacc/quote_calc4-s.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/rename_debug.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, btyaccpar.c:
1557 * btyaccpar.skel: changes from NetBSD
1558 + use YYINT rather than short in btyaccpar.skel
1559 (some of this had already been done by Tom Shields)
1560 + remove some casts of malloc/realloc
1562 * yaccpar.c, yaccpar.skel, output.c: changes from NetBSD
1563 - Add some more bison stuff to make the mesa/gallium parser work:
1564 %initial-action (add missing source struct member in location)
1565 %debug (unimplemented)
1566 %error-verbose (unimplemented)
1568 This changes some existing code:
1569 + yylloc is now a pointer, so
1570 + the first parameter to YYERROR_DECL() is a pointer
1571 + struct YYLTYPE now has a "source" field
1573 * test/btyacc/btyacc_demo.tab.h, test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c, test/btyacc/err_inherit4.tab.h:
1576 * btyaccpar.c, btyaccpar.skel, reader.c: changes from NetBSD
1577 - Add some more bison stuff to make the mesa/gallium parser work:
1578 %initial-action (add missing source struct member in location)
1579 %debug (unimplemented)
1580 %error-verbose (unimplemented)
1582 This changes some existing code:
1583 + yylloc is now a pointer, so
1584 + the first parameter to YYERROR_DECL() is a pointer
1585 + struct YYLTYPE now has a "source" field
1588 fix from NetBSD: correct off-by-one when adding a null in copy_param()
1590 * reader.c: adapted from NetBSD
1591 - Convert *most* error fingerprints to:
1592 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
1593 +unterminated_arglist(const struct ainfo *a)
1594 - Cast new <ctype.h> args to unsigned char
1596 * defs.h: changes from NetBSD
1597 - Add some more bison stuff to make the mesa/gallium parser work:
1598 %initial-action (add missing source struct member in location)
1599 %debug (unimplemented)
1600 %error-verbose (unimplemented)
1602 This changes some existing code:
1603 + yylloc is now a pointer, so
1604 + the first parameter to YYERROR_DECL() is a pointer
1605 + struct YYLTYPE now has a "source" field
1607 * defs.h: adapted from NetBSD
1608 - Convert *most* error fingerprints to:
1609 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
1610 +unterminated_arglist(const struct ainfo *a)
1611 - Cast new <ctype.h> args to unsigned char
1613 * main.c: changes from NetBSD
1614 - Add some more bison stuff to make the mesa/gallium parser work:
1615 %initial-action (add missing source struct member in location)
1616 %debug (unimplemented)
1617 %error-verbose (unimplemented)
1619 This changes some existing code:
1620 + yylloc is now a pointer, so
1621 + the first parameter to YYERROR_DECL() is a pointer
1622 + struct YYLTYPE now has a "source" field
1624 * error.c: adapted from NetBSD
1625 - Convert *most* error fingerprints to:
1626 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
1627 +unterminated_arglist(const struct ainfo *a)
1628 - Cast new <ctype.h> args to unsigned char
1630 * mstring.c: adapted change from NetBSD to add casts for ctype macros
1632 * test/btyacc/btyacc_demo.tab.h, test/btyacc/err_inherit4.tab.h: regen
1634 * output.c: reorder to eliminate a forward-reference
1636 2016-12-02 Tom.Shields
1639 modify output to enable compilation of a lexer generated by flex (using
1640 "%option bison-bridge" and "%option bison-locations") to be used with a parser
1641 generated by b(t)yacc (using directives "%locations" and "%pure-parser").
1643 2016-12-02 Thomas E. Dickey <dickey@invisible-island.net>
1647 * aclocal.m4: Improved autoconf macros
1649 + improve split between compiler and options, prompted by report where user
1650 had "ccache" before the compiler
1651 + leave non-preprocessor options in "$CC" (but still copy them to "$CFLAGS"
1652 since that's where they should be)
1654 + recent glibc (Debian 2.23-4 for example) has misordered ifdef/checks for new
1655 symbol _DEFAULT_SOURCE, producing warning messages when only _GNU_SOURCE is
1656 defined. Add a followup check to define _DEFAULT_SOURCE.
1658 + add "uclinux" to list of Linux's (patch by Yann E. Morin)
1659 + use _GNU_SOURCE for cygwin headers
1660 + build-fixes for OS/2
1662 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1665 2016-11-20 Thomas E. Dickey <dickey@invisible-island.net>
1667 * config.sub: 2016-11-19
1669 * config.guess: 2016-10-02
1671 2016-06-06 Thomas E. Dickey <dickey@invisible-island.net>
1675 * aclocal.m4: improved autoconf macros:
1676 CF_CC_ENV_FLAGS - don't limit the check to -I, -U and -D options, since the
1677 added options can include various compiler options before and after
1678 preprocessor options.
1679 CF_PROG_LINT - add cpplint to programs to use; drop ad hoc tdlint and alint.
1681 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1686 * btyaccpar.c: regen
1689 adjust whitespace so that generated skeleton will follow the same format
1692 * mkpar.c, verbose.c, lr0.c, reader.c, error.c, output.c: indented
1694 * reader.c: fix two compiler warnings
1696 * test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/rename_debug.c, btyaccpar.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/rename_debug.c, yaccpar.c:
1699 2016-06-06 Tom.Shields
1701 * btyaccpar.skel, yaccpar.skel:
1702 small fix for an edge case of initialized data in Chris Dodd's btyacc changes:
1703 "Avoid crash when input pops up an Action error at the first token"
1705 2016-06-01 Thomas E. Dickey <dickey@invisible-island.net>
1707 * test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax24.error, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, test/yacc/code_calc.tab.h, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/rename_debug.c, yaccpar.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.error, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.output, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.error, test/btyacc/btyacc_demo.output, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_calc.tab.c, test/btyacc/code_calc.tab.h, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.output, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.output, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c, btyaccpar.c:
1710 2016-06-01 Tom.Shields
1712 * btyaccpar.skel, defs.h, error.c, output.c, reader.c, test/code_calc.y, test/err_inherit4.y, test/run_make.sh, yaccpar.skel:
1713 fixes for issues in btyacc (report by Francis Andre):
1715 + correction to the placement of the #line directive for a %union specification
1717 + recovery of a set of casts originally added into btyaccpar.c rather than into
1718 btyaccpar.skel, and so are lost whenever building from scratch
1720 + Chris Dodd's btyacc improved handling of inherited attributes to eliminate
1721 implicit empty copy rules that are not necessary, and thereby avoiding the
1722 introduction of extra parsing ambiguity
1724 + Chris Dodd's added support for @-N syntax to reference inherited position
1727 + correction to bad interaction between %token-table and YYDEBUG, where YYDEBUG
1728 was required to be defined in order to compile the generated code
1730 + correction to yyname[] access in code included with YYDEBUG defined for
1731 single character symbols not recognized (e.g., input containing '&' character
1732 where grammar doesn't define that as a symbol) - map to existing
1733 "illegal-symbol" entry in byname[]
1735 + fixes to test/run_make.sh: skip test-err_* files; in the bison test phase
1736 skip additional files that contain features not supported by bison and
1737 inhibit new bison warning messages
1739 + minor changes to btyaccpar.skel & yaccpar.skel so they are more similar in
1740 their commonality; makes it easier to maintain the pair of files using
1743 + changes to a couple of test cases for coverage of #3, #4 and #5 above
1745 2016-06-01 Thomas E. Dickey <dickey@invisible-island.net>
1747 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1750 2016-03-24 Thomas E. Dickey <dickey@invisible-island.net>
1752 * reader.c: unused variable
1754 * package/pkgsrc/Makefile, package/debian/copyright: bump
1756 2016-03-24 Jung-uk.Kim
1759 correct logic for finding output suffix in the "-o" option, which matched
1760 the first occurrence of ".c" in the name in 2005-08-13 changes rather than
1761 at the end of the filename (patch by Jung-uk Kim)
1763 2016-03-24 Thomas E. Dickey <dickey@invisible-island.net>
1766 update CF_WITH_MAN2HTML to use configured shell rather than /bin/sh
1768 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1771 2016-01-25 Thomas E. Dickey <dickey@invisible-island.net>
1773 * config.guess, config.sub: 2016-01-01
1775 2015-07-10 Thomas E. Dickey <dickey@invisible-island.net>
1777 * lr0.c: fix a duplicate-free in the leak-checking
1779 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1783 make cache-size clearer (prompted by discussion with Pedro Giffuni,
1787 make relationship with format/size clearer (prompted by discussion
1788 with Pedro Giffuni, Oliver Pinter)
1790 2015-07-05 Thomas E. Dickey <dickey@invisible-island.net>
1794 * package/pkgsrc/Makefile, package/mingw-byacc.spec, package/debian/copyright, package/debian/changelog, package/byacc.spec, VERSION:
1797 * aclocal.m4: resync with my-autoconf
1798 add configure option --with-man2html
1800 * makefile.in: add configure options --with-man2html
1802 * configure.in: add configure option --with-man2html
1804 2015-05-02 Thomas E. Dickey <dickey@invisible-island.net>
1806 * config.guess: 2015-03-04
1808 * config.sub: 2015-03-08
1810 2014-11-28 Thomas E. Dickey <dickey@invisible-island.net>
1812 * lr0.c: coverity #39181: memory leak
1814 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1817 2014-11-13 Jouk.Jansen
1820 I sucessfully compiled byacc on my OpenVMS systems. However, I had to update
1821 the descrip.mms to include some extra c-source files and some dependenxcies
1822 so that it also works when the distribution is located on an ODS5 disk.
1824 The patched descrip.mms file can be found at:
1825 http://nchrem.tnw.tudelft.nl/openvms/software2.html#BYACC
1827 Please feel free to insert the file in your distribution.
1832 2014-10-06 Thomas E. Dickey <dickey@invisible-island.net>
1834 * package/debian/source/format:
1835 change to native format to work around regression in Debian packaging.
1837 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1843 correct parameter for umask - for very old mkstemp's - and use type mode_t
1844 to quiet compiler warning
1846 * configure.in: add configure check for mode_t
1849 better fix for get_line, by ensuring there is enough space to null-terminate
1850 its result (prompted by discussion with Craig Rodrigues).
1852 2014-10-05 Thomas E. Dickey <dickey@invisible-island.net>
1855 make change to umask before calling mkstemp, as suggested in Coverity #56902
1858 adjust logic in copy_action to avoid potential null-pointer dereference
1862 adjust logic to avoid potential null-pointer dereference in compile_args
1865 * reader.c: eliminate strcpy into fixed-size buffer (Coverity #63408)
1867 * yacc.1: document changes made with respect to %parse-param
1870 add parameters from %parse-param to destructor. The order of the parameters
1871 is intentionally inconsistent with yyparse/yyerror, for "compatibility" with
1874 * test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c:
1878 use puts_param_types/puts_param_names to output lex_param data.
1880 * test/btyacc/ok_syntax1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/rename_debug.c:
1883 * btyaccpar.c: add casts, change types to fix strict compiler warnings
1885 * test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c:
1888 * output.c: gcc-warning
1890 * test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c: regen
1892 * output.c: fix limit when merging real/workaround tables
1895 for btyacc, it is possible to have no conflicts - but in that case, the
1896 "ctable" was not generated at all, while the skeleton uses the table.
1897 The most straightforward (workaround) is generating a dummy table which
1900 * test/btyacc_destroy3.y, test/btyacc_destroy2.y, test/btyacc_destroy1.y:
1901 fix "make check_make"
1903 * test/yacc/calc3.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/calc2.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c:
1907 trim blanks from interim value in copy_param() to handle special case when
1908 a space precedes a comma.
1911 use two new functions, puts_param_types and puts_param_names, to improve
1912 format of the parse_param list (by trimming space after "*") as well as
1913 correcting the output of the comma-separated names (only the last name
1916 * test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c:
1920 modify copy_param() to handle resulting comma-separated list. Before, it
1921 only expected a single parameter.
1923 2014-10-04 Thomas E. Dickey <dickey@invisible-island.net>
1925 * reader.c: split-out save_param() from copy_param()
1927 * reader.c: trim_blanks() did not always convert spaces - fix.
1929 * reader.c: fix some minor regressions with error-reporting
1931 * aclocal.m4: update CF_XOPEN_SOURCE for Unixware change from lynx
1933 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1937 modify copy_param() to accept multiple parameters, each in curly braces like
1938 recent bison, as well as honoring bison's undocumented feature to accept the
1939 parameters as a comma-separated list.
1941 * test/btyacc/btyacc_destroy3.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.error, test/btyacc/btyacc_destroy3.output, test/btyacc/btyacc_destroy3.tab.h, test/btyacc/btyacc_destroy2.error, test/btyacc/btyacc_destroy2.output, test/btyacc/btyacc_destroy2.tab.h:
1944 2014-10-03 Thomas E. Dickey <dickey@invisible-island.net>
1946 * test/btyacc/btyacc_demo2.error, test/btyacc/btyacc_demo2.output, test/btyacc/btyacc_demo2.tab.c, test/btyacc/btyacc_demo2.tab.h, test/btyacc/btyacc_destroy1.error, test/btyacc/btyacc_destroy1.output, test/btyacc/btyacc_destroy1.tab.h, test/btyacc_destroy3.y, test/btyacc_destroy1.y, test/btyacc_destroy2.y:
1949 2014-10-02 Thomas E. Dickey <dickey@invisible-island.net>
1951 * main.c, reader.c, defs.h:
1952 use calloc in get_line() when allocating line to ensure it is fully initialized,
1953 fixes a later uninitialized value in copy_param() (FreeBSD #193499).
1955 2014-09-17 Thomas E. Dickey <dickey@invisible-island.net>
1957 * closure.c, lalr.c, output.c, defs.h:
1958 rephrase odd addressing to fix Coverity #48848, #38950, #38860, not actually
1961 2014-09-01 Thomas E. Dickey <dickey@invisible-island.net>
1963 * config.sub: update to 2014-07-28
1965 2014-07-27 Thomas E. Dickey <dickey@invisible-island.net>
1969 * aclocal.m4: modified to support port to Minix3.2
1971 * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
1974 2014-07-15 Thomas E. Dickey <dickey@invisible-island.net>
1976 * aclocal.m4: resync with my-autoconf (no change to configure script)
1978 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1982 make top-level "make check" work again, by adding another step to filtering
1985 2014-07-14 Thomas E. Dickey <dickey@invisible-island.net>
1987 * test/run_test.sh: changes from Garrett Cooper's patch:
1988 a) ensure that the script returns an error-code if there are differences
1989 b) escape "." character in left side of sed expression for $YACC
1990 c) ensure that $ifBTYACC has a value
1992 * test/btyacc/big_b.output, test/btyacc/big_l.output, test/btyacc/help.output, test/btyacc/no_b_opt.output, test/btyacc/no_output2.output, test/btyacc/no_p_opt.output, test/btyacc/nostdin.output:
1993 regen (reminder by Garrett Cooper)
1995 2014-07-14 Garrett.Cooper
1997 * test/btyacc/err_inherit1.error, test/btyacc/err_inherit2.error, test/btyacc/err_inherit3.error, test/btyacc/err_inherit4.error, test/btyacc/err_inherit5.error, test/btyacc/err_syntax1.error, test/btyacc/err_syntax10.error, test/btyacc/err_syntax11.error, test/btyacc/err_syntax12.error, test/btyacc/err_syntax13.error, test/btyacc/err_syntax14.error, test/btyacc/err_syntax15.error, test/btyacc/err_syntax16.error, test/btyacc/err_syntax17.error, test/btyacc/err_syntax18.error, test/btyacc/err_syntax19.error, test/btyacc/err_syntax2.error, test/btyacc/err_syntax21.error, test/btyacc/err_syntax22.error, test/btyacc/err_syntax23.error, test/btyacc/err_syntax24.error, test/btyacc/err_syntax25.error, test/btyacc/err_syntax26.error, test/btyacc/err_syntax27.error, test/btyacc/err_syntax3.error, test/btyacc/err_syntax4.error, test/btyacc/err_syntax5.error, test/btyacc/err_syntax6.error, test/btyacc/err_syntax7.error, test/btyacc/err_syntax7a.error, test/btyacc/err_syntax7b.error, test/btyacc/err_syntax8.error, test/btyacc/err_syntax8a.error, test/btyacc/err_syntax9.error, test/yacc/err_syntax1.error, test/yacc/err_syntax10.error, test/yacc/err_syntax11.error, test/yacc/err_syntax12.error, test/yacc/err_syntax13.error, test/yacc/err_syntax14.error, test/yacc/err_syntax15.error, test/yacc/err_syntax16.error, test/yacc/err_syntax17.error, test/yacc/err_syntax18.error, test/yacc/err_syntax19.error, test/yacc/err_syntax2.error, test/yacc/err_syntax21.error, test/yacc/err_syntax22.error, test/yacc/err_syntax23.error, test/yacc/err_syntax24.error, test/yacc/err_syntax25.error, test/yacc/err_syntax26.error, test/yacc/err_syntax27.error, test/yacc/err_syntax3.error, test/yacc/err_syntax4.error, test/yacc/err_syntax5.error, test/yacc/err_syntax6.error, test/yacc/err_syntax7.error, test/yacc/err_syntax7a.error, test/yacc/err_syntax7b.error, test/yacc/err_syntax8.error, test/yacc/err_syntax8a.error, test/yacc/err_syntax9.error:
2000 2014-05-27 Tom.Shields
2002 * main.c: remove obsolete -D option from usage message
2004 2014-05-27 Thomas E. Dickey <dickey@invisible-island.net>
2006 * VERSION, package/byacc.spec, package/debian/changelog, test/yacc/big_b.output, test/yacc/big_l.output, test/yacc/help.output, test/yacc/no_b_opt.output, test/yacc/no_output2.output, test/yacc/no_p_opt.output, test/yacc/nostdin.output:
2009 2014-04-22 Thomas E. Dickey <dickey@invisible-island.net>
2012 use vsnprintf() to ensure that msprintf's buffer is large enough.
2014 * main.c, defs.h: add mstring_leaks()
2018 * output.c: fix a complementary warning
2020 * mstring.c: introduce vsnprintf
2022 * configure.in, config_h.in: add check for vsnprintf
2024 * output.c: quiet a type-conversion warning
2026 * mstring.c: fix a potential memory leak on ENOMEM
2027 quiet a couple of type-conversion warnings
2029 * defs.h: add/use GCC_PRINTFLIKE for msprintf()
2031 2014-04-22 Tom.Shields
2034 drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant
2035 content into README.BTYACC
2037 2014-04-22 Thomas E. Dickey <dickey@invisible-island.net>
2039 * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
2042 2014-04-19 Thomas E. Dickey <dickey@invisible-island.net>
2044 * config.sub: 2014-04-03
2046 * config.guess: 2014-03-23
2048 2014-04-09 Rick.Spates
2050 * main.c, defs.h: patch to allow DEBUG build with WIN32 system
2052 2014-04-09 Thomas E. Dickey <dickey@invisible-island.net>
2054 * output.c, reader.c: gcc warnings
2056 * reader.c: fix const-cast warnings
2058 * test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/code_error.tab.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/error.tab.c, test/btyacc/rename_debug.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.tab.c, output.c:
2059 fix a few clang --analyze warnings; one was a case where output_ctable emitted
2060 an empty table (which should be an error).
2062 * reader.c: appease clang --analyze
2064 * defs.h: mark two functions as no-return.
2066 * package/debian/changelog: reason for release
2068 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
2071 * makefile.in: use $LINT_OPTS from environment via configure script
2073 * test/btyacc/ok_syntax1.output, test/btyacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.c, test/ok_syntax1.y, test/yacc/ok_syntax1.output:
2074 tweaks to make generated files from ok_syntax1.y compile with check_make rule
2076 * test/btyacc/rename_debug.c, test/btyacc/rename_debug.error, test/btyacc/rename_debug.h, test/btyacc/rename_debug.i, test/btyacc/rename_debug.output, test/yacc/rename_debug.c:
2077 reference output for testing
2080 retain the renaming done for code_debug.y so that check_make will work.
2082 * test/yacc/rename_debug.error, test/yacc/rename_debug.h, test/yacc/rename_debug.i, test/yacc/rename_debug.output:
2083 reference output for testing
2085 * test/btyacc/ok_syntax1.error: RCS_BASE
2087 * test/yacc/quote_calc4-s.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, yaccpar.c:
2091 clarify relationship of btyacc features to default configuration.
2093 2014-04-08 Thomas E. Dickey <dickey@invisible-island.net>
2095 * test/yacc/ok_syntax1.output, test/yacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.h, test/btyacc/ok_syntax1.output, test/btyacc/ok_syntax1.tab.c, test/btyacc/ok_syntax1.tab.h:
2096 reference output for testing
2098 * test/ok_syntax1.y: RCS_BASE
2100 * test/yacc/ok_syntax1.error: reference output for testing
2102 * test/yacc/big_b.error, test/yacc/big_b.output, test/yacc/big_l.error, test/yacc/big_l.output, test/btyacc/big_b.error, test/btyacc/big_b.output, test/btyacc/big_l.error, test/btyacc/big_l.output, test/run_test.sh:
2103 exercise -L/-B options
2105 * test/yacc/code_debug.c, test/btyacc/code_debug.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax27.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/run_test.sh, test/yacc/no_b_opt1.output:
2106 use a better renaming of the YYPATCH definition (none of the test-cases rely
2107 upon it, but redefinition in the "make check_make" rule is a problem).
2109 * test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, test/btyacc/varsyntax_calc1.tab.c:
2110 undid temporary reordering in reader() by Tom Shields to align with byacc outputs
2112 * test/run_test.sh: remove a repeated test-case
2114 * mstring.c: minor reformatting to make coverage analysis simpler
2116 2014-04-07 Thomas E. Dickey <dickey@invisible-island.net>
2118 * test/run_test.sh: tidy
2120 * test/yacc/help.error, test/yacc/help.output, test/yacc/no_b_opt.error, test/yacc/no_b_opt.output, test/yacc/no_b_opt1.error, test/yacc/no_b_opt1.output, test/yacc/no_code_c.error, test/yacc/no_code_c.output, test/yacc/no_defines.error, test/yacc/no_defines.output, test/yacc/no_graph.error, test/yacc/no_graph.output, test/yacc/no_include.error, test/yacc/no_include.output, test/yacc/no_opts.error, test/yacc/no_opts.output, test/yacc/no_output.error, test/yacc/no_output.output, test/yacc/no_output1.error, test/yacc/no_output1.output, test/yacc/no_output2.error, test/yacc/no_output2.output, test/yacc/no_p_opt.error, test/yacc/no_p_opt.output, test/yacc/no_p_opt1.error, test/yacc/no_p_opt1.output, test/yacc/no_verbose.error, test/yacc/no_verbose.output, test/yacc/nostdin.error, test/yacc/nostdin.output, test/yacc/test-no_b_opt1.output:
2121 reference output for testing
2124 add special checks for flags which depend on writable/existing files
2126 * test/btyacc/no_b_opt1.output, test/btyacc/no_p_opt1.output, test/btyacc/no_b_opt.error, test/btyacc/no_b_opt.output, test/btyacc/no_b_opt1.error, test/btyacc/no_code_c.output, test/btyacc/no_p_opt.error, test/btyacc/no_p_opt.output, test/btyacc/no_p_opt1.error, test/btyacc/no_output2.output, test/btyacc/no_code_c.error, test/btyacc/no_output2.error, test/btyacc/no_include.error, test/btyacc/no_include.output, test/btyacc/no_defines.output, test/btyacc/no_defines.error, test/btyacc/no_verbose.output, test/btyacc/no_graph.output, test/btyacc/no_graph.error, test/btyacc/no_opts.error, test/btyacc/no_opts.output, test/btyacc/no_verbose.error, test/btyacc/nostdin.error, test/btyacc/nostdin.output, test/btyacc/no_output.error, test/btyacc/no_output.output, test/btyacc/no_output1.error, test/btyacc/no_output1.output:
2127 reference output for testing
2130 change CREATE_FILE_NAMES() to use local function rather than inline code,
2131 to simplify coverage analysis.
2133 * test/btyacc/err_syntax27.error, test/btyacc/err_syntax27.output, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax27.tab.h, test/btyacc/help.error, test/btyacc/help.output, test/yacc/err_syntax27.error, test/yacc/err_syntax27.output, test/yacc/err_syntax27.tab.c, test/yacc/err_syntax27.tab.h:
2134 reference output for testing
2136 * test/err_syntax27.y: testcase for missing_brace()
2138 * error.c: ifdef'd non-btyacc function
2140 * lr0.c: ifdef'd debug-code
2142 * yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel
2144 * test/btyacc/code_debug.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_debug.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, output.c, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/run_test.sh:
2145 2010/11/26 simplification of output.c using putc_code() and putl_code()
2146 omitted an adjustment of the #line value used for code-file. Fix that.
2147 Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for
2148 YYPATCH #define's to make test-outputs easier to compare #line's (report
2151 2014-04-06 Thomas E. Dickey <dickey@invisible-island.net>
2153 * reader.c: fix for valgrind
2154 (the calloc's are intentional - valgrind reported use of uninitialized memory)
2156 * lr0.c, output.c: fix for valgrind
2158 * test/btyacc/code_debug.c, test/btyacc/code_debug.error, test/btyacc/code_debug.h, test/btyacc/code_debug.i, test/btyacc/code_debug.output:
2161 * test/yacc/code_debug.c, test/yacc/code_debug.h:
2162 exercise the -i option
2164 * test/yacc/code_debug.i: reference output for testing
2166 * test/run_test.sh: exercise the -i option
2168 * test/yacc/code_debug.c: reference output for testing
2170 * test/run_test.sh: exercise the "-o" option
2172 * test/yacc/code_debug.error, test/yacc/code_debug.h, test/yacc/code_debug.output:
2173 reference output for testing
2175 * output.c: don't call exit() without giving a chance to cleanup.
2177 * mstring.c: ifdef'd functions not used in byacc
2179 * btyaccpar.c: generated from btyaccpar.skel
2181 * yaccpar.c: generated from yaccpar.skel
2184 change the generated-by comment to show which version of this script (and
2185 which version of the given skeleton file) were used to produce the C-file.
2190 add rules to generate byacc and btyacc parser skeleton files independently
2192 * aclocal.m4: CF_PROG_AWK - add to byacc's configure script
2194 cleanup the -no-gcc option which was leftover from testing - prcs does
2195 not build with this option.
2197 protect $2 from substitution, for luit's "$(manext)"
2199 for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2
2200 on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE
2201 because it is not needed, as well as because g++ 4.7.3 (no package,
2202 used in Sage for Solaris 10) has some unspecified header breakage which
2203 is triggered by the duplicate definition.
2206 modify so skeleton-source is determined by configure options rather than by
2207 having developer rename yaccpar.skel.old to yaccpar.skel
2209 * descrip.mms: rename skeleton
2212 fwiw, renamed the skeleton for consistency with makefile
2214 * skel2c, skeleton.c: resync skeleton and its generating files
2217 renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules
2219 * yaccpar.skel.old: resync skeleton and its generating files
2221 * test/run_make.sh: improve cleanup after error recovery
2223 * test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, output.c, skeleton.c, defs.h:
2224 use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton
2226 * output.c: simplify output_yyerror_decl()
2228 * test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.tab.c, test/yacc/code_error.tab.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, output.c:
2229 add second "const" to string-table declarations, from Tom Shield's btyacc changes
2231 * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c:
2232 discard unnecessary call on write_code_lineno() from Tom Shield's changes
2234 * test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, test/yacc/code_error.code.c, test/yacc/code_error.tab.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, output.c:
2235 use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short"
2237 * test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c:
2238 use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL()
2240 * test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c:
2241 discard unnecessary call on write_code_lineno() from Tom Shield's changes
2243 * output.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/code_calc.tab.c, test/yacc/code_error.tab.c:
2244 use fix from Tom Shield's btyacc changes: prefix-definitions went to the
2245 output (.tab.c) file in a case where they should have gone to the code
2246 (.code.c) file. Remove now-redundant call to output_prefix().
2248 * main.c: do the same for help-message
2250 * main.c: use OUTPUT_SUFFIX symbol in an overlooked case
2253 modify to avoid use of VPATH, which has no standard implementation
2255 2014-04-05 Thomas E. Dickey <dickey@invisible-island.net>
2257 * test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c:
2258 discard a change which merged CountLines() with explicit comparisons against
2259 code_file because that adds extra to the #line values
2261 * test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/calc.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/error.tab.c, output.c:
2262 add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to
2263 override fallback typedef for YYSTYPE when that symbol is undefined
2265 * test/btyacc/error.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c:
2266 minor tweak to coding style - use parenthesis for "defined" operator's parameter
2268 * test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c:
2269 regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent
2271 * test/yacc/err_syntax20.tab.c, test/yacc/grammar.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, test/yacc/code_error.code.c, test/yacc/code_error.tab.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c:
2272 regen after adding the YYUNDFTOKEN symbol
2275 integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol
2276 (I changed order of output to keep this adjacent to YYMAXTOKEN)
2279 merge all but one small change from Tom Shield's btyacc changes - that
2280 changes the order of code-file in the tests.
2282 * test/btyacc/btyacc_demo.tab.c: regen
2284 * test/btyacc_demo.y: fix prototypes
2286 2014-04-04 Thomas E. Dickey <dickey@invisible-island.net>
2288 * reader.c, defs.h, main.c:
2289 more merging of Tom Shield's btyacc changes. In the merge, I moved the
2290 symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs
2292 2014-04-03 Thomas E. Dickey <dickey@invisible-island.net>
2295 merge-in 3/4 of btyacc's changes, deferring those which change test-outputs.
2296 Tom Shield's changes split-out copy_string() and copy_comment() functions
2297 to simplify some logic, as well as adding btyacc-only chunks
2299 * makefile.in: build mstring.o, needed for changes in reader.c
2302 merge-in all of btyacc's changes which do not change byacc's test-output.
2303 Some of the merge uses ifdef-changes which I applied to ongoing resync,
2304 e.g., the introduction of PER_STATE.
2306 2014-04-02 Thomas E. Dickey <dickey@invisible-island.net>
2308 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen
2310 * output.c: fix typo
2312 * output.c, reader.c:
2313 merge in some chunks of reader and output files which do not affect byacc tests
2315 * test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen
2317 * test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, skeleton.c:
2318 incorporate YYENOMEM and YYEOF symbols from btyacc
2320 * output.c: merge chunk from btyacc changes for header-guards
2322 * btyaccpar.skel: RCS_BASE
2324 * yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues
2325 remove GCC_UNUSED to reduce name-pollution as well as being simpler
2328 move a btyacc symbol outside ifdef to work around current state of merge
2331 add USE_HEADER_GUARDS to defer whether to modify byacc's header-output
2334 do not try to compile files used for testing syntax-errors, since they are
2335 likely to be incomplete
2337 2014-04-02 Tom.Shields
2339 * main.c: changes for btyacc
2341 2014-04-01 Thomas E. Dickey <dickey@invisible-island.net>
2344 integrate change by Tom Shields to use bsearch rather than successive
2347 * defs.h: typedef __compar_fn_t is unnecessary
2349 * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c:
2350 omit the GCC_UNUSED, as noted by Tom Shields not really essential
2352 2014-04-01 Tom.Shields
2354 * verbose.c: changes for btyacc, ifdef'd
2356 2014-04-01 Thomas E. Dickey <dickey@invisible-island.net>
2358 * mkpar.c: eliminate most of the ifdef's using macros
2360 2014-04-01 Tom.Shields
2362 * mkpar.c: merge btyacc changes (ifdef'd - no change to byacc)
2365 new functions used for reporting errors from the btyacc configuration
2366 (I reordered some, and ifdef'd the new ones -TD)
2368 2014-03-31 Thomas E. Dickey <dickey@invisible-island.net>
2370 * test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c:
2371 omit the GCC_UNUSED, as noted by Tom Shields not really essential
2373 * test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c:
2376 2014-03-29 Thomas E. Dickey <dickey@invisible-island.net>
2378 * test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, skeleton.c:
2379 comment-out yysccsid in the banner because it produces unnecessary compiler
2380 warnings. The suggested alternative (using #pragma ident) in the preceding
2381 comment is also obsolete; remove that comment (request by Gleb Smirnoff).
2384 for yacc, ignore the inherit testcases, since they are btyacc-specific
2386 2014-03-28 Thomas E. Dickey <dickey@invisible-island.net>
2388 * test/yacc/varsyntax_calc1.error, test/yacc/varsyntax_calc1.output, test/yacc/varsyntax_calc1.tab.c, test/yacc/varsyntax_calc1.tab.h, test/yacc/err_inherit3.error, test/yacc/err_inherit3.output, test/yacc/err_inherit3.tab.c, test/yacc/err_inherit3.tab.h, test/yacc/err_inherit4.error, test/yacc/err_inherit4.output, test/yacc/err_inherit4.tab.c, test/yacc/err_inherit4.tab.h, test/yacc/err_inherit5.error, test/yacc/err_inherit5.output, test/yacc/err_inherit5.tab.c, test/yacc/err_inherit5.tab.h, test/yacc/inherit0.error, test/yacc/inherit0.output, test/yacc/inherit0.tab.c, test/yacc/inherit0.tab.h, test/yacc/inherit1.error, test/yacc/inherit1.output, test/yacc/inherit1.tab.c, test/yacc/inherit1.tab.h, test/yacc/inherit2.error, test/yacc/inherit2.output, test/yacc/inherit2.tab.c, test/yacc/inherit2.tab.h, test/yacc/empty.error, test/yacc/empty.output, test/yacc/empty.tab.c, test/yacc/empty.tab.h, test/yacc/err_inherit1.error, test/yacc/err_inherit1.output, test/yacc/err_inherit1.tab.c, test/yacc/err_inherit1.tab.h, test/yacc/err_inherit2.error, test/yacc/err_inherit2.output, test/yacc/err_inherit2.tab.c, test/yacc/err_inherit2.tab.h:
2389 reference output for testing
2391 * test/run_lint.sh, test/run_make.sh, test/run_test.sh:
2392 moving #define's out of makefile broke check for yacc vs btyacc (fix)
2394 2014-03-28 Tom.Shields
2396 * test/btyacc/btyacc_demo.tab.c, test/btyacc/err_inherit3.error, test/btyacc/err_inherit3.output, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit3.tab.h, test/btyacc/err_inherit2.error, test/btyacc/err_inherit2.output, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit2.tab.h, test/btyacc/err_inherit4.error, test/btyacc/err_inherit4.output, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit4.tab.h, test/btyacc/err_inherit5.error, test/btyacc/err_inherit5.output, test/btyacc/err_inherit5.tab.c, test/btyacc/err_inherit5.tab.h, test/btyacc/inherit0.error, test/btyacc/inherit0.output, test/btyacc/inherit0.tab.c, test/btyacc/inherit0.tab.h, test/btyacc/inherit1.error, test/btyacc/inherit1.output, test/btyacc/inherit1.tab.c, test/btyacc/inherit1.tab.h, test/btyacc/inherit2.error, test/btyacc/inherit2.output, test/btyacc/inherit2.tab.c, test/btyacc/inherit2.tab.h, test/btyacc/calc.error, test/btyacc/err_inherit1.error, test/btyacc/err_inherit1.output, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit1.tab.h:
2397 reference output for testing
2399 * defs.h: new functions/variables for btyacc
2400 (I reordered and ifdef'd -TD)
2402 * test/inherit0.y, test/inherit1.y: testcase for btyacc
2404 2014-03-27 Tom.Shields
2406 * test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y, test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y:
2409 2014-03-25 Tom.Shields
2411 * symtab.c: extra initialization needed for btyacc
2414 * yacc.1: document -L/-B features from btyacc
2416 2014-03-25 Thomas E. Dickey <dickey@invisible-island.net>
2423 modified new options to act like those in my other configure-scripts, e.g.,
2424 showing what option is being tested, and the resulting value. Put the
2425 definitions in config.h rather than in the makefile.
2427 2014-03-25 Tom.Shields
2429 * makefile.in: add/use LINTFLAGS variable
2430 make all of the objects (not just skeleton) rebuild if makefile changes
2431 modify check-rule to reflect updates to run_test.sh vs subdirectory
2433 * mstring.c: byacc-btyacc-20140323
2435 2014-03-25 Thomas E. Dickey <dickey@invisible-island.net>
2437 * test/btyacc/RCS, test/yacc/RCS: PERMIT FILE
2439 * config_h.in: updated with autoheader-252
2441 2014-03-25 Tom.Shields
2443 * README.BTYACC: byacc-btyacc-20140323
2445 2014-03-24 Tom.Shields
2447 * test/btyacc/err_syntax1.output, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax1.tab.h, test/btyacc/err_syntax10.error, test/btyacc/err_syntax10.output, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax10.tab.h, test/btyacc/err_syntax11.error, test/btyacc/err_syntax11.output, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax11.tab.h, test/btyacc/err_syntax12.error, test/btyacc/err_syntax12.output, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax12.tab.h, test/btyacc/err_syntax13.error, test/btyacc/err_syntax13.output, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax13.tab.h, test/btyacc/err_syntax14.error, test/btyacc/err_syntax14.output, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax14.tab.h, test/btyacc/err_syntax15.error, test/btyacc/err_syntax15.output, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax15.tab.h, test/btyacc/err_syntax16.error, test/btyacc/err_syntax16.output, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax16.tab.h, test/btyacc/err_syntax17.error, test/btyacc/err_syntax17.output, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax17.tab.h, test/btyacc/err_syntax18.error, test/btyacc/err_syntax18.output, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax18.tab.h, test/btyacc/err_syntax19.error, test/btyacc/err_syntax19.output, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax19.tab.h, test/btyacc/err_syntax2.output, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax2.tab.h, test/btyacc/err_syntax20.error, test/btyacc/err_syntax20.output, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax20.tab.h, test/btyacc/err_syntax21.error, test/btyacc/err_syntax21.output, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax21.tab.h, test/btyacc/err_syntax22.error, test/btyacc/err_syntax22.output, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax22.tab.h, test/btyacc/err_syntax23.error, test/btyacc/err_syntax23.output, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax23.tab.h, test/btyacc/err_syntax24.error, test/btyacc/err_syntax24.output, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax24.tab.h, test/btyacc/err_syntax25.error, test/btyacc/err_syntax25.output, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax25.tab.h, test/btyacc/err_syntax26.error, test/btyacc/err_syntax26.output, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax26.tab.h, test/btyacc/err_syntax3.output, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax3.tab.h, test/btyacc/err_syntax4.output, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax4.tab.h, test/btyacc/err_syntax5.output, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax5.tab.h, test/btyacc/err_syntax6.output, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax6.tab.h, test/btyacc/err_syntax7.output, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7.tab.h, test/btyacc/err_syntax7a.output, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7a.tab.h, test/btyacc/err_syntax7b.output, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax7b.tab.h, test/btyacc/err_syntax8.output, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8.tab.h, test/btyacc/err_syntax8a.output, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax8a.tab.h, test/btyacc/err_syntax9.output, test/btyacc/err_syntax9.tab.c, test/btyacc/err_syntax9.tab.h:
2448 reference output for testing
2450 2014-03-24 Thomas E. Dickey <dickey@invisible-island.net>
2452 * defs.h: fix compiler warnings due to mputc()
2454 2014-03-23 Tom.Shields
2456 * test/btyacc_demo.y: testcase for btyacc
2458 * test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h:
2459 reference output for testing
2461 * test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc
2463 2014-03-23 Thomas E. Dickey <dickey@invisible-island.net>
2465 * test/err_syntax26.error, test/err_syntax26.output, test/err_syntax26.tab.c, test/err_syntax26.tab.h, test/yacc/err_syntax26.error, test/yacc/err_syntax26.output, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax26.tab.h:
2466 reference output for testing
2468 * test/err_syntax26.y: testcase for missing_brace()
2470 * test/err_syntax25.error, test/err_syntax25.output, test/err_syntax25.tab.c, test/err_syntax25.tab.h, test/yacc/err_syntax25.error, test/yacc/err_syntax25.output, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax25.tab.h:
2471 reference output for testing
2473 * test/err_syntax25.y: testcase for over_unionized()
2475 * test/err_syntax24.error, test/err_syntax24.output, test/err_syntax24.tab.c, test/err_syntax24.tab.h, test/yacc/err_syntax24.error, test/yacc/err_syntax24.output, test/yacc/err_syntax24.tab.c, test/yacc/err_syntax24.tab.h:
2476 reference output for testing
2478 * test/err_syntax24.y: testcase for default_action_warning()
2480 2014-03-23 Tom.Shields
2482 * test/btyacc/quote_calc3-s.error, test/btyacc/quote_calc4-s.error, test/btyacc/quote_calc4.error, test/btyacc/grammar.dot, test/btyacc/grammar.error, test/btyacc/pure_calc.error, test/btyacc/pure_error.error, test/btyacc/quote_calc-s.error, test/btyacc/quote_calc.error, test/btyacc/quote_calc2-s.error, test/btyacc/quote_calc2.error, test/btyacc/quote_calc3.error, test/btyacc/err_syntax2.error, test/btyacc/err_syntax3.error, test/btyacc/err_syntax4.error, test/btyacc/err_syntax5.error, test/btyacc/err_syntax6.error, test/btyacc/err_syntax7.error, test/btyacc/err_syntax7a.error, test/btyacc/err_syntax7b.error, test/btyacc/err_syntax8.error, test/btyacc/err_syntax8a.error, test/btyacc/err_syntax9.error, test/btyacc/error.error, test/btyacc/calc1.error, test/btyacc/calc2.error, test/btyacc/calc3.error, test/btyacc/code_calc.error, test/btyacc/code_error.error, test/btyacc/empty.error, test/btyacc/err_syntax1.error, test/btyacc/btyacc_calc1.error, test/btyacc/btyacc_demo.error:
2483 reference output for testing
2485 2014-03-23 Thomas E. Dickey <dickey@invisible-island.net>
2487 * test/err_syntax23.error, test/err_syntax23.output, test/err_syntax23.tab.c, test/err_syntax23.tab.h, test/yacc/err_syntax23.error, test/yacc/err_syntax23.output, test/yacc/err_syntax23.tab.c, test/yacc/err_syntax23.tab.h:
2488 reference output for testing
2490 * test/err_syntax23.y: testcase for untyped_lhs()
2492 2014-03-23 Tom.Shields
2495 move test-outputs into subdirectories to keep btyacc/yacc results separate
2497 2014-03-23 Thomas E. Dickey <dickey@invisible-island.net>
2499 * test/err_syntax22.error, test/err_syntax22.output, test/err_syntax22.tab.c, test/err_syntax22.tab.h, test/yacc/err_syntax22.error, test/yacc/err_syntax22.output, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax22.tab.h:
2500 reference output for testing
2502 * test/err_syntax22.y: testcase for untyped_rhs()
2504 * test/err_syntax21.error, test/err_syntax21.output, test/err_syntax21.tab.c, test/err_syntax21.tab.h, test/yacc/err_syntax21.error, test/yacc/err_syntax21.output, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax21.tab.h, test/err_syntax20.error, test/err_syntax20.output, test/err_syntax20.tab.c, test/err_syntax20.tab.h, test/yacc/err_syntax20.error, test/yacc/err_syntax20.output, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax20.tab.h:
2505 reference output for testing
2507 * test/err_syntax20.y: testcase for undefined_symbol_warning()
2509 * test/err_syntax21.y: testcase for unknown_rhs()
2511 * test/err_syntax19.error, test/err_syntax19.output, test/err_syntax19.tab.c, test/err_syntax19.tab.h, test/yacc/err_syntax19.error, test/yacc/err_syntax19.output, test/yacc/err_syntax19.tab.c, test/yacc/err_syntax19.tab.h:
2512 reference output for testing
2514 * test/err_syntax19.y: testcase for dollar_error()
2516 * test/err_syntax18.error, test/err_syntax18.output, test/err_syntax18.tab.c, test/err_syntax18.tab.h, test/yacc/err_syntax18.error, test/yacc/err_syntax18.output, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax18.tab.h:
2517 reference output for testing
2519 * test/err_syntax18.y: testcase for dollar_warning()
2521 * test/err_syntax17.error, test/err_syntax17.output, test/err_syntax17.tab.c, test/err_syntax17.tab.h, test/yacc/err_syntax17.error, test/yacc/err_syntax17.output, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax17.tab.h:
2522 reference output for testing
2524 * test/err_syntax17.y: testcase for unterminated_action()
2526 2014-03-22 Thomas E. Dickey <dickey@invisible-island.net>
2528 * test/err_syntax16.error, test/err_syntax16.output, test/err_syntax16.tab.c, test/err_syntax16.tab.h, test/yacc/err_syntax16.error, test/yacc/err_syntax16.output, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax16.tab.h:
2529 reference output for testing
2531 * test/err_syntax16.y: testcase for terminal_lhs()
2533 * test/err_syntax15.error, test/err_syntax15.output, test/err_syntax15.tab.c, test/err_syntax15.tab.h, test/yacc/err_syntax15.error, test/yacc/err_syntax15.output, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax15.tab.h:
2534 reference output for testing
2536 * test/err_syntax15.y: testcase for no_grammar()
2538 * test/err_syntax14.error, test/err_syntax14.output, test/err_syntax14.tab.c, test/err_syntax14.tab.h, test/yacc/err_syntax14.error, test/yacc/err_syntax14.output, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax14.tab.h:
2539 reference output for testing
2541 * test/err_syntax14.y:
2542 testcase for restarted_warning() and undefined_goal()
2544 * test/err_syntax13.error, test/err_syntax13.output, test/err_syntax13.tab.c, test/err_syntax13.tab.h, test/yacc/err_syntax13.error, test/yacc/err_syntax13.output, test/yacc/err_syntax13.tab.c, test/yacc/err_syntax13.tab.h:
2545 reference output for testing
2547 * test/err_syntax13.y: testcase for terminal_start()
2549 * test/err_syntax12.error, test/err_syntax12.output, test/err_syntax12.tab.c, test/err_syntax12.tab.h, test/yacc/err_syntax12.error, test/yacc/err_syntax12.output, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax12.tab.h:
2550 reference output for testing
2552 * test/err_syntax12.y: testcase for revalued_warning()
2554 * test/err_syntax11.error, test/err_syntax11.output, test/err_syntax11.tab.c, test/err_syntax11.tab.h, test/yacc/err_syntax11.error, test/yacc/err_syntax11.output, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax11.tab.h:
2555 reference output for testing
2557 * test/err_syntax11.y: testcase for reprec_warning()
2559 * test/err_syntax10.error, test/err_syntax10.output, test/err_syntax10.tab.c, test/err_syntax10.tab.h, test/yacc/err_syntax10.error, test/yacc/err_syntax10.output, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax10.tab.h:
2560 reference output for testing
2562 * test/err_syntax10.y: testcase for retyped_warning()
2564 2014-03-21 Thomas E. Dickey <dickey@invisible-island.net>
2566 * test/err_syntax9.error, test/err_syntax9.output, test/err_syntax9.tab.c, test/err_syntax9.tab.h, test/yacc/err_syntax9.error, test/yacc/err_syntax9.output, test/yacc/err_syntax9.tab.c, test/yacc/err_syntax9.tab.h:
2567 reference output for testing
2569 * test/err_syntax9.y: testcase for tokenized_start()
2571 * test/err_syntax8.error, test/err_syntax8.output, test/err_syntax8.tab.c, test/err_syntax8.tab.h, test/err_syntax8a.error, test/err_syntax8a.output, test/err_syntax8a.tab.c, test/err_syntax8a.tab.h, test/yacc/err_syntax8.error, test/yacc/err_syntax8.output, test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8.tab.h, test/yacc/err_syntax8a.error, test/yacc/err_syntax8a.output, test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax8a.tab.h:
2572 reference output for testing
2574 * test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved()
2576 * test/err_syntax7.error, test/err_syntax7.output, test/err_syntax7.tab.c, test/err_syntax7.tab.h, test/err_syntax7a.error, test/err_syntax7a.output, test/err_syntax7a.tab.c, test/err_syntax7a.tab.h, test/err_syntax7b.error, test/err_syntax7b.output, test/err_syntax7b.tab.c, test/err_syntax7b.tab.h, test/yacc/err_syntax7.error, test/yacc/err_syntax7.output, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7.tab.h, test/yacc/err_syntax7a.error, test/yacc/err_syntax7a.output, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7a.tab.h, test/yacc/err_syntax7b.error, test/yacc/err_syntax7b.output, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax7b.tab.h:
2577 reference output for testing
2579 * test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y:
2580 testcase for illegal_character()
2582 * test/err_syntax6.error, test/err_syntax6.output, test/err_syntax6.tab.c, test/err_syntax6.tab.h, test/yacc/err_syntax6.error, test/yacc/err_syntax6.output, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax6.tab.h:
2583 reference output for testing
2585 * test/err_syntax6.y: testcase for illegal_tag()
2587 * test/err_syntax5.error, test/err_syntax5.output, test/err_syntax5.tab.c, test/err_syntax5.tab.h, test/yacc/err_syntax5.error, test/yacc/err_syntax5.output, test/yacc/err_syntax5.tab.c, test/yacc/err_syntax5.tab.h:
2588 reference output for testing
2590 * test/err_syntax5.y: testcase for unterminated_union()
2592 * test/err_syntax4.error, test/err_syntax4.output, test/err_syntax4.tab.c, test/err_syntax4.tab.h, test/yacc/err_syntax4.error, test/yacc/err_syntax4.output, test/yacc/err_syntax4.tab.c, test/yacc/err_syntax4.tab.h:
2593 reference output for testing
2595 * test/err_syntax4.y: testcase for unterminated_text()
2597 * test/err_syntax3.error, test/err_syntax3.output, test/err_syntax3.tab.c, test/err_syntax3.tab.h, test/yacc/err_syntax3.error, test/yacc/err_syntax3.output, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax3.tab.h:
2598 reference output for testing
2600 * test/err_syntax3.y: testcase for unterminated_string()
2602 * test/err_syntax2.error, test/err_syntax2.output, test/err_syntax2.tab.c, test/err_syntax2.tab.h, test/yacc/err_syntax2.error, test/yacc/err_syntax2.output, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax2.tab.h:
2603 reference output for testing
2605 * test/err_syntax2.y: testcase for unterminated_comment()
2607 * test/err_syntax1.error, test/yacc/err_syntax1.error:
2608 reference output for testing
2610 * test/err_syntax1.y:
2611 test-case with syntax error (and nonprinting character)
2613 * test/calc.error, test/calc1.error, test/calc2.error, test/calc3.error, test/code_calc.error, test/code_error.error, test/err_syntax1.error, test/error.error, test/grammar.error, test/pure_calc.error, test/pure_error.error, test/quote_calc-s.error, test/quote_calc.error, test/quote_calc2-s.error, test/quote_calc2.error, test/quote_calc3-s.error, test/quote_calc3.error, test/quote_calc4-s.error, test/quote_calc4.error, test/yacc/calc.error, test/yacc/calc1.error, test/yacc/calc2.error, test/yacc/calc3.error, test/yacc/code_calc.error, test/yacc/code_error.error, test/yacc/error.error, test/yacc/grammar.error, test/yacc/pure_calc.error, test/yacc/pure_error.error, test/yacc/quote_calc-s.error, test/yacc/quote_calc.error, test/yacc/quote_calc2-s.error, test/yacc/quote_calc2.error, test/yacc/quote_calc3-s.error, test/yacc/quote_calc3.error, test/yacc/quote_calc4-s.error, test/yacc/quote_calc4.error:
2614 reference output for testing
2617 save stderr to reference files, to capture shift/reduce messages as well
2618 as syntax-error messages
2620 * test/err_syntax1.output, test/err_syntax1.tab.c, test/err_syntax1.tab.h, test/yacc/err_syntax1.output, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax1.tab.h:
2621 reference output for testing
2623 * test/run_test.sh: generate a ".dot" file for the grammar file
2625 * test/grammar.dot: RCS_BASE
2627 * test/yacc/grammar.dot: reference output for testing
2629 2014-03-19 Tom.Shields
2631 * output.c: rename MAXSHORT to MAXYYINT
2633 2014-03-18 Tom.Shields
2635 * yaccpar.skel: skeleton with btyacc additions
2637 * NOTES-btyacc-Changes: byacc-btyacc-20140323
2639 * test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h:
2640 reference output for testing
2643 move test-outputs into subdirectories to keep btyacc/yacc results separate
2645 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_calc.tab.h, test/btyacc/pure_error.output, test/btyacc/pure_error.tab.c, test/btyacc/pure_error.tab.h, test/btyacc/quote_calc-s.output, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc-s.tab.h, test/btyacc/quote_calc.output, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc.tab.h, test/btyacc/quote_calc2-s.output, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2-s.tab.h, test/btyacc/quote_calc2.output, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc2.tab.h, test/btyacc/quote_calc3-s.output, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3-s.tab.h, test/btyacc/quote_calc3.output, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc3.tab.h, test/btyacc/quote_calc4-s.output, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4-s.tab.h, test/btyacc/quote_calc4.output, test/btyacc/quote_calc4.tab.c, test/btyacc/quote_calc4.tab.h, test/btyacc/calc1.output, test/btyacc/calc1.tab.c, test/btyacc/calc1.tab.h, test/btyacc/calc2.output, test/btyacc/calc2.tab.c, test/btyacc/calc2.tab.h, test/btyacc/calc3.output, test/btyacc/calc3.tab.c, test/btyacc/calc3.tab.h, test/btyacc/code_calc.code.c, test/btyacc/code_calc.output, test/btyacc/code_calc.tab.c, test/btyacc/code_calc.tab.h, test/btyacc/code_error.code.c, test/btyacc/code_error.output, test/btyacc/code_error.tab.c, test/btyacc/code_error.tab.h, test/btyacc/empty.output, test/btyacc/empty.tab.c, test/btyacc/empty.tab.h, test/btyacc/error.output, test/btyacc/error.tab.c, test/btyacc/error.tab.h, test/btyacc/grammar.output, test/btyacc/grammar.tab.c, test/btyacc/grammar.tab.h, test/btyacc/pure_calc.output, test/btyacc/btyacc_demo.output, test/btyacc/btyacc_demo.tab.h, test/btyacc/calc.output, test/btyacc/calc.tab.c, test/btyacc/calc.tab.h:
2646 reference output for testing
2649 several changes to help decouple the use of 'short' as the type of value
2650 used in yacc parsers.
2652 * NOTES-btyacc-Disposition: byacc-btyacc-20140323
2654 2014-03-17 Tom.Shields
2656 * skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE
2659 move test-outputs into subdirectories to keep btyacc/yacc results separate
2661 * configure.in: add --with-max-table-size and --enable-btyacc options
2663 2014-03-16 Tom.Shields
2665 * main.c: use Value_t rather than short
2667 2014-03-11 Tom.Shields
2669 * test/empty.y: testcase for btyacc
2671 2014-03-10 Tom.Shields
2673 * test/calc3.y, test/calc2.y: fix unused-variable warning
2675 2014-02-18 Tom.Shields
2677 * lr0.c, graph.c: use Value_t rather than short
2679 * closure.c: use Value_t rather than short
2680 ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions
2682 * lalr.c: rename MAXSHORT to MAXYYINT
2684 2014-01-01 Thomas E. Dickey <dickey@invisible-island.net>
2686 * yacc.1: document %token-table, improve presentation of double-quotes
2688 * VERSION, package/byacc.spec, package/debian/changelog: bump
2690 * test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, test/yacc/code_error.code.c, test/yacc/code_error.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c:
2691 reference output for testing
2693 * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_calc.tab.c, test/code_error.code.c, test/code_error.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc2.tab.c, test/quote_calc3-s.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
2696 * output.c, skeleton.c:
2697 amend the last change so that yytname is #define'd as needed rather than
2698 permanent - to avoid breaking cproto for instance.
2700 2014-01-01 Christos.Zoulas
2702 * output.c, defs.h, main.c, reader.c, skeleton.c:
2703 changes to build ntpd using byacc:
2704 - rename yyname[] to yytname[]
2705 - add YYTRANSLATE() macro
2706 - recognize bison's %token-table declaration
2708 2014-01-01 Thomas E. Dickey <dickey@invisible-island.net>
2712 * yacc.1: s/EE/XE/ to work around groff bug on Debian 6
2714 * makefile.in: use CF_MAKE_DOCS
2716 * aclocal.m4: add CF_MAKE_DOCS
2718 * configure.in: use CF_MAKE_DOCS
2720 2013-12-26 Thomas E. Dickey <dickey@invisible-island.net>
2722 * config.guess: 2013-11-29
2724 2013-11-19 Thomas E. Dickey <dickey@invisible-island.net>
2726 * aclocal.m4: resync with my-autoconf (fixes for clang and mingw)
2728 2013-10-25 Thomas E. Dickey <dickey@invisible-island.net>
2730 * config.sub: 2013-10-01
2732 2013-09-25 Thomas E. Dickey <dickey@invisible-island.net>
2734 * reader.c: fix two loop-limits found by clang 3.3 --analyze
2739 tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses
2741 * package/mingw-byacc.spec: RCS_BASE
2743 * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc2.tab.c, test/quote_calc3-s.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
2747 Increase default stack-size to match FreeBSD version noted as from
2748 "BSD 4.4 Lite Usr.bin Sources". See
2750 http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/
2751 http://svnweb.freebsd.org/base/head/usr.bin/yacc/
2752 http://svnweb.freebsd.org/base/vendor/byacc/
2754 The original 1.9 sources (on which I based development) used 500 for
2755 stacksize; the BSD Lite sources (a year or two later) used 10000.
2757 This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE
2758 symbols have "always" been overridable by applications, but rarely
2759 needed to do this. RedHat began using the FreeBSD source in 2000,
2760 and switched to this source in 2007 using the 20050813 snapshot.
2762 RedHat #743343 misattributed the change in default stacksize to
2763 a regression in byacc, but did not report the issue upstream.
2765 * package/debian/changelog, VERSION, package/byacc.spec: bump
2767 2013-09-07 Thomas E. Dickey <dickey@invisible-island.net>
2769 * config.sub: update to 2013-09-15
2771 * config.guess: update to 2013-06-10
2773 2013-03-04 Thomas E. Dickey <dickey@invisible-island.net>
2775 * package/debian/changelog, VERSION, package/byacc.spec: bump
2778 adapt tweak from Dave Beckett to work around long-ago breakage in "new" autoconf.
2781 fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton).
2782 also while testing that, found a case where the union_file is unused; added
2783 a check for address that.
2785 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen
2787 * test/ftp.y: fix most compiler warnings for "make check_make"
2789 * test/calc1.tab.c: regen
2791 * test/calc1.y: fix most compiler warnings for "make check_make"
2793 * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc2.tab.c, test/quote_calc3-s.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
2796 * skeleton.c: quiet a gcc conversion-warning in yygrowstack()
2801 another fix for CF_GCC_VERSION to handle Debian's modification of gcc message.
2803 2013-02-10 Thomas E. Dickey <dickey@invisible-island.net>
2805 * config.sub, config.guess: update to 2013-02-04
2807 2012-10-03 Thomas E. Dickey <dickey@invisible-island.net>
2809 * package/debian/changelog, package/byacc.spec, VERSION: bump
2813 * configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC
2816 moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc)
2817 the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor.
2819 * aclocal.m4, configure.in:
2820 Arian's change dropped my check for misused $CC variable - restore that with
2821 alternate macro CF_PROG_CC.
2823 2012-10-03 Adrian.Bunk
2826 suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since
2827 they are not needed.
2829 2012-10-03 Thomas E. Dickey <dickey@invisible-island.net>
2832 split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in
2833 Adrian's suggested changes.
2836 CF_CLANG_COMPILER - check if the given compiler is really clang.
2839 add check for clang to CF_GCC_WARNINGS. modify CF_GCC_WARNINGS to work around
2840 old gcc warning: ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1
2841 on my Sarge system (versus 3.3.5 for the normal gcc). The 2.8.1's
2842 pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work
2843 around by excluding that check for pre-3.x compilers.
2846 modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions
2847 provided by this macro. use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather
2848 than appending to confdefs.h, since long-ago concern about the ability to
2849 pass-through parameterized macros appears to be not a problem, testing with
2852 2012-10-03 Adrian.Bunk
2855 add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by
2856 autoheader, updated macros:
2860 CF_MIXEDCASE_FILENAMES
2863 2012-10-03 Thomas E. Dickey <dickey@invisible-island.net>
2866 move existence-check for mkstemp out of the AC_TRY_RUN, to help with
2869 2012-10-02 Thomas E. Dickey <dickey@invisible-island.net>
2872 Adrian Bunk request - replace this with the output from autoheader
2874 2012-09-29 Adrian.Bunk
2877 suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no
2878 check is needed anymore for standard C compilers), drop AC_CONST (same
2879 reason), modify AC_OUTPUT to rely upon template generated by autoheader.
2880 bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT
2881 as being obsolete with autoconf 2.52x
2883 * configure.in, main.c: drop check for atexit, because it is standard C
2885 * makefile.in: add assignment for datarootdir variable.
2887 2012-05-26 Thomas E. Dickey <dickey@invisible-island.net>
2889 * package/debian/changelog, package/byacc.spec, VERSION: bump
2892 some versions of gcc may warn that bp is not set in mark_symbol, e.g.,
2893 if GCC_NORETURN is not handled; appease the compiler.
2896 use the declared types Assoc_t and Value_t in some places where compiler only
2897 cared about char versus short.
2900 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
2904 add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD
2905 packagers to build without configure script. Also remove duplicate declaration
2906 of pure_parser variable (prompted by patch by Baptiste Daroussin).
2908 Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and
2912 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
2915 2012-05-25 Thomas E. Dickey <dickey@invisible-island.net>
2917 * output.c, main.c, verbose.c, mkpar.c, lr0.c:
2918 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
2921 2012-01-15 Thomas E. Dickey <dickey@invisible-island.net>
2923 * package/debian/copyright: bump
2925 * test/run_make.sh: workaround for breakage due to GNU make 3.82
2928 tested with Solaris 10 (bison 1.875) and added scripting to exercise
2929 the /usr/ccs/bin/yacc executable
2931 * test/grammar.tab.c: regen
2933 * test/grammar.y: modify to also build with Solaris yacc
2935 * VERSION, package/debian/changelog, package/byacc.spec: bump
2937 * test/yacc/calc1.output: reference output for testing
2939 * test/calc1.output, test/calc1.tab.c: regen
2942 undo the change made to appease bison, since it was only a warning.
2944 * test/pure_calc.tab.c, test/pure_error.tab.c: regen
2946 * test/run_make.sh: another fix for running from top-level directory
2949 ensure that check_make rule depends on having byacc built.
2951 * test/run_make.sh: fixes for building from parent directory
2953 * test/pure_error.y, test/pure_calc.y: bison-fixes
2955 * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c, test/ftp.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c:
2958 * test/code_debug.y: RCS_BASE
2960 * test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y:
2961 byacc already declares yyerror
2963 * test/pure_error.y, test/pure_calc.y:
2964 modified to help make the files build with bison
2967 supply a "%pure-parser" directive when bison needs it.
2969 * test/code_calc.code.c: regen
2971 * test/code_calc.y: modified to help make the files build with bison
2974 in testing, found that %expect did not work as documented for bison.
2975 do not recommend it for portable code.
2977 * test/run_make.sh: workaround breakage in bison's %expect directive
2979 * test/grammar.y: modified to help make the files build with bison
2981 * test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen
2983 * test/calc1.y: quiet a spurious warning from bison 2.3
2985 * test/calc1.tab.c: regen
2987 * test/calc1.y: modified to help make the files build with bison
2989 * yacc.1: comment on "-y" and "-P" options.
2991 * yacc.1: comment on portability
2993 * test/ftp.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc3-s.tab.c:
2996 * test/ftp.y: modified to help make the files build with bison
2997 (bison's "-y" option is of no use in providing "yacc" compatibility)
2999 * test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
3002 * test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, test/quote_calc4.y, test/quote_calc3.y:
3003 modified to help make the files build with bison
3005 * test/calc.tab.c: regen
3007 * test/calc.y: modified to help make the files build with bison
3009 * test/error.tab.c: regen
3011 * test/error.y: modified to help make the files build with bison
3013 * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen
3016 check for older bisons which (2.3 for instance) do not support pure parsers
3018 * test/code_error.y, test/calc3.y, test/calc2.y:
3019 modified to help make the files build with bison
3021 * test/run_test.sh: use $opt2 in filenames of the generated files
3023 * test/quote_calc2-s.tab.c, test/quote_calc3-s.tab.c, test/quote_calc4-s.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4.tab.c:
3026 2012-01-14 Thomas E. Dickey <dickey@invisible-island.net>
3028 * test/calc2.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/calc1.tab.c:
3031 * output.c: Several changes:
3032 a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex.
3033 b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL,
3034 using YYLEX_PARAM_TYPE and YYLEX_PARAM.
3035 c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL,
3036 to help with redefinitions.
3038 * test/pure_calc.tab.c:
3039 modified to help make the files build with bison
3042 start work on followup, to check if the generated files build with bison.
3044 * test/pure_calc.y, test/pure_error.tab.c:
3045 modified to help make the files build with bison
3047 * test/calc3.tab.c: regen
3049 * test/quote_calc-s.output, test/quote_calc-s.tab.c, test/quote_calc-s.tab.h, test/quote_calc2-s.output, test/quote_calc2-s.tab.c, test/quote_calc2-s.tab.h, test/quote_calc3-s.output, test/quote_calc3-s.tab.c, test/quote_calc3-s.tab.h, test/quote_calc4-s.output, test/quote_calc4-s.tab.c, test/quote_calc4-s.tab.h:
3052 * test/yacc/quote_calc-s.output, test/yacc/quote_calc-s.tab.h, test/yacc/quote_calc2-s.output, test/yacc/quote_calc2-s.tab.h, test/yacc/quote_calc3-s.output, test/yacc/quote_calc3-s.tab.h, test/yacc/quote_calc4-s.output, test/yacc/quote_calc4-s.tab.h:
3053 reference output for testing
3055 * test/run_test.sh: generate/test with "-s" option applied.
3057 2012-01-13 Thomas E. Dickey <dickey@invisible-island.net>
3059 * package/debian/changelog, package/byacc.spec, VERSION: bump
3061 * yacc.1: improve documentation of -s option
3063 * yacc.1: note that yacc ignores -y
3065 * main.c: add -s option to usage message.
3067 * test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h:
3070 * test/yacc/quote_calc3.output, test/yacc/quote_calc4.output, test/yacc/quote_calc4.tab.h:
3071 reference output for testing
3073 * test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE
3075 * test/yacc/quote_calc.tab.h: reference output for testing
3077 * test/quote_calc.output, test/quote_calc.tab.c, test/quote_calc2.output, test/quote_calc2.tab.c, test/quote_calc2.tab.h, test/quote_calc3.tab.h:
3080 * test/yacc/quote_calc.output, test/yacc/quote_calc2.output, test/yacc/quote_calc2.tab.h, test/yacc/quote_calc3.tab.h:
3081 reference output for testing
3083 * test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE
3087 * aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE
3089 2011-12-19 Thomas E. Dickey <dickey@invisible-island.net>
3091 * package/debian/changelog, package/byacc.spec, VERSION: bump
3093 * yacc.1, output.c, main.c, defs.h:
3094 add "-s" option to suppress generating #define's based on string contents
3095 in a %token statement. For instance
3096 %token EQLS "Equals"
3100 Simply suppressing the second #define makes the behavior closer to yacc.
3101 (report by Paulo Andrade).
3103 2011-09-08 Thomas E. Dickey <dickey@invisible-island.net>
3105 * package/debian/changelog, package/byacc.spec, VERSION: bump
3108 fix some more interaction between -i and -d flags to ensure YYERRCODE
3109 and YYSTYPE are declared, tested with cproto.
3111 2011-09-07 Thomas E. Dickey <dickey@invisible-island.net>
3113 * yacc.1: document "-i" option.
3115 * package/debian/changelog, package/byacc.spec, VERSION: bump
3117 * output.c: fix an interaction between -i and -d
3119 * test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c:
3120 regen - changes for "-i" option move the global/impure variables near the
3121 macros that may add a prefix, etc.
3123 * skeleton.c, output.c, defs.h: changes to support "-i" option.
3125 2011-09-06 Thomas E. Dickey <dickey@invisible-island.net>
3127 * reader.c: pass explicit file-pointer to write_section()
3130 add "-i" option, to generate interface-file (suggested by Denis M. Wilson)
3132 2011-09-05 Thomas E. Dickey <dickey@invisible-island.net>
3137 resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC)
3138 and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks)
3140 * defs.h, error.c, reader.c:
3141 add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson)
3143 2011-04-01 Thomas E. Dickey <dickey@invisible-island.net>
3145 * config.sub: update to 2011-04-01
3147 2011-02-02 Thomas E. Dickey <dickey@invisible-island.net>
3149 * config.guess: update to 2011-01-01
3151 2010-12-29 Thomas E. Dickey <dickey@invisible-island.net>
3153 * defs.h, skeleton.c:
3154 add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas)
3157 mark all of the error-functions as non-returning (report by Christos Zoulas)
3159 * test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c:
3163 use only realloc() rather than realloc+malloc, agree that systems needing this
3164 are very rare (prompted by NetBSD change).
3166 * test/ftp.tab.c: regen
3168 2010-12-29 Christos.Zoulas
3171 improve example, which was stuck in 19XX and assumed file sizes were longs.
3173 2010-12-29 Thomas E. Dickey <dickey@invisible-island.net>
3175 * test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c:
3178 * test/pure_error.y, test/pure_calc.y, test/ftp.y, test/error.y, test/code_error.y, test/code_calc.y, test/calc.y, test/calc3.y, test/calc2.y, test/calc1.y:
3179 use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror
3182 remove explicit prototype for yylex() via YYLEX_DECL() macro, since that
3183 would prevent declaring yylex() static (request by Christos Zoulas).
3185 * test/calc2.tab.c, test/calc3.tab.c: regen
3187 2010-12-29 Christos.Zoulas
3189 * output.c: correct definition for YYERROR_DECL()
3191 2010-12-29 Thomas E. Dickey <dickey@invisible-island.net>
3193 * package/debian/changelog, package/byacc.spec, VERSION: bump
3195 2010-12-26 Thomas E. Dickey <dickey@invisible-island.net>
3198 change return-type of allocate() to avoid warnings of alignment problems
3200 * main.c: Solaris declares chmod() in <sys/stat.h>
3204 * main.c: ifdef'd use of fcntl.h
3206 * configure.in: add configure checks for fcntl.h, atexit and mkstemp
3208 * main.c: for cases where mkstemp() is not available, use tempnam/open
3210 * aclocal.m4: add CF_MKSTEMP
3213 improve quoting, deprecate ${name-value} in favor of standard ${name:-value}
3215 2010-12-25 Thomas E. Dickey <dickey@invisible-island.net>
3218 start revising use of tmpfile(), to make this work with MinGW. Start by
3219 implementing a mkstemp() alternative - noting that mkstemp() also is broken
3222 * package/debian/changelog, package/byacc.spec, VERSION: bump
3224 2010-11-27 Thomas E. Dickey <dickey@invisible-island.net>
3226 * package/byacc.spec, package/debian/changelog, VERSION: bump
3228 * test/calc2.tab.c, test/calc3.tab.c: regen
3231 corrected use of %parse-param value in yyerror(); it doesn't use &yylval
3232 (report by Clifford Yapp)
3234 2010-11-26 Thomas E. Dickey <dickey@invisible-island.net>
3239 correct line-numbering when "-r" option is used; the 'outline' variable
3240 should only be incremented when writing to the code-file.
3242 * test/code_calc.code.c, test/code_error.code.c: regen
3246 * yacc.1: comment on -b option vs -r
3248 * test/calc2.tab.c, test/calc2.y, test/calc3.tab.c, test/calc3.y, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c:
3252 improve on YYERROR_DECL(), adding dummy params which can be used for the
3253 actual function declaration. Also add YYERROR_CALL(). The two macros
3254 simplify maintaining sets of grammars which may/may not be pure.
3256 * test/calc1.y, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c:
3259 * output.c: generate yyerror() calls in output.c
3260 This is for compatibility with bison, which passes the yylval to yyerror
3261 when the %parse-param feature is used.
3263 * skeleton.c, defs.h: generate yyerror() calls in output.c
3265 * output.c: simplified a little, using putc_code() and putl_code()
3267 * test/yacc/calc1.tab.h: reference output for testing
3269 * test/calc1.tab.h: regen
3272 improve ifdef for YYSTYPE union declaration (report by Clifford Yapp)
3275 accept underscore as a replacement for dash in command names, e.g.,
3276 "%pure_parser" vs "%pure-parser".
3278 * test/calc1.tab.c: regen
3280 * output.c, reader.c:
3281 also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp)
3283 * package/debian/changelog, package/byacc.spec, VERSION: bump
3285 2010-11-24 Thomas E. Dickey <dickey@invisible-island.net>
3287 * main.c, defs.h, symtab.c, error.c: reduce global variables
3289 * package/debian/changelog, package/byacc.spec, VERSION: bump
3292 amend fix for Redhat #112617 to still call default_action_warning() for
3293 empty rules (report by Bruce Cran).
3295 2010-11-22 Thomas E. Dickey <dickey@invisible-island.net>
3298 add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp).
3300 * test/calc1.tab.c: regen
3302 * test/calc1.y: cleanup compiler warnings
3304 * test/grammar.y: add "%expect"
3306 * test/calc1.tab.h: regen
3308 * test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE
3310 * test/calc2.tab.c, test/calc3.tab.c: regen
3313 advanced example from Steve Johnson's paper, uses unions
3315 * test/calc3.y, test/calc2.y: init 'base', so examples can run
3317 * test/ftp.tab.c, test/ftp.y: tweaks to compile with g++
3319 * output.c: compensate for fix in reader.c
3322 add/use putc_both() and puts_both(), incidentally fixing a place where
3323 a union copied to the union_file may be missing the end of the last line.
3325 * package/debian/changelog, package/byacc.spec, VERSION: bump
3327 2010-09-28 Thomas E. Dickey <dickey@invisible-island.net>
3329 * config.guess: update to 2010-09-24
3331 2010-09-10 Thomas E. Dickey <dickey@invisible-island.net>
3333 * config.sub: update to 2010-09-11
3335 2010-06-10 Thomas E. Dickey <dickey@invisible-island.net>
3337 * yacc.1, package/debian/changelog, package/byacc.spec, VERSION:
3340 2010-06-09 Thomas E. Dickey <dickey@invisible-island.net>
3342 * reader.c: free declarations in leak-testing code.
3344 * main.c: close code_file if -r option used, for leak-testing
3347 improve %lex-param / %parse-param implementation by allowing for arrays to
3348 be passed as parameters, e.g., "int regs[26]".
3350 * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h:
3353 * test/yacc/calc3.output, test/yacc/calc3.tab.h:
3354 reference output for testing
3356 * test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE
3358 * test/yacc/calc2.tab.h: reference output for testing
3360 * test/calc2.output: RCS_BASE
3362 * test/yacc/calc2.output: reference output for testing
3365 improve %lex-param / %parse-param implementation by allowing for arrays to
3366 be passed as parameters, e.g., "int regs[26]".
3368 * test/calc.tab.c, test/calc.y:
3369 test-cases and reference files for %lex-param / %parse-param
3371 * makefile.in: add docs-rule, for html/pdf/txt form of manpage
3375 * aclocal.m4: add CF_XOPEN_SOURCE, etc.
3378 use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89
3380 * test/ftp.tab.c, test/ftp.y, reader.c, symtab.c, verbose.c, lr0.c, main.c, mkpar.c, output.c, defs.h, closure.c:
3381 fix warnings from clang --analyze
3383 2010-06-08 Thomas E. Dickey <dickey@invisible-island.net>
3385 * output.c: fix to build with c89, etc.
3387 * reader.c: gcc warning
3389 * test/ftp.tab.c, test/ftp.y, test/calc.tab.c, test/code_calc.code.c, test/code_error.code.c, test/code_error.y, test/code_calc.y, test/calc.y, test/pure_error.tab.c, test/error.tab.c, test/error.y, test/pure_error.y, test/pure_calc.tab.c, test/pure_calc.y:
3390 modified test-cases to allow them to compile, to validate pure-parser changes.
3391 updated reference files to match.
3394 move call for output_stype() earlier since it is used in pure-parser declarations
3396 * test/grammar.tab.c, test/grammar.y:
3397 modified test-cases to allow them to compile, to validate pure-parser changes.
3398 updated reference files to match.
3400 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
3403 * yacc.1: document %lex-param and %parse-param
3405 * test/run_lint.sh, test/run_make.sh: RCS_BASE
3408 further modify to allow build-directory to be in a different location by
3409 passing this directory's location as a parameter to the script.
3412 add check_make and check_lint rules to help validate the generated files
3413 in the test-directory
3415 2010-06-07 Thomas E. Dickey <dickey@invisible-island.net>
3417 * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE
3420 provide for testing -r and -P options by checking if the ".y" filename
3421 begins with "code_" or "pure_", respectively.
3423 * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h:
3426 * test/yacc/code_error.tab.h: reference output for testing
3428 * test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h:
3431 * test/yacc/code_calc.tab.h: reference output for testing
3433 * test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h:
3436 * test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h, test/yacc/pure_error.output, test/yacc/pure_error.tab.h:
3437 reference output for testing
3439 * test/code_calc.output, test/code_error.output: RCS_BASE
3441 * test/yacc/code_calc.output, test/yacc/code_error.output:
3442 reference output for testing
3444 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen
3447 changes to support running "make check" in a separate build-tree
3449 * main.c: add "-P" to usage message
3451 * reader.c: use UCH() macro to hide casts.
3453 2010-06-07 Andres.Mejia
3455 * main.c, output.c, reader.c, defs.h, skeleton.c:
3456 Fix the output order of the generated parse code file. This allows for
3457 the use of YYPARSE_PARAM, by having the output that checks for
3458 YYPARSE_PARAM to be defined come after the C code block in the
3459 definitions section of a yacc file.
3461 Implement support for YYLEX_PARAM, similar to bison. This is useful for
3462 support for building reentrant lexers with flex.
3464 Fix a compatibility issue with bison's pure-parser option. Bison
3465 defines yylex as sending at least one parameter, &yylval, as the first
3466 parameter and doesn't seem to have an easy way to remove that parameter.
3467 This on the other hand is rather convenient to support saving to yylval
3468 from flex when building reentrant lexers and parsers.
3470 Add support for the %parse-param and %lex-param directives used in
3471 bison. This change bears some similarity to NetBSD's changes to byacc
3472 at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html
3474 Bison allows for POSIX yacc emulation via a yacc directive in the yacc
3475 file, and also via a command line switch. Implement this feature as a
3476 no-op for byacc, since byacc is designed to be POSIX yacc compatible
3477 anyway. This allows for better compatibility with yacc sources written
3480 2010-06-07 Thomas E. Dickey <dickey@invisible-island.net>
3482 * VERSION: bump to 2010/06/07
3484 2010-06-06 Thomas E. Dickey <dickey@invisible-island.net>
3486 * test/calc.tab.c, configure: regen
3489 move #include's down into the generated code, to allow user-defined code
3490 to override feature definitions, particularly with stdlib.h (request by
3493 * lr0.c, error.c, reader.c, defs.h:
3494 strict gcc 3.4.6 warnings on 64-bit platform
3496 * aclocal.m4, configure.in: add check for lint
3498 * makefile.in: add lint rule
3500 * defs.h, closure.c, lr0.c, warshall.c, main.c:
3501 fix gcc warnings, mostly for 64-bit platform
3504 add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc
3506 * makefile.in: add etags/TAGS if available
3508 * configure.in: add configure check for actual ctags and etags programs
3510 * package/debian/copyright: add copyright notices for non-PD files
3512 * package/debian/changelog:
3513 incorporated scripts in upstream to use for test-builds
3515 * makefile.in: drop mkdirs.sh, just use "mkdir -p"
3517 * AUTHORS: nicknames for some contributors (see CHANGES for details)
3519 * package/byacc.spec: RPM file for byacc
3521 * VERSION: bump to 2010/06/06
3523 * aclocal.m4: add copyright notice, from "my-autoconf" macros
3524 http://invisible-island.net/autoconf/autoconf.html
3526 * package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS:
3529 * aclocal.m4: resync with my-autoconf. summary of changes:
3530 a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter
3531 b) CF_DISABLE_ECHO, change indent-convention for substituted makefile
3532 c) CF_GCC_VERSION, ignore stderr
3533 d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc
3535 2010-04-20 Thomas E. Dickey <dickey@invisible-island.net>
3537 * package/debian/changelog, package/debian/compat, package/debian/control, package/debian/copyright, package/debian/docs, package/debian/postinst, package/debian/prerm, package/debian/rules, package/debian/watch:
3538 scripts from Debian package
3540 2010-02-16 Thomas E. Dickey <dickey@invisible-island.net>
3542 * yacc.1: document -P and bison-extensions
3544 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
3547 * output.c: implement %pure-parser
3550 implement %pure-parser, like bison. To help with this, changed the stack
3551 variables, putting them into a struct.
3553 * reader.c: implement %pure-parser
3555 * defs.h: modified skeleton to support %pure-parser feature
3557 * main.c: add -P option to set %pure-parser
3560 make -r and -p options work together. The -r option splits the generated
3561 parser into code/table files; for this case we cannot use static data.
3562 Also, we have to repeat the #define's used for prefix (-p) as well as the
3563 redeclaration of yyparse(). Finally, allow any of the prefixed names to
3564 be overridden, e.g., by passing a -D option to the compiler. Make that
3565 a little more readable by putting a blank line before each chunk.
3567 * defs.h: add definitions for %pure-parser
3570 put blank line before/after the redeclaration of yyparse()
3572 * output.c: allow for other program redefining yylex()
3575 split-off xdecls[] array, to move declaration of yyparse() after #define's
3577 * defs.h: split-out xdecls[]
3583 * aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS
3586 resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes.
3588 2010-02-16 Ostap.Cherkashi
3590 * skeleton.c: fix a memory leak in the generated skeleton
3592 2010-01-01 Thomas E. Dickey <dickey@invisible-island.net>
3594 * package/debian/source/format: scripts from Debian package
3596 2009-12-31 Thomas E. Dickey <dickey@invisible-island.net>
3598 * config.guess: update to 2009-12-30
3600 * config.sub: update to 2009-12-31
3602 2009-10-27 Thomas E. Dickey <dickey@invisible-island.net>
3606 * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c:
3607 strict compiler warnings
3609 2009-10-26 Thomas E. Dickey <dickey@invisible-island.net>
3611 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
3614 * main.c, defs.h: introduce some typedefs for portability, etc.
3617 don't remove "*.log" in mostlyclean rule since it interferes with regression
3622 * aclocal.m4: resync with my-autoconf
3624 2009-08-25 Thomas E. Dickey <dickey@invisible-island.net>
3626 * config.guess, config.sub: update to 2009-08-19
3628 2009-02-21 Thomas E. Dickey <dickey@invisible-island.net>
3632 * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
3634 2008-12-26 Thomas E. Dickey <dickey@invisible-island.net>
3636 * configure: regen with autoconf-2.52 (patched)
3638 2008-12-25 Thomas E. Dickey <dickey@invisible-island.net>
3640 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
3643 2008-12-24 Thomas E. Dickey <dickey@invisible-island.net>
3648 remove ifdef-lint from goto yyerrlab, to quiet gcc warning
3650 2008-11-26 Thomas E. Dickey <dickey@invisible-island.net>
3652 * verbose.c, main.c, defs.h, mkpar.c, reader.c:
3653 completed implementation of "%expect" (report by Perry E. Metzger).
3654 add "%expect-rr", which is (unlike bison) allowable in LALR parsers.
3656 2008-11-24 Thomas E. Dickey <dickey@invisible-island.net>
3658 * closure.c, defs.h, error.c, graph.c, lalr.c, lr0.c, main.c, mkpar.c, output.c, reader.c, skeleton.c, symtab.c, verbose.c, warshall.c:
3659 change indent-style (request by Perry E. Metzger)
3661 2008-08-27 Thomas E. Dickey <dickey@invisible-island.net>
3663 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
3664 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
3669 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
3671 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c:
3672 change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's.
3674 * configure: regen'd
3676 * configure.in: add -Wwrite-strings to warnings
3678 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
3679 add YYPARSE_PARAM and YYPARSE_PARAM_TYPE
3682 add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features.
3684 * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c:
3685 fixes for gcc -Wwrite-strings
3687 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
3688 generate the tables as static-const (this is an interface change)
3690 * output.c: realign columns in start_table()
3693 generate the tables as static-const (this is an interface change)
3695 * output.c: reorder functions to eliminate forward-references
3697 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
3698 remove 'register' keywords
3700 2008-08-26 Thomas E. Dickey <dickey@invisible-island.net>
3702 * warshall.c, verbose.c, symtab.c, skeleton.c, reader.c, output.c, mkpar.c, main.c, lr0.c, lalr.c, graph.c, error.c, closure.c:
3703 remove 'register' keywords
3705 2008-08-25 Thomas E. Dickey <dickey@invisible-island.net>
3707 * test/ftp.tab.c: regen'd
3710 improve the left-curly fix by testing after blanks, to avoid having a
3711 " {" at the beginning of a line.
3713 * test/error.tab.c, test/grammar.tab.c: regen'd
3716 move the remaining newline-counting into write_XXX functions.
3718 * test/calc.tab.c: regen'd
3721 simplify part of the output_file formatting using new functions, e.g.,
3722 start_int_table(), output_newline().
3725 modify copy_action() to indent the first character, it if is is left-curly
3726 brace. That makes the output look more like the original, as well as makes
3727 it simpler to edit (not confuse editors which look for a left-curly in the
3728 first column as if it were the beginning of a function).
3730 * skeleton.c: minor fixes to avoid gcc -Wconversion warnings
3732 * output.c: align the #define's produced for "-p" option
3734 * test/run_test.sh: use the "-p" option for better coverage.
3736 * output.c: simplify output_prefix() with new define_prefixed()
3738 * skeleton.c: include string.h, for memset()
3739 change stack size to unsigned to fix gcc -Wconversion warnings.
3741 * VERSION: bump to 2008/8/25
3743 * makefile.in: add dependency on VERSION file.
3745 2008-08-24 Thomas E. Dickey <dickey@invisible-island.net>
3749 * lalr.c: improved memory-leak checking by freeing data in includes[]
3751 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
3752 update to match skeleton-change
3754 * configure: regen'd
3756 * skeleton.c: Add fix for stack discussed
3757 http://undeadly.org/cgi?action=article&sid=20080708155228
3759 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29
3761 * aclocal.m4: resync with my-autoconf (no major changes)
3763 2008-07-24 Thomas E. Dickey <dickey@invisible-island.net>
3765 * package/pkgsrc/Makefile, package/pkgsrc/distinfo:
3766 scripts from NetBSD pkgsrc, for test-builds
3768 2008-03-14 Thomas E. Dickey <dickey@invisible-island.net>
3770 * config.sub: update to 2008-03-08
3772 * config.guess: update to 2008-03-12
3774 2007-05-09 Thomas E. Dickey <dickey@invisible-island.net>
3776 * main.c: close graph, verbose files if opened, on exit.
3779 audit memory leaks - valgrind reported some memory still in use on exit.
3781 * lalr.c, output.c, reader.c, mkpar.c, lr0.c:
3782 add hook for auditing memory leaks
3784 * defs.h: add hooks for auditing memory leaks
3786 * configure: regen'd
3789 use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind,
3790 --with-dbmalloc and --with-dmalloc
3792 * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND
3794 * aclocal.m4: improve version-checking in CF_GCC_VERSION
3795 rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro
3799 * main.c: file_prefix did not always have a trailing null.
3801 2007-03-25 Thomas E. Dickey <dickey@invisible-island.net>
3803 * mkdirs.sh: improved version for "make -j"
3805 2006-12-22 Thomas E. Dickey <dickey@invisible-island.net>
3807 * config.guess: update to 2006/12/22
3809 2006-12-08 Thomas E. Dickey <dickey@invisible-island.net>
3811 * config.sub: update to 2006/12/08
3813 2005-08-13 Thomas E. Dickey <dickey@invisible-island.net>
3815 * main.c: add -V to usage message
3817 * makefile.in: remove -t option from ctags
3819 * VERSION: 2005/8/13
3823 * main.c: Sylvain Schmitz:
3824 modify the '-o' option to work like bison's, which sets the file-prefix.
3826 2005-08-13 Matt.Kraai
3829 Debian #322858 (don't close union_file, which contained data).
3830 This feature is used in groff.
3832 2005-08-13 Thomas E. Dickey <dickey@invisible-island.net>
3834 * configure: regenerated
3836 * aclocal.m4: improve checks for Intel compiler warnings
3838 2005-06-25 Thomas E. Dickey <dickey@invisible-island.net>
3840 * config.sub: update to 2005/6/2
3842 * config.guess: update to 2005/5/27
3844 2005-05-05 Thomas E. Dickey <dickey@invisible-island.net>
3846 * defs.h: add a fallback for GCC_UNUSED
3848 2005-05-04 Thomas E. Dickey <dickey@invisible-island.net>
3850 * makefile.in: add "." to include-path to pickup config.h
3853 apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617.
3856 correct a limit check in pack_vector() - report/analysis by William Evans
3859 exit after printing version. Otherwise "yacc -V" will exit with an erro
3860 after printing the usage message.
3862 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
3863 regenerated after skeleton-changes
3865 * skeleton.c: replace a few -1's with YYEMPTY
3868 delete yynewerror (no one uses it any more, and it just makes compiler warnings)
3870 * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD
3873 filter out lines with YYPATCH, since that will change with each update
3875 * yacc.1: add -V option
3877 * main.c: add -V option to print the version.
3878 simplify option-parsing by moving the duplicate logic for setting flags into
3879 new function setflag().
3882 move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers).
3883 add YYPATCH here so it can be tested by applications.
3886 add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and
3889 * lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c:
3890 reduce externs by making static the procedures that are not referenced outside
3891 the module in which they are defined.
3894 the VERSION file holds the patch-date. Define YYPATCH, so this will be
3895 compiled into the skeleton.
3897 * VERSION: patch-level for byacc
3900 add "-o" to usage message. It is too long for a single line; rewrite usage()
3901 to show one option per line.
3903 2005-05-03 Thomas E. Dickey <dickey@invisible-island.net>
3905 * main.c: add -o option, to work with scripts that assume bison.
3906 simplify create_file_names() with a macro.
3907 simplify done() with a macro.
3908 adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by
3909 onintr(), do not flush output via exit(), but use _exit() instead.
3911 * defs.h: remove unnecessary externs for main.c
3913 * yacc.1: add -o option
3915 * graph.c: remove unused parameter
3917 * mkpar.c, defs.h, reader.c:
3918 add support for "%expect", a bison feature from FreeBSD sources
3920 * lr0.c, reader.c, main.c, skeleton.c, graph.c, symtab.c, closure.c, mkpar.c, lalr.c, error.c, warshall.c, verbose.c, output.c:
3923 * configure: regenerated for 2005/5/5
3925 * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER)
3929 * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1:
3930 Sylvain Schmitz <schmitz@i3s.unice.fr>:
3931 add graphical output of the LALR(1) automaton for graphviz,
3932 associated with command-line option `-g'
3934 2005-04-16 Thomas E. Dickey <dickey@invisible-island.net>
3936 * config.sub: update to 2005/2/10
3938 * config.guess: update to 2005/3/24
3940 2005-04-13 Thomas E. Dickey <dickey@invisible-island.net>
3942 * package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds
3944 2005-03-21 Thomas E. Dickey <dickey@invisible-island.net>
3946 * package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds
3948 2004-03-28 Thomas E. Dickey <dickey@invisible-island.net>
3950 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
3951 updates due to adding yyparse() prototype
3953 * configure: RCS_BASE
3956 add AC_ARG_PROGRAM to make --program-prefix, etc., work.
3958 * makefile.in: first cut of script to support --program-prefix
3961 reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52
3963 * makefile.in: modify so DESTDIR works
3965 * makefile.in: use EXEEXT and OBJEXT
3967 * configure.in: use CF_PROG_EXT
3970 * defs.h: make this use the generated config.h
3972 * skeleton.c: add a forward-reference for yyparse()
3974 * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT
3976 * yacc.1: remove the discussion of TMPDIR since it is obsolete
3978 * skeleton.c: fix a couple of minor compiler-warnings in the skeleton
3980 * defs.h: remove action_file_name, etc., since we use tmpfile() now.
3983 use tmpfile() for opening the working files. This quiets a warning
3984 advising the use of mkstemp().
3987 Do not close temporary-files here, since they are opened with tmpfile().
3988 Just rewind them, and they're ready to read back the data stored in them.
3990 * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE
3992 * test/yacc/grammar.output, test/yacc/grammar.tab.h:
3993 reference output for testing
3995 * makefile.in: turn on "make check" rule
3997 * test/calc.output: RCS_BASE
3999 * test/yacc/calc.output: reference output for testing
4001 * test/run_test.sh, test/calc.tab.h: RCS_BASE
4003 * test/yacc/calc.tab.h: reference output for testing
4005 * test/ftp.tab.c: yyparse() is now yyparse(void)
4007 * test/calc.tab.c: RCS_BASE
4009 * test/error.tab.c: yyparse() is now yyparse(void)
4011 * test/README: RCS_BASE
4013 * yacc.1: various typography fixes prompted by Debian #100947
4015 * aclocal.m4, makefile.in, configure.in: RCS_BASE
4017 * README: updated to note that this is not the original
4019 2004-03-24 Thomas E. Dickey <dickey@invisible-island.net>
4021 * test/grammar.y: RCS_BASE
4023 2004-02-23 Thomas E. Dickey <dickey@invisible-island.net>
4025 * config.sub: RCS_BASE
4027 2004-02-17 Thomas E. Dickey <dickey@invisible-island.net>
4029 * config.guess: RCS_BASE
4031 2003-11-29 Thomas E. Dickey <dickey@invisible-island.net>
4033 * install-sh: improved quoting
4035 2002-06-29 Thomas E. Dickey <dickey@invisible-island.net>
4038 don't use character range, since some locales don't work as expected
4040 2001-06-22 Thomas E. Dickey <dickey@clark.net>
4042 * install-sh: RCS_BASE
4044 2000-11-20 Thomas E. Dickey <dickey@clark.net>
4046 * test/calc.y: RCS_BASE
4048 * test/code_calc.y, test/pure_calc.y: copy of calc.y
4050 * vmsbuild.com: original version
4052 2000-02-23 Thomas E. Dickey <dickey@clark.net>
4054 * test/RCS, RCS: PERMIT FILE
4056 2000-02-14 Thomas E. Dickey <dickey@clark.net>
4058 * main.c: fix for VMS port - making pathname for temp-file
4060 * descrip.mms: original version
4062 2000-02-13 Thomas E. Dickey <dickey@clark.net>
4064 * defs.h, verbose.c, reader.c, main.c, skeleton.c, warshall.c, symtab.c, closure.c, mkpar.c, lalr.c, lr0.c, output.c, error.c:
4067 1999-11-30 Thomas E. Dickey <dickey@clark.net>
4069 * mkdirs.sh: RCS_BASE
4071 1995-01-01 Thomas E. Dickey <dickey@clark.net>
4073 * config_h.in: RCS_BASE
4077 * README.DOS, main.c: MSDOS-port
4081 * reader.c, defs.h: MSDOS-port
4085 * README: original version
4089 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE
4091 1993-02-22 dickey@software.org
4093 * test/yacc/error.output, test/yacc/error.tab.h:
4094 reference output for testing
4098 * test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE
4100 * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES:
4105 * yacc.1: original version
4109 * defs.h: original version
4113 * mkpar.c, verbose.c: original version
4117 * lr0.c, Makefile, Makefile.old: original version
4121 * NEW_FEATURES: original version
4125 * ACKNOWLEDGEMENTS: original version
4129 * symtab.c, lalr.c, error.c: original version
4131 1990-01-16 dickey@software.org
4133 * test/code_error.y, test/pure_error.y: RCS_BASE
4137 * test/error.y: RCS_BASE
4141 * NO_WARRANTY: original version
4145 * test/ftp.y: RCS_BASE