1 2022-01-09 Thomas E. Dickey <dickey@invisible-island.net>
3 * package/debian/changelog, package/debian/watch, package/debian/control:
4 update to use oldstable-compatible rules/config, for testing version upgrade
6 * package/byacc.spec, package/mingw-byacc.spec:
7 use rpmlint, etc., to "update" these to follow Redhat7 and later.
8 due to incompatbilities in that route, this package will not build with #6.
11 change a few malloc's to calloc's so clang analyzer can see initialized data
14 modify address computation in closure.c to avoid undefined behavior on
15 machines which do not support large offsets (analysis/patch by Jessica Clarke,
18 * VERSION, package/byacc.spec, package/debian/changelog,
19 package/pkgsrc/Makefile:
22 2022-01-08 Thomas E. Dickey <dickey@invisible-island.net>
24 * package/debian/copyright, package/debian/rules:
25 update to use oldstable-compatible rules/config, for testing version upgrade
27 2022-01-02 Thomas E. Dickey <dickey@invisible-island.net>
29 * package/debian/control: minor fixes adapted from btyacc package
31 * package/debian/byacc.docs, package/debian/byacc2.prerm,
32 package/debian/byacc2.postinst, package/debian/byacc.postinst,
33 package/debian/byacc.prerm:
36 * VERSION, package/byacc.spec, package/debian/changelog,
37 package/pkgsrc/Makefile:
40 2022-01-01 Thomas E. Dickey <dickey@invisible-island.net>
43 adjust to ignore NetBSD's difference in getopt warnings.
45 * package/pkgsrc/Makefile: resync with pkgsrc
47 * test/yacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.c: regen
49 * test/expr.oxout.y, test/expr.oxout.h: fix gcc warnings
51 * test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h: regen
53 * test/run_make.sh: workaround for compiling the expr.oxout.y files
55 * test/expr.oxout.y: fix syntax error
57 * test/btyacc/expr.oxout.tab.c: regen
59 * test/expr.oxout.h: RCS_BASE
61 * test/yacc/expr.oxout.tab.c: fix syntax error
63 * test/btyacc/expr.oxout.tab.c: regen, s/expr.oxout/expr_oxout/g
65 * test/btyacc/expr.oxout.tab.h: regen
68 filter the default prefix to change "." to "_", so that the generated
69 files will compile consistently with run_make.sh
71 * package/debian/control, package/debian/prerm, package/debian/postinst:
72 add "byacc2" as an alternative for "yacc"
74 * package/byacc.spec, package/debian/control, package/debian/rules:
75 rename "btyacc" to "byacc2" to co-exist with traditional "btyacc" package
77 * package/debian/copyright, VERSION, package/byacc.spec,
78 package/debian/changelog, package/mingw-byacc.spec,
79 package/pkgsrc/Makefile:
82 2021-12-24 Thomas E. Dickey <dickey@invisible-island.net>
84 * package/debian/rules: fixes from Debian package for lintian warnings
86 * package/debian/control: updates for Debian standard
88 * VERSION, package/byacc.spec, package/debian/changelog,
89 package/pkgsrc/Makefile:
92 * package/debian/byacc2.docs: RCS_BASE
94 * package/debian/docs, package/debian/copyright, package/debian/control:
95 errata from Debian package
97 * config.sub: 2021-12-24
98 From: Dmitry V. Levin <ldv@altlinux.org>
99 config.sub: alias aarch64le to aarch64
101 Apparently, QNX reports aarch64 as aarch64le on little-endian machines.
103 * config.sub (aarch64le-*): Set cpu to aarch64.
105 * doc/config.sub.1: Regenerate.
106 * testsuite/config-sub.data (aarch64le-qnx): New test.
108 Reported-by: Elad Lahav <e2lahav@gmail.com>
109 Link: https://lists.gnu.org/archive/html/config-patches/2021-12/msg00009.html
111 2021-12-16 Thomas E. Dickey <dickey@invisible-island.net>
115 * aclocal.m4: resync with my-autoconf
117 2021-12-13 Thomas E. Dickey <dickey@invisible-island.net>
119 * config.sub: 2021-10-27
120 From: Dmitry V. Levin <ldv@altlinux.org>
121 config.sub: fix typo in timestamp
123 * config.sub: Fix timestamp.
124 * doc/config.sub.1: Regenerate.
126 Reported-by: Jordi Sanfeliu <jordi@fibranet.cat>
127 Fixes: a013aac61edfa2a03727521508286480010e7bf3
128 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
130 2021-11-30 Thomas E. Dickey <dickey@invisible-island.net>
132 * config.guess: 2021-11-30
133 From: Andreas F. Borchert <github@andreas-borchert.de>
134 config.guess: x86_64-pc-solaris2.11 is not properly recognized
136 config.guess guesses Solaris 11 to run on a 32-bit platform
137 despite Solaris 11 no longer supporting any 32-bit platform.
139 See the following code at lines 434 to 445:
142 | # If there is a compiler, see if it is configured for 64-bit objects.
143 | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
144 | # This test works for both compilers.
145 | if test "$CC_FOR_BUILD" != no_compiler_found; then
146 | if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
147 | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
148 | grep IS_64BIT_ARCH >/dev/null
154 If "cc" is installed, i.e. the Oracle Studio compiler, this one is
155 chosen for $CC_FOR_BUILD. This compiler, the gcc provided by Oracle
156 and also gcc bootstrapped from sources on that platform with a default
157 configuration will by default generate 32-bit binaries -- even on
158 a 64-bit platform. And __amd64 will not be defined for compilations
159 targeting a 32-bit platform. This is different from the corresponding
160 behaviour on GNU/Linux systems where the local platform is targeted by
163 Thus, as long as you do not add "-m64" or if you have a custom-built
164 gcc which defaults to 64 bit, you will get 32-bit binaries on Solaris
165 despite living on a 64-bit platform.
167 * config.guess (i86pc:SunOS:5.*:* || i86xen:SunOS:5.*:*): Adapt the
168 test by adding the "-m64" flag. This will work properly for Solaris
169 10 as well (the last Solaris release that supported x86 32-bit
171 * doc/config.guess.1: Regenerate.
173 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
175 2021-10-27 Thomas E. Dickey <dickey@invisible-island.net>
177 * config.guess: 2021-10-27
178 From: Jordi Sanfeliu <jordi@fibranet.cat>
182 cd testsuite && bash config-guess.sh && rm uname
183 PASS: config.guess checks (137 tests)
184 cd testsuite && bash config-sub.sh
185 PASS: config.sub checks (882 tests)
186 PASS: config.sub idempotency checks (819 tests)
187 PASS: config.sub canonicalise each config.guess testcase (137 tests)
189 * config.guess (i*86:Fiwix:*:*): Recognize.
190 * config.sub (fiwix*): Likewise.
191 * doc/config.guess.1: Regenerate.
192 * doc/config.sub.1: Likewise.
193 * testsuite/config-guess.data: Add a test case for Fiwix.
194 * testsuite/config-sub.data (i386-fiwix): New test.
196 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
198 * config.sub: 2021-20-27
199 From: Jordi Sanfeliu <jordi@fibranet.cat>
203 cd testsuite && bash config-guess.sh && rm uname
204 PASS: config.guess checks (137 tests)
205 cd testsuite && bash config-sub.sh
206 PASS: config.sub checks (882 tests)
207 PASS: config.sub idempotency checks (819 tests)
208 PASS: config.sub canonicalise each config.guess testcase (137 tests)
210 * config.guess (i*86:Fiwix:*:*): Recognize.
211 * config.sub (fiwix*): Likewise.
212 * doc/config.guess.1: Regenerate.
213 * doc/config.sub.1: Likewise.
214 * testsuite/config-guess.data: Add a test case for Fiwix.
215 * testsuite/config-sub.data (i386-fiwix): New test.
217 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
219 2021-10-18 Thomas E. Dickey <dickey@invisible-island.net>
221 * config.sub: 2021-08-14
222 From: Kinshuk Dua <kinshukdua@gmail.com>
223 config.sub: Fix typo in comment
225 Fixes: 5e531d391852a54e7fab2d8ff55625fca514b305
226 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
228 2021-08-14 Thomas E. Dickey <dickey@invisible-island.net>
230 * config.sub: 2021-08-14
231 From: Nick Bowler <nbowler@draconx.ca>
232 config.sub: work around command assignment bug in some shells
234 When combining variable assignments with a shell command, some older
235 shells (notably heirloom-sh and presumably also Solaris 10 /bin/sh)
236 have a bug which causes the assignment to alter the current execution
237 environment whenever the command is a shell built-in. For example:
239 % dash -c 'x=good; x=bad echo >/dev/null; echo $x'
242 % jsh -c 'x=good; x=bad echo >/dev/null; echo $x'
245 The config.sub script contains a few commands of the form:
249 which triggers this bug, causing the IFS assignment to persist for the
250 remainder of the script. This can cause misbehaviour in certain cases,
253 % jsh config.sub i386-linux-gnu
254 config.sub: test: unknown operator gnu
256 % jsh config.sub i386-gnu/linux
257 sed: can't read s|gnu/linux|gnu|: No such file or directory
258 Invalid configuration `i386-gnu/linux': OS `' not recognized
260 * config.sub: Save and restore IFS explicitly to avoid shell bugs.
261 * doc/config.sub.1: Regenerate.
263 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
265 2021-08-08 Thomas E. Dickey <dickey@invisible-island.net>
268 fix memory-leak when replacing $$'s in destructor code (report/testcase
271 * main.c: account for a memory-leak
273 * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
274 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
275 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
276 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
277 test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c,
278 test/btyacc/calc_code_default.tab.c,
279 test/btyacc/calc_code_imports.tab.c,
280 test/btyacc/calc_code_provides.tab.c,
281 test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c,
282 test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c,
283 test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c,
284 test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c,
285 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
286 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
287 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c,
288 test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c,
289 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c,
290 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
291 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
292 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
293 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
294 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
295 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
296 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
297 test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c,
298 test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c,
299 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
300 test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c,
301 test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c,
302 test/yacc/calc_code_provides.tab.c,
303 test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c,
304 test/yacc/code_calc.code.c, test/yacc/code_error.code.c,
305 test/yacc/defines1.calc.c, test/yacc/defines2.calc.c,
306 test/yacc/defines3.calc.c, test/yacc/empty.tab.c,
307 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c,
308 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
309 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
310 test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c,
311 test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c,
312 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
313 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
314 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
315 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
316 test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c,
317 test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c,
321 * btyaccpar.skel, yaccpar.skel:
322 revert change to initialization of yystate, which confuses gcc, making a
325 * VERSION, package/byacc.spec, package/debian/changelog,
326 package/pkgsrc/Makefile:
329 2021-08-04 Thomas E. Dickey <dickey@invisible-island.net>
331 * config.sub: 2021-08-04
332 From: Jeremy Soller <jackpot51@gmail.com>
333 config.sub: add Linux Relibc Target
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 (881 tests)
340 PASS: config.sub idempotency checks (818 tests)
341 PASS: config.sub canonicalise each config.guess testcase (136 tests)
343 * config.sub (relibc*): Recognize.
344 * doc/config.sub.1: Regenerate.
345 * testsuite/config-sub.data (x86_64-linux-relibc): New test.
347 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
349 2021-08-02 Thomas E. Dickey <dickey@invisible-island.net>
351 * main.c, yacc.1: add "-h" option
353 * test/btyacc/no_b_opt.error, test/btyacc/no_output2.error,
354 test/btyacc/no_p_opt.error, test/btyacc/big_b.error,
355 test/btyacc/big_l.error, test/btyacc/help.error,
356 test/btyacc/nostdin.error, test/yacc/big_b.error,
357 test/yacc/big_l.error, test/yacc/help.error, test/yacc/no_b_opt.error,
358 test/yacc/no_output2.error, test/yacc/no_p_opt.error,
359 test/yacc/nostdin.error:
363 map any of bison's long-options which have a corresponding yacc option
364 into the latter, without depending upon getopt_long().
366 * main.c: suggested patch:
367 From: Boris Kolpackov <boris@codesynthesis.com>
368 Subject: Re: [PATCH] support bison's --defines and --output options in byacc
370 * VERSION, package/byacc.spec, package/debian/changelog,
371 package/pkgsrc/Makefile:
374 2021-08-01 Thomas E. Dickey <dickey@invisible-island.net>
376 * test/btyacc/inherit2.tab.c, test/btyacc/btyacc_destroy2.tab.c,
377 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/err_inherit3.tab.c,
378 test/btyacc/err_inherit4.tab.c, test/btyacc/btyacc_demo.tab.c,
379 test/btyacc/btyacc_destroy1.tab.c:
383 fix a misplaced #line, which was after a generated line in the code-file
385 * test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c,
386 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c,
387 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
388 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
389 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
390 test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax18.tab.c,
391 test/yacc/err_syntax20.tab.c, test/yacc/expr.oxout.tab.c,
392 test/yacc/grammar.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c,
393 test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
394 test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c,
395 test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c,
396 test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c,
397 test/yacc/code_calc.code.c, test/yacc/defines1.calc.c,
398 test/yacc/defines2.calc.c, test/yacc/defines3.calc.c,
399 test/yacc/stdin2.calc.c:
403 add a state-machine to output_semantic_actions() to detect and replace
404 the "#line" directives added by Roland Illig's change, making them show
405 the actual line-numbers in the code-file.
407 * test/btyacc/pure_calc.tab.c, test/btyacc/quote_calc-s.tab.c,
408 test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c,
409 test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c,
410 test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c,
411 test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c,
412 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c,
413 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c,
414 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
415 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
416 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
417 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
418 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
419 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
420 test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c,
421 test/btyacc/calc_code_default.tab.c,
422 test/btyacc/calc_code_imports.tab.c,
423 test/btyacc/calc_code_provides.tab.c,
424 test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c,
425 test/btyacc/code_calc.code.c, test/btyacc/defines1.calc.c,
426 test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c,
427 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
428 test/btyacc/stdin2.calc.c:
432 adapt a patch by Roland Illig which added #line directives with dummy
433 filename and line number, because the debug information was incorrect.
434 The actual fix (see output_semantic_actions) is to emit #line directives
435 which correspond to the code-file.
437 * reader.c: simplify an ifdef so I can balance {/}
439 * output.c: use new macro
441 * defs.h: add fprintf_lineno macro
444 make that a little simpler - but I see that this should be using the
445 code-file's line-numbering rather than ""
448 make that into a macro, and add a begin_case() to more/less match (the
449 #line's are not together in some btyacc cases...)
451 * VERSION, package/byacc.spec, package/debian/changelog,
452 package/pkgsrc/Makefile:
455 2021-07-14 Thomas E. Dickey <dickey@invisible-island.net>
457 * reader.c: From: Roland Illig <roland.illig@gmx.de>
458 Subject: small patch for byacc
460 this splits up "\nbreak;\n" output to put #line directives after first "\n"
462 2021-07-06 Thomas E. Dickey <dickey@invisible-island.net>
464 * config.sub: 2021-07-06
465 From: Stephanos Ioannidis <root@stephanos.io>
466 config.sub: add Zephyr RTOS support
468 This adds the Zephyr RTOS targets in preparation for implementing the
469 Zephyr RTOS-specific toolchain support.
472 cd testsuite && bash config-guess.sh && rm uname
473 PASS: config.guess checks (136 tests)
474 cd testsuite && bash config-sub.sh
475 PASS: config.sub checks (880 tests)
476 PASS: config.sub idempotency checks (817 tests)
477 PASS: config.sub canonicalise each config.guess testcase (136 tests)
479 * config.sub (zephyr*): Recognize.
480 * doc/config.sub.1: Regenerate.
481 * testsuite/config-sub.data: Add testcases for *-zephyr.
483 Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
484 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
486 2021-07-03 Thomas E. Dickey <dickey@invisible-island.net>
488 * config.sub: 2021-07-03
489 From: Ozkan Sezer <sezero@users.sourceforge.net>
490 config.sub: disable shellcheck SC2006 / SC2268 warnings
492 This is in line with the recent config.guess change in commit
493 12fcf67c9108f4c4b581eaa302088782f0ee40ea
495 * config.sub (shellcheck disable): Add SC2006,SC2268.
497 Suggested-by: Jacob Bachmeyer <jcb@gnu.org>
498 Signed-off-by: Ozkan Sezer <sezero@users.sourceforge.net>
499 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
501 * config.sub: 2021-07-03
502 From: Ozkan Sezer <sezero@users.sourceforge.net>
503 config.sub: normalize the quoting in the `echo FOO | sed ...`
505 Some cases quote the argument to echo and some do not. At runtime
506 it probably does not matter because the substituted values will never
507 contain whitespace, but quoting them all would make shellcheck more
510 * config.sub: Consistently quote the argument of echo.
511 * doc/config.sub.1: Regenerate.
513 Suggested-by: Jacob Bachmeyer <jcb@gnu.org>
514 Signed-off-by: Ozkan Sezer <sezero@users.sourceforge.net>
515 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
517 2021-07-02 Thomas E. Dickey <dickey@invisible-island.net>
519 * config.sub: 2021-06-03
520 From: Ozkan Sezer <sezero@users.sourceforge.net>
521 config.sub: replace POSIX $( ) with classic ` ` throughout
523 This is in line with the recent config.guess change in commit
524 d70c4fa934de164178054c3a60aaa0024ed07c91.
526 The patch was generated using patch-6.gawk script introduced in that
529 * config.sub: Revert POSIX command substitutions to classic form.
531 Signed-off-by: Ozkan Sezer <sezero@users.sourceforge.net>
532 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
534 2021-06-19 Thomas E. Dickey <dickey@invisible-island.net>
538 * aclocal.m4: resync with my-autoconf
540 * test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
541 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
542 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax18.tab.c,
543 test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c,
544 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c,
545 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
546 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
547 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
548 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
549 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
550 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
551 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
552 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
553 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
554 test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c,
555 test/btyacc/calc_code_default.tab.c,
556 test/btyacc/calc_code_imports.tab.c,
557 test/btyacc/calc_code_provides.tab.c,
558 test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c,
559 test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c,
560 test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c,
561 test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c,
562 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
563 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
564 test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c,
565 btyaccpar.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c,
566 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
567 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
568 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
569 test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax11.tab.c,
570 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
571 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
572 test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c,
573 test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c,
574 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
575 test/yacc/quote_calc.tab.c, test/yacc/calc.tab.c,
576 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
577 test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c,
578 test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c,
579 test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c,
580 test/yacc/code_calc.code.c, test/yacc/code_error.code.c,
581 test/yacc/defines1.calc.c, test/yacc/defines2.calc.c,
582 test/yacc/defines3.calc.c, test/yacc/empty.tab.c,
583 test/yacc/err_syntax10.tab.c, test/yacc/rename_debug.c,
587 * btyaccpar.skel, yaccpar.skel: cancel unused assignments
589 * output.c: gcc warning
591 * test/run_test.sh, test/run_lint.sh, test/run_make.sh:
596 * test/run_test.sh: changes suggested at
597 https://github.com/jannick0/byacc-snapshots/tree/YYINT-fix-20210520
599 2021-06-19 Thomas E. Dickey <dickey@invisible-island.net>
601 * VERSION, package/byacc.spec, package/debian/changelog,
602 package/pkgsrc/Makefile:
605 2021-06-13 Thomas E. Dickey <dickey@invisible-island.net>
607 * aclocal.m4: resync with my-autoconf
609 2021-06-04 Thomas E. Dickey <dickey@invisible-island.net>
611 * config.guess: 2021-06-03
612 From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
615 This is the 32-bit variant of ARCv3 ISA (which is not compatible with the
619 | cd testsuite && bash config-guess.sh && rm uname
620 | PASS: config.guess checks (136 tests)
621 | cd testsuite && bash config-sub.sh
622 | PASS: config.sub checks (864 tests)
623 | PASS: config.sub idempotency checks (801 tests)
624 | PASS: config.sub canonicalise each config.guess testcase (136 tests)
626 * config.guess (arc32:Linux:*:*): Recognize.
627 * config.sub (arc32): Likewise.
628 * doc/config.guess.1: Regenerate.
629 * doc/config.sub.1: Likewise.
630 * testsuite/config-guess.data: Add a test case for arc32.
631 * testsuite/config-sub.data (arc32, arc*-elf): Add test cases.
633 Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
634 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
636 * config.sub: 2021-06-03 (repaired)
637 From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
640 This is the 32-bit variant of ARCv3 ISA (which is not compatible with the
644 | cd testsuite && bash config-guess.sh && rm uname
645 | PASS: config.guess checks (136 tests)
646 | cd testsuite && bash config-sub.sh
647 | PASS: config.sub checks (864 tests)
648 | PASS: config.sub idempotency checks (801 tests)
649 | PASS: config.sub canonicalise each config.guess testcase (136 tests)
651 * config.guess (arc32:Linux:*:*): Recognize.
652 * config.sub (arc32): Likewise.
653 * doc/config.guess.1: Regenerate.
654 * doc/config.sub.1: Likewise.
655 * testsuite/config-guess.data: Add a test case for arc32.
656 * testsuite/config-sub.data (arc32, arc*-elf): Add test cases.
658 Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
659 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
661 2021-05-26 Thomas E. Dickey <dickey@invisible-island.net>
663 * config.guess: 2021-05-24
664 From: Jacob Bachmeyer <jcb@gnu.org>
665 config.guess: manual fixups after previous automatic patch
667 The tool could not handle command substitutions that span lines, but
668 fortunately there were only two such substitutions in the script.
670 The test for which universe is active on Pyramid is rewritten into a
671 case block because it was the only use of a command substitution as an
672 argument to the test command, which would require quoting.
674 * config.guess: Rewrite "if" for Pyramid systems to "case".
676 * config.guess: 2021-05-24 (repaired)
677 From: Jacob Bachmeyer <jcb@gnu.org>
678 config.guess: replace POSIX $( ) with classic ` ` throughout
680 The previous replacement of backticks with POSIX command substitutions
681 was ill-considered and illogical: this script recognizes many archaic
682 machine types that probably never had POSIX shells, therefore it needs
683 to be able to run successfully under pre-POSIX shells.
685 This patch was generated using the included GNU Awk program.
687 * config.guess: Revert POSIX command substitutions to classic form.
688 * patch-6.gawk: Store the tool that produced the automated patch.
690 2021-05-25 Thomas E. Dickey <dickey@invisible-island.net>
692 * config.guess: 2021-05-24 (repaired)
693 From: Jacob Bachmeyer <jcb@gnu.org>
694 config.guess: manual fixup after previous automated patches
696 This patch provides the special handling for the GNU system. As these
697 were two small and unique edits, they were not included in the scripts.
699 This patch also cleans up other minor issues that must be addressed
700 before reverting to classic command substitutions and updates
701 "shellcheck" directives to account for changes in this script and the
702 change in "shellcheck" towards reporting individual portability issues.
704 * config.guess: 2021-05-24 (repaired)
705 From: Jacob Bachmeyer <jcb@gnu.org>
706 config.guess: automatic fixups after previous automated patch
708 This patch was generated using the following command:
710 sed -i config.guess \
711 -e '/="[^"]\+"\(-\|$\)/s/="\([^"([:space:])]\+\)"/=\1/' \
712 -e '/="[^"]\+"[[:alnum:]]/s/="\$\([^([:space:])]\+\)"/=${\1}/' \
714 '/\$(echo[^|]\+|/s/\([^[:space:]]\)[[:space:]]*|[[:space:]]*sed/\1 | sed/g'
716 * config.guess: Remove unneeded quotes in other variable assignments,
717 standardize spacing for "echo ... | sed" substitutions.
719 * config.guess: 2021-05-24 (repaired)
720 From: Jacob Bachmeyer <jcb@gnu.org>
721 config.guess: remove unneeded quotes and factor command substitutions
723 This is further cleanup and simplifies some constructs that can confuse
724 Emacs' syntax highlighting while generally reducing required quoting.
726 This patch was generated using the included GNU Awk program.
728 * config.guess: Remove unneeded variable quotes and factor out command
729 substitutions when setting GUESS.
730 * patch-3.gawk: Store the tool that produced the automated patch.
732 * config.guess: 2021-05-24 (repaired)
733 From: Jacob Bachmeyer <jcb@gnu.org>
734 config.guess: manual fixups after previous automatic patch
736 * config.guess: Adjust a few "leftover" cases that the tool could not
737 easily recognize and fixes comment indentation in a few other special
740 * config.guess: 2021-05-24 (repaired)
741 From: Jacob Bachmeyer <jcb@gnu.org>
742 config.guess: introduce intermediate variable with uname results
744 This will allow quoting to be significantly simplified in another
745 pass through the file.
747 * config.guess: Introduce GUESS variable to hold results of uname analysis.
749 * config.guess: 2021-05-24 (repaired)
750 From: Jacob Bachmeyer <jcb@gnu.org>
751 config.guess: use intermediate variable with uname results
753 This will allow quoting to be significantly simplified in another
754 pass through the file.
756 This patch was generated using the included GNU Awk program.
758 * config.guess: Use GUESS variable to hold results of uname analysis.
759 * patch-1.gawk: Store the tool that produced the automated patch.
761 2021-05-24 Thomas E. Dickey <dickey@invisible-island.net>
763 * config.guess: 2021-05-24 (repaired)
764 From: Dmitry V. Levin <ldv@altlinux.org>
765 config.guess: fix shellcheck warning SC2154
767 While, according to Plan 9 documentation, the environment variable
768 $cputype is set to the name of the kernel's CPU's architecture,
769 shellcheck warns that cputype is referenced but not assigned.
770 Be on the safe side and do not use cputype if it is not defined
773 * config.guess (*:Plan9:*:*): Fix shellcheck warning SC2154.
775 * config.guess: 2021-05-24 (repaired)
776 From: Dmitry V. Levin <ldv@altlinux.org>
777 config.guess: remove redundant quotes in case commands
779 According to the GNU Autoconf Portable Shell Programming manual,
780 the Bourne shell does not systematically split variables and back-quoted
781 expressions, in particular on the right-hand side of assignments and in
782 the argument of 'case'.
784 The change is made automatically using the following command:
785 $ sed -E -i 's/(\<case )"(\$[^"]+)"( in\>)/\1\2\3/' config.guess
787 * config.guess: Simplify case commands by removing quotes around the
790 Suggested-by: Jacob Bachmeyer <jcb@gnu.org>
792 * config.guess: 2021-05-24 (repaired)
793 From: Dmitry V. Levin <ldv@altlinux.org>
794 config.guess: simplify exit status workaround on alphaev67-dec-osf5.1
796 Commit 29865ea8a5622cdd80b7a69a0afa78004b4cd311 introduced an exit trap
797 reset before exiting to avoid a spurious non-zero exit status on
798 alphaev67-dec-osf5.1. Simplify that code a bit by moving the exit trap
801 * config.guess (alpha:OSF1:*:*): Reset exit trap earlier.
802 * doc/config.guess.1: Regenerate.
804 2021-05-20 Thomas E. Dickey <dickey@invisible-island.net>
806 * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
807 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
808 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
809 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
810 test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c,
811 test/btyacc/calc_code_default.tab.c,
812 test/btyacc/calc_code_imports.tab.c,
813 test/btyacc/calc_code_provides.tab.c,
814 test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c,
815 test/btyacc/code_calc.code.c, test/btyacc/code_calc.tab.c,
816 test/btyacc/code_error.code.c, test/btyacc/code_error.tab.c,
817 test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c,
818 test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c,
819 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
820 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
821 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c,
822 test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c,
823 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c,
824 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
825 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
826 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
827 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
828 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
829 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
830 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
831 test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c,
832 test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c,
833 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
834 test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c,
835 test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c,
836 test/yacc/calc_code_provides.tab.c,
837 test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c,
838 test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c,
839 test/yacc/code_error.code.c, test/yacc/code_error.tab.c,
840 test/yacc/defines1.calc.c, test/yacc/defines2.calc.c,
841 test/yacc/defines3.calc.c, test/yacc/empty.tab.c,
842 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c,
843 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
844 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
845 test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c,
846 test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c,
847 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
848 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
849 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
850 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
851 test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c,
852 test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c,
853 test/yacc/varsyntax_calc1.tab.c:
856 * mkpar.c, reader.c: change printf format to allow for long-YYINT
858 * lalr.c, lr0.c: change type, fix gcc warnings
860 * verbose.c: change type, fix gcc warnings
861 also change printf format, to allow for long YYINT
863 * output.c: change type, fix gcc warnings
864 also change printf format, to allow for long-YYINT
866 * package/debian/rules, package/byacc.spec:
867 change max-table-size to correspond with switch of YYINT from short to int
870 change default for MAXTABLE to INT_MAX, like the FreeBSD port.
871 that requires changing some types to eliminate type-mismatches.
875 * VERSION, package/byacc.spec, package/debian/changelog,
876 package/pkgsrc/Makefile:
879 2021-05-01 Thomas E. Dickey <dickey@invisible-island.net>
881 * aclocal.m4: resync with my-autoconf
883 2021-04-30 Thomas E. Dickey <dickey@invisible-island.net>
885 * config.sub: 2021-04-30 (repaired)
886 From: Maciej W. Rozycki <macro@orcam.me.uk>
887 config.sub: Handle MIPS R3 and R5 ISA levels with CPU names
889 Complement binutils commit ae52f4830604 ("Add MIPS r3 and r5 support.")
890 and recognize MIPS CPU patterns for the R3 and R5 ISA levels, used by
893 * config.sub (mipsisa32r3, mipsisa32r3el, mipsisa32r5, mipsisa32r5el,
894 mipsisa64r3, mipsisa64r3el, mipsisa64r5, mipsisa64r5el): Recognize.
895 * doc/config.sub.1: Regenerate.
896 * testsuite/config-sub.data: Add test cases.
898 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
900 2021-04-21 Thomas E. Dickey <dickey@invisible-island.net>
902 * config.guess, config.sub: 2021-04-21 (repaired)
903 From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
906 This paves way for setting up arc64 software ecosystem.
909 cd testsuite && bash config-guess.sh && rm uname
910 PASS: config.guess checks (136 tests)
911 cd testsuite && bash config-sub.sh
912 PASS: config.sub checks (853 tests)
913 PASS: config.sub idempotency checks (790 tests)
914 PASS: config.sub canonicalise each config.guess testcase (136 tests)
916 * config.guess (arc64:Linux:*:*): Recognize.
917 * config.sub (arc64): Likewise.
918 * doc/config.guess.1: Regenerate.
919 * doc/config.sub.1: Likewise.
920 * testsuite/config-guess.data: Add a test case for arc64.
921 * testsuite/config-sub.data (arc64, arc*-elf): Add test cases.
923 Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
924 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
926 2021-04-16 Thomas E. Dickey <dickey@invisible-island.net>
928 * config.guess: 2021-04-16 (repaired)
929 From: Purple Rain <purplerain@secbsd.org>
930 config.guess: add SecBSD support
932 * config.guess (*:SecBSD:*:*): Recognize.
933 * doc/config.guess.1: Regenerate.
934 * testsuite/config-guess.data: Add a test case.
936 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
938 * config.sub: 2021-04-16 (repaired)
939 From: Purple Rain <purplerain@secbsd.org>
940 config.sub: add SecBSD support
942 * config.sub (secbsd*): Recognize.
943 * doc/config.sub.1: Regenerate.
944 * testsuite/config-sub.data: Add x86_64-secbsd.
946 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
948 2021-03-28 Thomas E. Dickey <dickey@invisible-island.net>
950 * reader.c: ignore bison's "%empty" extension
953 %debug was a trivial bison "extension", mark it as such
955 * yacc.1: use italics in a few places where bold was inappropriate
957 * test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h,
958 test/btyacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.h,
959 test/btyacc/inherit1.tab.c, test/btyacc/inherit1.tab.h,
960 test/btyacc/inherit2.tab.c, test/btyacc/inherit2.tab.h,
961 test/btyacc/ok_syntax1.tab.c, test/btyacc/ok_syntax1.tab.h,
962 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit3.tab.h,
963 test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit4.tab.h,
964 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h,
965 test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_demo.tab.h,
966 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy1.tab.h,
967 test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy2.tab.h,
968 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/btyacc_destroy3.tab.h,
969 test/btyacc/calc1.tab.c, test/btyacc/calc1.tab.h,
970 test/yacc/varsyntax_calc1.tab.c, test/yacc/varsyntax_calc1.tab.h,
971 test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h,
972 test/yacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.h,
973 test/yacc/calc1.tab.h:
977 add union tag to YYSTYPE structure for compatibility with a feature which
978 bison copied from Solaris yacc (request by Ella Stanforth)
982 * config_h.in: update for _Noreturn feature
984 * aclocal.m4: updated to work with autoheader
986 * defs.h: apply syntax change needed for _Noreturn keyword
988 * package/byacc.spec, package/debian/rules: use stdnoreturn
990 * VERSION, package/byacc.spec, package/debian/changelog,
991 package/pkgsrc/Makefile:
994 2021-03-20 Thomas E. Dickey <dickey@invisible-island.net>
999 resync with my-autoconf (adds --enable-stdnoreturn option)
1001 2021-03-10 Thomas E. Dickey <dickey@invisible-island.net>
1003 * config.sub: 2021-03-10 (repaired)
1004 From: Idan Horo <idan.horowitz@gmail.com>
1005 config.sub: Add support for SerenityOS
1007 * config.sub (serenity*): Recognize.
1008 * doc/config.sub.1: Regenerate.
1009 * testsuite/config-sub.data: Add i386-serenity.
1011 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
1013 2021-01-25 Thomas E. Dickey <dickey@invisible-island.net>
1015 * config.guess: 2021-01-25 (repaired)
1016 From: Kalamatee <kalamatee@gmail.com>
1017 config.guess: update AROS system detection
1019 * config.guess: Recognize *:AROS:*:*.
1020 * doc/config.guess.1: Regenerate.
1021 * testsuite/config-guess.data: Add test cases.
1023 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
1025 2021-01-19 Thomas E. Dickey <dickey@invisible-island.net>
1027 * config.guess: 2021-01-19 (repaired)
1028 From: M. Levinson <mlevins@users.sourceforge.net>
1029 config.guess: fix shell variable quoting bug
1031 * config.guess (*:NetBSD:*:*): Spell out the full sysctl command twice
1032 instead of using a shell variable.
1033 * doc/config.guess.1: Regenerate.
1035 Fixes: 827c77253b396c07306927b2a4b794a3251c48eb
1036 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
1038 2021-01-09 Thomas E. Dickey <dickey@invisible-island.net>
1040 * package/debian/copyright, VERSION, package/byacc.spec,
1041 package/debian/changelog, package/mingw-byacc.spec,
1042 package/pkgsrc/Makefile:
1045 2021-01-07 Thomas E. Dickey <dickey@invisible-island.net>
1047 * config.sub: 2021-01-08 (repaired)
1048 From: Peixing Xin <peixing.xin@windriver.com>
1049 config.sub: recognize four-part configuration name for VxWorks
1053 armv7m-wrs-vxworks-eabihf
1054 armv7-wrs-vxworks-eabihf
1055 i686-wrs-vxworks-simlinux
1056 i686-wrs-vxworks-simwindows
1057 powerpc-wrs-vxworks-spe
1058 x86_64-wrs-vxworks-simlinux
1059 x86_64-wrs-vxworks-simwindows
1061 * config.sub: Recognize four-part configuration name for VxWorks.
1062 * doc/config.guess.1: Regenerate.
1063 * testsuite/config-sub.data: Add test cases.
1065 Co-authored-by: John Ericson <git@JohnEricson.me>
1066 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
1068 2021-01-06 Thomas E. Dickey <dickey@invisible-island.net>
1070 * config.sub: 2021-01-07 (repaired)
1071 From: Alan Modra <amodra@gmail.com>
1072 config.sub: accept OS of eabi* and gnueabi*
1074 Commit 5e531d391852 broke powerpc-eabivle:
1076 $ ./config.sub powerpc-eabivle
1077 Invalid configuration `powerpc-eabivle': OS `eabivle' not recognized
1079 Also powerpc-eabisim and probably some arm configurations.
1081 * config.sub: Accept OS of eabi* and gnueabi*.
1082 * testsuite/config-sub.data: Add powerpc-eabisim and powerpc-eabivle.
1084 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
1086 2021-01-05 Thomas E. Dickey <dickey@invisible-island.net>
1090 * aclocal.m4: resync with my-autoconf
1092 2021-01-01 Thomas E. Dickey <dickey@invisible-island.net>
1094 * config.guess, config.sub: 2021-01-01 (repaired)
1095 From: Dmitry V. Levin <ldv@altlinux.org>
1096 Update copyright years
1098 * config.guess: Update copyright years.
1099 * config.sub: Likewise.
1100 * doc/config.guess.1: Regenerate.
1101 * doc/config.sub.1: Likewise.
1103 2020-12-31 Thomas E. Dickey <dickey@invisible-island.net>
1105 * config.guess, config.sub: 2020-12-31 (repaired)
1106 From: Kito Cheng <kito.cheng@sifive.com>
1107 Recognize riscv32be and riscv64be
1109 Recently RISC-V community got patches big-endian support for binutils,
1110 and we'd like to accept that, however before accepting that I think it
1111 would be better to upstream config.sub and config.guess change here :)
1113 It's my check result on Ubuntu 18.04:
1116 cd testsuite && bash config-guess.sh && rm uname
1117 PASS: config.guess checks (131 tests)
1118 cd testsuite && bash config-sub.sh
1119 PASS: config.sub checks (830 tests)
1120 PASS: config.sub idempotency checks (767 tests)
1121 PASS: config.sub canonicalise each config.guess testcase (131 tests)
1123 * config.guess (riscv32be:Linux:*:*, riscv64be:Linux:*:*): Recognize.
1124 * config.sub (riscv32be, riscv64be): Likewise.
1125 * doc/config.guess.1: Regenerate.
1126 * doc/config.sub.1: Likewise.
1127 * testsuite/config-guess.data: Add test cases for riscv32be, and riscv64be.
1128 * testsuite/config-sub.data (riscv32be, riscv64be): Add test cases.
1130 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
1132 2020-12-03 Thomas E. Dickey <dickey@invisible-island.net>
1134 * config.guess, config.sub: 2020-12-22 (repaired)
1135 From: Xiaotian Wu <wuxiaotian@loongson.cn>
1136 Recognize loongarch32, loongarch64, and loongarchx32
1138 * config.guess (loongarch32:Linux:*:*, loongarch64:Linux:*:*,
1139 loongarchx32:Linux:*:*): Recognize.
1140 * config.sub (loongarch32, loongarch64, loongarchx32): Likewise.
1141 * doc/config.guess.1: Regenerate.
1142 * doc/config.sub.1: Likewise.
1143 * testsuite/config-guess.data: Add test cases for loongarch32,
1144 loongarch64, and loongarchx32.
1145 * testsuite/config-sub.data (loongarch32, loongarch64, loongarchx32):
1148 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
1150 2020-12-01 Thomas E. Dickey <dickey@invisible-island.net>
1152 * config.sub: 2020-12-02 (repaired)
1153 From: Dmitry V. Levin <ldv@altlinux.org>
1154 config.sub: recognize thumbv7*
1156 * config.sub (thumbv7*): Recognize.
1157 * testsuite/config-sub.data (thumbv7): New test.
1159 Reported-by: Karl Berry <karl@freefriends.org>
1160 Link: https://lists.gnu.org/archive/html/config-patches/2020-12/msg00001.html
1162 2020-11-19 Thomas E. Dickey <dickey@invisible-island.net>
1164 * config.guess, config.sub: 2020-11-17 (repaired)
1165 From: Dmitry V. Levin <ldv@altlinux.org>
1166 .gitattributes: specify a custom git merge driver for the ChangeLog file
1168 * config.guess, config.sub: 2020-11-19 (repaired)
1169 From: Dmitry V. Levin <ldv@altlinux.org>
1170 Update URLs of the latest version of config.guess and config.sub scripts
1172 Prefer cgit URLs over gitweb as the former are usually served faster:
1173 $ time -f %e wget -q 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess'
1175 $ time -f %e wget -q 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess'
1178 * config.guess: Prefer cgit URLs over gitweb.
1179 (timestamp): Update.
1180 * config.sub: Likewise.
1181 * doc/config.guess.1: Regenerate.
1182 * doc/config.sub.1: Likewise.
1184 2020-11-06 Thomas E. Dickey <dickey@invisible-island.net>
1186 * config.guess, config.sub: 2020-11-07 (repaired)
1187 From: Ben Elliston <bje@gnu.org>
1190 * config.sub: 2020-10-13 (repaired)
1191 From: Ben Elliston <bje@gnu.org>
1192 * config.sub, config.guess: Replace backtick `..` substitutions
1193 with POSIX $(..) command substitutions throughout.
1194 * Makefile (shellcheck): Don't exclude message SC2006.
1196 * config.guess: 2020-10-22 (repaired)
1197 From: Ben Elliston <bje@gnu.org>
1198 * config.sub, config.guess: Replace backtick `..` substitutions
1199 with POSIX $(..) command substitutions throughout.
1200 * Makefile (shellcheck): Don't exclude message SC2006.
1202 2020-10-21 Thomas E. Dickey <dickey@invisible-island.net>
1204 * config.guess: 2020-10-22
1205 From: Rin Okuyama <rin@netbsd.org>
1206 * config.guess (*:NetBSD:*:*): Handle aarch64eb.
1207 * testsuite/config-guess.data: Add test cases.
1209 Signed-off-by: Ben Elliston <bje@gnu.org>
1211 2020-10-14 Thomas E. Dickey <dickey@invisible-island.net>
1213 * config.sub: 2020-10-13
1214 From: Ben Elliston <bje@gnu.org>
1215 Fix whitespace problem in config.sub.
1217 2020-10-13 Thomas E. Dickey <dickey@invisible-island.net>
1219 * config.sub: 2020-10-13
1220 From: Ben Elliston <bje@gnu.org>
1221 * config.sub (i*86-pc-os2-emx): Recognise correctly.
1222 * testsuite/config-sub.data: Add OS/2 tests to avoid regressions.
1224 2020-09-26 Thomas E. Dickey <dickey@invisible-island.net>
1226 * config.sub: 2020-09-08
1227 From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
1228 * config.sub (uclinux-uclibc*): Fix detection.
1229 * testsuite/config-sub.data: Add a test case to avoid regression.
1231 Signed-off-by: Ben Elliston <bje@gnu.org>
1233 2020-09-22 Thomas E. Dickey <dickey@invisible-island.net>
1235 * closure.c, warshall.c:
1236 fix undefined-behavior diagnosed with gcc -fsanitize=undefined (report by
1237 Alexander Richardson)
1239 2020-09-20 Thomas E. Dickey <dickey@invisible-island.net>
1241 * config.guess: 2020-09-19
1242 From: Bruno Haible <bruno@clisp.org>
1243 * config.guess: Don't use 'ldd --version' to determine the presence of
1244 musl libc, as this fails on Alpine Linux 3.10.
1246 Signed-off-by: Ben Elliston <bje@gnu.org>
1248 2020-09-10 Thomas E. Dickey <dickey@invisible-island.net>
1252 * reader.c, output.c: cppcheck -- reduce scope
1254 * defs.h: update to 2.0
1256 * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
1257 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
1258 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
1259 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
1260 test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c,
1261 test/btyacc/calc_code_default.tab.c,
1262 test/btyacc/calc_code_imports.tab.c,
1263 test/btyacc/calc_code_provides.tab.c,
1264 test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c,
1265 test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c,
1266 test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c,
1267 test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c,
1268 test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c,
1269 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
1270 test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c,
1271 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
1272 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax13.tab.c,
1273 test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c,
1274 test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c,
1275 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c,
1276 test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax20.tab.c,
1277 test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c,
1278 test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c,
1279 test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c,
1280 test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c,
1281 test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c,
1282 test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c,
1283 test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c,
1284 test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c,
1285 test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c,
1286 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c,
1287 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
1288 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
1289 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
1290 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
1291 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
1292 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
1293 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
1294 test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c,
1295 test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c,
1296 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
1297 test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c,
1298 test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c,
1299 test/yacc/calc_code_provides.tab.c,
1300 test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c,
1301 test/yacc/code_calc.code.c, test/yacc/code_error.code.c,
1302 test/yacc/defines1.calc.c, test/yacc/defines2.calc.c,
1303 test/yacc/defines3.calc.c, test/yacc/empty.tab.c,
1304 test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c,
1305 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c,
1306 test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c,
1307 test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c,
1308 test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c,
1309 test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c,
1310 test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c,
1311 test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c,
1312 test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c,
1313 test/yacc/err_syntax26.tab.c, test/yacc/err_syntax27.tab.c,
1314 test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c,
1315 test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c,
1316 test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c,
1317 test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c,
1318 test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c,
1319 test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c,
1320 test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c,
1321 test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c,
1322 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c,
1323 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
1324 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
1325 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
1326 test/yacc/rename_debug.c, test/yacc/stdin1.calc.c,
1327 test/yacc/varsyntax_calc1.tab.c:
1328 update to version 2.0
1331 improve loop which skips backward through a (possibly nested) sequence of
1334 * reader.c: simplify a check to quiet a bogus cppcheck-warning
1338 * reader.c: add a note about a bogus cppcheck warning
1343 always check for gcc attributes, to work around defect in clang's imitation
1346 * reader.c: cppcheck -- scope reduction
1347 cppcheck -- eliminate bogus returns after no-return functions
1349 * verbose.c, output.c, mkpar.c, main.c, warshall.c, lr0.c, lalr.c,
1351 cppcheck -- scope reduction
1353 * package/debian/compat: quiet compatibility-warning
1355 * yacc.1: use "ASCII" for dashes which are part of proper names
1359 * configure.in: switch to --enable-warnings, for consistency
1362 resync with my-autoconf, for compiler-warning fixes with macOS
1364 * VERSION, package/byacc.spec, package/debian/changelog,
1365 package/pkgsrc/Makefile:
1368 2020-09-07 Thomas E. Dickey <dickey@invisible-island.net>
1370 * config.sub: 2020-09-08
1371 From: Elad Lahav <e2lahav@gmail.com>
1372 * config.sub: Fix regression in QNX recognition.
1373 * testsuite/config-sub.data: Add some test cases.
1375 Signed-off-by: Ben Elliston <bje@gnu.org>
1377 2020-08-16 Thomas E. Dickey <dickey@invisible-island.net>
1379 * config.guess, config.sub: 2020-08-17
1381 2020-06-28 Thomas E. Dickey <dickey@invisible-island.net>
1383 * config.sub: 2020/06/28
1385 2020-06-14 Thomas E. Dickey <dickey@invisible-island.net>
1387 * config.guess: 2020/04/26
1389 2020-03-30 Thomas E. Dickey <dickey@invisible-island.net>
1391 * package/debian/copyright: bump
1393 * test/yacc/grammar.tab.c, test/btyacc/grammar.tab.c, test/grammar.y,
1395 typo found with codespell
1397 * yacc.1: fixes noted in the original report, overlooked in followup
1399 2020-03-30 Bjarni.Ingi.Gislason
1401 * yacc.1: typography/spelling fixes - Debian #955175
1403 2020-03-30 Thomas E. Dickey <dickey@invisible-island.net>
1405 * VERSION, package/byacc.spec, package/debian/changelog,
1406 package/pkgsrc/Makefile:
1409 2020-03-10 Thomas E. Dickey <dickey@invisible-island.net>
1414 resync with my-autoconf, mostly fixes for compiler-warnings
1416 * configure.in: use macro to suppress X-dependency from newer macros
1418 2019-12-20 Thomas E. Dickey <dickey@invisible-island.net>
1420 * config.guess: 2019-12-21
1422 2019-11-25 Tom.Shields
1425 fix an inconsistency between the getopt and non-getopt configuration.
1426 In the former, getopt always used "yacc", not the name of the executable.
1428 2019-11-25 Thomas E. Dickey <dickey@invisible-island.net>
1431 suppress bison's -Wyacc warning, which is not useful.
1433 * VERSION, package/byacc.spec, package/debian/changelog,
1434 package/pkgsrc/Makefile:
1437 2019-11-19 Thomas E. Dickey <dickey@invisible-island.net>
1439 * yacc.1: new version of manpage
1441 * VERSION, package/byacc.spec, package/debian/changelog,
1442 package/pkgsrc/Makefile:
1445 * yacc.1: document %code
1447 * test/btyacc/calc_code_all.error, test/btyacc/calc_code_all.output,
1448 test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_all.tab.h,
1449 test/btyacc/calc_code_default.error,
1450 test/btyacc/calc_code_default.output,
1451 test/btyacc/calc_code_default.tab.c,
1452 test/btyacc/calc_code_default.tab.h,
1453 test/btyacc/calc_code_imports.error,
1454 test/btyacc/calc_code_imports.output,
1455 test/btyacc/calc_code_imports.tab.c,
1456 test/btyacc/calc_code_imports.tab.h,
1457 test/btyacc/calc_code_provides.error,
1458 test/btyacc/calc_code_provides.output,
1459 test/btyacc/calc_code_provides.tab.c,
1460 test/btyacc/calc_code_provides.tab.h,
1461 test/btyacc/calc_code_requires.error,
1462 test/btyacc/calc_code_requires.output,
1463 test/btyacc/calc_code_requires.tab.c,
1464 test/btyacc/calc_code_requires.tab.h, test/btyacc/calc_code_top.error,
1465 test/btyacc/calc_code_top.output, test/btyacc/calc_code_top.tab.c,
1466 test/btyacc/calc_code_top.tab.h, test/yacc/calc_code_all.tab.c,
1467 test/yacc/calc_code_all.tab.h, test/yacc/calc_code_default.tab.c,
1468 test/yacc/calc_code_provides.tab.c,
1469 test/yacc/calc_code_provides.tab.h, test/yacc/calc_code_requires.tab.c,
1470 test/yacc/calc_code_top.tab.c:
1474 amend updates for 'outline' when processing "%code" in code-file
1477 modify output_code_lines() to show begin/end block comments which were in
1478 reader.c, and to generate a #line for the code-file.
1481 modify copy_code() to allow for multiple %code directives for a given
1482 section, recording the input line-number for each directive as a #line
1483 in the resulting string. remove the block start/end comments, since those
1484 will be done for a whole section in output.c
1486 * mstring.c, defs.h: add msrenew()
1488 * test/yacc/calc_code_all.error, test/yacc/calc_code_all.output,
1489 test/yacc/calc_code_default.error, test/yacc/calc_code_default.output,
1490 test/yacc/calc_code_default.tab.h, test/yacc/calc_code_imports.error,
1491 test/yacc/calc_code_imports.output, test/yacc/calc_code_imports.tab.c,
1492 test/yacc/calc_code_imports.tab.h, test/yacc/calc_code_provides.error,
1493 test/yacc/calc_code_provides.output,
1494 test/yacc/calc_code_requires.error,
1495 test/yacc/calc_code_requires.output, test/yacc/calc_code_top.error,
1496 test/yacc/calc_code_top.tab.h:
1499 2019-11-18 Thomas E. Dickey <dickey@invisible-island.net>
1501 * test/calc_code_imports.y, test/calc_code_all.y,
1502 test/calc_code_default.y, test/calc_code_top.y,
1503 test/calc_code_requires.y:
1506 2019-11-04 Michael.Forney
1508 * defs.h: add missing "extern" for new variable "code_lines"
1510 2019-11-03 Thomas E. Dickey <dickey@invisible-island.net>
1512 * main.c: build-fix for MinGW cross-compiling
1514 * output.c, reader.c: gcc-warnings
1516 * output.c: check validity of text_file before rewind
1517 remove redundant check of iflag
1519 * main.c: fix memory-leak reported by clang
1521 * mkpar.c: guard against a null-reference reported by clang (unlikely)
1523 * reader.c: fix two coverity warnings:
1524 a) resource leak on malloc-failure
1525 b) possible null-pointer dereference on parse-error
1527 * test/btyacc/err_inherit4.tab.h, test/btyacc/btyacc_demo.tab.h: regen
1529 * defs.h: use enum's to simplify recent change
1532 enable mstring() in regular byacc, since Zoulas' change relies upon it
1534 2019-11-03 Christos.Zoulas
1536 * defs.h, reader.c, output.c: add support for bison's "%code" feature
1537 also fix a small bug: declare YYLTYPE externally when producing locations
1539 2019-11-03 Thomas E. Dickey <dickey@invisible-island.net>
1541 * test/btyacc/help.error, test/btyacc/no_b_opt.error,
1542 test/btyacc/no_output2.error, test/btyacc/no_p_opt.error,
1543 test/yacc/help.error, test/yacc/no_b_opt.error,
1544 test/yacc/no_p_opt.error:
1548 there's no standard wording for the options-errors from getopt;
1549 filter that to "error message" in the test reference files.
1552 provide for using getopt(), to accommodate a case where developers have
1553 relied upon non-POSIX behavior.
1556 getopt's messages do not print the full pathname of yacc in some cases;
1557 adjust the sed-script which changes those to "YACC"
1561 * config_h.in: regen, using autoheader-252
1563 * configure.in: add configure check for getopt
1568 resync with my-autoconf adds a fix which accommodates a difference in
1569 warning options between gcc/clang when --enable-warnings is not set.
1571 * VERSION, package/byacc.spec, package/debian/changelog,
1572 package/pkgsrc/Makefile:
1575 2019-09-11 Thomas E. Dickey <dickey@invisible-island.net>
1577 * config.guess, config.sub: 2019-09-10
1579 2019-06-17 Thomas E. Dickey <dickey@invisible-island.net>
1581 * test/btyacc/big_b.error, test/btyacc/big_l.error,
1582 test/btyacc/help.error, test/btyacc/no_b_opt.error,
1583 test/btyacc/no_output2.error, test/btyacc/no_p_opt.error,
1584 test/btyacc/nostdin.error, test/yacc/big_b.error,
1585 test/yacc/big_l.error, test/yacc/help.error, test/yacc/no_b_opt.error,
1586 test/yacc/no_output2.error, test/yacc/no_p_opt.error,
1587 test/yacc/nostdin.error:
1590 * test/run_test.sh: test "-H" rather than "-D"
1592 2019-06-16 Thomas E. Dickey <dickey@invisible-island.net>
1595 change "-D" option to "-H" (discussion with Ethan Sommer)
1597 * VERSION, package/byacc.spec, package/debian/changelog,
1598 package/pkgsrc/Makefile:
1601 * test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c,
1602 test/btyacc/defines3.calc.c:
1605 * test/run_test.sh: in test_defines, save the ".c" file too
1607 * test/yacc/defines3.calc.c, test/yacc/defines2.calc.c,
1608 test/yacc/defines1.calc.c:
1612 output of test_defines should be a header ".h", not ".c"
1614 * test/btyacc/defines1.calc.h, test/btyacc/defines1.error,
1615 test/btyacc/defines1.output, test/btyacc/defines2.calc.h,
1616 test/btyacc/defines2.error, test/btyacc/defines2.output,
1617 test/btyacc/defines3.calc.h, test/btyacc/defines3.error,
1618 test/btyacc/defines3.output:
1621 * main.c: however, a subsequent -d cancels -D
1623 * test/yacc/defines1.calc.h, test/yacc/defines3.calc.h: RCS_BASE
1625 * main.c: -D option implies -d
1627 * test/yacc/defines1.error, test/yacc/defines1.output,
1628 test/yacc/defines2.calc.h, test/yacc/defines2.error,
1629 test/yacc/defines2.output, test/yacc/defines3.error,
1630 test/yacc/defines3.output:
1633 * yacc.1: align macro definitions with my other manpages
1635 * test/run_test.sh: add test for -D after -d or -b options
1637 * test/btyacc/stdin1.calc.c, test/btyacc/stdin1.error,
1638 test/btyacc/stdin1.output, test/btyacc/stdin2.calc.c,
1639 test/btyacc/stdin2.output:
1642 * test/btyacc/big_b.error, test/btyacc/big_b.output,
1643 test/btyacc/big_l.error, test/btyacc/big_l.output,
1644 test/btyacc/help.error, test/btyacc/help.output,
1645 test/btyacc/no_b_opt.error, test/btyacc/no_b_opt.output,
1646 test/btyacc/no_b_opt1.error, test/btyacc/no_b_opt1.output,
1647 test/btyacc/no_code_c.error, test/btyacc/no_code_c.output,
1648 test/btyacc/no_defines.error, test/btyacc/no_defines.output,
1649 test/btyacc/no_graph.error, test/btyacc/no_graph.output,
1650 test/btyacc/no_include.error, test/btyacc/no_include.output,
1651 test/btyacc/no_opts.error, test/btyacc/no_opts.output,
1652 test/btyacc/no_output.error, test/btyacc/no_output.output,
1653 test/btyacc/no_output1.error, test/btyacc/no_output1.output,
1654 test/btyacc/no_output2.error, test/btyacc/no_output2.output,
1655 test/btyacc/no_p_opt.error, test/btyacc/no_p_opt.output,
1656 test/btyacc/no_p_opt1.error, test/btyacc/no_p_opt1.output,
1657 test/btyacc/no_verbose.error, test/btyacc/no_verbose.output,
1658 test/btyacc/nostdin.error, test/btyacc/nostdin.output,
1659 test/yacc/big_b.error, test/yacc/big_b.output, test/yacc/big_l.error,
1660 test/yacc/big_l.output, test/yacc/help.error, test/yacc/help.output,
1661 test/yacc/no_b_opt.error, test/yacc/no_b_opt.output,
1662 test/yacc/no_b_opt1.error, test/yacc/no_b_opt1.output,
1663 test/yacc/no_code_c.error, test/yacc/no_code_c.output,
1664 test/yacc/no_defines.error, test/yacc/no_defines.output,
1665 test/yacc/no_graph.error, test/yacc/no_graph.output,
1666 test/yacc/no_include.error, test/yacc/no_include.output,
1667 test/yacc/no_opts.error, test/yacc/no_opts.output,
1668 test/yacc/no_output.error, test/yacc/no_output.output,
1669 test/yacc/no_output1.error, test/yacc/no_output1.output,
1670 test/yacc/no_output2.error, test/yacc/no_output2.output,
1671 test/yacc/no_p_opt.error, test/yacc/no_p_opt.output,
1672 test/yacc/no_p_opt1.error, test/yacc/no_p_opt1.output,
1673 test/yacc/no_verbose.error, test/yacc/no_verbose.output,
1674 test/yacc/nostdin.output:
1678 add a test for stdin "-" vs end-options "--", and correct a redirection
1679 of stderr in test_flags
1681 * test/yacc/stdin2.output, test/yacc/stdin2.calc.c,
1682 test/yacc/stdin1.calc.c, test/yacc/stdin1.error,
1683 test/yacc/stdin2.error:
1686 * test/btyacc/big_b.output, test/btyacc/big_l.output,
1687 test/btyacc/help.output, test/btyacc/no_b_opt.output,
1688 test/btyacc/no_output2.output, test/btyacc/no_p_opt.output,
1689 test/btyacc/nostdin.output, test/yacc/big_b.output,
1690 test/yacc/big_l.output, test/yacc/help.output,
1691 test/yacc/no_b_opt.output, test/yacc/no_output2.output,
1692 test/yacc/nostdin.output:
1695 * main.c: add -D option, to specify filename vs y.tab.h for -d
1697 * defs.h: add dflag2, for -D option
1699 * yacc.1: document -D option
1701 * config_h.in: updated with autoheader-252
1705 * package/debian/copyright: bump
1707 * aclocal.m4: add CF_GETOPT_HEADER
1709 * aclocal.m4: Improved autoconf macros:
1711 putting preprocessor flags in CFLAGS also is a nuisance, which can be
1712 addressed in the same way.
1714 factor out workaround for XTSTRINGDEFINES as CF_CONST_X_STRING
1716 The check for _DEFAULT_SOURCE should apply to "recent" Cygwin (since early 2016),
1717 and except for "NEWLIB" vs "GLIBC" in the test, acts the same if I pretend
1718 that "newlib" is the GNU C library. Without this, the check falls through
1719 to the _XOPEN_SOURCE test, which breaks the pseudoterminal checks for xterm.
1721 add/use CF_POSIX_VISIBLE
1722 + CF_TRY_XOPEN_SOURCE
1725 use sed to work around non-POSIX tail utility
1728 add/use CF_POSIX_VISIBLE
1730 * VERSION, package/byacc.spec, package/debian/changelog,
1731 package/pkgsrc/Makefile:
1734 2019-06-10 Thomas E. Dickey <dickey@invisible-island.net>
1736 * config.guess: 2019-06-10
1738 2019-05-22 Thomas E. Dickey <dickey@invisible-island.net>
1740 * config.sub: 2019-05-22
1742 2018-06-09 Thomas E. Dickey <dickey@invisible-island.net>
1744 * yacc.1: minor typographical fixes
1746 * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c,
1747 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c,
1748 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
1749 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
1750 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
1751 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
1752 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
1753 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
1754 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
1755 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c,
1756 test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c,
1757 test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c,
1758 test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c,
1759 test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c,
1760 test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c,
1761 test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c,
1762 test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c,
1763 test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c,
1767 * VERSION, package/byacc.spec, package/debian/changelog,
1768 package/pkgsrc/Makefile:
1771 2018-06-09 Tom.Shields
1774 add casts to fix g++ (clang++) compile errors in the backtracking skeleton
1775 due to assignment of ‘void *’ to another pointer type.
1777 2018-05-25 Thomas E. Dickey <dickey@invisible-island.net>
1780 check if this is bison 3+ before adding options to suppress warnings
1782 * package/byacc.spec: build-fix for Mageia 6
1784 * package/byacc.spec: add btyacc package
1786 * VERSION, package/byacc.spec, package/debian/changelog,
1787 package/pkgsrc/Makefile:
1790 * package/debian/control: add a package for btyacc
1792 * package/debian/rules: generate a package for btyacc
1794 2018-05-24 Thomas E. Dickey <dickey@invisible-island.net>
1796 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
1797 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
1798 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
1799 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
1800 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
1801 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/code_error.code.c,
1802 test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c,
1803 test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c,
1804 test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c,
1805 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c,
1806 test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c,
1807 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
1808 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c,
1809 test/btyacc/ok_syntax1.tab.c, btyaccpar.c,
1810 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
1811 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
1812 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
1813 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
1814 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
1815 test/btyacc/rename_debug.c:
1818 * btyaccpar.skel: fix typo
1820 2018-05-21 Thomas E. Dickey <dickey@invisible-island.net>
1823 ignore case for "%" directives to skip with old-yacc, and add %token-table
1826 * btyaccpar.c: regen
1828 2018-05-21 Christos.Zoulas
1831 improve compatibility with bison by changing the YYLLOC_DEFAULT macro to use
1832 YYRHSLOC() macro, and adjusting the array indices of yyerror_loc_range[] for
1835 2018-05-10 Thomas E. Dickey <dickey@invisible-island.net>
1838 add a fallback definition for YYDEBUG to the -i externs file.
1840 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
1842 * VERSION, package/byacc.spec, package/debian/changelog,
1843 package/pkgsrc/Makefile:
1846 2018-05-09 Thomas E. Dickey <dickey@invisible-island.net>
1850 * aclocal.m4: resync with my-autoconf
1852 * VERSION, package/byacc.spec, package/debian/changelog,
1853 package/pkgsrc/Makefile:
1856 * test/btyacc/rename_debug.i, btyaccpar.c,
1857 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
1858 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
1859 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
1860 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
1861 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
1862 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
1863 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
1864 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
1865 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c,
1866 test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c,
1867 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c,
1868 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
1869 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
1870 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
1871 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
1872 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
1873 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
1874 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
1875 test/btyacc/varsyntax_calc1.tab.c:
1878 * btyaccpar.skel: apply Guy Harris' changes here as well
1880 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
1882 * output.c: correct/improve fallback prototype for yylex()
1884 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
1886 2018-05-08 Thomas E. Dickey <dickey@invisible-island.net>
1888 * test/btyacc/grammar.tab.c, test/yacc/grammar.tab.c: regen
1891 quiet some warnings from gcc 7 when doing "make check_make"
1893 * package/debian/watch, package/pkgsrc/Makefile: update ftp-url
1895 * test/btyacc/ok_syntax1.tab.h, test/btyacc/btyacc_calc1.tab.h: regen
1898 provide yylex() declaration for simple case (request by "Mutiny")
1900 * test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
1901 test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c,
1902 test/yacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.h,
1903 test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c,
1904 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c,
1905 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
1906 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
1907 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
1908 test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c,
1909 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
1910 test/yacc/code_calc.code.c, test/yacc/code_error.code.c,
1911 test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c,
1912 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c,
1913 test/yacc/err_syntax18.tab.c, test/yacc/rename_debug.c,
1917 * VERSION, package/byacc.spec, package/debian/changelog,
1918 package/debian/copyright, package/mingw-byacc.spec,
1919 package/pkgsrc/Makefile:
1922 2018-05-06 Guy.Harris
1924 * yaccpar.skel: two fixes:
1925 1) define yydebug only if YYDEBUG is defined and
1926 2) make yynerrs a parser-local variable if the parser is reentrant.
1928 2018-02-24 Guy.Harris
1930 * output.c: do not emit "extern YYSTYPE yylval;" for pure parsers
1932 2018-02-05 Thomas E. Dickey <dickey@invisible-island.net>
1934 * config.sub: 2018-01-15
1936 * config.guess: 2018-01-26
1938 2017-12-04 erik.b.andersen
1940 * main.c: A proper path for temporary files is needed by byacc under
1941 Windows commandline, otherwise there's a risk of empty files.
1942 The TEMP environment variable is always defined in Windows.
1944 * defs.h: The noreturn attribute needs to be specified before function
1945 to be portable among compilers (gcc, clang, msvc).
1947 2017-12-04 Thomas E. Dickey <dickey@invisible-island.net>
1949 * reader.c: adapted fix by Erik B:
1950 a) increase the length of name[] to account for a trailing null
1951 b) note that calling syntax_error() from get_number() does not return
1953 2017-09-14 Tom.Shields
1957 2017-07-09 Thomas E. Dickey <dickey@invisible-island.net>
1959 * package/byacc.spec, package/mingw-byacc.spec:
1960 use predefined "configure"
1962 * reader.c: remove unused assignment
1964 * package/debian/rules: use dpkg-buildflags
1968 * aclocal.m4: resync with my-autoconf
1970 * reader.c, output.c, defs.h:
1971 add/use IS_NAME1() and IS_NAME2() to reduce clutter
1973 * reader.c, output.c, defs.h:
1974 guard against sign-extension in ctype-macros
1976 * VERSION, package/byacc.spec, package/debian/changelog,
1977 package/pkgsrc/Makefile:
1980 * reader.c: check for numeric overflow in get_number()
1983 correct limit-checks for input filename and line-number, in case no valid
1984 filename and/or number was found.
1986 2017-04-30 Thomas E. Dickey <dickey@invisible-island.net>
1988 * test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc2-s.tab.c,
1989 test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c,
1990 test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c,
1991 test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c,
1992 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c,
1993 test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c,
1994 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
1995 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c,
1996 test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c,
1997 test/btyacc/pure_error.tab.c, test/btyacc/quote_calc.tab.c,
1998 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
1999 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
2000 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
2001 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
2002 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
2003 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
2004 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
2005 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
2006 test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c,
2008 fix another uninitialized variable warning in "make check_make" for btyacc
2010 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
2011 test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_calc1.tab.c,
2012 test/btyacc/calc3.tab.c, btyaccpar.c, btyaccpar.skel,
2013 test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c,
2014 test/yacc/pure_error.tab.c, test/yacc/calc3.tab.c, yaccpar.c, defs.h,
2016 fix some compiler warnings for "make check_make" by adding section init_vars,
2017 which initializes the body_vars for pure-parser configuration.
2019 2017-04-30 Tom.Shields
2022 use YY_NO_LEAKS set in configure --with-no-leaks, in the generated code
2024 2017-04-30 Julien.Ramseier
2026 * main.c, test/yacc/big_l.output:
2027 fix typo in unsupported-flag warning message
2029 2017-04-30 Thomas E. Dickey <dickey@invisible-island.net>
2031 * VERSION, package/byacc.spec, package/debian/changelog,
2032 package/pkgsrc/Makefile:
2035 2017-04-29 Thomas E. Dickey <dickey@invisible-island.net>
2037 * config.sub: 2017-04-02
2039 2017-03-18 Thomas E. Dickey <dickey@invisible-island.net>
2041 * config.sub: 2017-02-07
2043 * config.guess: 2017-03-05
2045 2017-02-01 Thomas E. Dickey <dickey@invisible-island.net>
2047 * test/btyacc/expr.oxout.error, test/btyacc/expr.oxout.output,
2048 test/btyacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.h,
2049 test/yacc/expr.oxout.error, test/yacc/expr.oxout.output,
2050 test/yacc/expr.oxout.tab.h:
2053 * package/debian/copyright: update copyright
2055 * reader.c, defs.h, main.c:
2056 avoid using regex.h since some low-end platforms do not have this
2058 * test/expr.oxout.y: RCS_BASE
2062 * aclocal.m4: quiet a strict gcc warning in CF_MKSTEMP
2064 2017-02-01 Tom.Shields
2066 * main.c, reader.c, defs.h:
2067 process #line directives, like bison and flex
2069 2017-02-01 Thomas E. Dickey <dickey@invisible-island.net>
2071 * VERSION, package/byacc.spec, package/debian/changelog,
2072 package/pkgsrc/Makefile:
2075 2016-12-31 Thomas E. Dickey <dickey@invisible-island.net>
2077 * config.guess, config.sub: 2017-01-01
2079 2016-12-02 Thomas E. Dickey <dickey@invisible-island.net>
2081 * test/btyacc/quote_calc4-s.tab.c, test/btyacc/varsyntax_calc1.tab.c,
2082 test/btyacc/error.tab.c, test/btyacc/grammar.tab.c,
2083 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
2084 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
2085 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
2086 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
2087 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
2088 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
2089 test/btyacc/quote_calc4.tab.c, test/btyacc/calc.tab.c,
2090 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
2091 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
2092 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
2093 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
2094 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
2095 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c,
2096 test/btyacc/err_syntax20.tab.c, test/btyacc/rename_debug.c,
2097 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
2098 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
2102 * btyaccpar.skel: changes from NetBSD
2103 + use YYINT rather than short in btyaccpar.skel
2104 (some of this had already been done by Tom Shields)
2105 + remove some casts of malloc/realloc
2107 * yaccpar.c, yaccpar.skel, output.c: changes from NetBSD
2108 - Add some more bison stuff to make the mesa/gallium parser work:
2109 %initial-action (add missing source struct member in location)
2110 %debug (unimplemented)
2111 %error-verbose (unimplemented)
2113 This changes some existing code:
2114 + yylloc is now a pointer, so
2115 + the first parameter to YYERROR_DECL() is a pointer
2116 + struct YYLTYPE now has a "source" field
2118 * test/btyacc/btyacc_demo.tab.h, test/btyacc/code_calc.tab.c,
2119 test/btyacc/err_inherit4.tab.h:
2122 * btyaccpar.c, btyaccpar.skel, reader.c: changes from NetBSD
2123 - Add some more bison stuff to make the mesa/gallium parser work:
2124 %initial-action (add missing source struct member in location)
2125 %debug (unimplemented)
2126 %error-verbose (unimplemented)
2128 This changes some existing code:
2129 + yylloc is now a pointer, so
2130 + the first parameter to YYERROR_DECL() is a pointer
2131 + struct YYLTYPE now has a "source" field
2134 fix from NetBSD: correct off-by-one when adding a null in copy_param()
2136 * reader.c: adapted from NetBSD
2137 - Convert *most* error fingerprints to:
2138 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
2139 +unterminated_arglist(const struct ainfo *a)
2140 - Cast new <ctype.h> args to unsigned char
2142 * defs.h: changes from NetBSD
2143 - Add some more bison stuff to make the mesa/gallium parser work:
2144 %initial-action (add missing source struct member in location)
2145 %debug (unimplemented)
2146 %error-verbose (unimplemented)
2148 This changes some existing code:
2149 + yylloc is now a pointer, so
2150 + the first parameter to YYERROR_DECL() is a pointer
2151 + struct YYLTYPE now has a "source" field
2153 * defs.h: adapted from NetBSD
2154 - Convert *most* error fingerprints to:
2155 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
2156 +unterminated_arglist(const struct ainfo *a)
2157 - Cast new <ctype.h> args to unsigned char
2159 * main.c: changes from NetBSD
2160 - Add some more bison stuff to make the mesa/gallium parser work:
2161 %initial-action (add missing source struct member in location)
2162 %debug (unimplemented)
2163 %error-verbose (unimplemented)
2165 This changes some existing code:
2166 + yylloc is now a pointer, so
2167 + the first parameter to YYERROR_DECL() is a pointer
2168 + struct YYLTYPE now has a "source" field
2170 * error.c: adapted from NetBSD
2171 - Convert *most* error fingerprints to:
2172 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
2173 +unterminated_arglist(const struct ainfo *a)
2174 - Cast new <ctype.h> args to unsigned char
2176 * mstring.c: adapted change from NetBSD to add casts for ctype macros
2178 * test/btyacc/btyacc_demo.tab.h, test/btyacc/err_inherit4.tab.h: regen
2180 * output.c: reorder to eliminate a forward-reference
2182 2016-12-02 Tom.Shields
2185 modify output to enable compilation of a lexer generated by flex (using
2186 "%option bison-bridge" and "%option bison-locations") to be used with a parser
2187 generated by b(t)yacc (using directives "%locations" and "%pure-parser").
2189 2016-12-02 Thomas E. Dickey <dickey@invisible-island.net>
2193 * aclocal.m4: Improved autoconf macros
2195 + improve split between compiler and options, prompted by report where user
2196 had "ccache" before the compiler
2197 + leave non-preprocessor options in "$CC" (but still copy them to "$CFLAGS"
2198 since that's where they should be)
2200 + recent glibc (Debian 2.23-4 for example) has misordered ifdef/checks for new
2201 symbol _DEFAULT_SOURCE, producing warning messages when only _GNU_SOURCE is
2202 defined. Add a followup check to define _DEFAULT_SOURCE.
2204 + add "uclinux" to list of Linux's (patch by Yann E. Morin)
2205 + use _GNU_SOURCE for cygwin headers
2206 + build-fixes for OS/2
2208 * VERSION, package/byacc.spec, package/debian/changelog,
2209 package/pkgsrc/Makefile:
2212 2016-11-20 Thomas E. Dickey <dickey@invisible-island.net>
2214 * config.sub: 2016-11-19
2216 * config.guess: 2016-10-02
2218 2016-06-06 Thomas E. Dickey <dickey@invisible-island.net>
2222 * aclocal.m4: improved autoconf macros:
2223 CF_CC_ENV_FLAGS - don't limit the check to -I, -U and -D options, since the
2224 added options can include various compiler options before and after
2225 preprocessor options.
2226 CF_PROG_LINT - add cpplint to programs to use; drop ad hoc tdlint and alint.
2228 * VERSION, package/byacc.spec, package/debian/changelog,
2229 package/pkgsrc/Makefile:
2234 * btyaccpar.c: regen
2237 adjust whitespace so that generated skeleton will follow the same format
2240 * mkpar.c, verbose.c, lr0.c, reader.c, error.c, output.c: indented
2242 * reader.c: fix two compiler warnings
2244 * test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
2245 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
2246 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
2247 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
2248 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
2249 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
2250 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax12.tab.c,
2251 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c,
2252 test/btyacc/error.tab.c, test/btyacc/grammar.tab.c,
2253 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
2254 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
2255 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
2256 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
2257 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
2258 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
2259 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
2260 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
2261 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
2262 test/btyacc/rename_debug.c, btyaccpar.c,
2263 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
2264 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
2265 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
2266 test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax20.tab.c,
2267 test/yacc/error.tab.c, test/yacc/grammar.tab.c,
2268 test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c,
2269 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
2270 test/yacc/quote_calc.tab.c, test/yacc/calc.tab.c,
2271 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
2272 test/yacc/code_calc.code.c, test/yacc/code_error.code.c,
2273 test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c,
2274 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c,
2278 2016-06-06 Tom.Shields
2280 * btyaccpar.skel, yaccpar.skel:
2281 small fix for an edge case of initialized data in Chris Dodd's btyacc changes:
2282 "Avoid crash when input pops up an Action error at the first token"
2284 2016-06-01 Thomas E. Dickey <dickey@invisible-island.net>
2286 * test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc3-s.tab.c,
2287 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
2288 test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c,
2289 test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c,
2290 test/yacc/err_syntax24.error, test/yacc/error.tab.c,
2291 test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c,
2292 test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c,
2293 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c,
2294 test/yacc/quote_calc2.tab.c, test/yacc/calc.tab.c,
2295 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
2296 test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c,
2297 test/yacc/code_calc.tab.h, test/yacc/code_error.code.c,
2298 test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c,
2299 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c,
2300 test/yacc/rename_debug.c, yaccpar.c, test/btyacc/quote_calc-s.tab.c,
2301 test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c,
2302 test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c,
2303 test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c,
2304 test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c,
2305 test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c,
2306 test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c,
2307 test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c,
2308 test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c,
2309 test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c,
2310 test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c,
2311 test/btyacc/err_syntax24.error, test/btyacc/err_syntax24.tab.c,
2312 test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c,
2313 test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c,
2314 test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c,
2315 test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c,
2316 test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c,
2317 test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c,
2318 test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c,
2319 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
2320 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.output,
2321 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
2322 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
2323 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.error,
2324 test/btyacc/btyacc_demo.output, test/btyacc/btyacc_demo.tab.c,
2325 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
2326 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
2327 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
2328 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
2329 test/btyacc/code_calc.tab.c, test/btyacc/code_calc.tab.h,
2330 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
2331 test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c,
2332 test/btyacc/err_inherit3.output, test/btyacc/err_inherit3.tab.c,
2333 test/btyacc/err_inherit4.output, test/btyacc/err_inherit4.tab.c,
2334 test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c,
2335 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
2339 2016-06-01 Tom.Shields
2341 * btyaccpar.skel, defs.h, error.c, output.c, reader.c, test/code_calc.y,
2343 fixes for issues in btyacc (report by Francis Andre):
2345 + correction to the placement of the #line directive for a %union specification
2347 + recovery of a set of casts originally added into btyaccpar.c rather than into
2348 btyaccpar.skel, and so are lost whenever building from scratch
2350 + Chris Dodd's btyacc improved handling of inherited attributes to eliminate
2351 implicit empty copy rules that are not necessary, and thereby avoiding the
2352 introduction of extra parsing ambiguity
2354 + Chris Dodd's added support for @-N syntax to reference inherited position
2357 + correction to bad interaction between %token-table and YYDEBUG, where YYDEBUG
2358 was required to be defined in order to compile the generated code
2360 + correction to yyname[] access in code included with YYDEBUG defined for
2361 single character symbols not recognized (e.g., input containing '&' character
2362 where grammar doesn't define that as a symbol) - map to existing
2363 "illegal-symbol" entry in byname[]
2365 + fixes to test/run_make.sh: skip test-err_* files; in the bison test phase
2366 skip additional files that contain features not supported by bison and
2367 inhibit new bison warning messages
2369 + minor changes to btyaccpar.skel & yaccpar.skel so they are more similar in
2370 their commonality; makes it easier to maintain the pair of files using
2373 + changes to a couple of test cases for coverage of #3, #4 and #5 above
2375 2016-06-01 Thomas E. Dickey <dickey@invisible-island.net>
2377 * VERSION, package/byacc.spec, package/debian/changelog,
2378 package/pkgsrc/Makefile:
2381 2016-03-24 Thomas E. Dickey <dickey@invisible-island.net>
2383 * reader.c: unused variable
2385 * package/pkgsrc/Makefile, package/debian/copyright: bump
2387 2016-03-24 Jung-uk.Kim
2390 correct logic for finding output suffix in the "-o" option, which matched
2391 the first occurrence of ".c" in the name in 2005-08-13 changes rather than
2392 at the end of the filename (patch by Jung-uk Kim)
2394 2016-03-24 Thomas E. Dickey <dickey@invisible-island.net>
2397 update CF_WITH_MAN2HTML to use configured shell rather than /bin/sh
2399 * VERSION, package/byacc.spec, package/debian/changelog,
2400 package/pkgsrc/Makefile:
2403 2016-01-25 Thomas E. Dickey <dickey@invisible-island.net>
2405 * config.guess, config.sub: 2016-01-01
2407 2015-07-10 Thomas E. Dickey <dickey@invisible-island.net>
2409 * lr0.c: fix a duplicate-free in the leak-checking
2411 * VERSION, package/byacc.spec, package/debian/changelog,
2412 package/pkgsrc/Makefile:
2416 make cache-size clearer (prompted by discussion with Pedro Giffuni,
2420 make relationship with format/size clearer (prompted by discussion
2421 with Pedro Giffuni, Oliver Pinter)
2423 2015-07-05 Thomas E. Dickey <dickey@invisible-island.net>
2427 * package/pkgsrc/Makefile, package/mingw-byacc.spec,
2428 package/debian/copyright, package/debian/changelog,
2429 package/byacc.spec, VERSION:
2432 * aclocal.m4: resync with my-autoconf
2433 add configure option --with-man2html
2435 * makefile.in: add configure options --with-man2html
2437 * configure.in: add configure option --with-man2html
2439 2015-05-02 Thomas E. Dickey <dickey@invisible-island.net>
2441 * config.guess: 2015-03-04
2443 * config.sub: 2015-03-08
2445 2014-11-28 Thomas E. Dickey <dickey@invisible-island.net>
2447 * lr0.c: coverity #39181: memory leak
2449 * VERSION, package/byacc.spec, package/debian/changelog,
2450 package/pkgsrc/Makefile:
2453 2014-11-13 Jouk.Jansen
2456 I sucessfully compiled byacc on my OpenVMS systems. However, I had to update
2457 the descrip.mms to include some extra c-source files and some dependenxcies
2458 so that it also works when the distribution is located on an ODS5 disk.
2460 The patched descrip.mms file can be found at:
2461 http://nchrem.tnw.tudelft.nl/openvms/software2.html#BYACC
2463 Please feel free to insert the file in your distribution.
2468 2014-10-06 Thomas E. Dickey <dickey@invisible-island.net>
2470 * package/debian/source/format:
2471 change to native format to work around regression in Debian packaging.
2473 * VERSION, package/byacc.spec, package/debian/changelog,
2474 package/pkgsrc/Makefile:
2480 correct parameter for umask - for very old mkstemp's - and use type mode_t
2481 to quiet compiler warning
2483 * configure.in: add configure check for mode_t
2486 better fix for get_line, by ensuring there is enough space to null-terminate
2487 its result (prompted by discussion with Craig Rodrigues).
2489 2014-10-05 Thomas E. Dickey <dickey@invisible-island.net>
2492 make change to umask before calling mkstemp, as suggested in Coverity #56902
2495 adjust logic in copy_action to avoid potential null-pointer dereference
2499 adjust logic to avoid potential null-pointer dereference in compile_args
2502 * reader.c: eliminate strcpy into fixed-size buffer (Coverity #63408)
2504 * yacc.1: document changes made with respect to %parse-param
2507 add parameters from %parse-param to destructor. The order of the parameters
2508 is intentionally inconsistent with yyparse/yyerror, for "compatibility" with
2511 * test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
2512 test/btyacc/btyacc_destroy3.tab.c:
2516 use puts_param_types/puts_param_names to output lex_param data.
2518 * test/btyacc/ok_syntax1.tab.c, test/btyacc/calc2.tab.c,
2519 test/btyacc/calc3.tab.c, test/yacc/ok_syntax1.tab.c,
2520 test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/btyacc/error.tab.c,
2521 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
2522 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c,
2523 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
2524 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
2525 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
2526 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
2527 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
2528 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c,
2529 test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c,
2530 test/btyacc/calc1.tab.c, test/btyacc/code_calc.code.c,
2531 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
2532 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
2533 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
2534 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c,
2535 test/btyacc/rename_debug.c:
2538 * btyaccpar.c: add casts, change types to fix strict compiler warnings
2540 * test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax19.tab.c,
2541 test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax21.tab.c,
2542 test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c,
2543 test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax25.tab.c,
2544 test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c,
2545 test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c,
2546 test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c,
2547 test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c,
2548 test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c,
2549 test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c,
2550 test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c,
2551 test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c,
2552 test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c,
2553 test/btyacc/err_syntax16.tab.c:
2556 * output.c: gcc-warning
2558 * test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c: regen
2560 * output.c: fix limit when merging real/workaround tables
2563 for btyacc, it is possible to have no conflicts - but in that case, the
2564 "ctable" was not generated at all, while the skeleton uses the table.
2565 The most straightforward (workaround) is generating a dummy table which
2568 * test/btyacc_destroy3.y, test/btyacc_destroy2.y, test/btyacc_destroy1.y:
2569 fix "make check_make"
2571 * test/yacc/calc3.tab.c, test/yacc/ok_syntax1.tab.c,
2572 test/yacc/calc2.tab.c, test/btyacc/btyacc_destroy1.tab.c,
2573 test/btyacc/btyacc_destroy2.tab.c:
2577 trim blanks from interim value in copy_param() to handle special case when
2578 a space precedes a comma.
2581 use two new functions, puts_param_types and puts_param_names, to improve
2582 format of the parse_param list (by trimming space after "*") as well as
2583 correcting the output of the comma-separated names (only the last name
2586 * test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_destroy3.tab.c,
2587 test/btyacc/calc3.tab.c:
2591 modify copy_param() to handle resulting comma-separated list. Before, it
2592 only expected a single parameter.
2594 2014-10-04 Thomas E. Dickey <dickey@invisible-island.net>
2596 * reader.c: split-out save_param() from copy_param()
2598 * reader.c: trim_blanks() did not always convert spaces - fix.
2600 * reader.c: fix some minor regressions with error-reporting
2602 * aclocal.m4: update CF_XOPEN_SOURCE for Unixware change from lynx
2604 * VERSION, package/byacc.spec, package/debian/changelog,
2605 package/pkgsrc/Makefile:
2609 modify copy_param() to accept multiple parameters, each in curly braces like
2610 recent bison, as well as honoring bison's undocumented feature to accept the
2611 parameters as a comma-separated list.
2613 * test/btyacc/btyacc_destroy3.tab.c, test/btyacc/btyacc_destroy1.tab.c,
2614 test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.error,
2615 test/btyacc/btyacc_destroy3.output, test/btyacc/btyacc_destroy3.tab.h,
2616 test/btyacc/btyacc_destroy2.error, test/btyacc/btyacc_destroy2.output,
2617 test/btyacc/btyacc_destroy2.tab.h:
2620 2014-10-03 Thomas E. Dickey <dickey@invisible-island.net>
2622 * test/btyacc/btyacc_demo2.error, test/btyacc/btyacc_demo2.output,
2623 test/btyacc/btyacc_demo2.tab.c, test/btyacc/btyacc_demo2.tab.h,
2624 test/btyacc/btyacc_destroy1.error, test/btyacc/btyacc_destroy1.output,
2625 test/btyacc/btyacc_destroy1.tab.h, test/btyacc_destroy3.y,
2626 test/btyacc_destroy2.y:
2629 2014-10-02 Thomas E. Dickey <dickey@invisible-island.net>
2631 * main.c, reader.c, defs.h:
2632 use calloc in get_line() when allocating line to ensure it is fully initialized,
2633 fixes a later uninitialized value in copy_param() (FreeBSD #193499).
2635 2014-09-17 Thomas E. Dickey <dickey@invisible-island.net>
2637 * closure.c, lalr.c, output.c, defs.h:
2638 rephrase odd addressing to fix Coverity #48848, #38950, #38860, not actually
2641 2014-09-01 Thomas E. Dickey <dickey@invisible-island.net>
2643 * config.sub: update to 2014-07-28
2645 2014-07-27 Thomas E. Dickey <dickey@invisible-island.net>
2649 * aclocal.m4: modified to support port to Minix3.2
2651 * package/pkgsrc/Makefile, VERSION, package/byacc.spec,
2652 package/mingw-byacc.spec:
2655 2014-07-15 Thomas E. Dickey <dickey@invisible-island.net>
2657 * aclocal.m4: resync with my-autoconf (no change to configure script)
2659 * VERSION, package/byacc.spec, package/debian/changelog,
2660 package/pkgsrc/Makefile:
2664 make top-level "make check" work again, by adding another step to filtering
2667 2014-07-14 Thomas E. Dickey <dickey@invisible-island.net>
2669 * test/run_test.sh: changes from Garrett Cooper's patch:
2670 a) ensure that the script returns an error-code if there are differences
2671 b) escape "." character in left side of sed expression for $YACC
2672 c) ensure that $ifBTYACC has a value
2674 * test/btyacc/big_b.output, test/btyacc/big_l.output,
2675 test/btyacc/help.output, test/btyacc/no_b_opt.output,
2676 test/btyacc/no_output2.output, test/btyacc/no_p_opt.output,
2677 test/btyacc/nostdin.output:
2678 regen (reminder by Garrett Cooper)
2680 2014-07-14 Garrett.Cooper
2682 * test/btyacc/err_inherit1.error, test/btyacc/err_inherit2.error,
2683 test/btyacc/err_inherit3.error, test/btyacc/err_inherit4.error,
2684 test/btyacc/err_inherit5.error, test/btyacc/err_syntax1.error,
2685 test/btyacc/err_syntax10.error, test/btyacc/err_syntax11.error,
2686 test/btyacc/err_syntax12.error, test/btyacc/err_syntax13.error,
2687 test/btyacc/err_syntax14.error, test/btyacc/err_syntax15.error,
2688 test/btyacc/err_syntax16.error, test/btyacc/err_syntax17.error,
2689 test/btyacc/err_syntax18.error, test/btyacc/err_syntax19.error,
2690 test/btyacc/err_syntax2.error, test/btyacc/err_syntax21.error,
2691 test/btyacc/err_syntax22.error, test/btyacc/err_syntax23.error,
2692 test/btyacc/err_syntax24.error, test/btyacc/err_syntax25.error,
2693 test/btyacc/err_syntax26.error, test/btyacc/err_syntax27.error,
2694 test/btyacc/err_syntax3.error, test/btyacc/err_syntax4.error,
2695 test/btyacc/err_syntax5.error, test/btyacc/err_syntax6.error,
2696 test/btyacc/err_syntax7.error, test/btyacc/err_syntax7a.error,
2697 test/btyacc/err_syntax7b.error, test/btyacc/err_syntax8.error,
2698 test/btyacc/err_syntax8a.error, test/btyacc/err_syntax9.error,
2699 test/yacc/err_syntax1.error, test/yacc/err_syntax10.error,
2700 test/yacc/err_syntax11.error, test/yacc/err_syntax12.error,
2701 test/yacc/err_syntax13.error, test/yacc/err_syntax14.error,
2702 test/yacc/err_syntax15.error, test/yacc/err_syntax16.error,
2703 test/yacc/err_syntax17.error, test/yacc/err_syntax18.error,
2704 test/yacc/err_syntax19.error, test/yacc/err_syntax2.error,
2705 test/yacc/err_syntax21.error, test/yacc/err_syntax22.error,
2706 test/yacc/err_syntax23.error, test/yacc/err_syntax24.error,
2707 test/yacc/err_syntax25.error, test/yacc/err_syntax26.error,
2708 test/yacc/err_syntax27.error, test/yacc/err_syntax3.error,
2709 test/yacc/err_syntax4.error, test/yacc/err_syntax5.error,
2710 test/yacc/err_syntax6.error, test/yacc/err_syntax7.error,
2711 test/yacc/err_syntax7a.error, test/yacc/err_syntax7b.error,
2712 test/yacc/err_syntax8.error, test/yacc/err_syntax8a.error,
2713 test/yacc/err_syntax9.error:
2716 2014-05-27 Tom.Shields
2718 * main.c: remove obsolete -D option from usage message
2720 2014-05-27 Thomas E. Dickey <dickey@invisible-island.net>
2722 * VERSION, package/byacc.spec, package/debian/changelog,
2723 test/yacc/big_b.output, test/yacc/big_l.output, test/yacc/help.output,
2724 test/yacc/no_b_opt.output, test/yacc/no_output2.output,
2725 test/yacc/nostdin.output:
2728 2014-04-22 Thomas E. Dickey <dickey@invisible-island.net>
2731 use vsnprintf() to ensure that msprintf's buffer is large enough.
2733 * main.c, defs.h: add mstring_leaks()
2737 * output.c: fix a complementary warning
2739 * mstring.c: introduce vsnprintf
2741 * configure.in, config_h.in: add check for vsnprintf
2743 * output.c: quiet a type-conversion warning
2745 * mstring.c: fix a potential memory leak on ENOMEM
2746 quiet a couple of type-conversion warnings
2748 * defs.h: add/use GCC_PRINTFLIKE for msprintf()
2750 2014-04-22 Tom.Shields
2753 drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant
2754 content into README.BTYACC
2756 2014-04-22 Thomas E. Dickey <dickey@invisible-island.net>
2758 * package/pkgsrc/Makefile, VERSION, package/byacc.spec,
2759 package/mingw-byacc.spec:
2762 2014-04-19 Thomas E. Dickey <dickey@invisible-island.net>
2764 * config.sub: 2014-04-03
2766 * config.guess: 2014-03-23
2768 2014-04-09 Rick.Spates
2770 * main.c, defs.h: patch to allow DEBUG build with WIN32 system
2772 2014-04-09 Thomas E. Dickey <dickey@invisible-island.net>
2774 * output.c, reader.c: gcc warnings
2776 * reader.c: fix const-cast warnings
2778 * test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
2779 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc4-s.tab.c,
2780 test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c,
2781 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
2782 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c,
2783 test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c,
2784 test/btyacc/pure_error.tab.c, test/btyacc/quote_calc2-s.tab.c,
2785 test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3.tab.c,
2786 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c,
2787 test/btyacc/code_error.tab.c, test/btyacc/empty.tab.c,
2788 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
2789 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
2790 test/btyacc/err_syntax12.tab.c, test/btyacc/error.tab.c,
2791 test/btyacc/rename_debug.c, test/btyacc/calc.tab.c,
2792 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
2794 fix a few clang --analyze warnings; one was a case where output_ctable emitted
2795 an empty table (which should be an error).
2797 * reader.c: appease clang --analyze
2799 * defs.h: mark two functions as no-return.
2801 * package/debian/changelog: reason for release
2803 * VERSION, package/byacc.spec, package/debian/changelog,
2804 package/pkgsrc/Makefile:
2807 * makefile.in: use $LINT_OPTS from environment via configure script
2809 * test/btyacc/ok_syntax1.output, test/btyacc/ok_syntax1.tab.c,
2810 test/yacc/ok_syntax1.tab.c, test/ok_syntax1.y,
2811 test/yacc/ok_syntax1.output:
2812 tweaks to make generated files from ok_syntax1.y compile with check_make rule
2814 * test/btyacc/rename_debug.c, test/btyacc/rename_debug.error,
2815 test/btyacc/rename_debug.h, test/btyacc/rename_debug.i,
2816 test/yacc/rename_debug.c:
2817 reference output for testing
2820 retain the renaming done for code_debug.y so that check_make will work.
2822 * test/yacc/rename_debug.error, test/yacc/rename_debug.h,
2823 test/yacc/rename_debug.output:
2824 reference output for testing
2826 * test/btyacc/ok_syntax1.error: RCS_BASE
2828 * test/yacc/quote_calc4-s.tab.c, test/yacc/varsyntax_calc1.tab.c,
2829 test/yacc/code_error.code.c, test/yacc/empty.tab.c,
2830 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c,
2831 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
2832 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
2833 test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c,
2834 test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c,
2835 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c,
2836 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
2837 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
2838 test/yacc/quote_calc4.tab.c, test/yacc/calc.tab.c,
2839 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
2844 clarify relationship of btyacc features to default configuration.
2846 2014-04-08 Thomas E. Dickey <dickey@invisible-island.net>
2848 * test/yacc/ok_syntax1.output, test/yacc/ok_syntax1.tab.c,
2849 test/yacc/ok_syntax1.tab.h, test/btyacc/ok_syntax1.output,
2850 test/btyacc/ok_syntax1.tab.h:
2851 reference output for testing
2853 * test/ok_syntax1.y: RCS_BASE
2855 * test/yacc/ok_syntax1.error: reference output for testing
2857 * test/yacc/big_b.error, test/yacc/big_b.output, test/yacc/big_l.error,
2858 test/yacc/big_l.output, test/btyacc/big_b.error,
2859 test/btyacc/big_b.output, test/btyacc/big_l.error,
2861 exercise -L/-B options
2863 * test/yacc/code_debug.c, test/btyacc/code_debug.c,
2864 test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c,
2865 test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c,
2866 test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c,
2867 test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c,
2868 test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c,
2869 test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c,
2870 test/yacc/err_syntax26.tab.c, test/yacc/err_syntax27.tab.c,
2871 test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c,
2872 test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c,
2873 test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c,
2874 test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c,
2875 test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c,
2876 test/yacc/error.tab.c, test/yacc/grammar.tab.c,
2877 test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c,
2878 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c,
2879 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
2880 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
2881 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
2882 test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c,
2883 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
2884 test/yacc/code_calc.code.c, test/yacc/code_error.code.c,
2885 test/yacc/empty.tab.c, test/yacc/err_syntax1.tab.c,
2886 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c,
2887 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax13.tab.c,
2888 test/yacc/err_syntax14.tab.c, test/btyacc/err_syntax13.tab.c,
2889 test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c,
2890 test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c,
2891 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c,
2892 test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax20.tab.c,
2893 test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c,
2894 test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c,
2895 test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c,
2896 test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c,
2897 test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c,
2898 test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c,
2899 test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c,
2900 test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c,
2901 test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c,
2902 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
2903 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c,
2904 test/btyacc/pure_error.tab.c, test/btyacc/btyacc_demo.tab.c,
2905 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
2906 test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c,
2907 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
2908 test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c,
2909 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
2910 test/btyacc/err_syntax12.tab.c, test/btyacc/pure_calc.tab.c,
2911 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
2912 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
2913 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
2914 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
2915 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c,
2916 test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c,
2917 test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c,
2918 test/btyacc/code_calc.code.c, test/run_test.sh,
2919 test/yacc/no_b_opt1.output:
2920 use a better renaming of the YYPATCH definition (none of the test-cases rely
2921 upon it, but redefinition in the "make check_make" rule is a problem).
2923 * test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax13.tab.c,
2924 test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax25.tab.c,
2925 test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c,
2926 test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c,
2927 test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c,
2928 test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c,
2929 test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c,
2930 test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c,
2931 test/btyacc/varsyntax_calc1.tab.c:
2932 undid temporary reordering in reader() by Tom Shields to align with byacc outputs
2934 * test/run_test.sh: remove a repeated test-case
2936 * mstring.c: minor reformatting to make coverage analysis simpler
2938 2014-04-07 Thomas E. Dickey <dickey@invisible-island.net>
2940 * test/run_test.sh: tidy
2942 * test/yacc/help.error, test/yacc/help.output, test/yacc/no_b_opt.error,
2943 test/yacc/no_b_opt.output, test/yacc/no_b_opt1.error,
2944 test/yacc/no_b_opt1.output, test/yacc/no_code_c.error,
2945 test/yacc/no_code_c.output, test/yacc/no_defines.error,
2946 test/yacc/no_defines.output, test/yacc/no_graph.error,
2947 test/yacc/no_graph.output, test/yacc/no_include.error,
2948 test/yacc/no_include.output, test/yacc/no_opts.error,
2949 test/yacc/no_opts.output, test/yacc/no_output.error,
2950 test/yacc/no_output.output, test/yacc/no_output1.error,
2951 test/yacc/no_output1.output, test/yacc/no_output2.error,
2952 test/yacc/no_output2.output, test/yacc/no_p_opt.error,
2953 test/yacc/no_p_opt.output, test/yacc/no_p_opt1.error,
2954 test/yacc/no_p_opt1.output, test/yacc/no_verbose.error,
2955 test/yacc/no_verbose.output, test/yacc/nostdin.error,
2956 test/yacc/test-no_b_opt1.output:
2957 reference output for testing
2960 add special checks for flags which depend on writable/existing files
2962 * test/btyacc/no_b_opt1.output, test/btyacc/no_p_opt1.output,
2963 test/btyacc/no_b_opt.error, test/btyacc/no_b_opt.output,
2964 test/btyacc/no_b_opt1.error, test/btyacc/no_code_c.output,
2965 test/btyacc/no_p_opt.error, test/btyacc/no_p_opt.output,
2966 test/btyacc/no_p_opt1.error, test/btyacc/no_output2.output,
2967 test/btyacc/no_code_c.error, test/btyacc/no_output2.error,
2968 test/btyacc/no_include.error, test/btyacc/no_include.output,
2969 test/btyacc/no_defines.output, test/btyacc/no_defines.error,
2970 test/btyacc/no_verbose.output, test/btyacc/no_graph.output,
2971 test/btyacc/no_graph.error, test/btyacc/no_opts.error,
2972 test/btyacc/no_opts.output, test/btyacc/no_verbose.error,
2973 test/btyacc/nostdin.error, test/btyacc/nostdin.output,
2974 test/btyacc/no_output.error, test/btyacc/no_output.output,
2975 test/btyacc/no_output1.output:
2976 reference output for testing
2979 change CREATE_FILE_NAMES() to use local function rather than inline code,
2980 to simplify coverage analysis.
2982 * test/btyacc/err_syntax27.error, test/btyacc/err_syntax27.output,
2983 test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax27.tab.h,
2984 test/btyacc/help.error, test/btyacc/help.output,
2985 test/yacc/err_syntax27.error, test/yacc/err_syntax27.output,
2986 test/yacc/err_syntax27.tab.h:
2987 reference output for testing
2989 * test/err_syntax27.y: testcase for missing_brace()
2991 * error.c: ifdef'd non-btyacc function
2993 * lr0.c: ifdef'd debug-code
2995 * yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel
2997 * test/btyacc/code_debug.c, test/btyacc/err_syntax12.tab.c,
2998 test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c,
2999 test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c,
3000 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c,
3001 test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c,
3002 test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c,
3003 test/btyacc/err_syntax24.tab.c, test/btyacc/error.tab.c,
3004 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
3005 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c,
3006 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
3007 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
3008 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
3009 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
3010 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
3011 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c,
3012 test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c,
3013 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
3014 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
3015 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
3016 test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c,
3017 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
3018 test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax10.tab.c,
3019 test/btyacc/err_syntax11.tab.c, test/yacc/err_syntax11.tab.c,
3020 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
3021 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
3022 test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c,
3023 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
3024 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
3025 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
3026 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
3027 test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c,
3028 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
3029 test/yacc/calc3.tab.c, test/yacc/code_calc.code.c,
3030 test/yacc/code_debug.c, test/yacc/code_error.code.c,
3031 test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, output.c,
3032 test/yacc/err_syntax1.tab.c, test/yacc/err_syntax13.tab.c,
3033 test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c,
3034 test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c,
3035 test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c,
3036 test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c,
3037 test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c,
3038 test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c,
3039 test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c,
3040 test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c,
3041 test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c,
3042 test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c,
3043 test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c,
3045 2010/11/26 simplification of output.c using putc_code() and putl_code()
3046 omitted an adjustment of the #line value used for code-file. Fix that.
3047 Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for
3048 YYPATCH #define's to make test-outputs easier to compare #line's (report
3051 2014-04-06 Thomas E. Dickey <dickey@invisible-island.net>
3053 * reader.c: fix for valgrind
3054 (the calloc's are intentional - valgrind reported use of uninitialized memory)
3056 * lr0.c, output.c: fix for valgrind
3058 * test/btyacc/code_debug.c, test/btyacc/code_debug.error,
3059 test/btyacc/code_debug.h, test/btyacc/code_debug.i,
3060 test/btyacc/code_debug.output:
3063 * test/yacc/code_debug.c, test/yacc/code_debug.h:
3064 exercise the -i option
3066 * test/yacc/code_debug.i: reference output for testing
3068 * test/run_test.sh: exercise the -i option
3070 * test/yacc/code_debug.c: reference output for testing
3072 * test/run_test.sh: exercise the "-o" option
3074 * test/yacc/code_debug.error, test/yacc/code_debug.h,
3075 test/yacc/code_debug.output:
3076 reference output for testing
3078 * output.c: don't call exit() without giving a chance to cleanup.
3080 * mstring.c: ifdef'd functions not used in byacc
3082 * btyaccpar.c: generated from btyaccpar.skel
3084 * yaccpar.c: generated from yaccpar.skel
3087 change the generated-by comment to show which version of this script (and
3088 which version of the given skeleton file) were used to produce the C-file.
3093 add rules to generate byacc and btyacc parser skeleton files independently
3095 * aclocal.m4: CF_PROG_AWK - add to byacc's configure script
3097 cleanup the -no-gcc option which was leftover from testing - prcs does
3098 not build with this option.
3100 protect $2 from substitution, for luit's "$(manext)"
3102 for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2
3103 on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE
3104 because it is not needed, as well as because g++ 4.7.3 (no package,
3105 used in Sage for Solaris 10) has some unspecified header breakage which
3106 is triggered by the duplicate definition.
3109 modify so skeleton-source is determined by configure options rather than by
3110 having developer rename yaccpar.skel.old to yaccpar.skel
3112 * descrip.mms: rename skeleton
3115 fwiw, renamed the skeleton for consistency with makefile
3117 * skel2c, skeleton.c: resync skeleton and its generating files
3120 renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules
3122 * yaccpar.skel.old: resync skeleton and its generating files
3124 * test/run_make.sh: improve cleanup after error recovery
3126 * test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
3127 test/yacc/calc3.tab.c, test/yacc/code_calc.code.c,
3128 test/yacc/code_error.code.c, test/yacc/empty.tab.c,
3129 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c,
3130 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
3131 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
3132 test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c,
3133 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
3134 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
3135 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
3136 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
3137 test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c,
3139 use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton
3141 * output.c: simplify output_yyerror_decl()
3143 * test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
3144 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
3145 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
3146 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
3147 test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c,
3148 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
3149 test/yacc/calc3.tab.c, test/yacc/code_calc.tab.c,
3150 test/yacc/code_error.tab.c, test/yacc/empty.tab.c,
3151 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c,
3152 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
3153 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
3155 add second "const" to string-table declarations, from Tom Shield's btyacc changes
3157 * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c,
3158 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
3159 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c,
3160 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
3161 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
3162 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
3163 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
3164 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
3165 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c,
3166 test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c,
3167 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
3168 test/btyacc/calc3.tab.c, test/btyacc/empty.tab.c,
3169 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
3170 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
3171 test/btyacc/err_syntax18.tab.c:
3172 discard unnecessary call on write_code_lineno() from Tom Shield's changes
3174 * test/yacc/error.tab.c, test/yacc/grammar.tab.c,
3175 test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c,
3176 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c,
3177 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
3178 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
3179 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
3180 test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c,
3181 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
3182 test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c,
3183 test/yacc/code_error.code.c, test/yacc/code_error.tab.c,
3184 test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c,
3185 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c,
3187 use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short"
3189 * test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c:
3190 use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL()
3192 * test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c,
3193 test/btyacc/error.tab.c, test/btyacc/grammar.tab.c,
3194 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
3195 test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c,
3196 test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c,
3197 test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c,
3198 test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c,
3199 test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c,
3200 test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c,
3201 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
3202 test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c,
3203 test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c,
3204 test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c,
3205 test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c,
3206 test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c,
3207 test/btyacc/err_syntax12.tab.c:
3208 discard unnecessary call on write_code_lineno() from Tom Shield's changes
3210 * output.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c,
3211 test/yacc/code_error.tab.c:
3212 use fix from Tom Shield's btyacc changes: prefix-definitions went to the
3213 output (.tab.c) file in a case where they should have gone to the code
3214 (.code.c) file. Remove now-redundant call to output_prefix().
3216 * main.c: do the same for help-message
3218 * main.c: use OUTPUT_SUFFIX symbol in an overlooked case
3221 modify to avoid use of VPATH, which has no standard implementation
3223 2014-04-05 Thomas E. Dickey <dickey@invisible-island.net>
3225 * test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
3226 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c,
3227 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
3228 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
3229 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
3230 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
3231 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
3232 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c,
3233 test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c,
3234 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
3235 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
3236 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
3237 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
3238 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
3239 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c,
3240 test/btyacc/error.tab.c:
3241 discard a change which merged CountLines() with explicit comparisons against
3242 code_file because that adds extra to the #line values
3244 * test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c,
3245 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c,
3246 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
3247 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
3248 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
3249 test/yacc/calc.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
3250 test/yacc/code_calc.code.c, test/yacc/code_error.code.c,
3251 test/yacc/empty.tab.c, test/yacc/err_syntax11.tab.c,
3252 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
3254 add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to
3255 override fallback typedef for YYSTYPE when that symbol is undefined
3257 * test/btyacc/error.tab.c, test/btyacc/inherit0.tab.c,
3258 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
3259 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
3260 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
3261 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
3262 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
3263 test/btyacc/calc.tab.c, test/btyacc/calc2.tab.c,
3264 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
3265 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
3266 test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c,
3267 test/btyacc/err_syntax18.tab.c:
3268 minor tweak to coding style - use parenthesis for "defined" operator's parameter
3270 * test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c,
3271 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c,
3272 test/btyacc/error.tab.c, test/btyacc/grammar.tab.c,
3273 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
3274 test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c,
3275 test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c,
3276 test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c,
3277 test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c,
3278 test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c,
3279 test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c,
3280 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
3281 test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c,
3282 test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c,
3283 test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c,
3284 test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c,
3285 test/btyacc/err_syntax10.tab.c:
3286 regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent
3288 * test/yacc/err_syntax20.tab.c, test/yacc/grammar.tab.c,
3289 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
3290 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
3291 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
3292 test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c,
3293 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
3294 test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c,
3295 test/yacc/code_error.code.c, test/yacc/code_error.tab.c,
3296 test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c,
3297 test/yacc/err_syntax12.tab.c:
3298 regen after adding the YYUNDFTOKEN symbol
3301 integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol
3302 (I changed order of output to keep this adjacent to YYMAXTOKEN)
3305 merge all but one small change from Tom Shield's btyacc changes - that
3306 changes the order of code-file in the tests.
3308 * test/btyacc/btyacc_demo.tab.c: regen
3310 * test/btyacc_demo.y: fix prototypes
3312 2014-04-04 Thomas E. Dickey <dickey@invisible-island.net>
3314 * reader.c, defs.h, main.c:
3315 more merging of Tom Shield's btyacc changes. In the merge, I moved the
3316 symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs
3318 2014-04-03 Thomas E. Dickey <dickey@invisible-island.net>
3321 merge-in 3/4 of btyacc's changes, deferring those which change test-outputs.
3322 Tom Shield's changes split-out copy_string() and copy_comment() functions
3323 to simplify some logic, as well as adding btyacc-only chunks
3325 * makefile.in: build mstring.o, needed for changes in reader.c
3328 merge-in all of btyacc's changes which do not change byacc's test-output.
3329 Some of the merge uses ifdef-changes which I applied to ongoing resync,
3330 e.g., the introduction of PER_STATE.
3332 2014-04-02 Thomas E. Dickey <dickey@invisible-island.net>
3334 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen
3336 * output.c: fix typo
3338 * output.c, reader.c:
3339 merge in some chunks of reader and output files which do not affect byacc tests
3341 * test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen
3343 * test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c,
3344 test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c,
3345 test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c,
3346 test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c,
3347 test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c,
3348 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
3349 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
3350 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
3351 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
3352 test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c,
3353 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
3354 test/yacc/calc3.tab.c, test/yacc/code_calc.code.c,
3355 test/yacc/code_error.code.c, test/yacc/empty.tab.c,
3356 test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c,
3357 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c,
3358 test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c,
3359 test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c,
3360 test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c,
3361 test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c,
3362 test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c,
3363 test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c,
3364 test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c,
3365 test/yacc/err_syntax26.tab.c, test/yacc/err_syntax3.tab.c,
3367 incorporate YYENOMEM and YYEOF symbols from btyacc
3369 * output.c: merge chunk from btyacc changes for header-guards
3371 * btyaccpar.skel: RCS_BASE
3373 * yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues
3374 remove GCC_UNUSED to reduce name-pollution as well as being simpler
3377 move a btyacc symbol outside ifdef to work around current state of merge
3380 add USE_HEADER_GUARDS to defer whether to modify byacc's header-output
3383 do not try to compile files used for testing syntax-errors, since they are
3384 likely to be incomplete
3386 2014-04-02 Tom.Shields
3388 * main.c: changes for btyacc
3390 2014-04-01 Thomas E. Dickey <dickey@invisible-island.net>
3393 integrate change by Tom Shields to use bsearch rather than successive
3396 * defs.h: typedef __compar_fn_t is unnecessary
3398 * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c,
3399 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
3400 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c,
3401 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
3402 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
3403 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
3404 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
3405 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
3406 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c,
3407 test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c,
3408 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
3409 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
3410 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
3411 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
3412 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
3413 test/btyacc/err_syntax18.tab.c:
3414 omit the GCC_UNUSED, as noted by Tom Shields not really essential
3416 2014-04-01 Tom.Shields
3418 * verbose.c: changes for btyacc, ifdef'd
3420 2014-04-01 Thomas E. Dickey <dickey@invisible-island.net>
3422 * mkpar.c: eliminate most of the ifdef's using macros
3424 2014-04-01 Tom.Shields
3426 * mkpar.c: merge btyacc changes (ifdef'd - no change to byacc)
3429 new functions used for reporting errors from the btyacc configuration
3430 (I reordered some, and ifdef'd the new ones -TD)
3432 2014-03-31 Thomas E. Dickey <dickey@invisible-island.net>
3434 * test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c:
3435 omit the GCC_UNUSED, as noted by Tom Shields not really essential
3437 * test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c,
3438 test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.tab.c,
3439 test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c,
3440 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
3441 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax14.tab.c,
3442 test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c,
3443 test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c,
3444 test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax20.tab.c,
3445 test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c,
3446 test/btyacc/err_syntax24.tab.c:
3449 2014-03-29 Thomas E. Dickey <dickey@invisible-island.net>
3451 * test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c,
3452 test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c,
3453 test/yacc/err_syntax26.tab.c, test/yacc/err_syntax3.tab.c,
3454 test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c,
3455 test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c,
3456 test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c,
3457 test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c,
3458 test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c,
3459 test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c,
3460 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
3461 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
3462 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
3463 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
3464 test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c,
3465 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
3466 test/yacc/calc3.tab.c, test/yacc/code_calc.code.c,
3467 test/yacc/code_error.code.c, test/yacc/empty.tab.c,
3468 test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c,
3469 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c,
3470 test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c,
3471 test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c,
3472 test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c,
3473 test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c,
3475 comment-out yysccsid in the banner because it produces unnecessary compiler
3476 warnings. The suggested alternative (using #pragma ident) in the preceding
3477 comment is also obsolete; remove that comment (request by Gleb Smirnoff).
3480 for yacc, ignore the inherit testcases, since they are btyacc-specific
3482 2014-03-28 Thomas E. Dickey <dickey@invisible-island.net>
3484 * test/yacc/varsyntax_calc1.error, test/yacc/varsyntax_calc1.output,
3485 test/yacc/varsyntax_calc1.tab.c, test/yacc/varsyntax_calc1.tab.h,
3486 test/yacc/err_inherit3.error, test/yacc/err_inherit3.output,
3487 test/yacc/err_inherit3.tab.c, test/yacc/err_inherit3.tab.h,
3488 test/yacc/err_inherit4.error, test/yacc/err_inherit4.output,
3489 test/yacc/err_inherit4.tab.c, test/yacc/err_inherit4.tab.h,
3490 test/yacc/err_inherit5.error, test/yacc/err_inherit5.output,
3491 test/yacc/err_inherit5.tab.c, test/yacc/err_inherit5.tab.h,
3492 test/yacc/inherit0.error, test/yacc/inherit0.output,
3493 test/yacc/inherit0.tab.c, test/yacc/inherit0.tab.h,
3494 test/yacc/inherit1.error, test/yacc/inherit1.output,
3495 test/yacc/inherit1.tab.c, test/yacc/inherit1.tab.h,
3496 test/yacc/inherit2.error, test/yacc/inherit2.output,
3497 test/yacc/inherit2.tab.c, test/yacc/inherit2.tab.h,
3498 test/yacc/empty.error, test/yacc/empty.output, test/yacc/empty.tab.c,
3499 test/yacc/empty.tab.h, test/yacc/err_inherit1.error,
3500 test/yacc/err_inherit1.output, test/yacc/err_inherit1.tab.c,
3501 test/yacc/err_inherit1.tab.h, test/yacc/err_inherit2.error,
3502 test/yacc/err_inherit2.output, test/yacc/err_inherit2.tab.c,
3503 test/yacc/err_inherit2.tab.h:
3504 reference output for testing
3506 * test/run_lint.sh, test/run_make.sh, test/run_test.sh:
3507 moving #define's out of makefile broke check for yacc vs btyacc (fix)
3509 2014-03-28 Tom.Shields
3511 * test/btyacc/btyacc_demo.tab.c, test/btyacc/err_inherit3.error,
3512 test/btyacc/err_inherit3.output, test/btyacc/err_inherit3.tab.c,
3513 test/btyacc/err_inherit3.tab.h, test/btyacc/err_inherit2.error,
3514 test/btyacc/err_inherit2.output, test/btyacc/err_inherit2.tab.c,
3515 test/btyacc/err_inherit2.tab.h, test/btyacc/err_inherit4.error,
3516 test/btyacc/err_inherit4.output, test/btyacc/err_inherit4.tab.c,
3517 test/btyacc/err_inherit4.tab.h, test/btyacc/err_inherit5.error,
3518 test/btyacc/err_inherit5.output, test/btyacc/err_inherit5.tab.c,
3519 test/btyacc/err_inherit5.tab.h, test/btyacc/inherit0.error,
3520 test/btyacc/inherit0.output, test/btyacc/inherit0.tab.c,
3521 test/btyacc/inherit0.tab.h, test/btyacc/inherit1.error,
3522 test/btyacc/inherit1.output, test/btyacc/inherit1.tab.c,
3523 test/btyacc/inherit1.tab.h, test/btyacc/inherit2.error,
3524 test/btyacc/inherit2.output, test/btyacc/inherit2.tab.c,
3525 test/btyacc/inherit2.tab.h, test/btyacc/calc.error,
3526 test/btyacc/err_inherit1.error, test/btyacc/err_inherit1.output,
3527 test/btyacc/err_inherit1.tab.h:
3528 reference output for testing
3530 * defs.h: new functions/variables for btyacc
3531 (I reordered and ifdef'd -TD)
3533 * test/inherit0.y, test/inherit1.y: testcase for btyacc
3535 2014-03-27 Tom.Shields
3537 * test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y,
3541 2014-03-25 Tom.Shields
3543 * symtab.c: extra initialization needed for btyacc
3546 * yacc.1: document -L/-B features from btyacc
3548 2014-03-25 Thomas E. Dickey <dickey@invisible-island.net>
3555 modified new options to act like those in my other configure-scripts, e.g.,
3556 showing what option is being tested, and the resulting value. Put the
3557 definitions in config.h rather than in the makefile.
3559 2014-03-25 Tom.Shields
3561 * makefile.in: add/use LINTFLAGS variable
3562 make all of the objects (not just skeleton) rebuild if makefile changes
3563 modify check-rule to reflect updates to run_test.sh vs subdirectory
3565 * mstring.c: byacc-btyacc-20140323
3567 2014-03-25 Thomas E. Dickey <dickey@invisible-island.net>
3569 * config_h.in: updated with autoheader-252
3571 2014-03-25 Tom.Shields
3573 * README.BTYACC: byacc-btyacc-20140323
3575 2014-03-24 Tom.Shields
3577 * test/btyacc/err_syntax1.output, test/btyacc/err_syntax1.tab.c,
3578 test/btyacc/err_syntax1.tab.h, test/btyacc/err_syntax10.error,
3579 test/btyacc/err_syntax10.output, test/btyacc/err_syntax10.tab.c,
3580 test/btyacc/err_syntax10.tab.h, test/btyacc/err_syntax11.error,
3581 test/btyacc/err_syntax11.output, test/btyacc/err_syntax11.tab.c,
3582 test/btyacc/err_syntax11.tab.h, test/btyacc/err_syntax12.error,
3583 test/btyacc/err_syntax12.output, test/btyacc/err_syntax12.tab.c,
3584 test/btyacc/err_syntax12.tab.h, test/btyacc/err_syntax13.error,
3585 test/btyacc/err_syntax13.output, test/btyacc/err_syntax13.tab.c,
3586 test/btyacc/err_syntax13.tab.h, test/btyacc/err_syntax14.error,
3587 test/btyacc/err_syntax14.output, test/btyacc/err_syntax14.tab.c,
3588 test/btyacc/err_syntax14.tab.h, test/btyacc/err_syntax15.error,
3589 test/btyacc/err_syntax15.output, test/btyacc/err_syntax15.tab.c,
3590 test/btyacc/err_syntax15.tab.h, test/btyacc/err_syntax16.error,
3591 test/btyacc/err_syntax16.output, test/btyacc/err_syntax16.tab.c,
3592 test/btyacc/err_syntax16.tab.h, test/btyacc/err_syntax17.error,
3593 test/btyacc/err_syntax17.output, test/btyacc/err_syntax17.tab.c,
3594 test/btyacc/err_syntax17.tab.h, test/btyacc/err_syntax18.error,
3595 test/btyacc/err_syntax18.output, test/btyacc/err_syntax18.tab.c,
3596 test/btyacc/err_syntax18.tab.h, test/btyacc/err_syntax19.error,
3597 test/btyacc/err_syntax19.output, test/btyacc/err_syntax19.tab.c,
3598 test/btyacc/err_syntax19.tab.h, test/btyacc/err_syntax2.output,
3599 test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax2.tab.h,
3600 test/btyacc/err_syntax20.error, test/btyacc/err_syntax20.output,
3601 test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax20.tab.h,
3602 test/btyacc/err_syntax21.error, test/btyacc/err_syntax21.output,
3603 test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax21.tab.h,
3604 test/btyacc/err_syntax22.error, test/btyacc/err_syntax22.output,
3605 test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax22.tab.h,
3606 test/btyacc/err_syntax23.error, test/btyacc/err_syntax23.output,
3607 test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax23.tab.h,
3608 test/btyacc/err_syntax24.error, test/btyacc/err_syntax24.output,
3609 test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax24.tab.h,
3610 test/btyacc/err_syntax25.error, test/btyacc/err_syntax25.output,
3611 test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax25.tab.h,
3612 test/btyacc/err_syntax26.error, test/btyacc/err_syntax26.output,
3613 test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax26.tab.h,
3614 test/btyacc/err_syntax3.output, test/btyacc/err_syntax3.tab.c,
3615 test/btyacc/err_syntax3.tab.h, test/btyacc/err_syntax4.output,
3616 test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax4.tab.h,
3617 test/btyacc/err_syntax5.output, test/btyacc/err_syntax5.tab.c,
3618 test/btyacc/err_syntax5.tab.h, test/btyacc/err_syntax6.output,
3619 test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax6.tab.h,
3620 test/btyacc/err_syntax7.output, test/btyacc/err_syntax7.tab.c,
3621 test/btyacc/err_syntax7.tab.h, test/btyacc/err_syntax7a.output,
3622 test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7a.tab.h,
3623 test/btyacc/err_syntax7b.output, test/btyacc/err_syntax7b.tab.c,
3624 test/btyacc/err_syntax7b.tab.h, test/btyacc/err_syntax8.output,
3625 test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8.tab.h,
3626 test/btyacc/err_syntax8a.output, test/btyacc/err_syntax8a.tab.c,
3627 test/btyacc/err_syntax8a.tab.h, test/btyacc/err_syntax9.output,
3628 test/btyacc/err_syntax9.tab.h:
3629 reference output for testing
3631 2014-03-24 Thomas E. Dickey <dickey@invisible-island.net>
3633 * defs.h: fix compiler warnings due to mputc()
3635 2014-03-23 Tom.Shields
3637 * test/btyacc_demo.y: testcase for btyacc
3639 * test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output,
3640 test/btyacc/varsyntax_calc1.tab.h:
3641 reference output for testing
3643 * test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc
3645 2014-03-23 Thomas E. Dickey <dickey@invisible-island.net>
3647 * test/err_syntax26.error, test/err_syntax26.output,
3648 test/err_syntax26.tab.c, test/err_syntax26.tab.h,
3649 test/yacc/err_syntax26.error, test/yacc/err_syntax26.output,
3650 test/yacc/err_syntax26.tab.h:
3651 reference output for testing
3653 * test/err_syntax26.y: testcase for missing_brace()
3655 * test/err_syntax25.error, test/err_syntax25.output,
3656 test/err_syntax25.tab.c, test/err_syntax25.tab.h,
3657 test/yacc/err_syntax25.error, test/yacc/err_syntax25.output,
3658 test/yacc/err_syntax25.tab.h:
3659 reference output for testing
3661 * test/err_syntax25.y: testcase for over_unionized()
3663 * test/err_syntax24.error, test/err_syntax24.output,
3664 test/err_syntax24.tab.c, test/err_syntax24.tab.h,
3665 test/yacc/err_syntax24.error, test/yacc/err_syntax24.output,
3666 test/yacc/err_syntax24.tab.h:
3667 reference output for testing
3669 * test/err_syntax24.y: testcase for default_action_warning()
3671 2014-03-23 Tom.Shields
3673 * test/btyacc/quote_calc3-s.error, test/btyacc/quote_calc4-s.error,
3674 test/btyacc/quote_calc4.error, test/btyacc/grammar.dot,
3675 test/btyacc/grammar.error, test/btyacc/pure_calc.error,
3676 test/btyacc/pure_error.error, test/btyacc/quote_calc-s.error,
3677 test/btyacc/quote_calc.error, test/btyacc/quote_calc2-s.error,
3678 test/btyacc/quote_calc2.error, test/btyacc/quote_calc3.error,
3679 test/btyacc/err_syntax2.error, test/btyacc/err_syntax3.error,
3680 test/btyacc/err_syntax4.error, test/btyacc/err_syntax5.error,
3681 test/btyacc/err_syntax6.error, test/btyacc/err_syntax7.error,
3682 test/btyacc/err_syntax7a.error, test/btyacc/err_syntax7b.error,
3683 test/btyacc/err_syntax8.error, test/btyacc/err_syntax8a.error,
3684 test/btyacc/err_syntax9.error, test/btyacc/error.error,
3685 test/btyacc/calc1.error, test/btyacc/calc2.error,
3686 test/btyacc/calc3.error, test/btyacc/code_calc.error,
3687 test/btyacc/code_error.error, test/btyacc/empty.error,
3688 test/btyacc/err_syntax1.error, test/btyacc/btyacc_calc1.error,
3689 test/btyacc/btyacc_demo.error:
3690 reference output for testing
3692 2014-03-23 Thomas E. Dickey <dickey@invisible-island.net>
3694 * test/err_syntax23.error, test/err_syntax23.output,
3695 test/err_syntax23.tab.c, test/err_syntax23.tab.h,
3696 test/yacc/err_syntax23.error, test/yacc/err_syntax23.output,
3697 test/yacc/err_syntax23.tab.h:
3698 reference output for testing
3700 * test/err_syntax23.y: testcase for untyped_lhs()
3702 2014-03-23 Tom.Shields
3705 move test-outputs into subdirectories to keep btyacc/yacc results separate
3707 2014-03-23 Thomas E. Dickey <dickey@invisible-island.net>
3709 * test/err_syntax22.error, test/err_syntax22.output,
3710 test/err_syntax22.tab.c, test/err_syntax22.tab.h,
3711 test/yacc/err_syntax22.error, test/yacc/err_syntax22.output,
3712 test/yacc/err_syntax22.tab.h:
3713 reference output for testing
3715 * test/err_syntax22.y: testcase for untyped_rhs()
3717 * test/err_syntax21.error, test/err_syntax21.output,
3718 test/err_syntax21.tab.c, test/err_syntax21.tab.h,
3719 test/yacc/err_syntax21.error, test/yacc/err_syntax21.output,
3720 test/yacc/err_syntax21.tab.c, test/yacc/err_syntax21.tab.h,
3721 test/err_syntax20.error, test/err_syntax20.output,
3722 test/err_syntax20.tab.c, test/err_syntax20.tab.h,
3723 test/yacc/err_syntax20.error, test/yacc/err_syntax20.output,
3724 test/yacc/err_syntax20.tab.h:
3725 reference output for testing
3727 * test/err_syntax20.y: testcase for undefined_symbol_warning()
3729 * test/err_syntax21.y: testcase for unknown_rhs()
3731 * test/err_syntax19.error, test/err_syntax19.output,
3732 test/err_syntax19.tab.c, test/err_syntax19.tab.h,
3733 test/yacc/err_syntax19.error, test/yacc/err_syntax19.output,
3734 test/yacc/err_syntax19.tab.h:
3735 reference output for testing
3737 * test/err_syntax19.y: testcase for dollar_error()
3739 * test/err_syntax18.error, test/err_syntax18.output,
3740 test/err_syntax18.tab.c, test/err_syntax18.tab.h,
3741 test/yacc/err_syntax18.error, test/yacc/err_syntax18.output,
3742 test/yacc/err_syntax18.tab.h:
3743 reference output for testing
3745 * test/err_syntax18.y: testcase for dollar_warning()
3747 * test/err_syntax17.error, test/err_syntax17.output,
3748 test/err_syntax17.tab.c, test/err_syntax17.tab.h,
3749 test/yacc/err_syntax17.error, test/yacc/err_syntax17.output,
3750 test/yacc/err_syntax17.tab.h:
3751 reference output for testing
3753 * test/err_syntax17.y: testcase for unterminated_action()
3755 2014-03-22 Thomas E. Dickey <dickey@invisible-island.net>
3757 * test/err_syntax16.error, test/err_syntax16.output,
3758 test/err_syntax16.tab.c, test/err_syntax16.tab.h,
3759 test/yacc/err_syntax16.error, test/yacc/err_syntax16.output,
3760 test/yacc/err_syntax16.tab.h:
3761 reference output for testing
3763 * test/err_syntax16.y: testcase for terminal_lhs()
3765 * test/err_syntax15.error, test/err_syntax15.output,
3766 test/err_syntax15.tab.c, test/err_syntax15.tab.h,
3767 test/yacc/err_syntax15.error, test/yacc/err_syntax15.output,
3768 test/yacc/err_syntax15.tab.h:
3769 reference output for testing
3771 * test/err_syntax15.y: testcase for no_grammar()
3773 * test/err_syntax14.error, test/err_syntax14.output,
3774 test/err_syntax14.tab.c, test/err_syntax14.tab.h,
3775 test/yacc/err_syntax14.error, test/yacc/err_syntax14.output,
3776 test/yacc/err_syntax14.tab.h:
3777 reference output for testing
3779 * test/err_syntax14.y:
3780 testcase for restarted_warning() and undefined_goal()
3782 * test/err_syntax13.error, test/err_syntax13.output,
3783 test/err_syntax13.tab.c, test/err_syntax13.tab.h,
3784 test/yacc/err_syntax13.error, test/yacc/err_syntax13.output,
3785 test/yacc/err_syntax13.tab.h:
3786 reference output for testing
3788 * test/err_syntax13.y: testcase for terminal_start()
3790 * test/err_syntax12.error, test/err_syntax12.output,
3791 test/err_syntax12.tab.c, test/err_syntax12.tab.h,
3792 test/yacc/err_syntax12.error, test/yacc/err_syntax12.output,
3793 test/yacc/err_syntax12.tab.h:
3794 reference output for testing
3796 * test/err_syntax12.y: testcase for revalued_warning()
3798 * test/err_syntax11.error, test/err_syntax11.output,
3799 test/err_syntax11.tab.c, test/err_syntax11.tab.h,
3800 test/yacc/err_syntax11.error, test/yacc/err_syntax11.output,
3801 test/yacc/err_syntax11.tab.h:
3802 reference output for testing
3804 * test/err_syntax11.y: testcase for reprec_warning()
3806 * test/err_syntax10.error, test/err_syntax10.output,
3807 test/err_syntax10.tab.c, test/err_syntax10.tab.h,
3808 test/yacc/err_syntax10.error, test/yacc/err_syntax10.output,
3809 test/yacc/err_syntax10.tab.h:
3810 reference output for testing
3812 * test/err_syntax10.y: testcase for retyped_warning()
3814 2014-03-21 Thomas E. Dickey <dickey@invisible-island.net>
3816 * test/err_syntax9.error, test/err_syntax9.output,
3817 test/err_syntax9.tab.c, test/err_syntax9.tab.h,
3818 test/yacc/err_syntax9.error, test/yacc/err_syntax9.output,
3819 test/yacc/err_syntax9.tab.h:
3820 reference output for testing
3822 * test/err_syntax9.y: testcase for tokenized_start()
3824 * test/err_syntax8.error, test/err_syntax8.output,
3825 test/err_syntax8.tab.c, test/err_syntax8.tab.h,
3826 test/err_syntax8a.error, test/err_syntax8a.output,
3827 test/err_syntax8a.tab.c, test/err_syntax8a.tab.h,
3828 test/yacc/err_syntax8.error, test/yacc/err_syntax8.output,
3829 test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8.tab.h,
3830 test/yacc/err_syntax8a.error, test/yacc/err_syntax8a.output,
3831 test/yacc/err_syntax8a.tab.h:
3832 reference output for testing
3834 * test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved()
3836 * test/err_syntax7.error, test/err_syntax7.output,
3837 test/err_syntax7.tab.c, test/err_syntax7.tab.h,
3838 test/err_syntax7a.error, test/err_syntax7a.output,
3839 test/err_syntax7a.tab.c, test/err_syntax7a.tab.h,
3840 test/err_syntax7b.error, test/err_syntax7b.output,
3841 test/err_syntax7b.tab.c, test/err_syntax7b.tab.h,
3842 test/yacc/err_syntax7.error, test/yacc/err_syntax7.output,
3843 test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7.tab.h,
3844 test/yacc/err_syntax7a.error, test/yacc/err_syntax7a.output,
3845 test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7a.tab.h,
3846 test/yacc/err_syntax7b.error, test/yacc/err_syntax7b.output,
3847 test/yacc/err_syntax7b.tab.h:
3848 reference output for testing
3850 * test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y:
3851 testcase for illegal_character()
3853 * test/err_syntax6.error, test/err_syntax6.output,
3854 test/err_syntax6.tab.c, test/err_syntax6.tab.h,
3855 test/yacc/err_syntax6.error, test/yacc/err_syntax6.output,
3856 test/yacc/err_syntax6.tab.h:
3857 reference output for testing
3859 * test/err_syntax6.y: testcase for illegal_tag()
3861 * test/err_syntax5.error, test/err_syntax5.output,
3862 test/err_syntax5.tab.c, test/err_syntax5.tab.h,
3863 test/yacc/err_syntax5.error, test/yacc/err_syntax5.output,
3864 test/yacc/err_syntax5.tab.h:
3865 reference output for testing
3867 * test/err_syntax5.y: testcase for unterminated_union()
3869 * test/err_syntax4.error, test/err_syntax4.output,
3870 test/err_syntax4.tab.c, test/err_syntax4.tab.h,
3871 test/yacc/err_syntax4.error, test/yacc/err_syntax4.output,
3872 test/yacc/err_syntax4.tab.h:
3873 reference output for testing
3875 * test/err_syntax4.y: testcase for unterminated_text()
3877 * test/err_syntax3.error, test/err_syntax3.output,
3878 test/err_syntax3.tab.c, test/err_syntax3.tab.h,
3879 test/yacc/err_syntax3.error, test/yacc/err_syntax3.output,
3880 test/yacc/err_syntax3.tab.h:
3881 reference output for testing
3883 * test/err_syntax3.y: testcase for unterminated_string()
3885 * test/err_syntax2.error, test/err_syntax2.output,
3886 test/err_syntax2.tab.c, test/err_syntax2.tab.h,
3887 test/yacc/err_syntax2.error, test/yacc/err_syntax2.output,
3888 test/yacc/err_syntax2.tab.h:
3889 reference output for testing
3891 * test/err_syntax2.y: testcase for unterminated_comment()
3893 * test/err_syntax1.error, test/yacc/err_syntax1.error:
3894 reference output for testing
3896 * test/err_syntax1.y:
3897 test-case with syntax error (and nonprinting character)
3899 * test/calc.error, test/calc1.error, test/calc2.error, test/calc3.error,
3900 test/code_calc.error, test/code_error.error, test/err_syntax1.error,
3901 test/error.error, test/grammar.error, test/pure_calc.error,
3902 test/pure_error.error, test/quote_calc-s.error, test/quote_calc.error,
3903 test/quote_calc2-s.error, test/quote_calc2.error,
3904 test/quote_calc3-s.error, test/quote_calc3.error,
3905 test/quote_calc4-s.error, test/quote_calc4.error,
3906 test/yacc/calc.error, test/yacc/calc1.error, test/yacc/calc2.error,
3907 test/yacc/calc3.error, test/yacc/code_calc.error,
3908 test/yacc/code_error.error, test/yacc/error.error,
3909 test/yacc/grammar.error, test/yacc/pure_calc.error,
3910 test/yacc/pure_error.error, test/yacc/quote_calc-s.error,
3911 test/yacc/quote_calc.error, test/yacc/quote_calc2-s.error,
3912 test/yacc/quote_calc2.error, test/yacc/quote_calc3-s.error,
3913 test/yacc/quote_calc3.error, test/yacc/quote_calc4-s.error,
3914 test/yacc/quote_calc4.error:
3915 reference output for testing
3918 save stderr to reference files, to capture shift/reduce messages as well
3919 as syntax-error messages
3921 * test/err_syntax1.output, test/err_syntax1.tab.c,
3922 test/err_syntax1.tab.h, test/yacc/err_syntax1.output,
3923 test/yacc/err_syntax1.tab.h:
3924 reference output for testing
3926 * test/run_test.sh: generate a ".dot" file for the grammar file
3928 * test/grammar.dot: RCS_BASE
3930 * test/yacc/grammar.dot: reference output for testing
3932 2014-03-19 Tom.Shields
3934 * output.c: rename MAXSHORT to MAXYYINT
3936 2014-03-18 Tom.Shields
3938 * yaccpar.skel: skeleton with btyacc additions
3940 * NOTES-btyacc-Changes: byacc-btyacc-20140323
3942 * test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c,
3943 test/btyacc/btyacc_calc1.tab.h:
3944 reference output for testing
3947 move test-outputs into subdirectories to keep btyacc/yacc results separate
3949 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_calc.tab.h,
3950 test/btyacc/pure_error.output, test/btyacc/pure_error.tab.c,
3951 test/btyacc/pure_error.tab.h, test/btyacc/quote_calc-s.output,
3952 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc-s.tab.h,
3953 test/btyacc/quote_calc.output, test/btyacc/quote_calc.tab.c,
3954 test/btyacc/quote_calc.tab.h, test/btyacc/quote_calc2-s.output,
3955 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2-s.tab.h,
3956 test/btyacc/quote_calc2.output, test/btyacc/quote_calc2.tab.c,
3957 test/btyacc/quote_calc2.tab.h, test/btyacc/quote_calc3-s.output,
3958 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3-s.tab.h,
3959 test/btyacc/quote_calc3.output, test/btyacc/quote_calc3.tab.c,
3960 test/btyacc/quote_calc3.tab.h, test/btyacc/quote_calc4-s.output,
3961 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4-s.tab.h,
3962 test/btyacc/quote_calc4.output, test/btyacc/quote_calc4.tab.c,
3963 test/btyacc/quote_calc4.tab.h, test/btyacc/calc1.output,
3964 test/btyacc/calc1.tab.c, test/btyacc/calc1.tab.h,
3965 test/btyacc/calc2.output, test/btyacc/calc2.tab.c,
3966 test/btyacc/calc2.tab.h, test/btyacc/calc3.output,
3967 test/btyacc/calc3.tab.c, test/btyacc/calc3.tab.h,
3968 test/btyacc/code_calc.code.c, test/btyacc/code_calc.output,
3969 test/btyacc/code_calc.tab.c, test/btyacc/code_calc.tab.h,
3970 test/btyacc/code_error.code.c, test/btyacc/code_error.output,
3971 test/btyacc/code_error.tab.c, test/btyacc/code_error.tab.h,
3972 test/btyacc/empty.output, test/btyacc/empty.tab.c,
3973 test/btyacc/empty.tab.h, test/btyacc/error.output,
3974 test/btyacc/error.tab.c, test/btyacc/error.tab.h,
3975 test/btyacc/grammar.output, test/btyacc/grammar.tab.c,
3976 test/btyacc/grammar.tab.h, test/btyacc/pure_calc.output,
3977 test/btyacc/btyacc_demo.output, test/btyacc/btyacc_demo.tab.h,
3978 test/btyacc/calc.tab.h:
3979 reference output for testing
3982 several changes to help decouple the use of 'short' as the type of value
3983 used in yacc parsers.
3985 * NOTES-btyacc-Disposition: byacc-btyacc-20140323
3987 2014-03-17 Tom.Shields
3989 * skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE
3992 move test-outputs into subdirectories to keep btyacc/yacc results separate
3994 * configure.in: add --with-max-table-size and --enable-btyacc options
3996 2014-03-16 Tom.Shields
3998 * main.c: use Value_t rather than short
4000 2014-03-11 Tom.Shields
4002 * test/empty.y: testcase for btyacc
4004 2014-03-10 Tom.Shields
4006 * test/calc3.y, test/calc2.y: fix unused-variable warning
4008 2014-02-18 Tom.Shields
4010 * lr0.c, graph.c: use Value_t rather than short
4012 * closure.c: use Value_t rather than short
4013 ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions
4015 * lalr.c: rename MAXSHORT to MAXYYINT
4017 2014-01-01 Thomas E. Dickey <dickey@invisible-island.net>
4019 * yacc.1: document %token-table, improve presentation of double-quotes
4021 * VERSION, package/byacc.spec, package/debian/changelog: bump
4023 * test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
4024 test/yacc/calc3.tab.c, test/yacc/code_calc.code.c,
4025 test/yacc/code_calc.tab.c, test/yacc/code_error.code.c,
4026 test/yacc/code_error.tab.c, test/yacc/error.tab.c,
4027 test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c,
4028 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
4029 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
4030 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
4031 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
4032 test/yacc/quote_calc4.tab.c:
4033 reference output for testing
4035 * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c,
4036 test/code_calc.code.c, test/code_calc.tab.c, test/code_error.code.c,
4037 test/code_error.tab.c, test/error.tab.c, test/ftp.tab.c,
4038 test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c,
4039 test/quote_calc-s.tab.c, test/quote_calc.tab.c,
4040 test/quote_calc2-s.tab.c, test/quote_calc2.tab.c,
4041 test/quote_calc3-s.tab.c, test/quote_calc3.tab.c,
4042 test/quote_calc4.tab.c:
4045 * output.c, skeleton.c:
4046 amend the last change so that yytname is #define'd as needed rather than
4047 permanent - to avoid breaking cproto for instance.
4049 2014-01-01 Christos.Zoulas
4051 * output.c, defs.h, main.c, reader.c, skeleton.c:
4052 changes to build ntpd using byacc:
4053 - rename yyname[] to yytname[]
4054 - add YYTRANSLATE() macro
4055 - recognize bison's %token-table declaration
4057 2014-01-01 Thomas E. Dickey <dickey@invisible-island.net>
4061 * yacc.1: s/EE/XE/ to work around groff bug on Debian 6
4063 * makefile.in: use CF_MAKE_DOCS
4065 * aclocal.m4: add CF_MAKE_DOCS
4067 * configure.in: use CF_MAKE_DOCS
4069 2013-12-26 Thomas E. Dickey <dickey@invisible-island.net>
4071 * config.guess: 2013-11-29
4073 2013-11-19 Thomas E. Dickey <dickey@invisible-island.net>
4075 * aclocal.m4: resync with my-autoconf (fixes for clang and mingw)
4077 2013-10-25 Thomas E. Dickey <dickey@invisible-island.net>
4079 * config.sub: 2013-10-01
4081 2013-09-25 Thomas E. Dickey <dickey@invisible-island.net>
4083 * reader.c: fix two loop-limits found by clang 3.3 --analyze
4088 tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses
4090 * package/mingw-byacc.spec: RCS_BASE
4092 * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c,
4093 test/code_calc.code.c, test/code_error.code.c, test/error.tab.c,
4094 test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c,
4095 test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c,
4096 test/quote_calc2-s.tab.c, test/quote_calc2.tab.c,
4097 test/quote_calc3-s.tab.c, test/quote_calc3.tab.c,
4098 test/quote_calc4.tab.c:
4102 Increase default stack-size to match FreeBSD version noted as from
4103 "BSD 4.4 Lite Usr.bin Sources". See
4105 http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/
4106 http://svnweb.freebsd.org/base/head/usr.bin/yacc/
4107 http://svnweb.freebsd.org/base/vendor/byacc/
4109 The original 1.9 sources (on which I based development) used 500 for
4110 stacksize; the BSD Lite sources (a year or two later) used 10000.
4112 This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE
4113 symbols have "always" been overridable by applications, but rarely
4114 needed to do this. RedHat began using the FreeBSD source in 2000,
4115 and switched to this source in 2007 using the 20050813 snapshot.
4117 RedHat #743343 misattributed the change in default stacksize to
4118 a regression in byacc, but did not report the issue upstream.
4120 * package/debian/changelog, VERSION, package/byacc.spec: bump
4122 2013-09-07 Thomas E. Dickey <dickey@invisible-island.net>
4124 * config.sub: update to 2013-09-15
4126 * config.guess: update to 2013-06-10
4128 2013-03-04 Thomas E. Dickey <dickey@invisible-island.net>
4130 * package/debian/changelog, VERSION, package/byacc.spec: bump
4133 adapt tweak from Dave Beckett to work around long-ago breakage in "new" autoconf.
4136 fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton).
4137 also while testing that, found a case where the union_file is unused; added
4138 a check for address that.
4140 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen
4142 * test/ftp.y: fix most compiler warnings for "make check_make"
4144 * test/calc1.tab.c: regen
4146 * test/calc1.y: fix most compiler warnings for "make check_make"
4148 * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c,
4149 test/code_calc.code.c, test/code_error.code.c, test/error.tab.c,
4150 test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c,
4151 test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c,
4152 test/quote_calc2-s.tab.c, test/quote_calc2.tab.c,
4153 test/quote_calc3-s.tab.c, test/quote_calc3.tab.c,
4154 test/quote_calc4.tab.c:
4157 * skeleton.c: quiet a gcc conversion-warning in yygrowstack()
4162 another fix for CF_GCC_VERSION to handle Debian's modification of gcc message.
4164 2013-02-10 Thomas E. Dickey <dickey@invisible-island.net>
4166 * config.sub, config.guess: update to 2013-02-04
4168 2012-10-03 Thomas E. Dickey <dickey@invisible-island.net>
4170 * package/debian/changelog, package/byacc.spec, VERSION: bump
4174 * configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC
4177 moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc)
4178 the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor.
4180 * aclocal.m4, configure.in:
4181 Arian's change dropped my check for misused $CC variable - restore that with
4182 alternate macro CF_PROG_CC.
4184 2012-10-03 Adrian.Bunk
4187 suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since
4188 they are not needed.
4190 2012-10-03 Thomas E. Dickey <dickey@invisible-island.net>
4193 split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in
4194 Adrian's suggested changes.
4197 CF_CLANG_COMPILER - check if the given compiler is really clang.
4200 add check for clang to CF_GCC_WARNINGS. modify CF_GCC_WARNINGS to work around
4201 old gcc warning: ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1
4202 on my Sarge system (versus 3.3.5 for the normal gcc). The 2.8.1's
4203 pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work
4204 around by excluding that check for pre-3.x compilers.
4207 modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions
4208 provided by this macro. use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather
4209 than appending to confdefs.h, since long-ago concern about the ability to
4210 pass-through parameterized macros appears to be not a problem, testing with
4213 2012-10-03 Adrian.Bunk
4216 add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by
4217 autoheader, updated macros:
4221 CF_MIXEDCASE_FILENAMES
4224 2012-10-03 Thomas E. Dickey <dickey@invisible-island.net>
4227 move existence-check for mkstemp out of the AC_TRY_RUN, to help with
4230 2012-10-02 Thomas E. Dickey <dickey@invisible-island.net>
4233 Adrian Bunk request - replace this with the output from autoheader
4235 2012-09-29 Adrian.Bunk
4238 suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no
4239 check is needed anymore for standard C compilers), drop AC_CONST (same
4240 reason), modify AC_OUTPUT to rely upon template generated by autoheader.
4241 bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT
4242 as being obsolete with autoconf 2.52x
4244 * configure.in, main.c: drop check for atexit, because it is standard C
4246 * makefile.in: add assignment for datarootdir variable.
4248 2012-05-26 Thomas E. Dickey <dickey@invisible-island.net>
4250 * package/debian/changelog, package/byacc.spec, VERSION: bump
4253 some versions of gcc may warn that bp is not set in mark_symbol, e.g.,
4254 if GCC_NORETURN is not handled; appease the compiler.
4257 use the declared types Assoc_t and Value_t in some places where compiler only
4258 cared about char versus short.
4261 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
4265 add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD
4266 packagers to build without configure script. Also remove duplicate declaration
4267 of pure_parser variable (prompted by patch by Baptiste Daroussin).
4269 Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and
4273 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
4276 2012-05-25 Thomas E. Dickey <dickey@invisible-island.net>
4278 * output.c, main.c, verbose.c, mkpar.c, lr0.c:
4279 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
4282 2012-01-15 Thomas E. Dickey <dickey@invisible-island.net>
4284 * package/debian/copyright: bump
4286 * test/run_make.sh: workaround for breakage due to GNU make 3.82
4289 tested with Solaris 10 (bison 1.875) and added scripting to exercise
4290 the /usr/ccs/bin/yacc executable
4292 * test/grammar.tab.c: regen
4294 * test/grammar.y: modify to also build with Solaris yacc
4296 * VERSION, package/debian/changelog, package/byacc.spec: bump
4298 * test/yacc/calc1.output: reference output for testing
4300 * test/calc1.output, test/calc1.tab.c: regen
4303 undo the change made to appease bison, since it was only a warning.
4305 * test/pure_calc.tab.c, test/pure_error.tab.c: regen
4307 * test/run_make.sh: another fix for running from top-level directory
4310 ensure that check_make rule depends on having byacc built.
4312 * test/run_make.sh: fixes for building from parent directory
4314 * test/pure_error.y, test/pure_calc.y: bison-fixes
4316 * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c,
4317 test/pure_error.tab.c:
4320 * test/code_debug.y: RCS_BASE
4322 * test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y:
4323 byacc already declares yyerror
4325 * test/pure_error.y, test/pure_calc.y:
4326 modified to help make the files build with bison
4329 supply a "%pure-parser" directive when bison needs it.
4331 * test/code_calc.code.c: regen
4333 * test/code_calc.y: modified to help make the files build with bison
4336 in testing, found that %expect did not work as documented for bison.
4337 do not recommend it for portable code.
4339 * test/run_make.sh: workaround breakage in bison's %expect directive
4341 * test/grammar.y: modified to help make the files build with bison
4343 * test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen
4345 * test/calc1.y: quiet a spurious warning from bison 2.3
4347 * test/calc1.tab.c: regen
4349 * test/calc1.y: modified to help make the files build with bison
4351 * yacc.1: comment on "-y" and "-P" options.
4353 * yacc.1: comment on portability
4355 * test/ftp.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c,
4356 test/quote_calc3-s.tab.c:
4359 * test/ftp.y: modified to help make the files build with bison
4360 (bison's "-y" option is of no use in providing "yacc" compatibility)
4362 * test/quote_calc2.tab.c, test/quote_calc3.tab.c,
4363 test/quote_calc4.tab.c:
4366 * test/code_calc.y, test/quote_calc2.y, test/quote_calc.y,
4368 modified to help make the files build with bison
4370 * test/calc.tab.c: regen
4372 * test/calc.y: modified to help make the files build with bison
4374 * test/error.tab.c: regen
4376 * test/error.y: modified to help make the files build with bison
4378 * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen
4381 check for older bisons which (2.3 for instance) do not support pure parsers
4383 * test/code_error.y, test/calc3.y, test/calc2.y:
4384 modified to help make the files build with bison
4386 * test/run_test.sh: use $opt2 in filenames of the generated files
4388 * test/quote_calc2-s.tab.c, test/quote_calc3-s.tab.c,
4389 test/quote_calc4-s.tab.c, test/quote_calc-s.tab.c,
4390 test/quote_calc.tab.c, test/quote_calc2.tab.c, test/quote_calc3.tab.c,
4391 test/quote_calc4.tab.c:
4394 2012-01-14 Thomas E. Dickey <dickey@invisible-island.net>
4396 * test/calc2.tab.c, test/code_calc.code.c, test/code_error.code.c,
4397 test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c,
4401 * output.c: Several changes:
4402 a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex.
4403 b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL,
4404 using YYLEX_PARAM_TYPE and YYLEX_PARAM.
4405 c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL,
4406 to help with redefinitions.
4408 * test/pure_calc.tab.c:
4409 modified to help make the files build with bison
4412 start work on followup, to check if the generated files build with bison.
4414 * test/pure_calc.y, test/pure_error.tab.c:
4415 modified to help make the files build with bison
4417 * test/calc3.tab.c: regen
4419 * test/quote_calc-s.output, test/quote_calc-s.tab.c,
4420 test/quote_calc-s.tab.h, test/quote_calc2-s.output,
4421 test/quote_calc2-s.tab.c, test/quote_calc2-s.tab.h,
4422 test/quote_calc3-s.output, test/quote_calc3-s.tab.c,
4423 test/quote_calc3-s.tab.h, test/quote_calc4-s.output,
4424 test/quote_calc4-s.tab.h:
4427 * test/yacc/quote_calc-s.output, test/yacc/quote_calc-s.tab.h,
4428 test/yacc/quote_calc2-s.output, test/yacc/quote_calc2-s.tab.h,
4429 test/yacc/quote_calc3-s.output, test/yacc/quote_calc3-s.tab.h,
4430 test/yacc/quote_calc4-s.tab.h:
4431 reference output for testing
4433 * test/run_test.sh: generate/test with "-s" option applied.
4435 2012-01-13 Thomas E. Dickey <dickey@invisible-island.net>
4437 * package/debian/changelog, package/byacc.spec, VERSION: bump
4439 * yacc.1: improve documentation of -s option
4441 * yacc.1: note that yacc ignores -y
4443 * main.c: add -s option to usage message.
4445 * test/quote_calc3.output, test/quote_calc3.tab.c,
4446 test/quote_calc4.tab.h:
4449 * test/yacc/quote_calc3.output, test/yacc/quote_calc4.output,
4450 test/yacc/quote_calc4.tab.h:
4451 reference output for testing
4453 * test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE
4455 * test/yacc/quote_calc.tab.h: reference output for testing
4457 * test/quote_calc.output, test/quote_calc.tab.c,
4458 test/quote_calc2.output, test/quote_calc2.tab.c,
4459 test/quote_calc3.tab.h:
4462 * test/yacc/quote_calc.output, test/yacc/quote_calc2.output,
4463 test/yacc/quote_calc3.tab.h:
4464 reference output for testing
4466 * test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE
4470 * aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE
4472 2011-12-19 Thomas E. Dickey <dickey@invisible-island.net>
4474 * package/debian/changelog, package/byacc.spec, VERSION: bump
4476 * yacc.1, output.c, main.c, defs.h:
4477 add "-s" option to suppress generating #define's based on string contents
4478 in a %token statement. For instance
4479 %token EQLS "Equals"
4483 Simply suppressing the second #define makes the behavior closer to yacc.
4484 (report by Paulo Andrade).
4486 2011-09-08 Thomas E. Dickey <dickey@invisible-island.net>
4488 * package/debian/changelog, package/byacc.spec, VERSION: bump
4491 fix some more interaction between -i and -d flags to ensure YYERRCODE
4492 and YYSTYPE are declared, tested with cproto.
4494 2011-09-07 Thomas E. Dickey <dickey@invisible-island.net>
4496 * yacc.1: document "-i" option.
4498 * package/debian/changelog, package/byacc.spec, VERSION: bump
4500 * output.c: fix an interaction between -i and -d
4502 * test/code_error.code.c, test/error.tab.c, test/ftp.tab.c,
4503 test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c,
4504 test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c,
4505 test/code_calc.code.c:
4506 regen - changes for "-i" option move the global/impure variables near the
4507 macros that may add a prefix, etc.
4509 * skeleton.c, output.c, defs.h: changes to support "-i" option.
4511 2011-09-06 Thomas E. Dickey <dickey@invisible-island.net>
4513 * reader.c: pass explicit file-pointer to write_section()
4516 add "-i" option, to generate interface-file (suggested by Denis M. Wilson)
4518 2011-09-05 Thomas E. Dickey <dickey@invisible-island.net>
4523 resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC)
4524 and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks)
4526 * defs.h, error.c, reader.c:
4527 add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson)
4529 2011-04-01 Thomas E. Dickey <dickey@invisible-island.net>
4531 * config.sub: update to 2011-04-01
4533 2011-02-02 Thomas E. Dickey <dickey@invisible-island.net>
4535 * config.guess: update to 2011-01-01
4537 2010-12-29 Thomas E. Dickey <dickey@invisible-island.net>
4539 * defs.h, skeleton.c:
4540 add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas)
4543 mark all of the error-functions as non-returning (report by Christos Zoulas)
4545 * test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c,
4546 test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c,
4547 test/code_calc.code.c, test/code_error.code.c, test/error.tab.c,
4552 use only realloc() rather than realloc+malloc, agree that systems needing this
4553 are very rare (prompted by NetBSD change).
4555 * test/ftp.tab.c: regen
4557 2010-12-29 Christos.Zoulas
4560 improve example, which was stuck in 19XX and assumed file sizes were longs.
4562 2010-12-29 Thomas E. Dickey <dickey@invisible-island.net>
4564 * test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c,
4565 test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c,
4566 test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c,
4570 * test/pure_error.y, test/pure_calc.y, test/ftp.y, test/error.y,
4571 test/code_error.y, test/code_calc.y, test/calc.y, test/calc3.y,
4573 use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror
4576 remove explicit prototype for yylex() via YYLEX_DECL() macro, since that
4577 would prevent declaring yylex() static (request by Christos Zoulas).
4579 * test/calc2.tab.c, test/calc3.tab.c: regen
4581 2010-12-29 Christos.Zoulas
4583 * output.c: correct definition for YYERROR_DECL()
4585 2010-12-29 Thomas E. Dickey <dickey@invisible-island.net>
4587 * package/debian/changelog, package/byacc.spec, VERSION: bump
4589 2010-12-26 Thomas E. Dickey <dickey@invisible-island.net>
4592 change return-type of allocate() to avoid warnings of alignment problems
4594 * main.c: Solaris declares chmod() in <sys/stat.h>
4598 * main.c: ifdef'd use of fcntl.h
4600 * configure.in: add configure checks for fcntl.h, atexit and mkstemp
4602 * main.c: for cases where mkstemp() is not available, use tempnam/open
4604 * aclocal.m4: add CF_MKSTEMP
4607 improve quoting, deprecate ${name-value} in favor of standard ${name:-value}
4609 2010-12-25 Thomas E. Dickey <dickey@invisible-island.net>
4612 start revising use of tmpfile(), to make this work with MinGW. Start by
4613 implementing a mkstemp() alternative - noting that mkstemp() also is broken
4616 * package/debian/changelog, package/byacc.spec, VERSION: bump
4618 2010-11-27 Thomas E. Dickey <dickey@invisible-island.net>
4620 * package/byacc.spec, package/debian/changelog, VERSION: bump
4622 * test/calc2.tab.c, test/calc3.tab.c: regen
4625 corrected use of %parse-param value in yyerror(); it doesn't use &yylval
4626 (report by Clifford Yapp)
4628 2010-11-26 Thomas E. Dickey <dickey@invisible-island.net>
4633 correct line-numbering when "-r" option is used; the 'outline' variable
4634 should only be incremented when writing to the code-file.
4636 * test/code_calc.code.c, test/code_error.code.c: regen
4640 * yacc.1: comment on -b option vs -r
4642 * test/calc2.tab.c, test/calc2.y, test/calc3.tab.c, test/calc3.y,
4643 test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c,
4644 test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c,
4649 improve on YYERROR_DECL(), adding dummy params which can be used for the
4650 actual function declaration. Also add YYERROR_CALL(). The two macros
4651 simplify maintaining sets of grammars which may/may not be pure.
4653 * test/calc1.y, test/ftp.tab.c, test/grammar.tab.c,
4654 test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c,
4655 test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c,
4659 * output.c: generate yyerror() calls in output.c
4660 This is for compatibility with bison, which passes the yylval to yyerror
4661 when the %parse-param feature is used.
4663 * skeleton.c, defs.h: generate yyerror() calls in output.c
4665 * output.c: simplified a little, using putc_code() and putl_code()
4667 * test/yacc/calc1.tab.h: reference output for testing
4669 * test/calc1.tab.h: regen
4672 improve ifdef for YYSTYPE union declaration (report by Clifford Yapp)
4675 accept underscore as a replacement for dash in command names, e.g.,
4676 "%pure_parser" vs "%pure-parser".
4678 * test/calc1.tab.c: regen
4680 * output.c, reader.c:
4681 also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp)
4683 * package/debian/changelog, package/byacc.spec, VERSION: bump
4685 2010-11-24 Thomas E. Dickey <dickey@invisible-island.net>
4687 * main.c, defs.h, symtab.c, error.c: reduce global variables
4689 * package/debian/changelog, package/byacc.spec, VERSION: bump
4692 amend fix for Redhat #112617 to still call default_action_warning() for
4693 empty rules (report by Bruce Cran).
4695 2010-11-22 Thomas E. Dickey <dickey@invisible-island.net>
4698 add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp).
4700 * test/calc1.tab.c: regen
4702 * test/calc1.y: cleanup compiler warnings
4704 * test/grammar.y: add "%expect"
4706 * test/calc1.tab.h: regen
4708 * test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE
4710 * test/calc2.tab.c, test/calc3.tab.c: regen
4713 advanced example from Steve Johnson's paper, uses unions
4715 * test/calc3.y, test/calc2.y: init 'base', so examples can run
4717 * test/ftp.tab.c, test/ftp.y: tweaks to compile with g++
4719 * output.c: compensate for fix in reader.c
4722 add/use putc_both() and puts_both(), incidentally fixing a place where
4723 a union copied to the union_file may be missing the end of the last line.
4725 * package/debian/changelog, package/byacc.spec, VERSION: bump
4727 2010-09-28 Thomas E. Dickey <dickey@invisible-island.net>
4729 * config.guess: update to 2010-09-24
4731 2010-09-10 Thomas E. Dickey <dickey@invisible-island.net>
4733 * config.sub: update to 2010-09-11
4735 2010-06-10 Thomas E. Dickey <dickey@invisible-island.net>
4737 * yacc.1, package/debian/changelog, package/byacc.spec, VERSION:
4740 2010-06-09 Thomas E. Dickey <dickey@invisible-island.net>
4742 * reader.c: free declarations in leak-testing code.
4744 * main.c: close code_file if -r option used, for leak-testing
4747 improve %lex-param / %parse-param implementation by allowing for arrays to
4748 be passed as parameters, e.g., "int regs[26]".
4750 * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h:
4753 * test/yacc/calc3.output, test/yacc/calc3.tab.h:
4754 reference output for testing
4756 * test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE
4758 * test/yacc/calc2.tab.h: reference output for testing
4760 * test/calc2.output: RCS_BASE
4762 * test/yacc/calc2.output: reference output for testing
4765 improve %lex-param / %parse-param implementation by allowing for arrays to
4766 be passed as parameters, e.g., "int regs[26]".
4768 * test/calc.tab.c, test/calc.y:
4769 test-cases and reference files for %lex-param / %parse-param
4771 * makefile.in: add docs-rule, for html/pdf/txt form of manpage
4775 * aclocal.m4: add CF_XOPEN_SOURCE, etc.
4778 use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89
4780 * test/ftp.tab.c, test/ftp.y, reader.c, symtab.c, verbose.c, lr0.c,
4782 fix warnings from clang --analyze
4784 2010-06-08 Thomas E. Dickey <dickey@invisible-island.net>
4786 * output.c: fix to build with c89, etc.
4788 * reader.c: gcc warning
4790 * test/ftp.tab.c, test/ftp.y, test/calc.tab.c, test/code_calc.code.c,
4791 test/code_error.code.c, test/code_error.y, test/code_calc.y,
4792 test/calc.y, test/pure_error.tab.c, test/error.tab.c, test/error.y,
4794 modified test-cases to allow them to compile, to validate pure-parser changes.
4795 updated reference files to match.
4798 move call for output_stype() earlier since it is used in pure-parser declarations
4800 * test/grammar.tab.c, test/grammar.y:
4801 modified test-cases to allow them to compile, to validate pure-parser changes.
4802 updated reference files to match.
4804 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
4807 * yacc.1: document %lex-param and %parse-param
4809 * test/run_lint.sh, test/run_make.sh: RCS_BASE
4812 further modify to allow build-directory to be in a different location by
4813 passing this directory's location as a parameter to the script.
4816 add check_make and check_lint rules to help validate the generated files
4817 in the test-directory
4819 2010-06-07 Thomas E. Dickey <dickey@invisible-island.net>
4821 * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE
4824 provide for testing -r and -P options by checking if the ".y" filename
4825 begins with "code_" or "pure_", respectively.
4827 * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h:
4830 * test/yacc/code_error.tab.h: reference output for testing
4832 * test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h:
4835 * test/yacc/code_calc.tab.h: reference output for testing
4837 * test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output,
4838 test/pure_error.tab.h:
4841 * test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h,
4842 test/yacc/pure_error.tab.h:
4843 reference output for testing
4845 * test/code_calc.output, test/code_error.output: RCS_BASE
4847 * test/yacc/code_calc.output, test/yacc/code_error.output:
4848 reference output for testing
4850 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen
4853 changes to support running "make check" in a separate build-tree
4855 * main.c: add "-P" to usage message
4857 * reader.c: use UCH() macro to hide casts.
4859 2010-06-07 Andres.Mejia
4861 * main.c, output.c, reader.c, defs.h, skeleton.c:
4862 Fix the output order of the generated parse code file. This allows for
4863 the use of YYPARSE_PARAM, by having the output that checks for
4864 YYPARSE_PARAM to be defined come after the C code block in the
4865 definitions section of a yacc file.
4867 Implement support for YYLEX_PARAM, similar to bison. This is useful for
4868 support for building reentrant lexers with flex.
4870 Fix a compatibility issue with bison's pure-parser option. Bison
4871 defines yylex as sending at least one parameter, &yylval, as the first
4872 parameter and doesn't seem to have an easy way to remove that parameter.
4873 This on the other hand is rather convenient to support saving to yylval
4874 from flex when building reentrant lexers and parsers.
4876 Add support for the %parse-param and %lex-param directives used in
4877 bison. This change bears some similarity to NetBSD's changes to byacc
4878 at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html
4880 Bison allows for POSIX yacc emulation via a yacc directive in the yacc
4881 file, and also via a command line switch. Implement this feature as a
4882 no-op for byacc, since byacc is designed to be POSIX yacc compatible
4883 anyway. This allows for better compatibility with yacc sources written
4886 2010-06-07 Thomas E. Dickey <dickey@invisible-island.net>
4888 * VERSION: bump to 2010/06/07
4890 2010-06-06 Thomas E. Dickey <dickey@invisible-island.net>
4892 * test/calc.tab.c, configure: regen
4895 move #include's down into the generated code, to allow user-defined code
4896 to override feature definitions, particularly with stdlib.h (request by
4899 * lr0.c, error.c, reader.c, defs.h:
4900 strict gcc 3.4.6 warnings on 64-bit platform
4902 * aclocal.m4, configure.in: add check for lint
4904 * makefile.in: add lint rule
4906 * defs.h, closure.c, lr0.c, warshall.c, main.c:
4907 fix gcc warnings, mostly for 64-bit platform
4910 add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc
4912 * makefile.in: add etags/TAGS if available
4914 * configure.in: add configure check for actual ctags and etags programs
4916 * package/debian/copyright: add copyright notices for non-PD files
4918 * package/debian/changelog:
4919 incorporated scripts in upstream to use for test-builds
4921 * makefile.in: drop mkdirs.sh, just use "mkdir -p"
4923 * AUTHORS: nicknames for some contributors (see CHANGES for details)
4925 * package/byacc.spec: RPM file for byacc
4927 * VERSION: bump to 2010/06/06
4929 * aclocal.m4: add copyright notice, from "my-autoconf" macros
4930 http://invisible-island.net/autoconf/autoconf.html
4932 * aclocal.m4: resync with my-autoconf. summary of changes:
4933 a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter
4934 b) CF_DISABLE_ECHO, change indent-convention for substituted makefile
4935 c) CF_GCC_VERSION, ignore stderr
4936 d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc
4938 2010-04-20 Thomas E. Dickey <dickey@invisible-island.net>
4940 * package/debian/changelog, package/debian/compat,
4941 package/debian/control, package/debian/copyright, package/debian/docs,
4942 package/debian/postinst, package/debian/prerm, package/debian/rules,
4943 package/debian/watch:
4944 scripts from Debian package
4946 2010-02-16 Thomas E. Dickey <dickey@invisible-island.net>
4948 * yacc.1: document -P and bison-extensions
4950 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
4953 * output.c: implement %pure-parser
4956 implement %pure-parser, like bison. To help with this, changed the stack
4957 variables, putting them into a struct.
4959 * reader.c: implement %pure-parser
4961 * defs.h: modified skeleton to support %pure-parser feature
4963 * main.c: add -P option to set %pure-parser
4966 make -r and -p options work together. The -r option splits the generated
4967 parser into code/table files; for this case we cannot use static data.
4968 Also, we have to repeat the #define's used for prefix (-p) as well as the
4969 redeclaration of yyparse(). Finally, allow any of the prefixed names to
4970 be overridden, e.g., by passing a -D option to the compiler. Make that
4971 a little more readable by putting a blank line before each chunk.
4973 * defs.h: add definitions for %pure-parser
4976 put blank line before/after the redeclaration of yyparse()
4978 * output.c: allow for other program redefining yylex()
4981 split-off xdecls[] array, to move declaration of yyparse() after #define's
4983 * defs.h: split-out xdecls[]
4989 * aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS
4992 resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes.
4994 2010-02-16 Ostap.Cherkashi
4996 * skeleton.c: fix a memory leak in the generated skeleton
4998 2010-01-01 Thomas E. Dickey <dickey@invisible-island.net>
5000 * package/debian/source/format: scripts from Debian package
5002 2009-12-31 Thomas E. Dickey <dickey@invisible-island.net>
5004 * config.guess: update to 2009-12-30
5006 * config.sub: update to 2009-12-31
5008 2009-10-27 Thomas E. Dickey <dickey@invisible-island.net>
5012 * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c,
5014 strict compiler warnings
5016 2009-10-26 Thomas E. Dickey <dickey@invisible-island.net>
5018 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
5021 * main.c, defs.h: introduce some typedefs for portability, etc.
5024 don't remove "*.log" in mostlyclean rule since it interferes with regression
5029 * aclocal.m4: resync with my-autoconf
5031 2009-08-25 Thomas E. Dickey <dickey@invisible-island.net>
5033 * config.guess, config.sub: update to 2009-08-19
5035 2009-02-21 Thomas E. Dickey <dickey@invisible-island.net>
5039 * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
5041 2008-12-26 Thomas E. Dickey <dickey@invisible-island.net>
5043 * configure: regen with autoconf-2.52 (patched)
5045 2008-12-25 Thomas E. Dickey <dickey@invisible-island.net>
5047 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
5050 2008-12-24 Thomas E. Dickey <dickey@invisible-island.net>
5055 remove ifdef-lint from goto yyerrlab, to quiet gcc warning
5057 2008-11-26 Thomas E. Dickey <dickey@invisible-island.net>
5059 * verbose.c, main.c, defs.h, mkpar.c, reader.c:
5060 completed implementation of "%expect" (report by Perry E. Metzger).
5061 add "%expect-rr", which is (unlike bison) allowable in LALR parsers.
5063 2008-11-24 Thomas E. Dickey <dickey@invisible-island.net>
5065 * closure.c, defs.h, error.c, graph.c, lalr.c, lr0.c, main.c, mkpar.c,
5067 change indent-style (request by Perry E. Metzger)
5069 2008-08-27 Thomas E. Dickey <dickey@invisible-island.net>
5071 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
5072 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
5077 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
5079 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c,
5081 change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's.
5083 * configure: regen'd
5085 * configure.in: add -Wwrite-strings to warnings
5087 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
5088 add YYPARSE_PARAM and YYPARSE_PARAM_TYPE
5091 add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features.
5093 * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c:
5094 fixes for gcc -Wwrite-strings
5096 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
5097 generate the tables as static-const (this is an interface change)
5099 * output.c: realign columns in start_table()
5102 generate the tables as static-const (this is an interface change)
5104 * output.c: reorder functions to eliminate forward-references
5106 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
5107 remove 'register' keywords
5109 2008-08-26 Thomas E. Dickey <dickey@invisible-island.net>
5111 * warshall.c, verbose.c, symtab.c, skeleton.c, reader.c, output.c,
5113 remove 'register' keywords
5115 2008-08-25 Thomas E. Dickey <dickey@invisible-island.net>
5117 * test/ftp.tab.c: regen'd
5120 improve the left-curly fix by testing after blanks, to avoid having a
5121 " {" at the beginning of a line.
5123 * test/error.tab.c, test/grammar.tab.c: regen'd
5126 move the remaining newline-counting into write_XXX functions.
5128 * test/calc.tab.c: regen'd
5131 simplify part of the output_file formatting using new functions, e.g.,
5132 start_int_table(), output_newline().
5135 modify copy_action() to indent the first character, it if is is left-curly
5136 brace. That makes the output look more like the original, as well as makes
5137 it simpler to edit (not confuse editors which look for a left-curly in the
5138 first column as if it were the beginning of a function).
5140 * skeleton.c: minor fixes to avoid gcc -Wconversion warnings
5142 * output.c: align the #define's produced for "-p" option
5144 * test/run_test.sh: use the "-p" option for better coverage.
5146 * output.c: simplify output_prefix() with new define_prefixed()
5148 * skeleton.c: include string.h, for memset()
5149 change stack size to unsigned to fix gcc -Wconversion warnings.
5151 * VERSION: bump to 2008/8/25
5153 * makefile.in: add dependency on VERSION file.
5155 2008-08-24 Thomas E. Dickey <dickey@invisible-island.net>
5159 * lalr.c: improved memory-leak checking by freeing data in includes[]
5161 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
5162 update to match skeleton-change
5164 * configure: regen'd
5166 * skeleton.c: Add fix for stack discussed
5167 http://undeadly.org/cgi?action=article&sid=20080708155228
5169 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29
5171 * aclocal.m4: resync with my-autoconf (no major changes)
5173 2008-07-24 Thomas E. Dickey <dickey@invisible-island.net>
5175 * package/pkgsrc/Makefile, package/pkgsrc/distinfo:
5176 scripts from NetBSD pkgsrc, for test-builds
5178 2008-03-14 Thomas E. Dickey <dickey@invisible-island.net>
5180 * config.sub: update to 2008-03-08
5182 * config.guess: update to 2008-03-12
5184 2007-05-09 Thomas E. Dickey <dickey@invisible-island.net>
5186 * main.c: close graph, verbose files if opened, on exit.
5189 audit memory leaks - valgrind reported some memory still in use on exit.
5191 * lalr.c, output.c, reader.c, mkpar.c, lr0.c:
5192 add hook for auditing memory leaks
5194 * defs.h: add hooks for auditing memory leaks
5196 * configure: regen'd
5199 use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind,
5200 --with-dbmalloc and --with-dmalloc
5202 * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND
5204 * aclocal.m4: improve version-checking in CF_GCC_VERSION
5205 rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro
5209 * main.c: file_prefix did not always have a trailing null.
5211 2007-03-25 Thomas E. Dickey <dickey@invisible-island.net>
5213 * mkdirs.sh: improved version for "make -j"
5215 2006-12-22 Thomas E. Dickey <dickey@invisible-island.net>
5217 * config.guess: update to 2006/12/22
5219 2006-12-08 Thomas E. Dickey <dickey@invisible-island.net>
5221 * config.sub: update to 2006/12/08
5223 2005-08-13 Thomas E. Dickey <dickey@invisible-island.net>
5225 * main.c: add -V to usage message
5227 * makefile.in: remove -t option from ctags
5229 * VERSION: 2005/8/13
5233 * main.c: Sylvain Schmitz:
5234 modify the '-o' option to work like bison's, which sets the file-prefix.
5236 2005-08-13 Matt.Kraai
5239 Debian #322858 (don't close union_file, which contained data).
5240 This feature is used in groff.
5242 2005-08-13 Thomas E. Dickey <dickey@invisible-island.net>
5244 * configure: regenerated
5246 * aclocal.m4: improve checks for Intel compiler warnings
5248 2005-06-25 Thomas E. Dickey <dickey@invisible-island.net>
5250 * config.sub: update to 2005/6/2
5252 * config.guess: update to 2005/5/27
5254 2005-05-05 Thomas E. Dickey <dickey@invisible-island.net>
5256 * defs.h: add a fallback for GCC_UNUSED
5258 2005-05-04 Thomas E. Dickey <dickey@invisible-island.net>
5260 * makefile.in: add "." to include-path to pickup config.h
5263 apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617.
5266 correct a limit check in pack_vector() - report/analysis by William Evans
5269 exit after printing version. Otherwise "yacc -V" will exit with an erro
5270 after printing the usage message.
5272 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
5273 regenerated after skeleton-changes
5275 * skeleton.c: replace a few -1's with YYEMPTY
5278 delete yynewerror (no one uses it any more, and it just makes compiler warnings)
5280 * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD
5283 filter out lines with YYPATCH, since that will change with each update
5285 * yacc.1: add -V option
5287 * main.c: add -V option to print the version.
5288 simplify option-parsing by moving the duplicate logic for setting flags into
5289 new function setflag().
5292 move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers).
5293 add YYPATCH here so it can be tested by applications.
5296 add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and
5299 * lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c,
5301 reduce externs by making static the procedures that are not referenced outside
5302 the module in which they are defined.
5305 the VERSION file holds the patch-date. Define YYPATCH, so this will be
5306 compiled into the skeleton.
5308 * VERSION: patch-level for byacc
5311 add "-o" to usage message. It is too long for a single line; rewrite usage()
5312 to show one option per line.
5314 2005-05-03 Thomas E. Dickey <dickey@invisible-island.net>
5316 * main.c: add -o option, to work with scripts that assume bison.
5317 simplify create_file_names() with a macro.
5318 simplify done() with a macro.
5319 adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by
5320 onintr(), do not flush output via exit(), but use _exit() instead.
5322 * defs.h: remove unnecessary externs for main.c
5324 * yacc.1: add -o option
5326 * graph.c: remove unused parameter
5328 * mkpar.c, defs.h, reader.c:
5329 add support for "%expect", a bison feature from FreeBSD sources
5331 * lr0.c, reader.c, main.c, skeleton.c, graph.c, symtab.c, closure.c,
5335 * configure: regenerated for 2005/5/5
5337 * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER)
5341 * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1:
5342 Sylvain Schmitz <schmitz@i3s.unice.fr>:
5343 add graphical output of the LALR(1) automaton for graphviz,
5344 associated with command-line option `-g'
5346 2005-04-16 Thomas E. Dickey <dickey@invisible-island.net>
5348 * config.sub: update to 2005/2/10
5350 * config.guess: update to 2005/3/24
5352 2005-04-13 Thomas E. Dickey <dickey@invisible-island.net>
5354 * package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds
5356 2005-03-21 Thomas E. Dickey <dickey@invisible-island.net>
5358 * package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds
5360 2004-03-28 Thomas E. Dickey <dickey@invisible-island.net>
5362 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
5363 updates due to adding yyparse() prototype
5365 * configure: RCS_BASE
5368 add AC_ARG_PROGRAM to make --program-prefix, etc., work.
5370 * makefile.in: first cut of script to support --program-prefix
5373 reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52
5375 * makefile.in: modify so DESTDIR works
5377 * makefile.in: use EXEEXT and OBJEXT
5379 * configure.in: use CF_PROG_EXT
5382 * defs.h: make this use the generated config.h
5384 * skeleton.c: add a forward-reference for yyparse()
5386 * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT
5388 * yacc.1: remove the discussion of TMPDIR since it is obsolete
5390 * skeleton.c: fix a couple of minor compiler-warnings in the skeleton
5392 * defs.h: remove action_file_name, etc., since we use tmpfile() now.
5395 use tmpfile() for opening the working files. This quiets a warning
5396 advising the use of mkstemp().
5399 Do not close temporary-files here, since they are opened with tmpfile().
5400 Just rewind them, and they're ready to read back the data stored in them.
5402 * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE
5404 * test/yacc/grammar.output, test/yacc/grammar.tab.h:
5405 reference output for testing
5407 * makefile.in: turn on "make check" rule
5409 * test/calc.output: RCS_BASE
5411 * test/yacc/calc.output: reference output for testing
5413 * test/run_test.sh, test/calc.tab.h: RCS_BASE
5415 * test/yacc/calc.tab.h: reference output for testing
5417 * test/ftp.tab.c: yyparse() is now yyparse(void)
5419 * test/calc.tab.c: RCS_BASE
5421 * test/error.tab.c: yyparse() is now yyparse(void)
5423 * test/README: RCS_BASE
5425 * yacc.1: various typography fixes prompted by Debian #100947
5427 * aclocal.m4, makefile.in, configure.in: RCS_BASE
5429 * README: updated to note that this is not the original
5431 2004-03-24 Thomas E. Dickey <dickey@invisible-island.net>
5433 * test/grammar.y: RCS_BASE
5435 2004-02-23 Thomas E. Dickey <dickey@invisible-island.net>
5437 * config.sub: RCS_BASE
5439 2004-02-17 Thomas E. Dickey <dickey@invisible-island.net>
5441 * config.guess: RCS_BASE
5443 2003-11-29 Thomas E. Dickey <dickey@invisible-island.net>
5445 * install-sh: improved quoting
5447 2002-06-29 Thomas E. Dickey <dickey@invisible-island.net>
5450 don't use character range, since some locales don't work as expected
5452 2001-06-22 Thomas E. Dickey <dickey@clark.net>
5454 * install-sh: RCS_BASE
5456 2000-11-20 Thomas E. Dickey <dickey@clark.net>
5458 * test/calc.y: RCS_BASE
5460 * test/code_calc.y, test/pure_calc.y: copy of calc.y
5462 * vmsbuild.com: original version
5464 2000-02-14 Thomas E. Dickey <dickey@clark.net>
5466 * main.c: fix for VMS port - making pathname for temp-file
5468 * descrip.mms: original version
5470 2000-02-13 Thomas E. Dickey <dickey@clark.net>
5472 * defs.h, verbose.c, reader.c, main.c, skeleton.c, warshall.c, symtab.c,
5476 1999-11-30 Thomas E. Dickey <dickey@clark.net>
5478 * mkdirs.sh: RCS_BASE
5480 1995-01-01 Thomas E. Dickey <dickey@clark.net>
5482 * config_h.in: RCS_BASE
5486 * README.DOS, main.c: MSDOS-port
5490 * reader.c, defs.h: MSDOS-port
5494 * README: original version
5498 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE
5500 1993-02-22 dickey@software.org
5502 * test/yacc/error.output, test/yacc/error.tab.h:
5503 reference output for testing
5507 * test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE
5509 * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES:
5514 * yacc.1: original version
5518 * defs.h: original version
5522 * mkpar.c, verbose.c: original version
5526 * lr0.c, Makefile, Makefile.old: original version
5530 * NEW_FEATURES: original version
5534 * ACKNOWLEDGEMENTS: original version
5538 * symtab.c, lalr.c, error.c: original version
5540 1990-01-16 dickey@software.org
5542 * test/code_error.y, test/pure_error.y: RCS_BASE
5546 * test/error.y: RCS_BASE
5550 * NO_WARRANTY: original version
5554 * test/ftp.y: RCS_BASE