Debian Codegraph @

CHANGES

raw
1 2026-01-24 Thomas E. Dickey <[email protected]>
2
3 * test/expr.oxout.h, test/btyacc/calc_code_all.tab.c,
4 test/btyacc/calc_code_all.tab.h, test/btyacc/calc_code_default.tab.c,
5 test/btyacc/calc_code_provides.tab.c,
6 test/btyacc/calc_code_provides.tab.h,
7 test/btyacc/calc_code_requires.tab.c,
8 test/btyacc/calc_code_requires.tab.h, test/btyacc/calc_code_top.tab.c,
9 test/btyacc/ok_syntax1.tab.c, test/btyacc/ok_syntax1.tab.h,
10 test/yacc/calc_code_all.tab.c, test/yacc/calc_code_all.tab.h,
11 test/yacc/calc_code_default.tab.c, test/yacc/calc_code_provides.tab.c,
12 test/yacc/calc_code_provides.tab.h,
13 test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_requires.tab.h,
14 test/yacc/calc_code_top.tab.c, test/yacc/ok_syntax1.tab.c,
15 test/yacc/ok_syntax1.tab.h:
16 trim
17
18 * output.c, defs.h, reader.c:
19 add/use puts_trim() to trim trailing blanks from output files
20
21 * package/debian/copyright: bump
22
23 * configure: regen
24
25 * VERSION, package/byacc.spec, package/debian/changelog,
26 package/mingw-byacc.spec, package/pkgsrc/Makefile:
27 bump
28
29 2025-12-25 Thomas E. Dickey <[email protected]>
30
31 * aclocal.m4: resync with my-autoconf
32
33 2025-12-14 Thomas E. Dickey <[email protected]>
34
35 * VERSION, package/byacc.spec, package/debian/changelog,
36 package/mingw-byacc.spec, package/pkgsrc/Makefile:
37 bump
38
39 * configure: regen
40
41 * aclocal.m4:
42 resync with my-autoconf: reduces warnings if "modern" autoconf is used
43
44 * configure.in: adjusted with autoupdate
45
46 2025-11-11 Thomas E. Dickey <[email protected]>
47
48 * configure: regen
49
50 * aclocal.m4: resync with my-autoconf
51 fixes for portability vs "t64" variants of glibc
52
53 2025-10-07 Thomas E. Dickey <[email protected]>
54
55 * main.c, closure.c, graph.c, lalr.c, lr0.c, mkpar.c, output.c,
56 reader.c, verbose.c, warshall.c:
57 cppcheck
58
59 * package/debian/copyright, VERSION, package/byacc.spec,
60 package/debian/changelog, package/mingw-byacc.spec,
61 package/pkgsrc/Makefile:
62 bump
63
64 * configure: regen
65
66 * aclocal.m4: resync with my-autoconf
67 use CF_PROG_INSTALL
68
69 * configure.in: use CF_PROG_INSTALL
70
71 2025-07-09 Thomas E. Dickey <[email protected]>
72
73 * config.guess, config.sub: update to 2025-07-10
74
75 2025-06-08 Thomas E. Dickey <[email protected]>
76
77 * install-sh: fix license
78
79 2024-12-31 Thomas E. Dickey <[email protected]>
80
81 * package/pkgsrc/distinfo: regen
82
83 * main.c: s/0/NULL/
84
85 * main.c: gcc warning
86
87 * reader.c:
88 make UCH() consistent wrt IS_xxxx macros (prompted by patch by Christos Zoulas)
89
90 2024-12-31 Christos Zoulas <[email protected]>
91
92 * main.c:
93 from NetBSD - if "-o" option is given, derive the filename of the ".h"
94 definitions-file by stripping commonly-used C/C++ suffixes such as ".c"
95 and then adding ".h"
96
97 2024-12-31 Thomas E. Dickey <[email protected]>
98
99 * main.c: provide a fallback definition for W_OK, e.g., for Windows
100
101 * package/pkgsrc/Makefile:
102 resync with pkgsrc in NetBSD 10 (report by Roland Illig)
103
104 * yacc.1: minor typographical fixes
105
106 * main.c: correct condition for using $TEMP environment variable
107 (report by Johann 'Myrkraverk' Oskarsson)
108
109 * VERSION, package/byacc.spec, package/debian/changelog,
110 package/mingw-byacc.spec, package/pkgsrc/Makefile:
111 bump
112
113 2024-12-21 Thomas E. Dickey <[email protected]>
114
115 * configure: regen
116
117 * aclocal.m4: resync with my-autoconf
118
119 2024-12-14 Thomas E. Dickey <[email protected]>
120
121 * output.c, yaccpar.c: gcc15 zero vs null warnings
122
123 * test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
124 test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c,
125 test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c,
126 test/yacc/calc_code_provides.tab.c,
127 test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c,
128 test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c,
129 test/yacc/code_error.code.c, test/yacc/code_error.tab.c,
130 test/yacc/defines1.calc.c, test/yacc/defines2.calc.c,
131 test/yacc/defines3.calc.c, test/yacc/empty.tab.c,
132 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c,
133 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
134 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
135 test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c,
136 test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c,
137 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
138 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
139 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
140 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
141 test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c,
142 test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c,
143 test/yacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c,
144 test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c,
145 test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c,
146 test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c,
147 test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c,
148 test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_default.tab.c,
149 test/btyacc/calc_code_imports.tab.c,
150 test/btyacc/calc_code_provides.tab.c,
151 test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c,
152 test/btyacc/code_calc.code.c, test/btyacc/code_calc.tab.c,
153 test/btyacc/code_error.code.c, test/btyacc/code_error.tab.c,
154 test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c,
155 test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c,
156 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
157 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
158 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c,
159 test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c,
160 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c,
161 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
162 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
163 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
164 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
165 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
166 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
167 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
168 test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c,
169 test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c:
170 regen
171
172 * lalr.c, mstring.c, reader.c, btyaccpar.c, test/expr.oxout.y,
173 test/grammar.y, test/varsyntax_calc1.y, test/err_syntax27.y,
174 test/calc1.y, test/btyacc_demo.y, test/btyacc_calc1.y, symtab.c,
175 main.c, mkpar.c, lr0.c, defs.h, error.c:
176 gcc15 zero vs null warnings
177
178 * configure: regen
179
180 * aclocal.m4: resync with my-autoconf
181
182 * package/pkgsrc/Makefile, VERSION, package/byacc.spec,
183 package/debian/changelog, package/mingw-byacc.spec:
184 bump
185
186 2024-07-28 Thomas E. Dickey <[email protected]>
187
188 * config.guess: 2024-07-27
189
190 2024-06-03 Thomas E. Dickey <[email protected]>
191
192 * config.sub: 2024-05-27
193
194 2024-01-09 Thomas E. Dickey <[email protected]>
195
196 * yacc.1: minor cleanup
197
198 * package/debian/copyright: bump
199
200 * configure: regen
201
202 * VERSION, package/byacc.spec, package/debian/changelog,
203 package/mingw-byacc.spec, package/pkgsrc/Makefile:
204 bump
205
206 2023-12-01 Thomas E. Dickey <[email protected]>
207
208 * aclocal.m4:
209 resync with my-autoconf: CF_CONST_X_STRING CF_MKSTEMP CF_WITH_MAN2HTML CF_XOPEN_SOURCE
210
211 2023-09-15 Thomas E. Dickey <[email protected]>
212
213 * config.sub: 2023-09-15
214
215 2023-08-22 Thomas E. Dickey <[email protected]>
216
217 * config.guess: 2023-08-22
218
219 2023-05-31 Thomas E. Dickey <[email protected]>
220
221 * package/pkgsrc/distinfo: resync with pkgsrc
222
223 2023-05-21 Thomas E. Dickey <[email protected]>
224
225 * VERSION, package/byacc.spec, package/debian/changelog,
226 package/mingw-byacc.spec, package/pkgsrc/Makefile:
227 bump
228
229 * configure: regen
230
231 * aclocal.m4:
232 updates for CF_INSTALL_MAN from reflex, which needs the symbolic link feature
233
234 * aclocal.m4:
235 improve install-man by adding sed commands for --program-transform-name
236
237 2023-05-19 Thomas E. Dickey <[email protected]>
238
239 * makefile.in: use CF_INSTALL_MAN
240
241 * aclocal.m4:
242 add CF_INSTALL_MAN, to begin refactoring install rule for manpage
243
244 * configure: regen
245
246 * configure.in: use CF_INSTALL_MAN
247
248 2023-05-18 Thomas E. Dickey <[email protected]>
249
250 * error.c, defs.h, reader.c:
251 allow @1 or $@ with a warning if no %locations was given
252
253 2023-05-17 Thomas E. Dickey <[email protected]>
254
255 * reader.c: clear pointer in end_ainfo() after freeing it.
256
257 2023-05-16 Thomas E. Dickey <[email protected]>
258
259 * reader.c: report errors in %define as "unexpected value"
260
261 * reader.c:
262 add/use macros begin_ainfo() and end_ainfo() to reduce clutter
263
264 * defs.h, error.c: add function unexpected_value()
265
266 * reader.c:
267 recognize bison's "%define api.pure" as an alternative to "%pure-parser"
268
269 * reader.c:
270 add %nterm as an alias for %type, since bison made that confusion.
271
272 * reader.c:
273 ensure that filler_buf and prefix_buf are initialized for the special case
274 where they are empty (report by Martin Jansa, cf: 20230219)
275
276 * output.c:
277 make test-differences smaller when compiling with YY_NO_LEAKS by replacing
278 a blank line with the generated #define rather than adding 3 lines.
279
280 * reader.c: gcc-warnings
281
282 2023-05-15 Thomas E. Dickey <[email protected]>
283
284 * VERSION, package/byacc.spec, package/debian/changelog,
285 package/mingw-byacc.spec, package/pkgsrc/Makefile:
286 bump
287
288 * reader.c:
289 when copying parameters, check for a case where the last token is not a
290 name, e.g., "foo [1]" would have "[1]". In this case, scan back to find
291 the actual parameter name.
292
293 * reader.c:
294 correct a use-after-free in more_curly, which could occur if a %lex-param
295 or %parse-param was multi-line (Redhat #2183006).
296
297 2023-05-11 Thomas E. Dickey <[email protected]>
298
299 * main.c: rename no_space() to on_error()
300
301 * error.c: rename no_space() to no_error(), handling any errno
302
303 * defs.h: rename no_space() to on_error()
304
305 2023-04-03 Thomas E. Dickey <[email protected]>
306
307 * aclocal.m4: resync with my-autoconf: CF_GCC_VERSION CF_XOPEN_SOURCE
308
309 2023-02-26 Thomas E. Dickey <[email protected]>
310
311 * mstring.c, reader.c: yak-indent
312
313 2023-02-26 mingodad
314
315 * reader.c:
316 patch for byacc #6: Segmentation fault when trying to parse bison-3.8.2 grammar
317
318 2023-02-26 Thomas E. Dickey <[email protected]>
319
320 * VERSION, package/byacc.spec, package/debian/changelog,
321 package/mingw-byacc.spec, package/pkgsrc/Makefile:
322 bump
323
324 2023-02-20 Thomas E. Dickey <[email protected]>
325
326 * configure: regen
327
328 * aclocal.m4: resync with my-autoconf
329
330 2023-02-19 Thomas E. Dickey <[email protected]>
331
332 * test/yacc/ok_syntax1.tab.h, test/yacc/ok_syntax1.tab.c,
333 test/btyacc/ok_syntax1.tab.h, test/btyacc/ok_syntax1.tab.c:
334 regen
335
336 * test/ok_syntax1.y:
337 modify test for %union to add tag for testing reader.c
338
339 * reader.c:
340 provide for a named union, e.g., "%union foo" by detecting the name and
341 deferring the typedef in that case until the end of copying the union
342 definition (report by Dag-Erling Smørgrav).
343
344 * VERSION, package/byacc.spec, package/debian/changelog,
345 package/mingw-byacc.spec, package/pkgsrc/Makefile:
346 bump
347
348 2023-02-01 Thomas E. Dickey <[email protected]>
349
350 * configure: regen
351
352 * configure.in: initialize $ac_includes_default
353
354 * VERSION, package/byacc.spec, package/debian/changelog,
355 package/debian/copyright, package/mingw-byacc.spec,
356 package/pkgsrc/Makefile:
357 bump
358
359 2023-01-05 Thomas E. Dickey <[email protected]>
360
361 * aclocal.m4: resync with my-autoconf
362
363 2022-12-29 Thomas E. Dickey <[email protected]>
364
365 * configure: regen
366
367 * configure.in:
368 correct help-message for --disable-btyacc option, and fix the reporting of
369 the selected option value in the configure script's output (report by Daniel
370 Weaver)
371
372 * VERSION, package/byacc.spec, package/debian/changelog,
373 package/mingw-byacc.spec, package/pkgsrc/Makefile:
374 bump
375
376 2022-12-02 Thomas E. Dickey <[email protected]>
377
378 * aclocal.m4: resync with my-autconf
379
380 2022-11-06 Thomas E. Dickey <[email protected]>
381
382 * test/run_test.sh: use context diff, to work with AIX
383
384 * defs.h:
385 fprintf_lineno might be passed a null, when reading from stdin - show "(null)"
386
387 * makefile.in, test/run_make.sh, test/run_test.sh, test/run_lint.sh:
388 fgrep-fixes
389
390 * yacc.1: mention use of stderr/stdout for usage/debugging
391
392 * yacc.1: document %empty
393
394 * yacc.1: document %debug
395
396 * yacc.1: minor fixes with check-manpage
397
398 * VERSION, package/byacc.spec, package/debian/changelog,
399 package/mingw-byacc.spec, package/pkgsrc/Makefile:
400 bump
401
402 2022-10-02 Thomas E. Dickey <[email protected]>
403
404 * configure: regen
405
406 * aclocal.m4: resync with my-autoconf
407
408 2022-08-01 Thomas E. Dickey <[email protected]>
409
410 * config.guess, config.sub: 2022-08-01
411
412 2022-01-28 Thomas E. Dickey <[email protected]>
413
414 * package/debian/copyright: update, fix typo
415
416 * package/debian/rules, package/debian/control:
417 adapt from current Debian package
418
419 * configure: regen
420
421 * configure.in:
422 change default for the backtracking option to match the most-common usage
423 of byacc
424
425 * VERSION, package/byacc.spec, package/debian/changelog,
426 package/mingw-byacc.spec, package/pkgsrc/Makefile:
427 update packaging, renaming debian folder back to its original location to
428 verify that the version-mangling used in the accepted Debian package will work
429 with the continuous-integration system.
430
431 2022-01-18 Thomas E. Dickey <[email protected]>
432
433 * package/debian/watch: adapt from current Debian package
434
435 2022-01-14 Thomas E. Dickey <[email protected]>
436
437 * VERSION, package/byacc.spec, package/detest/changelog,
438 package/mingw-byacc.spec, package/pkgsrc/Makefile:
439 bump
440
441 2022-01-09 Thomas E. Dickey <[email protected]>
442
443 * package/detest/changelog: build-script
444
445 * package/debian/changelog:
446 update to use oldstable-compatible rules/config, for testing version upgrade
447
448 * package/detest/watch: build-script
449
450 * package/debian/watch:
451 update to use oldstable-compatible rules/config, for testing version upgrade
452
453 * package/detest/control: build-script
454
455 * package/debian/control:
456 update to use oldstable-compatible rules/config, for testing version upgrade
457
458 * package/byacc.spec, package/mingw-byacc.spec:
459 use rpmlint, etc., to "update" these to follow Redhat7 and later.
460 due to incompatbilities in that route, this package will not build with #6.
461
462 * reader.c, output.c:
463 change a few malloc's to calloc's so clang analyzer can see initialized data
464
465 * closure.c:
466 modify address computation in closure.c to avoid undefined behavior on
467 machines which do not support large offsets (analysis/patch by Jessica Clarke,
468 cf: 2014-09-17)
469
470 * VERSION, package/byacc.spec, package/debian/changelog,
471 package/mingw-byacc.spec, package/pkgsrc/Makefile:
472 bump
473
474 2022-01-08 Thomas E. Dickey <[email protected]>
475
476 * package/detest/copyright, package/detest/rules: build-script
477
478 * package/debian/copyright, package/debian/rules:
479 update to use oldstable-compatible rules/config, for testing version upgrade
480
481 2022-01-02 Thomas E. Dickey <[email protected]>
482
483 * package/debian/control: minor fixes adapted from btyacc package
484
485 * package/debian/byacc.docs: RCS_BASE
486
487 * package/detest/byacc.docs: build-script
488
489 * package/debian/byacc2.prerm: RCS_BASE
490
491 * package/detest/byacc2.prerm: build-script
492
493 * package/debian/byacc2.postinst: RCS_BASE
494
495 * package/detest/byacc2.postinst: build-script
496
497 * package/debian/byacc.postinst: RCS_BASE
498
499 * package/detest/byacc.postinst: build-script
500
501 * package/debian/byacc.prerm: RCS_BASE
502
503 * package/detest/byacc.prerm: build-script
504
505 * VERSION, package/byacc.spec, package/debian/changelog,
506 package/mingw-byacc.spec, package/pkgsrc/Makefile:
507 bump
508
509 2022-01-01 Thomas E. Dickey <[email protected]>
510
511 * test/run_test.sh:
512 adjust to ignore NetBSD's difference in getopt warnings.
513
514 * package/pkgsrc/Makefile: resync with pkgsrc
515
516 * test/yacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.c: regen
517
518 * test/expr.oxout.y, test/expr.oxout.h: fix gcc warnings
519
520 * test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h: regen
521
522 * test/run_make.sh: workaround for compiling the expr.oxout.y files
523
524 * test/expr.oxout.y: fix syntax error
525
526 * test/btyacc/expr.oxout.tab.c: regen
527
528 * test/expr.oxout.h: RCS_BASE
529
530 * test/yacc/expr.oxout.tab.c: fix syntax error
531
532 * test/btyacc/expr.oxout.tab.c: regen, s/expr.oxout/expr_oxout/g
533
534 * test/btyacc/expr.oxout.tab.h: regen
535
536 * test/run_test.sh:
537 filter the default prefix to change "." to "_", so that the generated
538 files will compile consistently with run_make.sh
539
540 * package/debian/control, package/debian/prerm, package/debian/postinst:
541 add "byacc2" as an alternative for "yacc"
542
543 * package/byacc.spec, package/debian/control, package/debian/rules:
544 rename "btyacc" to "byacc2" to co-exist with traditional "btyacc" package
545
546 * package/debian/copyright, VERSION, package/byacc.spec,
547 package/debian/changelog, package/mingw-byacc.spec,
548 package/pkgsrc/Makefile:
549 bump
550
551 2021-12-24 Thomas E. Dickey <[email protected]>
552
553 * package/debian/rules: fixes from Debian package for lintian warnings
554
555 * package/debian/control: updates for Debian standard
556
557 * VERSION, package/byacc.spec, package/debian/changelog,
558 package/mingw-byacc.spec, package/pkgsrc/Makefile:
559 bump
560
561 * package/debian/byacc2.docs: RCS_BASE
562
563 * package/detest/byacc2.docs: build-script
564
565 * package/debian/docs, package/debian/copyright, package/debian/control:
566 errata from Debian package
567
568 * config.sub: 2021-12-24
569 From: Dmitry V. Levin <[email protected]>
570 config.sub: alias aarch64le to aarch64
571
572 Apparently, QNX reports aarch64 as aarch64le on little-endian machines.
573
574 * config.sub (aarch64le-*): Set cpu to aarch64.
575 (timestamp): Update.
576 * doc/config.sub.1: Regenerate.
577 * testsuite/config-sub.data (aarch64le-qnx): New test.
578
579 Reported-by: Elad Lahav <[email protected]>
580 Link: https://lists.gnu.org/archive/html/config-patches/2021-12/msg00009.html
581
582 2021-12-16 Thomas E. Dickey <[email protected]>
583
584 * configure: regen
585
586 * aclocal.m4: resync with my-autoconf
587
588 2021-12-13 Thomas E. Dickey <[email protected]>
589
590 * config.sub: 2021-10-27
591 From: Dmitry V. Levin <[email protected]>
592 config.sub: fix typo in timestamp
593
594 * config.sub: Fix timestamp.
595 * doc/config.sub.1: Regenerate.
596
597 Reported-by: Jordi Sanfeliu <[email protected]>
598 Fixes: a013aac61edfa2a03727521508286480010e7bf3
599 Signed-off-by: Dmitry V. Levin <[email protected]>
600
601 2021-11-30 Thomas E. Dickey <[email protected]>
602
603 * config.guess: 2021-11-30
604 From: Andreas F. Borchert <[email protected]>
605 config.guess: x86_64-pc-solaris2.11 is not properly recognized
606
607 config.guess guesses Solaris 11 to run on a 32-bit platform
608 despite Solaris 11 no longer supporting any 32-bit platform.
609
610 See the following code at lines 434 to 445:
611
612 | SUN_ARCH=i386
613 | # If there is a compiler, see if it is configured for 64-bit objects.
614 | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
615 | # This test works for both compilers.
616 | if test "$CC_FOR_BUILD" != no_compiler_found; then
617 | if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
618 | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
619 | grep IS_64BIT_ARCH >/dev/null
620 | then
621 | SUN_ARCH=x86_64
622 | fi
623 | fi
624
625 If "cc" is installed, i.e. the Oracle Studio compiler, this one is
626 chosen for $CC_FOR_BUILD. This compiler, the gcc provided by Oracle
627 and also gcc bootstrapped from sources on that platform with a default
628 configuration will by default generate 32-bit binaries -- even on
629 a 64-bit platform. And __amd64 will not be defined for compilations
630 targeting a 32-bit platform. This is different from the corresponding
631 behaviour on GNU/Linux systems where the local platform is targeted by
632 default.
633
634 Thus, as long as you do not add "-m64" or if you have a custom-built
635 gcc which defaults to 64 bit, you will get 32-bit binaries on Solaris
636 despite living on a 64-bit platform.
637
638 * config.guess (i86pc:SunOS:5.*:* || i86xen:SunOS:5.*:*): Adapt the
639 test by adding the "-m64" flag. This will work properly for Solaris
640 10 as well (the last Solaris release that supported x86 32-bit
641 platforms).
642 * doc/config.guess.1: Regenerate.
643
644 Signed-off-by: Dmitry V. Levin <[email protected]>
645
646 2021-10-27 Thomas E. Dickey <[email protected]>
647
648 * config.guess: 2021-10-27
649 From: Jordi Sanfeliu <[email protected]>
650 Recognize Fiwix
651
652 $ make check
653 cd testsuite && bash config-guess.sh && rm uname
654 PASS: config.guess checks (137 tests)
655 cd testsuite && bash config-sub.sh
656 PASS: config.sub checks (882 tests)
657 PASS: config.sub idempotency checks (819 tests)
658 PASS: config.sub canonicalise each config.guess testcase (137 tests)
659
660 * config.guess (i*86:Fiwix:*:*): Recognize.
661 * config.sub (fiwix*): Likewise.
662 * doc/config.guess.1: Regenerate.
663 * doc/config.sub.1: Likewise.
664 * testsuite/config-guess.data: Add a test case for Fiwix.
665 * testsuite/config-sub.data (i386-fiwix): New test.
666
667 Signed-off-by: Dmitry V. Levin <[email protected]>
668
669 * config.sub: 2021-20-27
670 From: Jordi Sanfeliu <[email protected]>
671 Recognize Fiwix
672
673 $ make check
674 cd testsuite && bash config-guess.sh && rm uname
675 PASS: config.guess checks (137 tests)
676 cd testsuite && bash config-sub.sh
677 PASS: config.sub checks (882 tests)
678 PASS: config.sub idempotency checks (819 tests)
679 PASS: config.sub canonicalise each config.guess testcase (137 tests)
680
681 * config.guess (i*86:Fiwix:*:*): Recognize.
682 * config.sub (fiwix*): Likewise.
683 * doc/config.guess.1: Regenerate.
684 * doc/config.sub.1: Likewise.
685 * testsuite/config-guess.data: Add a test case for Fiwix.
686 * testsuite/config-sub.data (i386-fiwix): New test.
687
688 Signed-off-by: Dmitry V. Levin <[email protected]>
689
690 2021-10-18 Thomas E. Dickey <[email protected]>
691
692 * config.sub: 2021-08-14
693 From: Kinshuk Dua <[email protected]>
694 config.sub: Fix typo in comment
695
696 Fixes: 5e531d391852a54e7fab2d8ff55625fca514b305
697 Signed-off-by: Dmitry V. Levin <[email protected]>
698
699 2021-08-14 Thomas E. Dickey <[email protected]>
700
701 * config.sub: 2021-08-14
702 From: Nick Bowler <[email protected]>
703 config.sub: work around command assignment bug in some shells
704
705 When combining variable assignments with a shell command, some older
706 shells (notably heirloom-sh and presumably also Solaris 10 /bin/sh)
707 have a bug which causes the assignment to alter the current execution
708 environment whenever the command is a shell built-in. For example:
709
710 % dash -c 'x=good; x=bad echo >/dev/null; echo $x'
711 good
712
713 % jsh -c 'x=good; x=bad echo >/dev/null; echo $x'
714 bad
715
716 The config.sub script contains a few commands of the form:
717
718 IFS=- read ...
719
720 which triggers this bug, causing the IFS assignment to persist for the
721 remainder of the script. This can cause misbehaviour in certain cases,
722 for example:
723
724 % jsh config.sub i386-linux-gnu
725 config.sub: test: unknown operator gnu
726
727 % jsh config.sub i386-gnu/linux
728 sed: can't read s|gnu/linux|gnu|: No such file or directory
729 Invalid configuration `i386-gnu/linux': OS `' not recognized
730
731 * config.sub: Save and restore IFS explicitly to avoid shell bugs.
732 * doc/config.sub.1: Regenerate.
733
734 Signed-off-by: Dmitry V. Levin <[email protected]>
735
736 2021-08-08 Thomas E. Dickey <[email protected]>
737
738 * reader.c:
739 fix memory-leak when replacing $$'s in destructor code (report/testcase
740 by Boris Kolpackov).
741
742 * main.c: account for a memory-leak
743
744 * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
745 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
746 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
747 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
748 test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c,
749 test/btyacc/calc_code_default.tab.c,
750 test/btyacc/calc_code_imports.tab.c,
751 test/btyacc/calc_code_provides.tab.c,
752 test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c,
753 test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c,
754 test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c,
755 test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c,
756 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
757 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
758 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c,
759 test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c,
760 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c,
761 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
762 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
763 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
764 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
765 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
766 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
767 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
768 test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c,
769 test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c,
770 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
771 test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c,
772 test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c,
773 test/yacc/calc_code_provides.tab.c,
774 test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c,
775 test/yacc/code_calc.code.c, test/yacc/code_error.code.c,
776 test/yacc/defines1.calc.c, test/yacc/defines2.calc.c,
777 test/yacc/defines3.calc.c, test/yacc/empty.tab.c,
778 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c,
779 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
780 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
781 test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c,
782 test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c,
783 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
784 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
785 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
786 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
787 test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c,
788 test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c,
789 test/yacc/varsyntax_calc1.tab.c, btyaccpar.c, yaccpar.c:
790 regen
791
792 * btyaccpar.skel, yaccpar.skel:
793 revert change to initialization of yystate, which confuses gcc, making a
794 different warning
795
796 * VERSION, package/byacc.spec, package/debian/changelog,
797 package/mingw-byacc.spec, package/pkgsrc/Makefile:
798 bump
799
800 2021-08-04 Thomas E. Dickey <[email protected]>
801
802 * config.sub: 2021-08-04
803 From: Jeremy Soller <[email protected]>
804 config.sub: add Linux Relibc Target
805
806 $ make check
807 cd testsuite && bash config-guess.sh && rm uname
808 PASS: config.guess checks (136 tests)
809 cd testsuite && bash config-sub.sh
810 PASS: config.sub checks (881 tests)
811 PASS: config.sub idempotency checks (818 tests)
812 PASS: config.sub canonicalise each config.guess testcase (136 tests)
813
814 * config.sub (relibc*): Recognize.
815 * doc/config.sub.1: Regenerate.
816 * testsuite/config-sub.data (x86_64-linux-relibc): New test.
817
818 Signed-off-by: Dmitry V. Levin <[email protected]>
819
820 2021-08-02 Thomas E. Dickey <[email protected]>
821
822 * main.c, yacc.1: add "-h" option
823
824 * yacc.1: fix date
825
826 * test/btyacc/no_b_opt.error, test/btyacc/no_output2.error,
827 test/btyacc/no_p_opt.error, test/btyacc/big_b.error,
828 test/btyacc/big_l.error, test/btyacc/help.error,
829 test/btyacc/nostdin.error, test/yacc/big_b.error,
830 test/yacc/big_l.error, test/yacc/help.error, test/yacc/no_b_opt.error,
831 test/yacc/no_output2.error, test/yacc/no_p_opt.error,
832 test/yacc/nostdin.error:
833 regen
834
835 * main.c:
836 map any of bison's long-options which have a corresponding yacc option
837 into the latter, without depending upon getopt_long().
838
839 * main.c: suggested patch:
840 From: Boris Kolpackov <[email protected]>
841 Subject: Re: [PATCH] support bison's --defines and --output options in byacc
842
843 * VERSION, package/byacc.spec, package/debian/changelog,
844 package/mingw-byacc.spec, package/pkgsrc/Makefile:
845 bump
846
847 2021-08-01 Thomas E. Dickey <[email protected]>
848
849 * test/btyacc/inherit2.tab.c, test/btyacc/btyacc_destroy2.tab.c,
850 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/err_inherit3.tab.c,
851 test/btyacc/err_inherit4.tab.c, test/btyacc/btyacc_demo.tab.c,
852 test/btyacc/btyacc_destroy1.tab.c:
853 regen
854
855 * output.c:
856 fix a misplaced #line, which was after a generated line in the code-file
857
858 * test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c,
859 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c,
860 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
861 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
862 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
863 test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax18.tab.c,
864 test/yacc/err_syntax20.tab.c, test/yacc/expr.oxout.tab.c,
865 test/yacc/grammar.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c,
866 test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
867 test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c,
868 test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c,
869 test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c,
870 test/yacc/code_calc.code.c, test/yacc/defines1.calc.c,
871 test/yacc/defines2.calc.c, test/yacc/defines3.calc.c,
872 test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c:
873 regen
874
875 * output.c:
876 add a state-machine to output_semantic_actions() to detect and replace
877 the "#line" directives added by Roland Illig's change, making them show
878 the actual line-numbers in the code-file.
879
880 * test/btyacc/pure_calc.tab.c, test/btyacc/quote_calc-s.tab.c,
881 test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c,
882 test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c,
883 test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c,
884 test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c,
885 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c,
886 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c,
887 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
888 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
889 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
890 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
891 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
892 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
893 test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c,
894 test/btyacc/calc_code_default.tab.c,
895 test/btyacc/calc_code_imports.tab.c,
896 test/btyacc/calc_code_provides.tab.c,
897 test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c,
898 test/btyacc/code_calc.code.c, test/btyacc/defines1.calc.c,
899 test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c,
900 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
901 test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c:
902 regen
903
904 * reader.c:
905 Modify output_semantic_actions to emit #line directives which correspond to
906 the code-file (adapted from a patch by Roland Illig).
907
908 * reader.c: simplify an ifdef so I can balance {/}
909
910 * output.c: use new macro
911
912 * defs.h: add fprintf_lineno macro
913
914 * reader.c:
915 make that a little simpler - but I see that this should be using the
916 code-file's line-numbering rather than ""
917
918 * reader.c:
919 make that into a macro, and add a begin_case() to more/less match (the
920 #line's are not together in some btyacc cases...)
921
922 * VERSION, package/byacc.spec, package/debian/changelog,
923 package/mingw-byacc.spec, package/pkgsrc/Makefile:
924 bump
925
926 2021-07-14 Thomas E. Dickey <[email protected]>
927
928 * reader.c: From: Roland Illig <[email protected]>
929 Subject: small patch for byacc
930 ...
931 this splits up "\nbreak;\n" output to put #line directives after first "\n"
932
933 2021-07-06 Thomas E. Dickey <[email protected]>
934
935 * config.sub: 2021-07-06
936 From: Stephanos Ioannidis <[email protected]>
937 config.sub: add Zephyr RTOS support
938
939 This adds the Zephyr RTOS targets in preparation for implementing the
940 Zephyr RTOS-specific toolchain support.
941
942 $ make check
943 cd testsuite && bash config-guess.sh && rm uname
944 PASS: config.guess checks (136 tests)
945 cd testsuite && bash config-sub.sh
946 PASS: config.sub checks (880 tests)
947 PASS: config.sub idempotency checks (817 tests)
948 PASS: config.sub canonicalise each config.guess testcase (136 tests)
949
950 * config.sub (zephyr*): Recognize.
951 * doc/config.sub.1: Regenerate.
952 * testsuite/config-sub.data: Add testcases for *-zephyr.
953
954 Signed-off-by: Stephanos Ioannidis <[email protected]>
955 Signed-off-by: Dmitry V. Levin <[email protected]>
956
957 2021-07-03 Thomas E. Dickey <[email protected]>
958
959 * config.sub: 2021-07-03
960 From: Ozkan Sezer <[email protected]>
961 config.sub: disable shellcheck SC2006 / SC2268 warnings
962
963 This is in line with the recent config.guess change in commit
964 12fcf67c9108f4c4b581eaa302088782f0ee40ea
965
966 * config.sub (shellcheck disable): Add SC2006,SC2268.
967
968 Suggested-by: Jacob Bachmeyer <[email protected]>
969 Signed-off-by: Ozkan Sezer <[email protected]>
970 Signed-off-by: Dmitry V. Levin <[email protected]>
971
972 * config.sub: 2021-07-03
973 From: Ozkan Sezer <[email protected]>
974 config.sub: normalize the quoting in the `echo FOO | sed ...`
975
976 Some cases quote the argument to echo and some do not. At runtime
977 it probably does not matter because the substituted values will never
978 contain whitespace, but quoting them all would make shellcheck more
979 useful.
980
981 * config.sub: Consistently quote the argument of echo.
982 * doc/config.sub.1: Regenerate.
983
984 Suggested-by: Jacob Bachmeyer <[email protected]>
985 Signed-off-by: Ozkan Sezer <[email protected]>
986 Signed-off-by: Dmitry V. Levin <[email protected]>
987
988 2021-07-02 Thomas E. Dickey <[email protected]>
989
990 * config.sub: 2021-06-03
991 From: Ozkan Sezer <[email protected]>
992 config.sub: replace POSIX $( ) with classic ` ` throughout
993
994 This is in line with the recent config.guess change in commit
995 d70c4fa934de164178054c3a60aaa0024ed07c91.
996
997 The patch was generated using patch-6.gawk script introduced in that
998 commit.
999
1000 * config.sub: Revert POSIX command substitutions to classic form.
1001
1002 Signed-off-by: Ozkan Sezer <[email protected]>
1003 Signed-off-by: Dmitry V. Levin <[email protected]>
1004
1005 2021-06-19 Thomas E. Dickey <[email protected]>
1006
1007 * configure: regen
1008
1009 * aclocal.m4: resync with my-autoconf
1010
1011 * test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
1012 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
1013 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax18.tab.c,
1014 test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c,
1015 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c,
1016 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
1017 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
1018 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
1019 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
1020 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
1021 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
1022 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
1023 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
1024 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
1025 test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c,
1026 test/btyacc/calc_code_default.tab.c,
1027 test/btyacc/calc_code_imports.tab.c,
1028 test/btyacc/calc_code_provides.tab.c,
1029 test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c,
1030 test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c,
1031 test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c,
1032 test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c,
1033 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
1034 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
1035 test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c,
1036 btyaccpar.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c,
1037 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
1038 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
1039 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
1040 test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax11.tab.c,
1041 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
1042 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
1043 test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c,
1044 test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c,
1045 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
1046 test/yacc/quote_calc.tab.c, test/yacc/calc.tab.c,
1047 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
1048 test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c,
1049 test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c,
1050 test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c,
1051 test/yacc/code_calc.code.c, test/yacc/code_error.code.c,
1052 test/yacc/defines1.calc.c, test/yacc/defines2.calc.c,
1053 test/yacc/defines3.calc.c, test/yacc/empty.tab.c,
1054 test/yacc/err_syntax10.tab.c, test/yacc/rename_debug.c,
1055 test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c, yaccpar.c:
1056 regen
1057
1058 * btyaccpar.skel, yaccpar.skel: cancel unused assignments
1059
1060 * output.c: gcc warning
1061
1062 * test/run_test.sh, test/run_lint.sh, test/run_make.sh:
1063 shellcheck-warnings
1064
1065 2021-06-19 jannick0
1066
1067 * test/run_test.sh: changes suggested at
1068 https://github.com/jannick0/byacc-snapshots/tree/YYINT-fix-20210520
1069
1070 2021-06-19 Thomas E. Dickey <[email protected]>
1071
1072 * VERSION, package/byacc.spec, package/debian/changelog,
1073 package/mingw-byacc.spec, package/pkgsrc/Makefile:
1074 bump
1075
1076 2021-06-13 Thomas E. Dickey <[email protected]>
1077
1078 * aclocal.m4: resync with my-autoconf
1079
1080 2021-06-04 Thomas E. Dickey <[email protected]>
1081
1082 * config.guess: 2021-06-03
1083 From: Vineet Gupta <[email protected]>
1084 Recognize arc32
1085
1086 This is the 32-bit variant of ARCv3 ISA (which is not compatible with the
1087 32-bit ARCv2 ISA)
1088
1089 | make check
1090 | cd testsuite && bash config-guess.sh && rm uname
1091 | PASS: config.guess checks (136 tests)
1092 | cd testsuite && bash config-sub.sh
1093 | PASS: config.sub checks (864 tests)
1094 | PASS: config.sub idempotency checks (801 tests)
1095 | PASS: config.sub canonicalise each config.guess testcase (136 tests)
1096
1097 * config.guess (arc32:Linux:*:*): Recognize.
1098 * config.sub (arc32): Likewise.
1099 * doc/config.guess.1: Regenerate.
1100 * doc/config.sub.1: Likewise.
1101 * testsuite/config-guess.data: Add a test case for arc32.
1102 * testsuite/config-sub.data (arc32, arc*-elf): Add test cases.
1103
1104 Signed-off-by: Vineet Gupta <[email protected]>
1105 Signed-off-by: Dmitry V. Levin <[email protected]>
1106
1107 * config.sub: 2021-06-03 (repaired)
1108 From: Vineet Gupta <[email protected]>
1109 Recognize arc32
1110
1111 This is the 32-bit variant of ARCv3 ISA (which is not compatible with the
1112 32-bit ARCv2 ISA)
1113
1114 | make check
1115 | cd testsuite && bash config-guess.sh && rm uname
1116 | PASS: config.guess checks (136 tests)
1117 | cd testsuite && bash config-sub.sh
1118 | PASS: config.sub checks (864 tests)
1119 | PASS: config.sub idempotency checks (801 tests)
1120 | PASS: config.sub canonicalise each config.guess testcase (136 tests)
1121
1122 * config.guess (arc32:Linux:*:*): Recognize.
1123 * config.sub (arc32): Likewise.
1124 * doc/config.guess.1: Regenerate.
1125 * doc/config.sub.1: Likewise.
1126 * testsuite/config-guess.data: Add a test case for arc32.
1127 * testsuite/config-sub.data (arc32, arc*-elf): Add test cases.
1128
1129 Signed-off-by: Vineet Gupta <[email protected]>
1130 Signed-off-by: Dmitry V. Levin <[email protected]>
1131
1132 2021-05-26 Thomas E. Dickey <[email protected]>
1133
1134 * config.guess: 2021-05-24
1135 From: Jacob Bachmeyer <[email protected]>
1136 config.guess: manual fixups after previous automatic patch
1137
1138 The tool could not handle command substitutions that span lines, but
1139 fortunately there were only two such substitutions in the script.
1140
1141 The test for which universe is active on Pyramid is rewritten into a
1142 case block because it was the only use of a command substitution as an
1143 argument to the test command, which would require quoting.
1144
1145 * config.guess: Rewrite "if" for Pyramid systems to "case".
1146
1147 * config.guess: 2021-05-24 (repaired)
1148 From: Jacob Bachmeyer <[email protected]>
1149 config.guess: replace POSIX $( ) with classic ` ` throughout
1150
1151 The previous replacement of backticks with POSIX command substitutions
1152 was ill-considered and illogical: this script recognizes many archaic
1153 machine types that probably never had POSIX shells, therefore it needs
1154 to be able to run successfully under pre-POSIX shells.
1155
1156 This patch was generated using the included GNU Awk program.
1157
1158 * config.guess: Revert POSIX command substitutions to classic form.
1159 * patch-6.gawk: Store the tool that produced the automated patch.
1160
1161 2021-05-25 Thomas E. Dickey <[email protected]>
1162
1163 * config.guess: 2021-05-24 (repaired)
1164 From: Jacob Bachmeyer <[email protected]>
1165 config.guess: manual fixup after previous automated patches
1166
1167 This patch provides the special handling for the GNU system. As these
1168 were two small and unique edits, they were not included in the scripts.
1169
1170 This patch also cleans up other minor issues that must be addressed
1171 before reverting to classic command substitutions and updates
1172 "shellcheck" directives to account for changes in this script and the
1173 change in "shellcheck" towards reporting individual portability issues.
1174
1175 * config.guess: 2021-05-24 (repaired)
1176 From: Jacob Bachmeyer <[email protected]>
1177 config.guess: automatic fixups after previous automated patch
1178
1179 This patch was generated using the following command:
1180
1181 sed -i config.guess \
1182 -e '/="[^"]\+"\(-\|$\)/s/="\([^"([:space:])]\+\)"/=\1/' \
1183 -e '/="[^"]\+"[[:alnum:]]/s/="\$\([^([:space:])]\+\)"/=${\1}/' \
1184 -e \
1185 '/\$(echo[^|]\+|/s/\([^[:space:]]\)[[:space:]]*|[[:space:]]*sed/\1 | sed/g'
1186
1187 * config.guess: Remove unneeded quotes in other variable assignments,
1188 standardize spacing for "echo ... | sed" substitutions.
1189
1190 * config.guess: 2021-05-24 (repaired)
1191 From: Jacob Bachmeyer <[email protected]>
1192 config.guess: remove unneeded quotes and factor command substitutions
1193
1194 This is further cleanup and simplifies some constructs that can confuse
1195 Emacs' syntax highlighting while generally reducing required quoting.
1196
1197 This patch was generated using the included GNU Awk program.
1198
1199 * config.guess: Remove unneeded variable quotes and factor out command
1200 substitutions when setting GUESS.
1201 * patch-3.gawk: Store the tool that produced the automated patch.
1202
1203 * config.guess: 2021-05-24 (repaired)
1204 From: Jacob Bachmeyer <[email protected]>
1205 config.guess: manual fixups after previous automatic patch
1206
1207 * config.guess: Adjust a few "leftover" cases that the tool could not
1208 easily recognize and fixes comment indentation in a few other special
1209 cases.
1210
1211 * config.guess: 2021-05-24 (repaired)
1212 From: Jacob Bachmeyer <[email protected]>
1213 config.guess: introduce intermediate variable with uname results
1214
1215 This will allow quoting to be significantly simplified in another
1216 pass through the file.
1217
1218 * config.guess: Introduce GUESS variable to hold results of uname analysis.
1219
1220 * config.guess: 2021-05-24 (repaired)
1221 From: Jacob Bachmeyer <[email protected]>
1222 config.guess: use intermediate variable with uname results
1223
1224 This will allow quoting to be significantly simplified in another
1225 pass through the file.
1226
1227 This patch was generated using the included GNU Awk program.
1228
1229 * config.guess: Use GUESS variable to hold results of uname analysis.
1230 * patch-1.gawk: Store the tool that produced the automated patch.
1231
1232 2021-05-24 Thomas E. Dickey <[email protected]>
1233
1234 * config.guess: 2021-05-24 (repaired)
1235 From: Dmitry V. Levin <[email protected]>
1236 config.guess: fix shellcheck warning SC2154
1237
1238 While, according to Plan 9 documentation, the environment variable
1239 $cputype is set to the name of the kernel's CPU's architecture,
1240 shellcheck warns that cputype is referenced but not assigned.
1241 Be on the safe side and do not use cputype if it is not defined
1242 or empty.
1243
1244 * config.guess (*:Plan9:*:*): Fix shellcheck warning SC2154.
1245
1246 * config.guess: 2021-05-24 (repaired)
1247 From: Dmitry V. Levin <[email protected]>
1248 config.guess: remove redundant quotes in case commands
1249
1250 According to the GNU Autoconf Portable Shell Programming manual,
1251 the Bourne shell does not systematically split variables and back-quoted
1252 expressions, in particular on the right-hand side of assignments and in
1253 the argument of 'case'.
1254
1255 The change is made automatically using the following command:
1256 $ sed -E -i 's/(\<case )"(\$[^"]+)"( in\>)/\1\2\3/' config.guess
1257
1258 * config.guess: Simplify case commands by removing quotes around the
1259 argument.
1260
1261 Suggested-by: Jacob Bachmeyer <[email protected]>
1262
1263 * config.guess: 2021-05-24 (repaired)
1264 From: Dmitry V. Levin <[email protected]>
1265 config.guess: simplify exit status workaround on alphaev67-dec-osf5.1
1266
1267 Commit 29865ea8a5622cdd80b7a69a0afa78004b4cd311 introduced an exit trap
1268 reset before exiting to avoid a spurious non-zero exit status on
1269 alphaev67-dec-osf5.1. Simplify that code a bit by moving the exit trap
1270 reset around.
1271
1272 * config.guess (alpha:OSF1:*:*): Reset exit trap earlier.
1273 * doc/config.guess.1: Regenerate.
1274
1275 2021-05-20 Thomas E. Dickey <[email protected]>
1276
1277 * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
1278 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
1279 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
1280 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
1281 test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c,
1282 test/btyacc/calc_code_default.tab.c,
1283 test/btyacc/calc_code_imports.tab.c,
1284 test/btyacc/calc_code_provides.tab.c,
1285 test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c,
1286 test/btyacc/code_calc.code.c, test/btyacc/code_calc.tab.c,
1287 test/btyacc/code_error.code.c, test/btyacc/code_error.tab.c,
1288 test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c,
1289 test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c,
1290 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
1291 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
1292 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c,
1293 test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c,
1294 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c,
1295 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
1296 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
1297 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
1298 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
1299 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
1300 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
1301 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
1302 test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c,
1303 test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c,
1304 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
1305 test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c,
1306 test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c,
1307 test/yacc/calc_code_provides.tab.c,
1308 test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c,
1309 test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c,
1310 test/yacc/code_error.code.c, test/yacc/code_error.tab.c,
1311 test/yacc/defines1.calc.c, test/yacc/defines2.calc.c,
1312 test/yacc/defines3.calc.c, test/yacc/empty.tab.c,
1313 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c,
1314 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
1315 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
1316 test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c,
1317 test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c,
1318 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
1319 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
1320 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
1321 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
1322 test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c,
1323 test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c,
1324 test/yacc/varsyntax_calc1.tab.c:
1325 regen
1326
1327 * mkpar.c, reader.c: change printf format to allow for long-YYINT
1328
1329 * lalr.c, lr0.c: change type, fix gcc warnings
1330
1331 * verbose.c: change type, fix gcc warnings
1332 also change printf format, to allow for long YYINT
1333
1334 * output.c: change type, fix gcc warnings
1335 also change printf format, to allow for long-YYINT
1336
1337 * package/debian/rules, package/byacc.spec:
1338 change max-table-size to correspond with switch of YYINT from short to int
1339
1340 * defs.h:
1341 change default for MAXTABLE to INT_MAX, like the FreeBSD port.
1342 that requires changing some types to eliminate type-mismatches.
1343
1344 * configure: regen
1345
1346 * VERSION, package/byacc.spec, package/debian/changelog,
1347 package/mingw-byacc.spec, package/pkgsrc/Makefile:
1348 bump
1349
1350 2021-05-01 Thomas E. Dickey <[email protected]>
1351
1352 * aclocal.m4: resync with my-autoconf
1353
1354 2021-04-30 Thomas E. Dickey <[email protected]>
1355
1356 * config.sub: 2021-04-30 (repaired)
1357 From: Maciej W. Rozycki <[email protected]>
1358 config.sub: Handle MIPS R3 and R5 ISA levels with CPU names
1359
1360 Complement binutils commit ae52f4830604 ("Add MIPS r3 and r5 support.")
1361 and recognize MIPS CPU patterns for the R3 and R5 ISA levels, used by
1362 GAS to set defaults.
1363
1364 * config.sub (mipsisa32r3, mipsisa32r3el, mipsisa32r5, mipsisa32r5el,
1365 mipsisa64r3, mipsisa64r3el, mipsisa64r5, mipsisa64r5el): Recognize.
1366 * doc/config.sub.1: Regenerate.
1367 * testsuite/config-sub.data: Add test cases.
1368
1369 Signed-off-by: Dmitry V. Levin <[email protected]>
1370
1371 2021-04-21 Thomas E. Dickey <[email protected]>
1372
1373 * config.guess, config.sub: 2021-04-21 (repaired)
1374 From: Vineet Gupta <[email protected]>
1375 Recognize arc64
1376
1377 This paves way for setting up arc64 software ecosystem.
1378
1379 $ make check
1380 cd testsuite && bash config-guess.sh && rm uname
1381 PASS: config.guess checks (136 tests)
1382 cd testsuite && bash config-sub.sh
1383 PASS: config.sub checks (853 tests)
1384 PASS: config.sub idempotency checks (790 tests)
1385 PASS: config.sub canonicalise each config.guess testcase (136 tests)
1386
1387 * config.guess (arc64:Linux:*:*): Recognize.
1388 * config.sub (arc64): Likewise.
1389 * doc/config.guess.1: Regenerate.
1390 * doc/config.sub.1: Likewise.
1391 * testsuite/config-guess.data: Add a test case for arc64.
1392 * testsuite/config-sub.data (arc64, arc*-elf): Add test cases.
1393
1394 Signed-off-by: Vineet Gupta <[email protected]>
1395 Signed-off-by: Dmitry V. Levin <[email protected]>
1396
1397 2021-04-16 Thomas E. Dickey <[email protected]>
1398
1399 * config.guess: 2021-04-16 (repaired)
1400 From: Purple Rain <[email protected]>
1401 config.guess: add SecBSD support
1402
1403 * config.guess (*:SecBSD:*:*): Recognize.
1404 * doc/config.guess.1: Regenerate.
1405 * testsuite/config-guess.data: Add a test case.
1406
1407 Signed-off-by: Dmitry V. Levin <[email protected]>
1408
1409 * config.sub: 2021-04-16 (repaired)
1410 From: Purple Rain <[email protected]>
1411 config.sub: add SecBSD support
1412
1413 * config.sub (secbsd*): Recognize.
1414 * doc/config.sub.1: Regenerate.
1415 * testsuite/config-sub.data: Add x86_64-secbsd.
1416
1417 Signed-off-by: Dmitry V. Levin <[email protected]>
1418
1419 2021-03-28 Thomas E. Dickey <[email protected]>
1420
1421 * reader.c: ignore bison's "%empty" extension
1422
1423 * reader.c, defs.h:
1424 %debug was a trivial bison "extension", mark it as such
1425
1426 * yacc.1: use italics in a few places where bold was inappropriate
1427
1428 * test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h,
1429 test/btyacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.h,
1430 test/btyacc/inherit1.tab.c, test/btyacc/inherit1.tab.h,
1431 test/btyacc/inherit2.tab.c, test/btyacc/inherit2.tab.h,
1432 test/btyacc/ok_syntax1.tab.c, test/btyacc/ok_syntax1.tab.h,
1433 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit3.tab.h,
1434 test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit4.tab.h,
1435 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h,
1436 test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_demo.tab.h,
1437 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy1.tab.h,
1438 test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy2.tab.h,
1439 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/btyacc_destroy3.tab.h,
1440 test/btyacc/calc1.tab.c, test/btyacc/calc1.tab.h,
1441 test/yacc/varsyntax_calc1.tab.c, test/yacc/varsyntax_calc1.tab.h,
1442 test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h,
1443 test/yacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.h,
1444 test/yacc/calc1.tab.c, test/yacc/calc1.tab.h:
1445 regen
1446
1447 * reader.c:
1448 add union tag to YYSTYPE structure for compatibility with a feature which
1449 bison copied from Solaris yacc (request by Ella Stanforth)
1450
1451 * configure: regen
1452
1453 * config_h.in: update for _Noreturn feature
1454
1455 * aclocal.m4: updated to work with autoheader
1456
1457 * defs.h: apply syntax change needed for _Noreturn keyword
1458
1459 * package/byacc.spec, package/debian/rules: use stdnoreturn
1460
1461 * VERSION, package/byacc.spec, package/debian/changelog,
1462 package/mingw-byacc.spec, package/pkgsrc/Makefile:
1463 bump
1464
1465 2021-03-20 Thomas E. Dickey <[email protected]>
1466
1467 * configure: regen
1468
1469 * aclocal.m4:
1470 resync with my-autoconf (adds --enable-stdnoreturn option)
1471
1472 2021-03-10 Thomas E. Dickey <[email protected]>
1473
1474 * config.sub: 2021-03-10 (repaired)
1475 From: Idan Horo <[email protected]>
1476 config.sub: Add support for SerenityOS
1477
1478 * config.sub (serenity*): Recognize.
1479 * doc/config.sub.1: Regenerate.
1480 * testsuite/config-sub.data: Add i386-serenity.
1481
1482 Signed-off-by: Dmitry V. Levin <[email protected]>
1483
1484 2021-01-25 Thomas E. Dickey <[email protected]>
1485
1486 * config.guess: 2021-01-25 (repaired)
1487 From: Kalamatee <[email protected]>
1488 config.guess: update AROS system detection
1489
1490 * config.guess: Recognize *:AROS:*:*.
1491 * doc/config.guess.1: Regenerate.
1492 * testsuite/config-guess.data: Add test cases.
1493
1494 Signed-off-by: Dmitry V. Levin <[email protected]>
1495
1496 2021-01-19 Thomas E. Dickey <[email protected]>
1497
1498 * config.guess: 2021-01-19 (repaired)
1499 From: M. Levinson <[email protected]>
1500 config.guess: fix shell variable quoting bug
1501
1502 * config.guess (*:NetBSD:*:*): Spell out the full sysctl command twice
1503 instead of using a shell variable.
1504 * doc/config.guess.1: Regenerate.
1505
1506 Fixes: 827c77253b396c07306927b2a4b794a3251c48eb
1507 Signed-off-by: Dmitry V. Levin <[email protected]>
1508
1509 2021-01-09 Thomas E. Dickey <[email protected]>
1510
1511 * package/debian/copyright, VERSION, package/byacc.spec,
1512 package/debian/changelog, package/mingw-byacc.spec,
1513 package/pkgsrc/Makefile:
1514 bump
1515
1516 2021-01-07 Thomas E. Dickey <[email protected]>
1517
1518 * config.sub: 2021-01-08 (repaired)
1519 From: Peixing Xin <[email protected]>
1520 config.sub: recognize four-part configuration name for VxWorks
1521
1522 For example:
1523
1524 armv7m-wrs-vxworks-eabihf
1525 armv7-wrs-vxworks-eabihf
1526 i686-wrs-vxworks-simlinux
1527 i686-wrs-vxworks-simwindows
1528 powerpc-wrs-vxworks-spe
1529 x86_64-wrs-vxworks-simlinux
1530 x86_64-wrs-vxworks-simwindows
1531
1532 * config.sub: Recognize four-part configuration name for VxWorks.
1533 * doc/config.guess.1: Regenerate.
1534 * testsuite/config-sub.data: Add test cases.
1535
1536 Co-authored-by: John Ericson <[email protected]>
1537 Signed-off-by: Dmitry V. Levin <[email protected]>
1538
1539 2021-01-06 Thomas E. Dickey <[email protected]>
1540
1541 * config.sub: 2021-01-07 (repaired)
1542 From: Alan Modra <[email protected]>
1543 config.sub: accept OS of eabi* and gnueabi*
1544
1545 Commit 5e531d391852 broke powerpc-eabivle:
1546
1547 $ ./config.sub powerpc-eabivle
1548 Invalid configuration `powerpc-eabivle': OS `eabivle' not recognized
1549
1550 Also powerpc-eabisim and probably some arm configurations.
1551
1552 * config.sub: Accept OS of eabi* and gnueabi*.
1553 * testsuite/config-sub.data: Add powerpc-eabisim and powerpc-eabivle.
1554
1555 Signed-off-by: Dmitry V. Levin <[email protected]>
1556
1557 2021-01-05 Thomas E. Dickey <[email protected]>
1558
1559 * configure: regen
1560
1561 * aclocal.m4: resync with my-autoconf
1562
1563 2021-01-01 Thomas E. Dickey <[email protected]>
1564
1565 * config.guess, config.sub: 2021-01-01 (repaired)
1566 From: Dmitry V. Levin <[email protected]>
1567 Update copyright years
1568
1569 * config.guess: Update copyright years.
1570 * config.sub: Likewise.
1571 * doc/config.guess.1: Regenerate.
1572 * doc/config.sub.1: Likewise.
1573
1574 2020-12-31 Thomas E. Dickey <[email protected]>
1575
1576 * config.guess, config.sub: 2020-12-31 (repaired)
1577 From: Kito Cheng <[email protected]>
1578 Recognize riscv32be and riscv64be
1579
1580 Recently RISC-V community got patches big-endian support for binutils,
1581 and we'd like to accept that, however before accepting that I think it
1582 would be better to upstream config.sub and config.guess change here :)
1583
1584 It's my check result on Ubuntu 18.04:
1585
1586 $ make check
1587 cd testsuite && bash config-guess.sh && rm uname
1588 PASS: config.guess checks (131 tests)
1589 cd testsuite && bash config-sub.sh
1590 PASS: config.sub checks (830 tests)
1591 PASS: config.sub idempotency checks (767 tests)
1592 PASS: config.sub canonicalise each config.guess testcase (131 tests)
1593
1594 * config.guess (riscv32be:Linux:*:*, riscv64be:Linux:*:*): Recognize.
1595 * config.sub (riscv32be, riscv64be): Likewise.
1596 * doc/config.guess.1: Regenerate.
1597 * doc/config.sub.1: Likewise.
1598 * testsuite/config-guess.data: Add test cases for riscv32be, and riscv64be.
1599 * testsuite/config-sub.data (riscv32be, riscv64be): Add test cases.
1600
1601 Signed-off-by: Dmitry V. Levin <[email protected]>
1602
1603 2020-12-03 Thomas E. Dickey <[email protected]>
1604
1605 * config.guess, config.sub: 2020-12-22 (repaired)
1606 From: Xiaotian Wu <[email protected]>
1607 Recognize loongarch32, loongarch64, and loongarchx32
1608
1609 * config.guess (loongarch32:Linux:*:*, loongarch64:Linux:*:*,
1610 loongarchx32:Linux:*:*): Recognize.
1611 * config.sub (loongarch32, loongarch64, loongarchx32): Likewise.
1612 * doc/config.guess.1: Regenerate.
1613 * doc/config.sub.1: Likewise.
1614 * testsuite/config-guess.data: Add test cases for loongarch32,
1615 loongarch64, and loongarchx32.
1616 * testsuite/config-sub.data (loongarch32, loongarch64, loongarchx32):
1617 Add test cases.
1618
1619 Signed-off-by: Dmitry V. Levin <[email protected]>
1620
1621 2020-12-01 Thomas E. Dickey <[email protected]>
1622
1623 * config.sub: 2020-12-02 (repaired)
1624 From: Dmitry V. Levin <[email protected]>
1625 config.sub: recognize thumbv7*
1626
1627 * config.sub (thumbv7*): Recognize.
1628 * testsuite/config-sub.data (thumbv7): New test.
1629
1630 Reported-by: Karl Berry <[email protected]>
1631 Link: https://lists.gnu.org/archive/html/config-patches/2020-12/msg00001.html
1632
1633 2020-11-30 Thomas E. Dickey <[email protected]>
1634
1635 * install-sh: 2020-11-30
1636
1637 2020-11-19 Thomas E. Dickey <[email protected]>
1638
1639 * config.guess, config.sub: 2020-11-17 (repaired)
1640 From: Dmitry V. Levin <[email protected]>
1641 .gitattributes: specify a custom git merge driver for the ChangeLog file
1642
1643 * config.guess, config.sub: 2020-11-19 (repaired)
1644 From: Dmitry V. Levin <[email protected]>
1645 Update URLs of the latest version of config.guess and config.sub scripts
1646
1647 Prefer cgit URLs over gitweb as the former are usually served faster:
1648 $ time -f %e wget -q 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess'
1649 1.06
1650 $ time -f %e wget -q 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess'
1651 0.73
1652
1653 * config.guess: Prefer cgit URLs over gitweb.
1654 (timestamp): Update.
1655 * config.sub: Likewise.
1656 * doc/config.guess.1: Regenerate.
1657 * doc/config.sub.1: Likewise.
1658
1659 2020-11-06 Thomas E. Dickey <[email protected]>
1660
1661 * config.guess, config.sub: 2020-11-07 (repaired)
1662 From: Ben Elliston <[email protected]>
1663 Update timestamps.
1664
1665 * config.sub: 2020-10-13 (repaired)
1666 From: Ben Elliston <[email protected]>
1667 * config.sub, config.guess: Replace backtick `..` substitutions
1668 with POSIX $(..) command substitutions throughout.
1669 * Makefile (shellcheck): Don't exclude message SC2006.
1670
1671 * config.guess: 2020-10-22 (repaired)
1672 From: Ben Elliston <[email protected]>
1673 * config.sub, config.guess: Replace backtick `..` substitutions
1674 with POSIX $(..) command substitutions throughout.
1675 * Makefile (shellcheck): Don't exclude message SC2006.
1676
1677 2020-10-21 Thomas E. Dickey <[email protected]>
1678
1679 * config.guess: 2020-10-22
1680 From: Rin Okuyama <[email protected]>
1681 * config.guess (*:NetBSD:*:*): Handle aarch64eb.
1682 * testsuite/config-guess.data: Add test cases.
1683
1684 Signed-off-by: Ben Elliston <[email protected]>
1685
1686 2020-10-14 Thomas E. Dickey <[email protected]>
1687
1688 * config.sub: 2020-10-13
1689 From: Ben Elliston <[email protected]>
1690 Fix whitespace problem in config.sub.
1691
1692 2020-10-13 Thomas E. Dickey <[email protected]>
1693
1694 * config.sub: 2020-10-13
1695 From: Ben Elliston <[email protected]>
1696 * config.sub (i*86-pc-os2-emx): Recognise correctly.
1697 * testsuite/config-sub.data: Add OS/2 tests to avoid regressions.
1698
1699 2020-09-26 Thomas E. Dickey <[email protected]>
1700
1701 * config.sub: 2020-09-08
1702 From: Fabrice Fontaine <[email protected]>
1703 * config.sub (uclinux-uclibc*): Fix detection.
1704 * testsuite/config-sub.data: Add a test case to avoid regression.
1705
1706 Signed-off-by: Ben Elliston <[email protected]>
1707
1708 2020-09-22 Thomas E. Dickey <[email protected]>
1709
1710 * closure.c, warshall.c:
1711 fix undefined-behavior diagnosed with gcc -fsanitize=undefined (report by
1712 Alexander Richardson)
1713
1714 2020-09-20 Thomas E. Dickey <[email protected]>
1715
1716 * config.guess: 2020-09-19
1717 From: Bruno Haible <[email protected]>
1718 * config.guess: Don't use 'ldd --version' to determine the presence of
1719 musl libc, as this fails on Alpine Linux 3.10.
1720
1721 Signed-off-by: Ben Elliston <[email protected]>
1722
1723 2020-09-10 Thomas E. Dickey <[email protected]>
1724
1725 * LICENSE: RCS_BASE
1726
1727 * reader.c, output.c: cppcheck -- reduce scope
1728
1729 * defs.h: update to 2.0
1730
1731 * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
1732 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
1733 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
1734 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
1735 test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c,
1736 test/btyacc/calc_code_default.tab.c,
1737 test/btyacc/calc_code_imports.tab.c,
1738 test/btyacc/calc_code_provides.tab.c,
1739 test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c,
1740 test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c,
1741 test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c,
1742 test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c,
1743 test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c,
1744 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
1745 test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c,
1746 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
1747 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax13.tab.c,
1748 test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c,
1749 test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c,
1750 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c,
1751 test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax20.tab.c,
1752 test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c,
1753 test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c,
1754 test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c,
1755 test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c,
1756 test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c,
1757 test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c,
1758 test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c,
1759 test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c,
1760 test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c,
1761 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c,
1762 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
1763 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
1764 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
1765 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
1766 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
1767 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
1768 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
1769 test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c,
1770 test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c,
1771 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
1772 test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c,
1773 test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c,
1774 test/yacc/calc_code_provides.tab.c,
1775 test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c,
1776 test/yacc/code_calc.code.c, test/yacc/code_error.code.c,
1777 test/yacc/defines1.calc.c, test/yacc/defines2.calc.c,
1778 test/yacc/defines3.calc.c, test/yacc/empty.tab.c,
1779 test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c,
1780 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c,
1781 test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c,
1782 test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c,
1783 test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c,
1784 test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c,
1785 test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c,
1786 test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c,
1787 test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c,
1788 test/yacc/err_syntax26.tab.c, test/yacc/err_syntax27.tab.c,
1789 test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c,
1790 test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c,
1791 test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c,
1792 test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c,
1793 test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c,
1794 test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c,
1795 test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c,
1796 test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c,
1797 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c,
1798 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
1799 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
1800 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
1801 test/yacc/rename_debug.c, test/yacc/stdin1.calc.c,
1802 test/yacc/stdin2.calc.c, test/yacc/varsyntax_calc1.tab.c:
1803 update to version 2.0
1804
1805 * reader.c:
1806 improve loop which skips backward through a (possibly nested) sequence of
1807 square-brackets.
1808
1809 * reader.c: simplify a check to quiet a bogus cppcheck-warning
1810
1811 * yacc.1: bump date
1812
1813 * reader.c: add a note about a bogus cppcheck warning
1814
1815 * configure: regen
1816
1817 * configure.in:
1818 always check for gcc attributes, to work around defect in clang's imitation
1819 of this feature
1820
1821 * reader.c: cppcheck -- scope reduction
1822 cppcheck -- eliminate bogus returns after no-return functions
1823
1824 * verbose.c, output.c, mkpar.c, main.c, warshall.c, lr0.c, lalr.c,
1825 graph.c, closure.c:
1826 cppcheck -- scope reduction
1827
1828 * package/debian/compat: quiet compatibility-warning
1829
1830 * yacc.1: use "ASCII" for dashes which are part of proper names
1831
1832 * configure: regen
1833
1834 * configure.in: switch to --enable-warnings, for consistency
1835
1836 * aclocal.m4:
1837 resync with my-autoconf, for compiler-warning fixes with macOS
1838
1839 * VERSION, package/byacc.spec, package/debian/changelog,
1840 package/mingw-byacc.spec, package/pkgsrc/Makefile:
1841 bump
1842
1843 2020-09-07 Thomas E. Dickey <[email protected]>
1844
1845 * config.sub: 2020-09-08
1846 From: Elad Lahav <[email protected]>
1847 * config.sub: Fix regression in QNX recognition.
1848 * testsuite/config-sub.data: Add some test cases.
1849
1850 Signed-off-by: Ben Elliston <[email protected]>
1851
1852 2020-08-16 Thomas E. Dickey <[email protected]>
1853
1854 * config.guess, config.sub: 2020-08-17
1855
1856 2020-06-28 Thomas E. Dickey <[email protected]>
1857
1858 * config.sub: 2020/06/28
1859
1860 2020-06-14 Thomas E. Dickey <[email protected]>
1861
1862 * config.guess: 2020/04/26
1863
1864 2020-03-30 Thomas E. Dickey <[email protected]>
1865
1866 * package/debian/copyright: bump
1867
1868 * test/yacc/grammar.tab.c, test/btyacc/grammar.tab.c, test/grammar.y,
1869 reader.c:
1870 typo found with codespell
1871
1872 * yacc.1: fixes noted in the original report, overlooked in followup
1873
1874 2020-03-30 Bjarni.Ingi.Gislason
1875
1876 * yacc.1: typography/spelling fixes - Debian #955175
1877
1878 2020-03-30 Thomas E. Dickey <[email protected]>
1879
1880 * VERSION, package/byacc.spec, package/debian/changelog,
1881 package/mingw-byacc.spec, package/pkgsrc/Makefile:
1882 bump
1883
1884 2020-03-10 Thomas E. Dickey <[email protected]>
1885
1886 * configure: regen
1887
1888 * aclocal.m4:
1889 resync with my-autoconf, mostly fixes for compiler-warnings
1890
1891 * configure.in: use macro to suppress X-dependency from newer macros
1892
1893 2019-12-20 Thomas E. Dickey <[email protected]>
1894
1895 * config.guess: 2019-12-21
1896
1897 2019-11-25 Tom.Shields
1898
1899 * main.c:
1900 fix an inconsistency between the getopt and non-getopt configuration.
1901 In the former, getopt always used "yacc", not the name of the executable.
1902
1903 2019-11-25 Thomas E. Dickey <[email protected]>
1904
1905 * test/run_make.sh:
1906 suppress bison's -Wyacc warning, which is not useful.
1907
1908 * VERSION, package/byacc.spec, package/debian/changelog,
1909 package/mingw-byacc.spec, package/pkgsrc/Makefile:
1910 bump
1911
1912 2019-11-19 Thomas E. Dickey <[email protected]>
1913
1914 * yacc.1: new version of manpage
1915
1916 * VERSION, package/byacc.spec, package/debian/changelog,
1917 package/mingw-byacc.spec, package/pkgsrc/Makefile:
1918 bump
1919
1920 * yacc.1: document %code
1921
1922 * test/btyacc/calc_code_all.error, test/btyacc/calc_code_all.output,
1923 test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_all.tab.h,
1924 test/btyacc/calc_code_default.error,
1925 test/btyacc/calc_code_default.output,
1926 test/btyacc/calc_code_default.tab.c,
1927 test/btyacc/calc_code_default.tab.h,
1928 test/btyacc/calc_code_imports.error,
1929 test/btyacc/calc_code_imports.output,
1930 test/btyacc/calc_code_imports.tab.c,
1931 test/btyacc/calc_code_imports.tab.h,
1932 test/btyacc/calc_code_provides.error,
1933 test/btyacc/calc_code_provides.output,
1934 test/btyacc/calc_code_provides.tab.c,
1935 test/btyacc/calc_code_provides.tab.h,
1936 test/btyacc/calc_code_requires.error,
1937 test/btyacc/calc_code_requires.output,
1938 test/btyacc/calc_code_requires.tab.c,
1939 test/btyacc/calc_code_requires.tab.h, test/btyacc/calc_code_top.error,
1940 test/btyacc/calc_code_top.output, test/btyacc/calc_code_top.tab.c,
1941 test/btyacc/calc_code_top.tab.h, test/yacc/calc_code_all.tab.c,
1942 test/yacc/calc_code_all.tab.h, test/yacc/calc_code_default.tab.c,
1943 test/yacc/calc_code_provides.tab.c,
1944 test/yacc/calc_code_provides.tab.h, test/yacc/calc_code_requires.tab.c,
1945 test/yacc/calc_code_requires.tab.h, test/yacc/calc_code_top.tab.c:
1946 RCS_BASE
1947
1948 * output.c:
1949 amend updates for 'outline' when processing "%code" in code-file
1950
1951 * output.c:
1952 modify output_code_lines() to show begin/end block comments which were in
1953 reader.c, and to generate a #line for the code-file.
1954
1955 * reader.c:
1956 modify copy_code() to allow for multiple %code directives for a given
1957 section, recording the input line-number for each directive as a #line
1958 in the resulting string. remove the block start/end comments, since those
1959 will be done for a whole section in output.c
1960
1961 * mstring.c, defs.h: add msrenew()
1962
1963 * test/yacc/calc_code_all.error, test/yacc/calc_code_all.output,
1964 test/yacc/calc_code_default.error, test/yacc/calc_code_default.output,
1965 test/yacc/calc_code_default.tab.h, test/yacc/calc_code_imports.error,
1966 test/yacc/calc_code_imports.output, test/yacc/calc_code_imports.tab.c,
1967 test/yacc/calc_code_imports.tab.h, test/yacc/calc_code_provides.error,
1968 test/yacc/calc_code_provides.output,
1969 test/yacc/calc_code_requires.error,
1970 test/yacc/calc_code_requires.output, test/yacc/calc_code_top.error,
1971 test/yacc/calc_code_top.output, test/yacc/calc_code_top.tab.h:
1972 RCS_BASE
1973
1974 2019-11-18 Thomas E. Dickey <[email protected]>
1975
1976 * test/calc_code_imports.y, test/calc_code_all.y,
1977 test/calc_code_default.y, test/calc_code_top.y,
1978 test/calc_code_provides.y, test/calc_code_requires.y:
1979 RCS_BASE
1980
1981 2019-11-04 Michael.Forney
1982
1983 * defs.h: add missing "extern" for new variable "code_lines"
1984
1985 2019-11-03 Thomas E. Dickey <[email protected]>
1986
1987 * main.c: build-fix for MinGW cross-compiling
1988
1989 * output.c, reader.c: gcc-warnings
1990
1991 * output.c: check validity of text_file before rewind
1992 remove redundant check of iflag
1993
1994 * main.c: fix memory-leak reported by clang
1995
1996 * mkpar.c: guard against a null-reference reported by clang (unlikely)
1997
1998 * reader.c: fix two coverity warnings:
1999 a) resource leak on malloc-failure
2000 b) possible null-pointer dereference on parse-error
2001
2002 * test/btyacc/err_inherit4.tab.h, test/btyacc/btyacc_demo.tab.h: regen
2003
2004 * defs.h: use enum's to simplify recent change
2005
2006 * mstring.c:
2007 enable mstring() in regular byacc, since Zoulas' change relies upon it
2008
2009 2019-11-03 Christos Zoulas <[email protected]>
2010
2011 * defs.h, reader.c, output.c: add support for bison's "%code" feature
2012 also fix a small bug: declare YYLTYPE externally when producing locations
2013
2014 2019-11-03 Thomas E. Dickey <[email protected]>
2015
2016 * test/btyacc/help.error, test/btyacc/no_b_opt.error,
2017 test/btyacc/no_output2.error, test/btyacc/no_p_opt.error,
2018 test/yacc/help.error, test/yacc/no_b_opt.error,
2019 test/yacc/no_output2.error, test/yacc/no_p_opt.error:
2020 regen
2021
2022 * test/run_test.sh:
2023 there's no standard wording for the options-errors from getopt;
2024 filter that to "error message" in the test reference files.
2025
2026 * main.c:
2027 provide for using getopt(), to accommodate a case where developers have
2028 relied upon non-POSIX behavior.
2029
2030 * test/run_test.sh:
2031 getopt's messages do not print the full pathname of yacc in some cases;
2032 adjust the sed-script which changes those to "YACC"
2033
2034 * configure: regen
2035
2036 * config_h.in: regen, using autoheader-252
2037
2038 * configure.in: add configure check for getopt
2039
2040 * configure: regen
2041
2042 * aclocal.m4:
2043 resync with my-autoconf adds a fix which accommodates a difference in
2044 warning options between gcc/clang when --enable-warnings is not set.
2045
2046 * VERSION, package/byacc.spec, package/debian/changelog,
2047 package/mingw-byacc.spec, package/pkgsrc/Makefile:
2048 bump
2049
2050 2019-09-11 Thomas E. Dickey <[email protected]>
2051
2052 * config.guess, config.sub: 2019-09-10
2053
2054 2019-06-17 Thomas E. Dickey <[email protected]>
2055
2056 * test/btyacc/big_b.error, test/btyacc/big_l.error,
2057 test/btyacc/help.error, test/btyacc/no_b_opt.error,
2058 test/btyacc/no_output2.error, test/btyacc/no_p_opt.error,
2059 test/btyacc/nostdin.error, test/yacc/big_b.error,
2060 test/yacc/big_l.error, test/yacc/help.error, test/yacc/no_b_opt.error,
2061 test/yacc/no_output2.error, test/yacc/no_p_opt.error,
2062 test/yacc/nostdin.error:
2063 regen
2064
2065 * test/run_test.sh: test "-H" rather than "-D"
2066
2067 2019-06-16 Thomas E. Dickey <[email protected]>
2068
2069 * main.c, yacc.1:
2070 change "-D" option to "-H" (discussion with Ethan Sommer)
2071
2072 * VERSION, package/byacc.spec, package/debian/changelog,
2073 package/mingw-byacc.spec, package/pkgsrc/Makefile:
2074 bump
2075
2076 * test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c,
2077 test/btyacc/defines3.calc.c:
2078 RCS_BASE
2079
2080 * test/run_test.sh: in test_defines, save the ".c" file too
2081
2082 * test/yacc/defines3.calc.c, test/yacc/defines2.calc.c,
2083 test/yacc/defines1.calc.c:
2084 RCS_BASE
2085
2086 * test/run_test.sh:
2087 output of test_defines should be a header ".h", not ".c"
2088
2089 * test/btyacc/defines1.calc.h, test/btyacc/defines1.error,
2090 test/btyacc/defines1.output, test/btyacc/defines2.calc.h,
2091 test/btyacc/defines2.error, test/btyacc/defines2.output,
2092 test/btyacc/defines3.calc.h, test/btyacc/defines3.error,
2093 test/btyacc/defines3.output:
2094 RCS_BASE
2095
2096 * main.c: however, a subsequent -d cancels -D
2097
2098 * test/yacc/defines1.calc.h, test/yacc/defines3.calc.h: RCS_BASE
2099
2100 * main.c: -D option implies -d
2101
2102 * test/yacc/defines1.error, test/yacc/defines1.output,
2103 test/yacc/defines2.calc.h, test/yacc/defines2.error,
2104 test/yacc/defines2.output, test/yacc/defines3.error,
2105 test/yacc/defines3.output:
2106 RCS_BASE
2107
2108 * yacc.1: align macro definitions with my other manpages
2109
2110 * test/run_test.sh: add test for -D after -d or -b options
2111
2112 * test/btyacc/stdin1.calc.c, test/btyacc/stdin1.error,
2113 test/btyacc/stdin1.output, test/btyacc/stdin2.calc.c,
2114 test/btyacc/stdin2.error, test/btyacc/stdin2.output:
2115 RCS_BASE
2116
2117 * test/btyacc/big_b.error, test/btyacc/big_b.output,
2118 test/btyacc/big_l.error, test/btyacc/big_l.output,
2119 test/btyacc/help.error, test/btyacc/help.output,
2120 test/btyacc/no_b_opt.error, test/btyacc/no_b_opt.output,
2121 test/btyacc/no_b_opt1.error, test/btyacc/no_b_opt1.output,
2122 test/btyacc/no_code_c.error, test/btyacc/no_code_c.output,
2123 test/btyacc/no_defines.error, test/btyacc/no_defines.output,
2124 test/btyacc/no_graph.error, test/btyacc/no_graph.output,
2125 test/btyacc/no_include.error, test/btyacc/no_include.output,
2126 test/btyacc/no_opts.error, test/btyacc/no_opts.output,
2127 test/btyacc/no_output.error, test/btyacc/no_output.output,
2128 test/btyacc/no_output1.error, test/btyacc/no_output1.output,
2129 test/btyacc/no_output2.error, test/btyacc/no_output2.output,
2130 test/btyacc/no_p_opt.error, test/btyacc/no_p_opt.output,
2131 test/btyacc/no_p_opt1.error, test/btyacc/no_p_opt1.output,
2132 test/btyacc/no_verbose.error, test/btyacc/no_verbose.output,
2133 test/btyacc/nostdin.error, test/btyacc/nostdin.output,
2134 test/yacc/big_b.error, test/yacc/big_b.output, test/yacc/big_l.error,
2135 test/yacc/big_l.output, test/yacc/help.error, test/yacc/help.output,
2136 test/yacc/no_b_opt.error, test/yacc/no_b_opt.output,
2137 test/yacc/no_b_opt1.error, test/yacc/no_b_opt1.output,
2138 test/yacc/no_code_c.error, test/yacc/no_code_c.output,
2139 test/yacc/no_defines.error, test/yacc/no_defines.output,
2140 test/yacc/no_graph.error, test/yacc/no_graph.output,
2141 test/yacc/no_include.error, test/yacc/no_include.output,
2142 test/yacc/no_opts.error, test/yacc/no_opts.output,
2143 test/yacc/no_output.error, test/yacc/no_output.output,
2144 test/yacc/no_output1.error, test/yacc/no_output1.output,
2145 test/yacc/no_output2.error, test/yacc/no_output2.output,
2146 test/yacc/no_p_opt.error, test/yacc/no_p_opt.output,
2147 test/yacc/no_p_opt1.error, test/yacc/no_p_opt1.output,
2148 test/yacc/no_verbose.error, test/yacc/no_verbose.output,
2149 test/yacc/nostdin.error, test/yacc/nostdin.output:
2150 regen
2151
2152 * test/run_test.sh:
2153 add a test for stdin "-" vs end-options "--", and correct a redirection
2154 of stderr in test_flags
2155
2156 * test/yacc/stdin2.output, test/yacc/stdin2.calc.c,
2157 test/yacc/stdin1.calc.c, test/yacc/stdin1.error,
2158 test/yacc/stdin1.output, test/yacc/stdin2.error:
2159 RCS_BASE
2160
2161 * test/btyacc/big_b.output, test/btyacc/big_l.output,
2162 test/btyacc/help.output, test/btyacc/no_b_opt.output,
2163 test/btyacc/no_output2.output, test/btyacc/no_p_opt.output,
2164 test/btyacc/nostdin.output, test/yacc/big_b.output,
2165 test/yacc/big_l.output, test/yacc/help.output,
2166 test/yacc/no_b_opt.output, test/yacc/no_output2.output,
2167 test/yacc/no_p_opt.output, test/yacc/nostdin.output:
2168 regen
2169
2170 * main.c: add -D option, to specify filename vs y.tab.h for -d
2171
2172 * defs.h: add dflag2, for -D option
2173
2174 * yacc.1: document -D option
2175
2176 * config_h.in: updated with autoheader-252
2177
2178 * configure: regen
2179
2180 * package/debian/copyright: bump
2181
2182 * aclocal.m4: add CF_GETOPT_HEADER
2183
2184 * aclocal.m4: Improved autoconf macros:
2185 + CF_CC_ENV_FLAGS
2186 putting preprocessor flags in CFLAGS also is a nuisance, which can be
2187 addressed in the same way.
2188 + CF_GCC_WARNINGS
2189 factor out workaround for XTSTRINGDEFINES as CF_CONST_X_STRING
2190 + CF_GNU_SOURCE
2191 The check for _DEFAULT_SOURCE should apply to "recent" Cygwin (since early 2016),
2192 and except for "NEWLIB" vs "GLIBC" in the test, acts the same if I pretend
2193 that "newlib" is the GNU C library. Without this, the check falls through
2194 to the _XOPEN_SOURCE test, which breaks the pseudoterminal checks for xterm.
2195 + CF_POSIX_C_SOURCE
2196 add/use CF_POSIX_VISIBLE
2197 + CF_TRY_XOPEN_SOURCE
2198 use CF_APPEND_TEXT
2199 + CF_WITH_MAN2HTML
2200 use sed to work around non-POSIX tail utility
2201 + CF_XOPEN_SOURCE
2202 use CF_APPEND_TEXT
2203 add/use CF_POSIX_VISIBLE
2204
2205 * VERSION, package/byacc.spec, package/debian/changelog,
2206 package/mingw-byacc.spec, package/pkgsrc/Makefile:
2207 bump
2208
2209 2019-06-10 Thomas E. Dickey <[email protected]>
2210
2211 * config.guess: 2019-06-10
2212
2213 2019-05-22 Thomas E. Dickey <[email protected]>
2214
2215 * config.sub: 2019-05-22
2216
2217 2018-06-09 Thomas E. Dickey <[email protected]>
2218
2219 * yacc.1: minor typographical fixes
2220
2221 * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c,
2222 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c,
2223 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
2224 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
2225 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
2226 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
2227 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
2228 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
2229 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
2230 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c,
2231 test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c,
2232 test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c,
2233 test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c,
2234 test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c,
2235 test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c,
2236 test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c,
2237 test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c,
2238 test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c,
2239 test/btyacc/err_syntax18.tab.c, test/btyacc/rename_debug.c, btyaccpar.c:
2240 regen
2241
2242 * VERSION, package/byacc.spec, package/debian/changelog,
2243 package/mingw-byacc.spec, package/pkgsrc/Makefile:
2244 bump
2245
2246 2018-06-09 Tom.Shields
2247
2248 * btyaccpar.skel:
2249 add casts to fix g++ (clang++) compile errors in the backtracking skeleton
2250 due to assignment of ‘void *’ to another pointer type.
2251
2252 2018-05-25 Thomas E. Dickey <[email protected]>
2253
2254 * test/run_make.sh:
2255 check if this is bison 3+ before adding options to suppress warnings
2256
2257 * package/byacc.spec: build-fix for Mageia 6
2258
2259 * package/byacc.spec: add btyacc package
2260
2261 * VERSION, package/byacc.spec, package/debian/changelog,
2262 package/mingw-byacc.spec, package/pkgsrc/Makefile:
2263 bump
2264
2265 * package/debian/control: add a package for btyacc
2266
2267 * package/debian/rules: generate a package for btyacc
2268
2269 2018-05-24 Thomas E. Dickey <[email protected]>
2270
2271 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
2272 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
2273 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
2274 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
2275 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
2276 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/code_error.code.c,
2277 test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c,
2278 test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c,
2279 test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c,
2280 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c,
2281 test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c,
2282 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
2283 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c,
2284 test/btyacc/ok_syntax1.tab.c, btyaccpar.c,
2285 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
2286 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
2287 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
2288 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
2289 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
2290 test/btyacc/rename_debug.c:
2291 regen
2292
2293 * btyaccpar.skel: fix typo
2294
2295 2018-05-21 Thomas E. Dickey <[email protected]>
2296
2297 * test/run_make.sh:
2298 ignore case for "%" directives to skip with old-yacc, and add %token-table
2299 to the list
2300
2301 * btyaccpar.c: regen
2302
2303 2018-05-21 Christos Zoulas <[email protected]>
2304
2305 * btyaccpar.skel:
2306 improve compatibility with bison by changing the YYLLOC_DEFAULT macro to use
2307 YYRHSLOC() macro, and adjusting the array indices of yyerror_loc_range[] for
2308 consistency.
2309
2310 2018-05-10 Thomas E. Dickey <[email protected]>
2311
2312 * output.c:
2313 add a fallback definition for YYDEBUG to the -i externs file.
2314
2315 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
2316
2317 * VERSION, package/byacc.spec, package/debian/changelog,
2318 package/mingw-byacc.spec, package/pkgsrc/Makefile:
2319 bump
2320
2321 2018-05-09 Thomas E. Dickey <[email protected]>
2322
2323 * configure: regen
2324
2325 * aclocal.m4: resync with my-autoconf
2326
2327 * VERSION, package/byacc.spec, package/debian/changelog,
2328 package/mingw-byacc.spec, package/pkgsrc/Makefile:
2329 bump
2330
2331 * test/btyacc/rename_debug.i, btyaccpar.c,
2332 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
2333 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
2334 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
2335 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
2336 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
2337 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
2338 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
2339 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
2340 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c,
2341 test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c,
2342 test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c,
2343 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
2344 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
2345 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
2346 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
2347 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
2348 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
2349 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
2350 test/btyacc/rename_debug.c, test/btyacc/varsyntax_calc1.tab.c:
2351 regen
2352
2353 * btyaccpar.skel: apply Guy Harris' changes here as well
2354
2355 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
2356
2357 * output.c: correct/improve fallback prototype for yylex()
2358
2359 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
2360
2361 2018-05-08 Thomas E. Dickey <[email protected]>
2362
2363 * test/btyacc/grammar.tab.c, test/yacc/grammar.tab.c: regen
2364
2365 * test/grammar.y:
2366 quiet some warnings from gcc 7 when doing "make check_make"
2367
2368 * package/debian/watch, package/pkgsrc/Makefile: update ftp-url
2369
2370 * test/btyacc/ok_syntax1.tab.h, test/btyacc/btyacc_calc1.tab.h: regen
2371
2372 * output.c:
2373 provide yylex() declaration for simple case (request by "Mutiny")
2374
2375 * test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
2376 test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c,
2377 test/yacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.h,
2378 test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c,
2379 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c,
2380 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
2381 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
2382 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
2383 test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c,
2384 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
2385 test/yacc/code_calc.code.c, test/yacc/code_error.code.c,
2386 test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c,
2387 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c,
2388 test/yacc/err_syntax18.tab.c, test/yacc/rename_debug.c,
2389 test/yacc/rename_debug.i, yaccpar.c:
2390 regen
2391
2392 * VERSION, package/byacc.spec, package/debian/changelog,
2393 package/debian/copyright, package/mingw-byacc.spec,
2394 package/pkgsrc/Makefile:
2395 bump
2396
2397 2018-05-06 Guy.Harris
2398
2399 * yaccpar.skel: two fixes:
2400 1) define yydebug only if YYDEBUG is defined and
2401 2) make yynerrs a parser-local variable if the parser is reentrant.
2402
2403 2018-02-24 Guy.Harris
2404
2405 * output.c: do not emit "extern YYSTYPE yylval;" for pure parsers
2406
2407 2018-02-05 Thomas E. Dickey <[email protected]>
2408
2409 * config.sub: 2018-01-15
2410
2411 * config.guess: 2018-01-26
2412
2413 2017-12-04 erik.b.andersen
2414
2415 * main.c: A proper path for temporary files is needed by byacc under
2416 Windows commandline, otherwise there's a risk of empty files.
2417 The TEMP environment variable is always defined in Windows.
2418
2419 * defs.h: The noreturn attribute needs to be specified before function
2420 to be portable among compilers (gcc, clang, msvc).
2421
2422 2017-12-04 Thomas E. Dickey <[email protected]>
2423
2424 * reader.c: adapted fix by Erik B:
2425 a) increase the length of name[] to account for a trailing null
2426 b) note that calling syntax_error() from get_number() does not return
2427
2428 2017-09-14 Tom.Shields
2429
2430 * yacc.1: fix typo
2431
2432 2017-07-09 Thomas E. Dickey <[email protected]>
2433
2434 * package/byacc.spec, package/mingw-byacc.spec:
2435 use predefined "configure"
2436
2437 * reader.c: remove unused assignment
2438
2439 * package/debian/rules: use dpkg-buildflags
2440
2441 * configure: regen
2442
2443 * aclocal.m4: resync with my-autoconf
2444
2445 * reader.c, output.c, defs.h:
2446 add/use IS_NAME1() and IS_NAME2() to reduce clutter
2447
2448 * reader.c, output.c, defs.h:
2449 guard against sign-extension in ctype-macros
2450
2451 * VERSION, package/byacc.spec, package/debian/changelog,
2452 package/mingw-byacc.spec, package/pkgsrc/Makefile:
2453 bump
2454
2455 * reader.c: check for numeric overflow in get_number()
2456
2457 * reader.c:
2458 correct limit-checks for input filename and line-number, in case no valid
2459 filename and/or number was found.
2460
2461 2017-04-30 Thomas E. Dickey <[email protected]>
2462
2463 * test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc2-s.tab.c,
2464 test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c,
2465 test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c,
2466 test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c,
2467 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c,
2468 test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c,
2469 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
2470 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c,
2471 test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c,
2472 test/btyacc/pure_error.tab.c, test/btyacc/quote_calc.tab.c,
2473 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
2474 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
2475 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
2476 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
2477 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
2478 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
2479 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
2480 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
2481 test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c,
2482 btyaccpar.c, btyaccpar.skel:
2483 fix another uninitialized variable warning in "make check_make" for btyacc
2484
2485 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
2486 test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_calc1.tab.c,
2487 test/btyacc/calc3.tab.c, btyaccpar.c, btyaccpar.skel,
2488 test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c,
2489 test/yacc/pure_error.tab.c, test/yacc/calc3.tab.c, yaccpar.c, defs.h,
2490 yaccpar.skel, output.c:
2491 fix some compiler warnings for "make check_make" by adding section init_vars,
2492 which initializes the body_vars for pure-parser configuration.
2493
2494 2017-04-30 Tom.Shields
2495
2496 * output.c:
2497 use YY_NO_LEAKS set in configure --with-no-leaks, in the generated code
2498
2499 2017-04-30 Julien.Ramseier
2500
2501 * main.c, test/yacc/big_l.output:
2502 fix typo in unsupported-flag warning message
2503
2504 2017-04-30 Thomas E. Dickey <[email protected]>
2505
2506 * VERSION, package/byacc.spec, package/debian/changelog,
2507 package/mingw-byacc.spec, package/pkgsrc/Makefile:
2508 bump
2509
2510 2017-04-29 Thomas E. Dickey <[email protected]>
2511
2512 * config.sub: 2017-04-02
2513
2514 2017-03-18 Thomas E. Dickey <[email protected]>
2515
2516 * config.sub: 2017-02-07
2517
2518 * config.guess: 2017-03-05
2519
2520 2017-02-01 Thomas E. Dickey <[email protected]>
2521
2522 * test/btyacc/expr.oxout.error, test/btyacc/expr.oxout.output,
2523 test/btyacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.h,
2524 test/yacc/expr.oxout.error, test/yacc/expr.oxout.output,
2525 test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h:
2526 RCS_BASE
2527
2528 * package/debian/copyright: update copyright
2529
2530 * reader.c, defs.h, main.c:
2531 avoid using regex.h since some low-end platforms do not have this
2532
2533 * test/expr.oxout.y: RCS_BASE
2534
2535 * configure: regen
2536
2537 * aclocal.m4: quiet a strict gcc warning in CF_MKSTEMP
2538
2539 2017-02-01 Tom.Shields
2540
2541 * main.c, reader.c, defs.h:
2542 process #line directives, like bison and flex
2543
2544 2017-02-01 Thomas E. Dickey <[email protected]>
2545
2546 * VERSION, package/byacc.spec, package/debian/changelog,
2547 package/mingw-byacc.spec, package/pkgsrc/Makefile:
2548 bump
2549
2550 2016-12-31 Thomas E. Dickey <[email protected]>
2551
2552 * config.guess, config.sub: 2017-01-01
2553
2554 2016-12-02 Thomas E. Dickey <[email protected]>
2555
2556 * test/btyacc/quote_calc4-s.tab.c, test/btyacc/varsyntax_calc1.tab.c,
2557 test/btyacc/error.tab.c, test/btyacc/grammar.tab.c,
2558 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
2559 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
2560 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
2561 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
2562 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
2563 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
2564 test/btyacc/quote_calc4.tab.c, test/btyacc/calc.tab.c,
2565 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
2566 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
2567 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
2568 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
2569 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
2570 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c,
2571 test/btyacc/err_syntax20.tab.c, test/btyacc/rename_debug.c,
2572 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
2573 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
2574 test/btyacc/btyacc_destroy3.tab.c, btyaccpar.c:
2575 regen
2576
2577 * btyaccpar.skel: changes from NetBSD
2578 + use YYINT rather than short in btyaccpar.skel
2579 (some of this had already been done by Tom Shields)
2580 + remove some casts of malloc/realloc
2581
2582 * yaccpar.c, yaccpar.skel, output.c: changes from NetBSD
2583 - Add some more bison stuff to make the mesa/gallium parser work:
2584 %initial-action (add missing source struct member in location)
2585 %debug (unimplemented)
2586 %error-verbose (unimplemented)
2587
2588 This changes some existing code:
2589 + yylloc is now a pointer, so
2590 + the first parameter to YYERROR_DECL() is a pointer
2591 + struct YYLTYPE now has a "source" field
2592
2593 * test/btyacc/btyacc_demo.tab.h, test/btyacc/code_calc.tab.c,
2594 test/btyacc/code_error.tab.c, test/btyacc/err_inherit4.tab.h:
2595 regen
2596
2597 * btyaccpar.c, btyaccpar.skel, reader.c: changes from NetBSD
2598 - Add some more bison stuff to make the mesa/gallium parser work:
2599 %initial-action (add missing source struct member in location)
2600 %debug (unimplemented)
2601 %error-verbose (unimplemented)
2602
2603 This changes some existing code:
2604 + yylloc is now a pointer, so
2605 + the first parameter to YYERROR_DECL() is a pointer
2606 + struct YYLTYPE now has a "source" field
2607
2608 * reader.c:
2609 fix from NetBSD: correct off-by-one when adding a null in copy_param()
2610
2611 * reader.c: adapted from NetBSD
2612 - Convert *most* error fingerprints to:
2613 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
2614 +unterminated_arglist(const struct ainfo *a)
2615 - Cast new <ctype.h> args to unsigned char
2616
2617 * defs.h: changes from NetBSD
2618 - Add some more bison stuff to make the mesa/gallium parser work:
2619 %initial-action (add missing source struct member in location)
2620 %debug (unimplemented)
2621 %error-verbose (unimplemented)
2622
2623 This changes some existing code:
2624 + yylloc is now a pointer, so
2625 + the first parameter to YYERROR_DECL() is a pointer
2626 + struct YYLTYPE now has a "source" field
2627
2628 * defs.h: adapted from NetBSD
2629 - Convert *most* error fingerprints to:
2630 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
2631 +unterminated_arglist(const struct ainfo *a)
2632 - Cast new <ctype.h> args to unsigned char
2633
2634 * main.c: changes from NetBSD
2635 - Add some more bison stuff to make the mesa/gallium parser work:
2636 %initial-action (add missing source struct member in location)
2637 %debug (unimplemented)
2638 %error-verbose (unimplemented)
2639
2640 This changes some existing code:
2641 + yylloc is now a pointer, so
2642 + the first parameter to YYERROR_DECL() is a pointer
2643 + struct YYLTYPE now has a "source" field
2644
2645 * error.c: adapted from NetBSD
2646 - Convert *most* error fingerprints to:
2647 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
2648 +unterminated_arglist(const struct ainfo *a)
2649 - Cast new <ctype.h> args to unsigned char
2650
2651 * mstring.c: adapted change from NetBSD to add casts for ctype macros
2652
2653 * test/btyacc/btyacc_demo.tab.h, test/btyacc/err_inherit4.tab.h: regen
2654
2655 * output.c: reorder to eliminate a forward-reference
2656
2657 2016-12-02 Tom.Shields
2658
2659 * output.c:
2660 modify output to enable compilation of a lexer generated by flex (using
2661 "%option bison-bridge" and "%option bison-locations") to be used with a parser
2662 generated by b(t)yacc (using directives "%locations" and "%pure-parser").
2663
2664 2016-12-02 Thomas E. Dickey <[email protected]>
2665
2666 * configure: regen
2667
2668 * aclocal.m4: Improved autoconf macros
2669 CF_CC_ENV_FLAGS
2670 + improve split between compiler and options, prompted by report where user
2671 had "ccache" before the compiler
2672 + leave non-preprocessor options in "$CC" (but still copy them to "$CFLAGS"
2673 since that's where they should be)
2674 CF_GNU_SOURCE,v
2675 + recent glibc (Debian 2.23-4 for example) has misordered ifdef/checks for new
2676 symbol _DEFAULT_SOURCE, producing warning messages when only _GNU_SOURCE is
2677 defined. Add a followup check to define _DEFAULT_SOURCE.
2678 CF_XOPEN_SOURCE
2679 + add "uclinux" to list of Linux's (patch by Yann E. Morin)
2680 + use _GNU_SOURCE for cygwin headers
2681 + build-fixes for OS/2
2682
2683 * VERSION, package/byacc.spec, package/debian/changelog,
2684 package/mingw-byacc.spec, package/pkgsrc/Makefile:
2685 bump
2686
2687 2016-11-20 Thomas E. Dickey <[email protected]>
2688
2689 * config.sub: 2016-11-19
2690
2691 * config.guess: 2016-10-02
2692
2693 2016-06-06 Thomas E. Dickey <[email protected]>
2694
2695 * configure: regen
2696
2697 * aclocal.m4: improved autoconf macros:
2698 CF_CC_ENV_FLAGS - don't limit the check to -I, -U and -D options, since the
2699 added options can include various compiler options before and after
2700 preprocessor options.
2701 CF_PROG_LINT - add cpplint to programs to use; drop ad hoc tdlint and alint.
2702
2703 * VERSION, package/byacc.spec, package/debian/changelog,
2704 package/mingw-byacc.spec, package/pkgsrc/Makefile:
2705 bump
2706
2707 * lalr.c: indented
2708
2709 * btyaccpar.c: regen
2710
2711 * skel2c:
2712 adjust whitespace so that generated skeleton will follow the same format
2713 as other code
2714
2715 * mkpar.c, verbose.c, lr0.c, reader.c, error.c, output.c: indented
2716
2717 * reader.c: fix two compiler warnings
2718
2719 * test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
2720 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
2721 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
2722 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
2723 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
2724 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
2725 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax12.tab.c,
2726 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c,
2727 test/btyacc/error.tab.c, test/btyacc/grammar.tab.c,
2728 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
2729 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
2730 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
2731 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
2732 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
2733 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
2734 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
2735 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
2736 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
2737 test/btyacc/rename_debug.c, btyaccpar.c,
2738 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
2739 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
2740 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
2741 test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax20.tab.c,
2742 test/yacc/error.tab.c, test/yacc/grammar.tab.c,
2743 test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c,
2744 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
2745 test/yacc/quote_calc.tab.c, test/yacc/calc.tab.c,
2746 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
2747 test/yacc/code_calc.code.c, test/yacc/code_error.code.c,
2748 test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c,
2749 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c,
2750 test/yacc/err_syntax18.tab.c, test/yacc/rename_debug.c, yaccpar.c:
2751 regen
2752
2753 2016-06-06 Tom.Shields
2754
2755 * btyaccpar.skel, yaccpar.skel:
2756 small fix for an edge case of initialized data in Chris Dodd's btyacc changes:
2757 "Avoid crash when input pops up an Action error at the first token"
2758
2759 2016-06-01 Thomas E. Dickey <[email protected]>
2760
2761 * test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc3-s.tab.c,
2762 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
2763 test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c,
2764 test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c,
2765 test/yacc/err_syntax24.error, test/yacc/error.tab.c,
2766 test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c,
2767 test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c,
2768 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c,
2769 test/yacc/quote_calc2.tab.c, test/yacc/calc.tab.c,
2770 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
2771 test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c,
2772 test/yacc/code_calc.tab.h, test/yacc/code_error.code.c,
2773 test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c,
2774 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c,
2775 test/yacc/rename_debug.c, yaccpar.c, test/btyacc/quote_calc-s.tab.c,
2776 test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c,
2777 test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c,
2778 test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c,
2779 test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c,
2780 test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c,
2781 test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c,
2782 test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c,
2783 test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c,
2784 test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c,
2785 test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c,
2786 test/btyacc/err_syntax24.error, test/btyacc/err_syntax24.tab.c,
2787 test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c,
2788 test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c,
2789 test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c,
2790 test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c,
2791 test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c,
2792 test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c,
2793 test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c,
2794 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
2795 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.output,
2796 test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c,
2797 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
2798 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.error,
2799 test/btyacc/btyacc_demo.output, test/btyacc/btyacc_demo.tab.c,
2800 test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
2801 test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c,
2802 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
2803 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
2804 test/btyacc/code_calc.tab.c, test/btyacc/code_calc.tab.h,
2805 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
2806 test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c,
2807 test/btyacc/err_inherit3.output, test/btyacc/err_inherit3.tab.c,
2808 test/btyacc/err_inherit4.output, test/btyacc/err_inherit4.tab.c,
2809 test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c,
2810 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
2811 test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c, btyaccpar.c:
2812 regen
2813
2814 2016-06-01 Tom.Shields
2815
2816 * btyaccpar.skel, defs.h, error.c, output.c, reader.c, test/code_calc.y,
2817 test/err_inherit4.y, test/run_make.sh, yaccpar.skel:
2818 fixes for issues in btyacc (report by Francis Andre):
2819
2820 + correction to the placement of the #line directive for a %union specification
2821
2822 + recovery of a set of casts originally added into btyaccpar.c rather than into
2823 btyaccpar.skel, and so are lost whenever building from scratch
2824
2825 + Chris Dodd's btyacc improved handling of inherited attributes to eliminate
2826 implicit empty copy rules that are not necessary, and thereby avoiding the
2827 introduction of extra parsing ambiguity
2828
2829 + Chris Dodd's added support for @-N syntax to reference inherited position
2830 information
2831
2832 + correction to bad interaction between %token-table and YYDEBUG, where YYDEBUG
2833 was required to be defined in order to compile the generated code
2834
2835 + correction to yyname[] access in code included with YYDEBUG defined for
2836 single character symbols not recognized (e.g., input containing '&' character
2837 where grammar doesn't define that as a symbol) - map to existing
2838 "illegal-symbol" entry in byname[]
2839
2840 + fixes to test/run_make.sh: skip test-err_* files; in the bison test phase
2841 skip additional files that contain features not supported by bison and
2842 inhibit new bison warning messages
2843
2844 + minor changes to btyaccpar.skel & yaccpar.skel so they are more similar in
2845 their commonality; makes it easier to maintain the pair of files using
2846 vimdiff
2847
2848 + changes to a couple of test cases for coverage of #3, #4 and #5 above
2849
2850 2016-06-01 Thomas E. Dickey <[email protected]>
2851
2852 * VERSION, package/byacc.spec, package/debian/changelog,
2853 package/mingw-byacc.spec, package/pkgsrc/Makefile:
2854 bump
2855
2856 2016-03-24 Thomas E. Dickey <[email protected]>
2857
2858 * reader.c: unused variable
2859
2860 * package/pkgsrc/Makefile, package/debian/copyright: bump
2861
2862 2016-03-24 Jung-uk.Kim
2863
2864 * main.c:
2865 correct logic for finding output suffix in the "-o" option, which matched
2866 the first occurrence of ".c" in the name in 2005-08-13 changes rather than
2867 at the end of the filename (patch by Jung-uk Kim)
2868
2869 2016-03-24 Thomas E. Dickey <[email protected]>
2870
2871 * aclocal.m4:
2872 update CF_WITH_MAN2HTML to use configured shell rather than /bin/sh
2873
2874 * VERSION, package/byacc.spec, package/debian/changelog,
2875 package/mingw-byacc.spec, package/pkgsrc/Makefile:
2876 bump
2877
2878 2016-01-25 Thomas E. Dickey <[email protected]>
2879
2880 * config.guess, config.sub: 2016-01-01
2881
2882 2015-07-10 Thomas E. Dickey <[email protected]>
2883
2884 * lr0.c: fix a duplicate-free in the leak-checking
2885
2886 * VERSION, package/byacc.spec, package/debian/changelog,
2887 package/mingw-byacc.spec, package/pkgsrc/Makefile:
2888 bump
2889
2890 * reader.c:
2891 make cache-size clearer (prompted by discussion with Pedro Giffuni,
2892 Oliver Pinter)
2893
2894 * main.c:
2895 make relationship with format/size clearer (prompted by discussion
2896 with Pedro Giffuni, Oliver Pinter)
2897
2898 2015-07-05 Thomas E. Dickey <[email protected]>
2899
2900 * configure: regen
2901
2902 * package/pkgsrc/Makefile, package/mingw-byacc.spec,
2903 package/debian/copyright, package/debian/changelog,
2904 package/byacc.spec, VERSION:
2905 bump
2906
2907 * aclocal.m4: resync with my-autoconf
2908 add configure option --with-man2html
2909
2910 * makefile.in: add configure options --with-man2html
2911
2912 * configure.in: add configure option --with-man2html
2913
2914 2015-05-02 Thomas E. Dickey <[email protected]>
2915
2916 * config.guess: 2015-03-04
2917
2918 * config.sub: 2015-03-08
2919
2920 2014-11-28 Thomas E. Dickey <[email protected]>
2921
2922 * lr0.c: coverity #39181: memory leak
2923
2924 * VERSION, package/byacc.spec, package/debian/changelog,
2925 package/mingw-byacc.spec, package/pkgsrc/Makefile:
2926 bump
2927
2928 2014-11-13 Jouk.Jansen
2929
2930 * descrip.mms:
2931 I sucessfully compiled byacc on my OpenVMS systems. However, I had to update
2932 the descrip.mms to include some extra c-source files and some dependenxcies
2933 so that it also works when the distribution is located on an ODS5 disk.
2934
2935 The patched descrip.mms file can be found at:
2936 http://nchrem.tnw.tudelft.nl/openvms/software2.html#BYACC
2937
2938 Please feel free to insert the file in your distribution.
2939
2940 Regards
2941 Jouk.
2942
2943 2014-10-06 Thomas E. Dickey <[email protected]>
2944
2945 * package/detest/source/format: build-script
2946
2947 * package/debian/source/format:
2948 change to native format to work around regression in Debian packaging.
2949
2950 * VERSION, package/byacc.spec, package/debian/changelog,
2951 package/mingw-byacc.spec, package/pkgsrc/Makefile:
2952 bump
2953
2954 * configure: regen
2955
2956 * main.c:
2957 correct parameter for umask - for very old mkstemp's - and use type mode_t
2958 to quiet compiler warning
2959
2960 * configure.in: add configure check for mode_t
2961
2962 * reader.c:
2963 better fix for get_line, by ensuring there is enough space to null-terminate
2964 its result (prompted by discussion with Craig Rodrigues).
2965
2966 2014-10-05 Thomas E. Dickey <[email protected]>
2967
2968 * main.c:
2969 make change to umask before calling mkstemp, as suggested in Coverity #56902
2970
2971 * reader.c:
2972 adjust logic in copy_action to avoid potential null-pointer dereference
2973 (Coverity #56901)
2974
2975 * reader.c:
2976 adjust logic to avoid potential null-pointer dereference in compile_args
2977 (Coverity #63407)
2978
2979 * reader.c: eliminate strcpy into fixed-size buffer (Coverity #63408)
2980
2981 * yacc.1: document changes made with respect to %parse-param
2982
2983 * output.c:
2984 add parameters from %parse-param to destructor. The order of the parameters
2985 is intentionally inconsistent with yyparse/yyerror, for "compatibility" with
2986 bison.
2987
2988 * test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c,
2989 test/btyacc/btyacc_destroy3.tab.c:
2990 regen
2991
2992 * output.c:
2993 use puts_param_types/puts_param_names to output lex_param data.
2994
2995 * test/btyacc/ok_syntax1.tab.c, test/btyacc/calc2.tab.c,
2996 test/btyacc/calc3.tab.c, test/yacc/ok_syntax1.tab.c,
2997 test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/btyacc/error.tab.c,
2998 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
2999 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c,
3000 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
3001 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
3002 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
3003 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
3004 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
3005 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c,
3006 test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c,
3007 test/btyacc/calc1.tab.c, test/btyacc/code_calc.code.c,
3008 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
3009 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
3010 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
3011 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c,
3012 test/btyacc/err_syntax20.tab.c, test/btyacc/rename_debug.c:
3013 regen
3014
3015 * btyaccpar.c: add casts, change types to fix strict compiler warnings
3016
3017 * test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax19.tab.c,
3018 test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax21.tab.c,
3019 test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c,
3020 test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax25.tab.c,
3021 test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c,
3022 test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c,
3023 test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c,
3024 test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c,
3025 test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c,
3026 test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c,
3027 test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c,
3028 test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c,
3029 test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c,
3030 test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c:
3031 regen
3032
3033 * output.c: gcc-warning
3034
3035 * test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c: regen
3036
3037 * output.c: fix limit when merging real/workaround tables
3038
3039 * output.c:
3040 for btyacc, it is possible to have no conflicts - but in that case, the
3041 "ctable" was not generated at all, while the skeleton uses the table.
3042 The most straightforward (workaround) is generating a dummy table which
3043 rejects any state.
3044
3045 * test/btyacc_destroy3.y, test/btyacc_destroy2.y, test/btyacc_destroy1.y:
3046 fix "make check_make"
3047
3048 * test/yacc/calc3.tab.c, test/yacc/ok_syntax1.tab.c,
3049 test/yacc/calc2.tab.c, test/btyacc/btyacc_destroy1.tab.c,
3050 test/btyacc/btyacc_destroy2.tab.c:
3051 regen
3052
3053 * reader.c:
3054 trim blanks from interim value in copy_param() to handle special case when
3055 a space precedes a comma.
3056
3057 * output.c:
3058 use two new functions, puts_param_types and puts_param_names, to improve
3059 format of the parse_param list (by trimming space after "*") as well as
3060 correcting the output of the comma-separated names (only the last name
3061 was output).
3062
3063 * test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_destroy3.tab.c,
3064 test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c:
3065 regen
3066
3067 * reader.c:
3068 modify copy_param() to handle resulting comma-separated list. Before, it
3069 only expected a single parameter.
3070
3071 2014-10-04 Thomas E. Dickey <[email protected]>
3072
3073 * reader.c: split-out save_param() from copy_param()
3074
3075 * reader.c: trim_blanks() did not always convert spaces - fix.
3076
3077 * reader.c: fix some minor regressions with error-reporting
3078
3079 * aclocal.m4: update CF_XOPEN_SOURCE for Unixware change from lynx
3080
3081 * VERSION, package/byacc.spec, package/debian/changelog,
3082 package/mingw-byacc.spec, package/pkgsrc/Makefile:
3083 bump
3084
3085 * reader.c:
3086 modify copy_param() to accept multiple parameters, each in curly braces like
3087 recent bison, as well as honoring bison's undocumented feature to accept the
3088 parameters as a comma-separated list.
3089
3090 * test/btyacc/btyacc_destroy3.tab.c, test/btyacc/btyacc_destroy1.tab.c,
3091 test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.error,
3092 test/btyacc/btyacc_destroy3.output, test/btyacc/btyacc_destroy3.tab.h,
3093 test/btyacc/btyacc_destroy2.error, test/btyacc/btyacc_destroy2.output,
3094 test/btyacc/btyacc_destroy2.tab.h:
3095 RCS_BASE
3096
3097 2014-10-03 Thomas E. Dickey <[email protected]>
3098
3099 * test/btyacc/btyacc_demo2.error, test/btyacc/btyacc_demo2.output,
3100 test/btyacc/btyacc_demo2.tab.c, test/btyacc/btyacc_demo2.tab.h,
3101 test/btyacc/btyacc_destroy1.error, test/btyacc/btyacc_destroy1.output,
3102 test/btyacc/btyacc_destroy1.tab.h, test/btyacc_destroy3.y,
3103 test/btyacc_destroy1.y, test/btyacc_destroy2.y:
3104 RCS_BASE
3105
3106 2014-10-02 Thomas E. Dickey <[email protected]>
3107
3108 * main.c, reader.c, defs.h:
3109 use calloc in get_line() when allocating line to ensure it is fully initialized,
3110 fixes a later uninitialized value in copy_param() (FreeBSD #193499).
3111
3112 2014-09-17 Thomas E. Dickey <[email protected]>
3113
3114 * closure.c, lalr.c, output.c, defs.h:
3115 rephrase odd addressing to fix Coverity #48848, #38950, #38860, not actually
3116 a bug.
3117
3118 2014-09-01 Thomas E. Dickey <[email protected]>
3119
3120 * config.sub: update to 2014-07-28
3121
3122 2014-07-27 Thomas E. Dickey <[email protected]>
3123
3124 * configure: regen
3125
3126 * aclocal.m4: modified to support port to Minix3.2
3127
3128 * package/pkgsrc/Makefile, VERSION, package/byacc.spec,
3129 package/debian/changelog, package/mingw-byacc.spec:
3130 bump
3131
3132 2014-07-15 Thomas E. Dickey <[email protected]>
3133
3134 * aclocal.m4: resync with my-autoconf (no change to configure script)
3135
3136 * VERSION, package/byacc.spec, package/debian/changelog,
3137 package/mingw-byacc.spec, package/pkgsrc/Makefile:
3138 bump
3139
3140 * test/run_test.sh:
3141 make top-level "make check" work again, by adding another step to filtering
3142 the test results.
3143
3144 2014-07-14 Thomas E. Dickey <[email protected]>
3145
3146 * test/run_test.sh: changes from Garrett Cooper's patch:
3147 a) ensure that the script returns an error-code if there are differences
3148 b) escape "." character in left side of sed expression for $YACC
3149 c) ensure that $ifBTYACC has a value
3150
3151 * test/btyacc/big_b.output, test/btyacc/big_l.output,
3152 test/btyacc/help.output, test/btyacc/no_b_opt.output,
3153 test/btyacc/no_output2.output, test/btyacc/no_p_opt.output,
3154 test/btyacc/nostdin.output:
3155 regen (reminder by Garrett Cooper)
3156
3157 2014-07-14 Garrett.Cooper
3158
3159 * test/btyacc/err_inherit1.error, test/btyacc/err_inherit2.error,
3160 test/btyacc/err_inherit3.error, test/btyacc/err_inherit4.error,
3161 test/btyacc/err_inherit5.error, test/btyacc/err_syntax1.error,
3162 test/btyacc/err_syntax10.error, test/btyacc/err_syntax11.error,
3163 test/btyacc/err_syntax12.error, test/btyacc/err_syntax13.error,
3164 test/btyacc/err_syntax14.error, test/btyacc/err_syntax15.error,
3165 test/btyacc/err_syntax16.error, test/btyacc/err_syntax17.error,
3166 test/btyacc/err_syntax18.error, test/btyacc/err_syntax19.error,
3167 test/btyacc/err_syntax2.error, test/btyacc/err_syntax21.error,
3168 test/btyacc/err_syntax22.error, test/btyacc/err_syntax23.error,
3169 test/btyacc/err_syntax24.error, test/btyacc/err_syntax25.error,
3170 test/btyacc/err_syntax26.error, test/btyacc/err_syntax27.error,
3171 test/btyacc/err_syntax3.error, test/btyacc/err_syntax4.error,
3172 test/btyacc/err_syntax5.error, test/btyacc/err_syntax6.error,
3173 test/btyacc/err_syntax7.error, test/btyacc/err_syntax7a.error,
3174 test/btyacc/err_syntax7b.error, test/btyacc/err_syntax8.error,
3175 test/btyacc/err_syntax8a.error, test/btyacc/err_syntax9.error,
3176 test/yacc/err_syntax1.error, test/yacc/err_syntax10.error,
3177 test/yacc/err_syntax11.error, test/yacc/err_syntax12.error,
3178 test/yacc/err_syntax13.error, test/yacc/err_syntax14.error,
3179 test/yacc/err_syntax15.error, test/yacc/err_syntax16.error,
3180 test/yacc/err_syntax17.error, test/yacc/err_syntax18.error,
3181 test/yacc/err_syntax19.error, test/yacc/err_syntax2.error,
3182 test/yacc/err_syntax21.error, test/yacc/err_syntax22.error,
3183 test/yacc/err_syntax23.error, test/yacc/err_syntax24.error,
3184 test/yacc/err_syntax25.error, test/yacc/err_syntax26.error,
3185 test/yacc/err_syntax27.error, test/yacc/err_syntax3.error,
3186 test/yacc/err_syntax4.error, test/yacc/err_syntax5.error,
3187 test/yacc/err_syntax6.error, test/yacc/err_syntax7.error,
3188 test/yacc/err_syntax7a.error, test/yacc/err_syntax7b.error,
3189 test/yacc/err_syntax8.error, test/yacc/err_syntax8a.error,
3190 test/yacc/err_syntax9.error:
3191 regen
3192
3193 2014-05-27 Tom.Shields
3194
3195 * main.c: remove obsolete -D option from usage message
3196
3197 2014-05-27 Thomas E. Dickey <[email protected]>
3198
3199 * VERSION, package/byacc.spec, package/debian/changelog,
3200 test/yacc/big_b.output, test/yacc/big_l.output, test/yacc/help.output,
3201 test/yacc/no_b_opt.output, test/yacc/no_output2.output,
3202 test/yacc/no_p_opt.output, test/yacc/nostdin.output:
3203 bump
3204
3205 2014-04-22 Thomas E. Dickey <[email protected]>
3206
3207 * mstring.c:
3208 use vsnprintf() to ensure that msprintf's buffer is large enough.
3209
3210 * main.c, defs.h: add mstring_leaks()
3211
3212 * configure: regen
3213
3214 * output.c: fix a complementary warning
3215
3216 * mstring.c: introduce vsnprintf
3217
3218 * configure.in, config_h.in: add check for vsnprintf
3219
3220 * output.c: quiet a type-conversion warning
3221
3222 * mstring.c: fix a potential memory leak on ENOMEM
3223 quiet a couple of type-conversion warnings
3224
3225 * defs.h: add/use GCC_PRINTFLIKE for msprintf()
3226
3227 2014-04-22 Tom.Shields
3228
3229 * README.BTYACC:
3230 drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant
3231 content into README.BTYACC
3232
3233 2014-04-22 Thomas E. Dickey <[email protected]>
3234
3235 * package/pkgsrc/Makefile, VERSION, package/byacc.spec,
3236 package/debian/changelog, package/mingw-byacc.spec:
3237 bump
3238
3239 2014-04-19 Thomas E. Dickey <[email protected]>
3240
3241 * config.sub: 2014-04-03
3242
3243 * config.guess: 2014-03-23
3244
3245 2014-04-09 Rick.Spates
3246
3247 * main.c, defs.h: patch to allow DEBUG build with WIN32 system
3248
3249 2014-04-09 Thomas E. Dickey <[email protected]>
3250
3251 * output.c, reader.c: gcc warnings
3252
3253 * reader.c: fix const-cast warnings
3254
3255 * test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
3256 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc4-s.tab.c,
3257 test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c,
3258 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
3259 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c,
3260 test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c,
3261 test/btyacc/pure_error.tab.c, test/btyacc/quote_calc2-s.tab.c,
3262 test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3.tab.c,
3263 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c,
3264 test/btyacc/code_error.tab.c, test/btyacc/empty.tab.c,
3265 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
3266 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
3267 test/btyacc/err_syntax12.tab.c, test/btyacc/error.tab.c,
3268 test/btyacc/rename_debug.c, test/btyacc/calc.tab.c,
3269 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
3270 test/btyacc/calc3.tab.c, test/btyacc/code_calc.tab.c, output.c:
3271 fix a few clang --analyze warnings; one was a case where output_ctable emitted
3272 an empty table (which should be an error).
3273
3274 * reader.c: appease clang --analyze
3275
3276 * defs.h: mark two functions as no-return.
3277
3278 * package/debian/changelog: reason for release
3279
3280 * VERSION, package/byacc.spec, package/debian/changelog,
3281 package/mingw-byacc.spec, package/pkgsrc/Makefile:
3282 bump
3283
3284 * makefile.in: use $LINT_OPTS from environment via configure script
3285
3286 * test/btyacc/ok_syntax1.output, test/btyacc/ok_syntax1.tab.c,
3287 test/yacc/ok_syntax1.tab.c, test/ok_syntax1.y,
3288 test/yacc/ok_syntax1.output:
3289 tweaks to make generated files from ok_syntax1.y compile with check_make rule
3290
3291 * test/btyacc/rename_debug.c, test/btyacc/rename_debug.error,
3292 test/btyacc/rename_debug.h, test/btyacc/rename_debug.i,
3293 test/btyacc/rename_debug.output, test/yacc/rename_debug.c:
3294 reference output for testing
3295
3296 * test/run_test.sh:
3297 retain the renaming done for code_debug.y so that check_make will work.
3298
3299 * test/yacc/rename_debug.error, test/yacc/rename_debug.h,
3300 test/yacc/rename_debug.i, test/yacc/rename_debug.output:
3301 reference output for testing
3302
3303 * test/btyacc/ok_syntax1.error: RCS_BASE
3304
3305 * test/yacc/quote_calc4-s.tab.c, test/yacc/varsyntax_calc1.tab.c,
3306 test/yacc/code_error.code.c, test/yacc/empty.tab.c,
3307 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c,
3308 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
3309 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
3310 test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c,
3311 test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c,
3312 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c,
3313 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
3314 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
3315 test/yacc/quote_calc4.tab.c, test/yacc/calc.tab.c,
3316 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
3317 test/yacc/code_calc.code.c, yaccpar.c:
3318 regen
3319
3320 * yacc.1:
3321 clarify relationship of btyacc features to default configuration.
3322
3323 2014-04-08 Thomas E. Dickey <[email protected]>
3324
3325 * test/yacc/ok_syntax1.output, test/yacc/ok_syntax1.tab.c,
3326 test/yacc/ok_syntax1.tab.h, test/btyacc/ok_syntax1.output,
3327 test/btyacc/ok_syntax1.tab.c, test/btyacc/ok_syntax1.tab.h:
3328 reference output for testing
3329
3330 * test/ok_syntax1.y: RCS_BASE
3331
3332 * test/yacc/ok_syntax1.error: reference output for testing
3333
3334 * test/yacc/big_b.error, test/yacc/big_b.output, test/yacc/big_l.error,
3335 test/yacc/big_l.output, test/btyacc/big_b.error,
3336 test/btyacc/big_b.output, test/btyacc/big_l.error,
3337 test/btyacc/big_l.output, test/run_test.sh:
3338 exercise -L/-B options
3339
3340 * test/yacc/code_debug.c, test/btyacc/code_debug.c,
3341 test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c,
3342 test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c,
3343 test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c,
3344 test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c,
3345 test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c,
3346 test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c,
3347 test/yacc/err_syntax26.tab.c, test/yacc/err_syntax27.tab.c,
3348 test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c,
3349 test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c,
3350 test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c,
3351 test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c,
3352 test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c,
3353 test/yacc/error.tab.c, test/yacc/grammar.tab.c,
3354 test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c,
3355 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c,
3356 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
3357 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
3358 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
3359 test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c,
3360 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
3361 test/yacc/code_calc.code.c, test/yacc/code_error.code.c,
3362 test/yacc/empty.tab.c, test/yacc/err_syntax1.tab.c,
3363 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c,
3364 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax13.tab.c,
3365 test/yacc/err_syntax14.tab.c, test/btyacc/err_syntax13.tab.c,
3366 test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c,
3367 test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c,
3368 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c,
3369 test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax20.tab.c,
3370 test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c,
3371 test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c,
3372 test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c,
3373 test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c,
3374 test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c,
3375 test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c,
3376 test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c,
3377 test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c,
3378 test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c,
3379 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
3380 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c,
3381 test/btyacc/pure_error.tab.c, test/btyacc/btyacc_demo.tab.c,
3382 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
3383 test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c,
3384 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
3385 test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c,
3386 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
3387 test/btyacc/err_syntax12.tab.c, test/btyacc/pure_calc.tab.c,
3388 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
3389 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
3390 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
3391 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
3392 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c,
3393 test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c,
3394 test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c,
3395 test/btyacc/code_calc.code.c, test/run_test.sh,
3396 test/yacc/no_b_opt1.output:
3397 use a better renaming of the YYPATCH definition (none of the test-cases rely
3398 upon it, but redefinition in the "make check_make" rule is a problem).
3399
3400 * test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax13.tab.c,
3401 test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax25.tab.c,
3402 test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c,
3403 test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c,
3404 test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c,
3405 test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c,
3406 test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c,
3407 test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c,
3408 test/btyacc/varsyntax_calc1.tab.c:
3409 undid temporary reordering in reader() by Tom Shields to align with byacc outputs
3410
3411 * test/run_test.sh: remove a repeated test-case
3412
3413 * mstring.c: minor reformatting to make coverage analysis simpler
3414
3415 2014-04-07 Thomas E. Dickey <[email protected]>
3416
3417 * test/run_test.sh: tidy
3418
3419 * test/yacc/help.error, test/yacc/help.output, test/yacc/no_b_opt.error,
3420 test/yacc/no_b_opt.output, test/yacc/no_b_opt1.error,
3421 test/yacc/no_b_opt1.output, test/yacc/no_code_c.error,
3422 test/yacc/no_code_c.output, test/yacc/no_defines.error,
3423 test/yacc/no_defines.output, test/yacc/no_graph.error,
3424 test/yacc/no_graph.output, test/yacc/no_include.error,
3425 test/yacc/no_include.output, test/yacc/no_opts.error,
3426 test/yacc/no_opts.output, test/yacc/no_output.error,
3427 test/yacc/no_output.output, test/yacc/no_output1.error,
3428 test/yacc/no_output1.output, test/yacc/no_output2.error,
3429 test/yacc/no_output2.output, test/yacc/no_p_opt.error,
3430 test/yacc/no_p_opt.output, test/yacc/no_p_opt1.error,
3431 test/yacc/no_p_opt1.output, test/yacc/no_verbose.error,
3432 test/yacc/no_verbose.output, test/yacc/nostdin.error,
3433 test/yacc/nostdin.output, test/yacc/test-no_b_opt1.output:
3434 reference output for testing
3435
3436 * test/run_test.sh:
3437 add special checks for flags which depend on writable/existing files
3438
3439 * test/btyacc/no_b_opt1.output, test/btyacc/no_p_opt1.output,
3440 test/btyacc/no_b_opt.error, test/btyacc/no_b_opt.output,
3441 test/btyacc/no_b_opt1.error, test/btyacc/no_code_c.output,
3442 test/btyacc/no_p_opt.error, test/btyacc/no_p_opt.output,
3443 test/btyacc/no_p_opt1.error, test/btyacc/no_output2.output,
3444 test/btyacc/no_code_c.error, test/btyacc/no_output2.error,
3445 test/btyacc/no_include.error, test/btyacc/no_include.output,
3446 test/btyacc/no_defines.output, test/btyacc/no_defines.error,
3447 test/btyacc/no_verbose.output, test/btyacc/no_graph.output,
3448 test/btyacc/no_graph.error, test/btyacc/no_opts.error,
3449 test/btyacc/no_opts.output, test/btyacc/no_verbose.error,
3450 test/btyacc/nostdin.error, test/btyacc/nostdin.output,
3451 test/btyacc/no_output.error, test/btyacc/no_output.output,
3452 test/btyacc/no_output1.error, test/btyacc/no_output1.output:
3453 reference output for testing
3454
3455 * main.c:
3456 change CREATE_FILE_NAMES() to use local function rather than inline code,
3457 to simplify coverage analysis.
3458
3459 * test/btyacc/err_syntax27.error, test/btyacc/err_syntax27.output,
3460 test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax27.tab.h,
3461 test/btyacc/help.error, test/btyacc/help.output,
3462 test/yacc/err_syntax27.error, test/yacc/err_syntax27.output,
3463 test/yacc/err_syntax27.tab.c, test/yacc/err_syntax27.tab.h:
3464 reference output for testing
3465
3466 * test/err_syntax27.y: testcase for missing_brace()
3467
3468 * error.c: ifdef'd non-btyacc function
3469
3470 * lr0.c: ifdef'd debug-code
3471
3472 * yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel
3473
3474 * test/btyacc/code_debug.c, test/btyacc/err_syntax12.tab.c,
3475 test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c,
3476 test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c,
3477 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c,
3478 test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c,
3479 test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c,
3480 test/btyacc/err_syntax24.tab.c, test/btyacc/error.tab.c,
3481 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
3482 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c,
3483 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
3484 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
3485 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
3486 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
3487 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
3488 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c,
3489 test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c,
3490 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
3491 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
3492 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
3493 test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c,
3494 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
3495 test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax10.tab.c,
3496 test/btyacc/err_syntax11.tab.c, test/yacc/err_syntax11.tab.c,
3497 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
3498 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
3499 test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c,
3500 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
3501 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
3502 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
3503 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
3504 test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c,
3505 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
3506 test/yacc/calc3.tab.c, test/yacc/code_calc.code.c,
3507 test/yacc/code_debug.c, test/yacc/code_error.code.c,
3508 test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, output.c,
3509 test/yacc/err_syntax1.tab.c, test/yacc/err_syntax13.tab.c,
3510 test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c,
3511 test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c,
3512 test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c,
3513 test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c,
3514 test/yacc/err_syntax23.tab.c, test/yacc/err_syntax24.tab.c,
3515 test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c,
3516 test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c,
3517 test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c,
3518 test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c,
3519 test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c,
3520 test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c,
3521 test/run_test.sh:
3522 2010/11/26 simplification of output.c using putc_code() and putl_code()
3523 omitted an adjustment of the #line value used for code-file. Fix that.
3524 Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for
3525 YYPATCH #define's to make test-outputs easier to compare #line's (report
3526 by Tom Shields)
3527
3528 2014-04-06 Thomas E. Dickey <[email protected]>
3529
3530 * reader.c: fix for valgrind
3531 (the calloc's are intentional - valgrind reported use of uninitialized memory)
3532
3533 * lr0.c, output.c: fix for valgrind
3534
3535 * test/btyacc/code_debug.c, test/btyacc/code_debug.error,
3536 test/btyacc/code_debug.h, test/btyacc/code_debug.i,
3537 test/btyacc/code_debug.output:
3538 RCS_BASE
3539
3540 * test/yacc/code_debug.c, test/yacc/code_debug.h:
3541 exercise the -i option
3542
3543 * test/yacc/code_debug.i: reference output for testing
3544
3545 * test/run_test.sh: exercise the -i option
3546
3547 * test/yacc/code_debug.c: reference output for testing
3548
3549 * test/run_test.sh: exercise the "-o" option
3550
3551 * test/yacc/code_debug.error, test/yacc/code_debug.h,
3552 test/yacc/code_debug.output:
3553 reference output for testing
3554
3555 * output.c: don't call exit() without giving a chance to cleanup.
3556
3557 * mstring.c: ifdef'd functions not used in byacc
3558
3559 * btyaccpar.c: generated from btyaccpar.skel
3560
3561 * yaccpar.c: generated from yaccpar.skel
3562
3563 * skel2c:
3564 change the generated-by comment to show which version of this script (and
3565 which version of the given skeleton file) were used to produce the C-file.
3566
3567 * configure: regen
3568
3569 * makefile.in:
3570 add rules to generate byacc and btyacc parser skeleton files independently
3571
3572 * aclocal.m4: CF_PROG_AWK - add to byacc's configure script
3573 CF_INTEL_COMPILER
3574 cleanup the -no-gcc option which was leftover from testing - prcs does
3575 not build with this option.
3576 CF_MAKE_DOCS
3577 protect $2 from substitution, for luit's "$(manext)"
3578 CF_XOPEN_SOURCE
3579 for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2
3580 on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE
3581 because it is not needed, as well as because g++ 4.7.3 (no package,
3582 used in Sage for Solaris 10) has some unspecified header breakage which
3583 is triggered by the duplicate definition.
3584
3585 * configure.in:
3586 modify so skeleton-source is determined by configure options rather than by
3587 having developer rename yaccpar.skel.old to yaccpar.skel
3588
3589 * descrip.mms: rename skeleton
3590
3591 * vmsbuild.com:
3592 fwiw, renamed the skeleton for consistency with makefile
3593
3594 * skel2c, skeleton.c: resync skeleton and its generating files
3595
3596 * yaccpar.skel:
3597 renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules
3598
3599 * yaccpar.skel.old: resync skeleton and its generating files
3600
3601 * test/run_make.sh: improve cleanup after error recovery
3602
3603 * test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
3604 test/yacc/calc3.tab.c, test/yacc/code_calc.code.c,
3605 test/yacc/code_error.code.c, test/yacc/empty.tab.c,
3606 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c,
3607 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
3608 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
3609 test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c,
3610 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
3611 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
3612 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
3613 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
3614 test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c,
3615 output.c, skeleton.c, defs.h:
3616 use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton
3617
3618 * output.c: simplify output_yyerror_decl()
3619
3620 * test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
3621 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
3622 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
3623 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
3624 test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c,
3625 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
3626 test/yacc/calc3.tab.c, test/yacc/code_calc.tab.c,
3627 test/yacc/code_error.tab.c, test/yacc/empty.tab.c,
3628 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c,
3629 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
3630 test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c,
3631 test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c, output.c:
3632 add second "const" to string-table declarations, from Tom Shield's btyacc changes
3633
3634 * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c,
3635 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
3636 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c,
3637 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
3638 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
3639 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
3640 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
3641 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
3642 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c,
3643 test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c,
3644 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
3645 test/btyacc/calc3.tab.c, test/btyacc/empty.tab.c,
3646 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
3647 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
3648 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c:
3649 discard unnecessary call on write_code_lineno() from Tom Shield's changes
3650
3651 * test/yacc/error.tab.c, test/yacc/grammar.tab.c,
3652 test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c,
3653 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c,
3654 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
3655 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
3656 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
3657 test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c,
3658 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
3659 test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c,
3660 test/yacc/code_error.code.c, test/yacc/code_error.tab.c,
3661 test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c,
3662 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c,
3663 test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, output.c:
3664 use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short"
3665
3666 * test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c:
3667 use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL()
3668
3669 * test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c,
3670 test/btyacc/error.tab.c, test/btyacc/grammar.tab.c,
3671 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
3672 test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c,
3673 test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c,
3674 test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c,
3675 test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c,
3676 test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c,
3677 test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c,
3678 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
3679 test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c,
3680 test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c,
3681 test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c,
3682 test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c,
3683 test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c,
3684 test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c:
3685 discard unnecessary call on write_code_lineno() from Tom Shield's changes
3686
3687 * output.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c,
3688 test/yacc/code_calc.tab.c, test/yacc/code_error.tab.c:
3689 use fix from Tom Shield's btyacc changes: prefix-definitions went to the
3690 output (.tab.c) file in a case where they should have gone to the code
3691 (.code.c) file. Remove now-redundant call to output_prefix().
3692
3693 * main.c: do the same for help-message
3694
3695 * main.c: use OUTPUT_SUFFIX symbol in an overlooked case
3696
3697 * test/run_make.sh:
3698 modify to avoid use of VPATH, which has no standard implementation
3699
3700 2014-04-05 Thomas E. Dickey <[email protected]>
3701
3702 * test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
3703 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c,
3704 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
3705 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
3706 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
3707 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
3708 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
3709 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c,
3710 test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c,
3711 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
3712 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
3713 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
3714 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
3715 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
3716 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c,
3717 test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c:
3718 discard a change which merged CountLines() with explicit comparisons against
3719 code_file because that adds extra to the #line values
3720
3721 * test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c,
3722 test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c,
3723 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
3724 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
3725 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
3726 test/yacc/calc.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
3727 test/yacc/code_calc.code.c, test/yacc/code_error.code.c,
3728 test/yacc/empty.tab.c, test/yacc/err_syntax11.tab.c,
3729 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c,
3730 test/yacc/error.tab.c, output.c:
3731 add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to
3732 override fallback typedef for YYSTYPE when that symbol is undefined
3733
3734 * test/btyacc/error.tab.c, test/btyacc/inherit0.tab.c,
3735 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
3736 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
3737 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
3738 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
3739 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
3740 test/btyacc/calc.tab.c, test/btyacc/calc2.tab.c,
3741 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
3742 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
3743 test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c,
3744 test/btyacc/err_syntax18.tab.c:
3745 minor tweak to coding style - use parenthesis for "defined" operator's parameter
3746
3747 * test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c,
3748 test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c,
3749 test/btyacc/error.tab.c, test/btyacc/grammar.tab.c,
3750 test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c,
3751 test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c,
3752 test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c,
3753 test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c,
3754 test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c,
3755 test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c,
3756 test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c,
3757 test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c,
3758 test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c,
3759 test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c,
3760 test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c,
3761 test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c,
3762 test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c:
3763 regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent
3764
3765 * test/yacc/err_syntax20.tab.c, test/yacc/grammar.tab.c,
3766 test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c,
3767 test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c,
3768 test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c,
3769 test/yacc/varsyntax_calc1.tab.c, test/yacc/calc.tab.c,
3770 test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c,
3771 test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c,
3772 test/yacc/code_error.code.c, test/yacc/code_error.tab.c,
3773 test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c,
3774 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c:
3775 regen after adding the YYUNDFTOKEN symbol
3776
3777 * output.c:
3778 integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol
3779 (I changed order of output to keep this adjacent to YYMAXTOKEN)
3780
3781 * reader.c:
3782 merge all but one small change from Tom Shield's btyacc changes - that
3783 changes the order of code-file in the tests.
3784
3785 * test/btyacc/btyacc_demo.tab.c: regen
3786
3787 * test/btyacc_demo.y: fix prototypes
3788
3789 2014-04-04 Thomas E. Dickey <[email protected]>
3790
3791 * reader.c, defs.h, main.c:
3792 more merging of Tom Shield's btyacc changes. In the merge, I moved the
3793 symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs
3794
3795 2014-04-03 Thomas E. Dickey <[email protected]>
3796
3797 * reader.c:
3798 merge-in 3/4 of btyacc's changes, deferring those which change test-outputs.
3799 Tom Shield's changes split-out copy_string() and copy_comment() functions
3800 to simplify some logic, as well as adding btyacc-only chunks
3801
3802 * makefile.in: build mstring.o, needed for changes in reader.c
3803
3804 * output.c:
3805 merge-in all of btyacc's changes which do not change byacc's test-output.
3806 Some of the merge uses ifdef-changes which I applied to ongoing resync,
3807 e.g., the introduction of PER_STATE.
3808
3809 2014-04-02 Thomas E. Dickey <[email protected]>
3810
3811 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen
3812
3813 * output.c: fix typo
3814
3815 * output.c, reader.c:
3816 merge in some chunks of reader and output files which do not affect byacc tests
3817
3818 * test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen
3819
3820 * test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c,
3821 test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c,
3822 test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c,
3823 test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c,
3824 test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c,
3825 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
3826 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
3827 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
3828 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
3829 test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c,
3830 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
3831 test/yacc/calc3.tab.c, test/yacc/code_calc.code.c,
3832 test/yacc/code_error.code.c, test/yacc/empty.tab.c,
3833 test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c,
3834 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c,
3835 test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c,
3836 test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c,
3837 test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c,
3838 test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c,
3839 test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c,
3840 test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c,
3841 test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c,
3842 test/yacc/err_syntax26.tab.c, test/yacc/err_syntax3.tab.c,
3843 test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c, skeleton.c:
3844 incorporate YYENOMEM and YYEOF symbols from btyacc
3845
3846 * output.c: merge chunk from btyacc changes for header-guards
3847
3848 * btyaccpar.skel: RCS_BASE
3849
3850 * yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues
3851 remove GCC_UNUSED to reduce name-pollution as well as being simpler
3852
3853 * main.c:
3854 move a btyacc symbol outside ifdef to work around current state of merge
3855
3856 * defs.h:
3857 add USE_HEADER_GUARDS to defer whether to modify byacc's header-output
3858
3859 * test/run_make.sh:
3860 do not try to compile files used for testing syntax-errors, since they are
3861 likely to be incomplete
3862
3863 2014-04-02 Tom.Shields
3864
3865 * main.c: changes for btyacc
3866
3867 2014-04-01 Thomas E. Dickey <[email protected]>
3868
3869 * reader.c:
3870 integrate change by Tom Shields to use bsearch rather than successive
3871 calls to matchec()
3872
3873 * defs.h: typedef __compar_fn_t is unnecessary
3874
3875 * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c,
3876 test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c,
3877 test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c,
3878 test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c,
3879 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c,
3880 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c,
3881 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c,
3882 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c,
3883 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c,
3884 test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c,
3885 test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c,
3886 test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c,
3887 test/btyacc/code_error.code.c, test/btyacc/empty.tab.c,
3888 test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c,
3889 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
3890 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c:
3891 omit the GCC_UNUSED, as noted by Tom Shields not really essential
3892
3893 2014-04-01 Tom.Shields
3894
3895 * verbose.c: changes for btyacc, ifdef'd
3896
3897 2014-04-01 Thomas E. Dickey <[email protected]>
3898
3899 * mkpar.c: eliminate most of the ifdef's using macros
3900
3901 2014-04-01 Tom.Shields
3902
3903 * mkpar.c: merge btyacc changes (ifdef'd - no change to byacc)
3904
3905 * error.c:
3906 new functions used for reporting errors from the btyacc configuration
3907 (I reordered some, and ifdef'd the new ones -TD)
3908
3909 2014-03-31 Thomas E. Dickey <[email protected]>
3910
3911 * test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c:
3912 omit the GCC_UNUSED, as noted by Tom Shields not really essential
3913
3914 * test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c,
3915 test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.tab.c,
3916 test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c,
3917 test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c,
3918 test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax14.tab.c,
3919 test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c,
3920 test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c,
3921 test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax20.tab.c,
3922 test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c,
3923 test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c:
3924 regen
3925
3926 2014-03-29 Thomas E. Dickey <[email protected]>
3927
3928 * test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c,
3929 test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c,
3930 test/yacc/err_syntax26.tab.c, test/yacc/err_syntax3.tab.c,
3931 test/yacc/err_syntax4.tab.c, test/yacc/err_syntax5.tab.c,
3932 test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c,
3933 test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c,
3934 test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8a.tab.c,
3935 test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c,
3936 test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c,
3937 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
3938 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
3939 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
3940 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
3941 test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c,
3942 test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
3943 test/yacc/calc3.tab.c, test/yacc/code_calc.code.c,
3944 test/yacc/code_error.code.c, test/yacc/empty.tab.c,
3945 test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c,
3946 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c,
3947 test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c,
3948 test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c,
3949 test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c,
3950 test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c,
3951 test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, skeleton.c:
3952 comment-out yysccsid in the banner because it produces unnecessary compiler
3953 warnings. The suggested alternative (using #pragma ident) in the preceding
3954 comment is also obsolete; remove that comment (request by Gleb Smirnoff).
3955
3956 * test/run_test.sh:
3957 for yacc, ignore the inherit testcases, since they are btyacc-specific
3958
3959 2014-03-28 Thomas E. Dickey <[email protected]>
3960
3961 * test/yacc/varsyntax_calc1.error, test/yacc/varsyntax_calc1.output,
3962 test/yacc/varsyntax_calc1.tab.c, test/yacc/varsyntax_calc1.tab.h,
3963 test/yacc/err_inherit3.error, test/yacc/err_inherit3.output,
3964 test/yacc/err_inherit3.tab.c, test/yacc/err_inherit3.tab.h,
3965 test/yacc/err_inherit4.error, test/yacc/err_inherit4.output,
3966 test/yacc/err_inherit4.tab.c, test/yacc/err_inherit4.tab.h,
3967 test/yacc/err_inherit5.error, test/yacc/err_inherit5.output,
3968 test/yacc/err_inherit5.tab.c, test/yacc/err_inherit5.tab.h,
3969 test/yacc/inherit0.error, test/yacc/inherit0.output,
3970 test/yacc/inherit0.tab.c, test/yacc/inherit0.tab.h,
3971 test/yacc/inherit1.error, test/yacc/inherit1.output,
3972 test/yacc/inherit1.tab.c, test/yacc/inherit1.tab.h,
3973 test/yacc/inherit2.error, test/yacc/inherit2.output,
3974 test/yacc/inherit2.tab.c, test/yacc/inherit2.tab.h,
3975 test/yacc/empty.error, test/yacc/empty.output, test/yacc/empty.tab.c,
3976 test/yacc/empty.tab.h, test/yacc/err_inherit1.error,
3977 test/yacc/err_inherit1.output, test/yacc/err_inherit1.tab.c,
3978 test/yacc/err_inherit1.tab.h, test/yacc/err_inherit2.error,
3979 test/yacc/err_inherit2.output, test/yacc/err_inherit2.tab.c,
3980 test/yacc/err_inherit2.tab.h:
3981 reference output for testing
3982
3983 * test/run_lint.sh, test/run_make.sh, test/run_test.sh:
3984 moving #define's out of makefile broke check for yacc vs btyacc (fix)
3985
3986 2014-03-28 Tom.Shields
3987
3988 * test/btyacc/btyacc_demo.tab.c, test/btyacc/err_inherit3.error,
3989 test/btyacc/err_inherit3.output, test/btyacc/err_inherit3.tab.c,
3990 test/btyacc/err_inherit3.tab.h, test/btyacc/err_inherit2.error,
3991 test/btyacc/err_inherit2.output, test/btyacc/err_inherit2.tab.c,
3992 test/btyacc/err_inherit2.tab.h, test/btyacc/err_inherit4.error,
3993 test/btyacc/err_inherit4.output, test/btyacc/err_inherit4.tab.c,
3994 test/btyacc/err_inherit4.tab.h, test/btyacc/err_inherit5.error,
3995 test/btyacc/err_inherit5.output, test/btyacc/err_inherit5.tab.c,
3996 test/btyacc/err_inherit5.tab.h, test/btyacc/inherit0.error,
3997 test/btyacc/inherit0.output, test/btyacc/inherit0.tab.c,
3998 test/btyacc/inherit0.tab.h, test/btyacc/inherit1.error,
3999 test/btyacc/inherit1.output, test/btyacc/inherit1.tab.c,
4000 test/btyacc/inherit1.tab.h, test/btyacc/inherit2.error,
4001 test/btyacc/inherit2.output, test/btyacc/inherit2.tab.c,
4002 test/btyacc/inherit2.tab.h, test/btyacc/calc.error,
4003 test/btyacc/err_inherit1.error, test/btyacc/err_inherit1.output,
4004 test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit1.tab.h:
4005 reference output for testing
4006
4007 * defs.h: new functions/variables for btyacc
4008 (I reordered and ifdef'd -TD)
4009
4010 * test/inherit0.y, test/inherit1.y: testcase for btyacc
4011
4012 2014-03-27 Tom.Shields
4013
4014 * test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y,
4015 test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y:
4016 testcase for btyacc
4017
4018 2014-03-25 Tom.Shields
4019
4020 * symtab.c: extra initialization needed for btyacc
4021 (I ifdef'd -TD)
4022
4023 * yacc.1: document -L/-B features from btyacc
4024
4025 2014-03-25 Thomas E. Dickey <[email protected]>
4026
4027 * yacc.1: typo
4028
4029 * configure: regen
4030
4031 * configure.in:
4032 modified new options to act like those in my other configure-scripts, e.g.,
4033 showing what option is being tested, and the resulting value. Put the
4034 definitions in config.h rather than in the makefile.
4035
4036 2014-03-25 Tom.Shields
4037
4038 * makefile.in: add/use LINTFLAGS variable
4039 make all of the objects (not just skeleton) rebuild if makefile changes
4040 modify check-rule to reflect updates to run_test.sh vs subdirectory
4041
4042 * mstring.c: byacc-btyacc-20140323
4043
4044 2014-03-25 Thomas E. Dickey <[email protected]>
4045
4046 * config_h.in: updated with autoheader-252
4047
4048 2014-03-25 Tom.Shields
4049
4050 * README.BTYACC: byacc-btyacc-20140323
4051
4052 2014-03-24 Tom.Shields
4053
4054 * test/btyacc/err_syntax1.output, test/btyacc/err_syntax1.tab.c,
4055 test/btyacc/err_syntax1.tab.h, test/btyacc/err_syntax10.error,
4056 test/btyacc/err_syntax10.output, test/btyacc/err_syntax10.tab.c,
4057 test/btyacc/err_syntax10.tab.h, test/btyacc/err_syntax11.error,
4058 test/btyacc/err_syntax11.output, test/btyacc/err_syntax11.tab.c,
4059 test/btyacc/err_syntax11.tab.h, test/btyacc/err_syntax12.error,
4060 test/btyacc/err_syntax12.output, test/btyacc/err_syntax12.tab.c,
4061 test/btyacc/err_syntax12.tab.h, test/btyacc/err_syntax13.error,
4062 test/btyacc/err_syntax13.output, test/btyacc/err_syntax13.tab.c,
4063 test/btyacc/err_syntax13.tab.h, test/btyacc/err_syntax14.error,
4064 test/btyacc/err_syntax14.output, test/btyacc/err_syntax14.tab.c,
4065 test/btyacc/err_syntax14.tab.h, test/btyacc/err_syntax15.error,
4066 test/btyacc/err_syntax15.output, test/btyacc/err_syntax15.tab.c,
4067 test/btyacc/err_syntax15.tab.h, test/btyacc/err_syntax16.error,
4068 test/btyacc/err_syntax16.output, test/btyacc/err_syntax16.tab.c,
4069 test/btyacc/err_syntax16.tab.h, test/btyacc/err_syntax17.error,
4070 test/btyacc/err_syntax17.output, test/btyacc/err_syntax17.tab.c,
4071 test/btyacc/err_syntax17.tab.h, test/btyacc/err_syntax18.error,
4072 test/btyacc/err_syntax18.output, test/btyacc/err_syntax18.tab.c,
4073 test/btyacc/err_syntax18.tab.h, test/btyacc/err_syntax19.error,
4074 test/btyacc/err_syntax19.output, test/btyacc/err_syntax19.tab.c,
4075 test/btyacc/err_syntax19.tab.h, test/btyacc/err_syntax2.output,
4076 test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax2.tab.h,
4077 test/btyacc/err_syntax20.error, test/btyacc/err_syntax20.output,
4078 test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax20.tab.h,
4079 test/btyacc/err_syntax21.error, test/btyacc/err_syntax21.output,
4080 test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax21.tab.h,
4081 test/btyacc/err_syntax22.error, test/btyacc/err_syntax22.output,
4082 test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax22.tab.h,
4083 test/btyacc/err_syntax23.error, test/btyacc/err_syntax23.output,
4084 test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax23.tab.h,
4085 test/btyacc/err_syntax24.error, test/btyacc/err_syntax24.output,
4086 test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax24.tab.h,
4087 test/btyacc/err_syntax25.error, test/btyacc/err_syntax25.output,
4088 test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax25.tab.h,
4089 test/btyacc/err_syntax26.error, test/btyacc/err_syntax26.output,
4090 test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax26.tab.h,
4091 test/btyacc/err_syntax3.output, test/btyacc/err_syntax3.tab.c,
4092 test/btyacc/err_syntax3.tab.h, test/btyacc/err_syntax4.output,
4093 test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax4.tab.h,
4094 test/btyacc/err_syntax5.output, test/btyacc/err_syntax5.tab.c,
4095 test/btyacc/err_syntax5.tab.h, test/btyacc/err_syntax6.output,
4096 test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax6.tab.h,
4097 test/btyacc/err_syntax7.output, test/btyacc/err_syntax7.tab.c,
4098 test/btyacc/err_syntax7.tab.h, test/btyacc/err_syntax7a.output,
4099 test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7a.tab.h,
4100 test/btyacc/err_syntax7b.output, test/btyacc/err_syntax7b.tab.c,
4101 test/btyacc/err_syntax7b.tab.h, test/btyacc/err_syntax8.output,
4102 test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8.tab.h,
4103 test/btyacc/err_syntax8a.output, test/btyacc/err_syntax8a.tab.c,
4104 test/btyacc/err_syntax8a.tab.h, test/btyacc/err_syntax9.output,
4105 test/btyacc/err_syntax9.tab.c, test/btyacc/err_syntax9.tab.h:
4106 reference output for testing
4107
4108 2014-03-24 Thomas E. Dickey <[email protected]>
4109
4110 * defs.h: fix compiler warnings due to mputc()
4111
4112 2014-03-23 Tom.Shields
4113
4114 * test/btyacc_demo.y: testcase for btyacc
4115
4116 * test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output,
4117 test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h:
4118 reference output for testing
4119
4120 * test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc
4121
4122 2014-03-23 Thomas E. Dickey <[email protected]>
4123
4124 * test/err_syntax26.error, test/err_syntax26.output,
4125 test/err_syntax26.tab.c, test/err_syntax26.tab.h,
4126 test/yacc/err_syntax26.error, test/yacc/err_syntax26.output,
4127 test/yacc/err_syntax26.tab.c, test/yacc/err_syntax26.tab.h:
4128 reference output for testing
4129
4130 * test/err_syntax26.y: testcase for missing_brace()
4131
4132 * test/err_syntax25.error, test/err_syntax25.output,
4133 test/err_syntax25.tab.c, test/err_syntax25.tab.h,
4134 test/yacc/err_syntax25.error, test/yacc/err_syntax25.output,
4135 test/yacc/err_syntax25.tab.c, test/yacc/err_syntax25.tab.h:
4136 reference output for testing
4137
4138 * test/err_syntax25.y: testcase for over_unionized()
4139
4140 * test/err_syntax24.error, test/err_syntax24.output,
4141 test/err_syntax24.tab.c, test/err_syntax24.tab.h,
4142 test/yacc/err_syntax24.error, test/yacc/err_syntax24.output,
4143 test/yacc/err_syntax24.tab.c, test/yacc/err_syntax24.tab.h:
4144 reference output for testing
4145
4146 * test/err_syntax24.y: testcase for default_action_warning()
4147
4148 2014-03-23 Tom.Shields
4149
4150 * test/btyacc/quote_calc3-s.error, test/btyacc/quote_calc4-s.error,
4151 test/btyacc/quote_calc4.error, test/btyacc/grammar.dot,
4152 test/btyacc/grammar.error, test/btyacc/pure_calc.error,
4153 test/btyacc/pure_error.error, test/btyacc/quote_calc-s.error,
4154 test/btyacc/quote_calc.error, test/btyacc/quote_calc2-s.error,
4155 test/btyacc/quote_calc2.error, test/btyacc/quote_calc3.error,
4156 test/btyacc/err_syntax2.error, test/btyacc/err_syntax3.error,
4157 test/btyacc/err_syntax4.error, test/btyacc/err_syntax5.error,
4158 test/btyacc/err_syntax6.error, test/btyacc/err_syntax7.error,
4159 test/btyacc/err_syntax7a.error, test/btyacc/err_syntax7b.error,
4160 test/btyacc/err_syntax8.error, test/btyacc/err_syntax8a.error,
4161 test/btyacc/err_syntax9.error, test/btyacc/error.error,
4162 test/btyacc/calc1.error, test/btyacc/calc2.error,
4163 test/btyacc/calc3.error, test/btyacc/code_calc.error,
4164 test/btyacc/code_error.error, test/btyacc/empty.error,
4165 test/btyacc/err_syntax1.error, test/btyacc/btyacc_calc1.error,
4166 test/btyacc/btyacc_demo.error:
4167 reference output for testing
4168
4169 2014-03-23 Thomas E. Dickey <[email protected]>
4170
4171 * test/err_syntax23.error, test/err_syntax23.output,
4172 test/err_syntax23.tab.c, test/err_syntax23.tab.h,
4173 test/yacc/err_syntax23.error, test/yacc/err_syntax23.output,
4174 test/yacc/err_syntax23.tab.c, test/yacc/err_syntax23.tab.h:
4175 reference output for testing
4176
4177 * test/err_syntax23.y: testcase for untyped_lhs()
4178
4179 2014-03-23 Tom.Shields
4180
4181 * test/run_test.sh:
4182 move test-outputs into subdirectories to keep btyacc/yacc results separate
4183
4184 2014-03-23 Thomas E. Dickey <[email protected]>
4185
4186 * test/err_syntax22.error, test/err_syntax22.output,
4187 test/err_syntax22.tab.c, test/err_syntax22.tab.h,
4188 test/yacc/err_syntax22.error, test/yacc/err_syntax22.output,
4189 test/yacc/err_syntax22.tab.c, test/yacc/err_syntax22.tab.h:
4190 reference output for testing
4191
4192 * test/err_syntax22.y: testcase for untyped_rhs()
4193
4194 * test/err_syntax21.error, test/err_syntax21.output,
4195 test/err_syntax21.tab.c, test/err_syntax21.tab.h,
4196 test/yacc/err_syntax21.error, test/yacc/err_syntax21.output,
4197 test/yacc/err_syntax21.tab.c, test/yacc/err_syntax21.tab.h,
4198 test/err_syntax20.error, test/err_syntax20.output,
4199 test/err_syntax20.tab.c, test/err_syntax20.tab.h,
4200 test/yacc/err_syntax20.error, test/yacc/err_syntax20.output,
4201 test/yacc/err_syntax20.tab.c, test/yacc/err_syntax20.tab.h:
4202 reference output for testing
4203
4204 * test/err_syntax20.y: testcase for undefined_symbol_warning()
4205
4206 * test/err_syntax21.y: testcase for unknown_rhs()
4207
4208 * test/err_syntax19.error, test/err_syntax19.output,
4209 test/err_syntax19.tab.c, test/err_syntax19.tab.h,
4210 test/yacc/err_syntax19.error, test/yacc/err_syntax19.output,
4211 test/yacc/err_syntax19.tab.c, test/yacc/err_syntax19.tab.h:
4212 reference output for testing
4213
4214 * test/err_syntax19.y: testcase for dollar_error()
4215
4216 * test/err_syntax18.error, test/err_syntax18.output,
4217 test/err_syntax18.tab.c, test/err_syntax18.tab.h,
4218 test/yacc/err_syntax18.error, test/yacc/err_syntax18.output,
4219 test/yacc/err_syntax18.tab.c, test/yacc/err_syntax18.tab.h:
4220 reference output for testing
4221
4222 * test/err_syntax18.y: testcase for dollar_warning()
4223
4224 * test/err_syntax17.error, test/err_syntax17.output,
4225 test/err_syntax17.tab.c, test/err_syntax17.tab.h,
4226 test/yacc/err_syntax17.error, test/yacc/err_syntax17.output,
4227 test/yacc/err_syntax17.tab.c, test/yacc/err_syntax17.tab.h:
4228 reference output for testing
4229
4230 * test/err_syntax17.y: testcase for unterminated_action()
4231
4232 2014-03-22 Thomas E. Dickey <[email protected]>
4233
4234 * test/err_syntax16.error, test/err_syntax16.output,
4235 test/err_syntax16.tab.c, test/err_syntax16.tab.h,
4236 test/yacc/err_syntax16.error, test/yacc/err_syntax16.output,
4237 test/yacc/err_syntax16.tab.c, test/yacc/err_syntax16.tab.h:
4238 reference output for testing
4239
4240 * test/err_syntax16.y: testcase for terminal_lhs()
4241
4242 * test/err_syntax15.error, test/err_syntax15.output,
4243 test/err_syntax15.tab.c, test/err_syntax15.tab.h,
4244 test/yacc/err_syntax15.error, test/yacc/err_syntax15.output,
4245 test/yacc/err_syntax15.tab.c, test/yacc/err_syntax15.tab.h:
4246 reference output for testing
4247
4248 * test/err_syntax15.y: testcase for no_grammar()
4249
4250 * test/err_syntax14.error, test/err_syntax14.output,
4251 test/err_syntax14.tab.c, test/err_syntax14.tab.h,
4252 test/yacc/err_syntax14.error, test/yacc/err_syntax14.output,
4253 test/yacc/err_syntax14.tab.c, test/yacc/err_syntax14.tab.h:
4254 reference output for testing
4255
4256 * test/err_syntax14.y:
4257 testcase for restarted_warning() and undefined_goal()
4258
4259 * test/err_syntax13.error, test/err_syntax13.output,
4260 test/err_syntax13.tab.c, test/err_syntax13.tab.h,
4261 test/yacc/err_syntax13.error, test/yacc/err_syntax13.output,
4262 test/yacc/err_syntax13.tab.c, test/yacc/err_syntax13.tab.h:
4263 reference output for testing
4264
4265 * test/err_syntax13.y: testcase for terminal_start()
4266
4267 * test/err_syntax12.error, test/err_syntax12.output,
4268 test/err_syntax12.tab.c, test/err_syntax12.tab.h,
4269 test/yacc/err_syntax12.error, test/yacc/err_syntax12.output,
4270 test/yacc/err_syntax12.tab.c, test/yacc/err_syntax12.tab.h:
4271 reference output for testing
4272
4273 * test/err_syntax12.y: testcase for revalued_warning()
4274
4275 * test/err_syntax11.error, test/err_syntax11.output,
4276 test/err_syntax11.tab.c, test/err_syntax11.tab.h,
4277 test/yacc/err_syntax11.error, test/yacc/err_syntax11.output,
4278 test/yacc/err_syntax11.tab.c, test/yacc/err_syntax11.tab.h:
4279 reference output for testing
4280
4281 * test/err_syntax11.y: testcase for reprec_warning()
4282
4283 * test/err_syntax10.error, test/err_syntax10.output,
4284 test/err_syntax10.tab.c, test/err_syntax10.tab.h,
4285 test/yacc/err_syntax10.error, test/yacc/err_syntax10.output,
4286 test/yacc/err_syntax10.tab.c, test/yacc/err_syntax10.tab.h:
4287 reference output for testing
4288
4289 * test/err_syntax10.y: testcase for retyped_warning()
4290
4291 2014-03-21 Thomas E. Dickey <[email protected]>
4292
4293 * test/err_syntax9.error, test/err_syntax9.output,
4294 test/err_syntax9.tab.c, test/err_syntax9.tab.h,
4295 test/yacc/err_syntax9.error, test/yacc/err_syntax9.output,
4296 test/yacc/err_syntax9.tab.c, test/yacc/err_syntax9.tab.h:
4297 reference output for testing
4298
4299 * test/err_syntax9.y: testcase for tokenized_start()
4300
4301 * test/err_syntax8.error, test/err_syntax8.output,
4302 test/err_syntax8.tab.c, test/err_syntax8.tab.h,
4303 test/err_syntax8a.error, test/err_syntax8a.output,
4304 test/err_syntax8a.tab.c, test/err_syntax8a.tab.h,
4305 test/yacc/err_syntax8.error, test/yacc/err_syntax8.output,
4306 test/yacc/err_syntax8.tab.c, test/yacc/err_syntax8.tab.h,
4307 test/yacc/err_syntax8a.error, test/yacc/err_syntax8a.output,
4308 test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax8a.tab.h:
4309 reference output for testing
4310
4311 * test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved()
4312
4313 * test/err_syntax7.error, test/err_syntax7.output,
4314 test/err_syntax7.tab.c, test/err_syntax7.tab.h,
4315 test/err_syntax7a.error, test/err_syntax7a.output,
4316 test/err_syntax7a.tab.c, test/err_syntax7a.tab.h,
4317 test/err_syntax7b.error, test/err_syntax7b.output,
4318 test/err_syntax7b.tab.c, test/err_syntax7b.tab.h,
4319 test/yacc/err_syntax7.error, test/yacc/err_syntax7.output,
4320 test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7.tab.h,
4321 test/yacc/err_syntax7a.error, test/yacc/err_syntax7a.output,
4322 test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7a.tab.h,
4323 test/yacc/err_syntax7b.error, test/yacc/err_syntax7b.output,
4324 test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax7b.tab.h:
4325 reference output for testing
4326
4327 * test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y:
4328 testcase for illegal_character()
4329
4330 * test/err_syntax6.error, test/err_syntax6.output,
4331 test/err_syntax6.tab.c, test/err_syntax6.tab.h,
4332 test/yacc/err_syntax6.error, test/yacc/err_syntax6.output,
4333 test/yacc/err_syntax6.tab.c, test/yacc/err_syntax6.tab.h:
4334 reference output for testing
4335
4336 * test/err_syntax6.y: testcase for illegal_tag()
4337
4338 * test/err_syntax5.error, test/err_syntax5.output,
4339 test/err_syntax5.tab.c, test/err_syntax5.tab.h,
4340 test/yacc/err_syntax5.error, test/yacc/err_syntax5.output,
4341 test/yacc/err_syntax5.tab.c, test/yacc/err_syntax5.tab.h:
4342 reference output for testing
4343
4344 * test/err_syntax5.y: testcase for unterminated_union()
4345
4346 * test/err_syntax4.error, test/err_syntax4.output,
4347 test/err_syntax4.tab.c, test/err_syntax4.tab.h,
4348 test/yacc/err_syntax4.error, test/yacc/err_syntax4.output,
4349 test/yacc/err_syntax4.tab.c, test/yacc/err_syntax4.tab.h:
4350 reference output for testing
4351
4352 * test/err_syntax4.y: testcase for unterminated_text()
4353
4354 * test/err_syntax3.error, test/err_syntax3.output,
4355 test/err_syntax3.tab.c, test/err_syntax3.tab.h,
4356 test/yacc/err_syntax3.error, test/yacc/err_syntax3.output,
4357 test/yacc/err_syntax3.tab.c, test/yacc/err_syntax3.tab.h:
4358 reference output for testing
4359
4360 * test/err_syntax3.y: testcase for unterminated_string()
4361
4362 * test/err_syntax2.error, test/err_syntax2.output,
4363 test/err_syntax2.tab.c, test/err_syntax2.tab.h,
4364 test/yacc/err_syntax2.error, test/yacc/err_syntax2.output,
4365 test/yacc/err_syntax2.tab.c, test/yacc/err_syntax2.tab.h:
4366 reference output for testing
4367
4368 * test/err_syntax2.y: testcase for unterminated_comment()
4369
4370 * test/err_syntax1.error, test/yacc/err_syntax1.error:
4371 reference output for testing
4372
4373 * test/err_syntax1.y:
4374 test-case with syntax error (and nonprinting character)
4375
4376 * test/calc.error, test/calc1.error, test/calc2.error, test/calc3.error,
4377 test/code_calc.error, test/code_error.error, test/err_syntax1.error,
4378 test/error.error, test/grammar.error, test/pure_calc.error,
4379 test/pure_error.error, test/quote_calc-s.error, test/quote_calc.error,
4380 test/quote_calc2-s.error, test/quote_calc2.error,
4381 test/quote_calc3-s.error, test/quote_calc3.error,
4382 test/quote_calc4-s.error, test/quote_calc4.error,
4383 test/yacc/calc.error, test/yacc/calc1.error, test/yacc/calc2.error,
4384 test/yacc/calc3.error, test/yacc/code_calc.error,
4385 test/yacc/code_error.error, test/yacc/error.error,
4386 test/yacc/grammar.error, test/yacc/pure_calc.error,
4387 test/yacc/pure_error.error, test/yacc/quote_calc-s.error,
4388 test/yacc/quote_calc.error, test/yacc/quote_calc2-s.error,
4389 test/yacc/quote_calc2.error, test/yacc/quote_calc3-s.error,
4390 test/yacc/quote_calc3.error, test/yacc/quote_calc4-s.error,
4391 test/yacc/quote_calc4.error:
4392 reference output for testing
4393
4394 * test/run_test.sh:
4395 save stderr to reference files, to capture shift/reduce messages as well
4396 as syntax-error messages
4397
4398 * test/err_syntax1.output, test/err_syntax1.tab.c,
4399 test/err_syntax1.tab.h, test/yacc/err_syntax1.output,
4400 test/yacc/err_syntax1.tab.c, test/yacc/err_syntax1.tab.h:
4401 reference output for testing
4402
4403 * test/run_test.sh: generate a ".dot" file for the grammar file
4404
4405 * test/grammar.dot: RCS_BASE
4406
4407 * test/yacc/grammar.dot: reference output for testing
4408
4409 2014-03-19 Tom.Shields
4410
4411 * output.c: rename MAXSHORT to MAXYYINT
4412
4413 2014-03-18 Tom.Shields
4414
4415 * yaccpar.skel: skeleton with btyacc additions
4416
4417 * NOTES-btyacc-Changes: byacc-btyacc-20140323
4418
4419 * test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c,
4420 test/btyacc/btyacc_calc1.tab.h:
4421 reference output for testing
4422
4423 * test/run_make.sh:
4424 move test-outputs into subdirectories to keep btyacc/yacc results separate
4425
4426 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_calc.tab.h,
4427 test/btyacc/pure_error.output, test/btyacc/pure_error.tab.c,
4428 test/btyacc/pure_error.tab.h, test/btyacc/quote_calc-s.output,
4429 test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc-s.tab.h,
4430 test/btyacc/quote_calc.output, test/btyacc/quote_calc.tab.c,
4431 test/btyacc/quote_calc.tab.h, test/btyacc/quote_calc2-s.output,
4432 test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2-s.tab.h,
4433 test/btyacc/quote_calc2.output, test/btyacc/quote_calc2.tab.c,
4434 test/btyacc/quote_calc2.tab.h, test/btyacc/quote_calc3-s.output,
4435 test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3-s.tab.h,
4436 test/btyacc/quote_calc3.output, test/btyacc/quote_calc3.tab.c,
4437 test/btyacc/quote_calc3.tab.h, test/btyacc/quote_calc4-s.output,
4438 test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4-s.tab.h,
4439 test/btyacc/quote_calc4.output, test/btyacc/quote_calc4.tab.c,
4440 test/btyacc/quote_calc4.tab.h, test/btyacc/calc1.output,
4441 test/btyacc/calc1.tab.c, test/btyacc/calc1.tab.h,
4442 test/btyacc/calc2.output, test/btyacc/calc2.tab.c,
4443 test/btyacc/calc2.tab.h, test/btyacc/calc3.output,
4444 test/btyacc/calc3.tab.c, test/btyacc/calc3.tab.h,
4445 test/btyacc/code_calc.code.c, test/btyacc/code_calc.output,
4446 test/btyacc/code_calc.tab.c, test/btyacc/code_calc.tab.h,
4447 test/btyacc/code_error.code.c, test/btyacc/code_error.output,
4448 test/btyacc/code_error.tab.c, test/btyacc/code_error.tab.h,
4449 test/btyacc/empty.output, test/btyacc/empty.tab.c,
4450 test/btyacc/empty.tab.h, test/btyacc/error.output,
4451 test/btyacc/error.tab.c, test/btyacc/error.tab.h,
4452 test/btyacc/grammar.output, test/btyacc/grammar.tab.c,
4453 test/btyacc/grammar.tab.h, test/btyacc/pure_calc.output,
4454 test/btyacc/btyacc_demo.output, test/btyacc/btyacc_demo.tab.h,
4455 test/btyacc/calc.output, test/btyacc/calc.tab.c, test/btyacc/calc.tab.h:
4456 reference output for testing
4457
4458 * defs.h:
4459 several changes to help decouple the use of 'short' as the type of value
4460 used in yacc parsers.
4461
4462 * NOTES-btyacc-Disposition: byacc-btyacc-20140323
4463
4464 2014-03-17 Tom.Shields
4465
4466 * skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE
4467
4468 * test/run_lint.sh:
4469 move test-outputs into subdirectories to keep btyacc/yacc results separate
4470
4471 * configure.in: add --with-max-table-size and --enable-btyacc options
4472
4473 2014-03-16 Tom.Shields
4474
4475 * main.c: use Value_t rather than short
4476
4477 2014-03-11 Tom.Shields
4478
4479 * test/empty.y: testcase for btyacc
4480
4481 2014-03-10 Tom.Shields
4482
4483 * test/calc3.y, test/calc2.y: fix unused-variable warning
4484
4485 2014-02-18 Tom.Shields
4486
4487 * lr0.c, graph.c: use Value_t rather than short
4488
4489 * closure.c: use Value_t rather than short
4490 ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions
4491
4492 * lalr.c: rename MAXSHORT to MAXYYINT
4493
4494 2014-01-01 Thomas E. Dickey <[email protected]>
4495
4496 * yacc.1: document %token-table, improve presentation of double-quotes
4497
4498 * VERSION, package/byacc.spec, package/debian/changelog: bump
4499
4500 * test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c,
4501 test/yacc/calc3.tab.c, test/yacc/code_calc.code.c,
4502 test/yacc/code_calc.tab.c, test/yacc/code_error.code.c,
4503 test/yacc/code_error.tab.c, test/yacc/error.tab.c,
4504 test/yacc/grammar.tab.c, test/yacc/pure_calc.tab.c,
4505 test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c,
4506 test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c,
4507 test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c,
4508 test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c,
4509 test/yacc/quote_calc4.tab.c:
4510 reference output for testing
4511
4512 * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c,
4513 test/code_calc.code.c, test/code_calc.tab.c, test/code_error.code.c,
4514 test/code_error.tab.c, test/error.tab.c, test/ftp.tab.c,
4515 test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c,
4516 test/quote_calc-s.tab.c, test/quote_calc.tab.c,
4517 test/quote_calc2-s.tab.c, test/quote_calc2.tab.c,
4518 test/quote_calc3-s.tab.c, test/quote_calc3.tab.c,
4519 test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
4520 regen
4521
4522 * output.c, skeleton.c:
4523 amend the last change so that yytname is #define'd as needed rather than
4524 permanent - to avoid breaking cproto for instance.
4525
4526 2014-01-01 Christos Zoulas <[email protected]>
4527
4528 * output.c, defs.h, main.c, reader.c, skeleton.c:
4529 changes to build ntpd using byacc:
4530 - rename yyname[] to yytname[]
4531 - add YYTRANSLATE() macro
4532 - recognize bison's %token-table declaration
4533
4534 2014-01-01 Thomas E. Dickey <[email protected]>
4535
4536 * configure: regen
4537
4538 * yacc.1: s/EE/XE/ to work around groff bug on Debian 6
4539
4540 * makefile.in: use CF_MAKE_DOCS
4541
4542 * aclocal.m4: add CF_MAKE_DOCS
4543
4544 * configure.in: use CF_MAKE_DOCS
4545
4546 2013-12-26 Thomas E. Dickey <[email protected]>
4547
4548 * config.guess: 2013-11-29
4549
4550 2013-11-19 Thomas E. Dickey <[email protected]>
4551
4552 * aclocal.m4: resync with my-autoconf (fixes for clang and mingw)
4553
4554 2013-10-25 Thomas E. Dickey <[email protected]>
4555
4556 * config.sub: 2013-10-01
4557
4558 2013-09-25 Thomas E. Dickey <[email protected]>
4559
4560 * reader.c: fix two loop-limits found by clang 3.3 --analyze
4561
4562 * configure: regen
4563
4564 * aclocal.m4:
4565 tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses
4566
4567 * package/mingw-byacc.spec: RCS_BASE
4568
4569 * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c,
4570 test/code_calc.code.c, test/code_error.code.c, test/error.tab.c,
4571 test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c,
4572 test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c,
4573 test/quote_calc2-s.tab.c, test/quote_calc2.tab.c,
4574 test/quote_calc3-s.tab.c, test/quote_calc3.tab.c,
4575 test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
4576 regen
4577
4578 * skeleton.c:
4579 Increase default stack-size to match FreeBSD version noted as from
4580 "BSD 4.4 Lite Usr.bin Sources". See
4581
4582 http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/
4583 http://svnweb.freebsd.org/base/head/usr.bin/yacc/
4584 http://svnweb.freebsd.org/base/vendor/byacc/
4585
4586 The original 1.9 sources (on which I based development) used 500 for
4587 stacksize; the BSD Lite sources (a year or two later) used 10000.
4588
4589 This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE
4590 symbols have "always" been overridable by applications, but rarely
4591 needed to do this. RedHat began using the FreeBSD source in 2000,
4592 and switched to this source in 2007 using the 20050813 snapshot.
4593
4594 RedHat #743343 misattributed the change in default stacksize to
4595 a regression in byacc, but did not report the issue upstream.
4596
4597 * package/debian/changelog, VERSION, package/byacc.spec: bump
4598
4599 2013-09-07 Thomas E. Dickey <[email protected]>
4600
4601 * config.sub: update to 2013-09-15
4602
4603 * config.guess: update to 2013-06-10
4604
4605 2013-03-04 Thomas E. Dickey <[email protected]>
4606
4607 * package/debian/changelog, VERSION, package/byacc.spec: bump
4608
4609 * aclocal.m4:
4610 adapt tweak from Dave Beckett to work around long-ago breakage in "new" autoconf.
4611
4612 * output.c:
4613 fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton).
4614 also while testing that, found a case where the union_file is unused; added
4615 a check for address that.
4616
4617 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen
4618
4619 * test/ftp.y: fix most compiler warnings for "make check_make"
4620
4621 * test/calc1.tab.c: regen
4622
4623 * test/calc1.y: fix most compiler warnings for "make check_make"
4624
4625 * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c,
4626 test/code_calc.code.c, test/code_error.code.c, test/error.tab.c,
4627 test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c,
4628 test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c,
4629 test/quote_calc2-s.tab.c, test/quote_calc2.tab.c,
4630 test/quote_calc3-s.tab.c, test/quote_calc3.tab.c,
4631 test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
4632 regen
4633
4634 * skeleton.c: quiet a gcc conversion-warning in yygrowstack()
4635
4636 * configure: regen
4637
4638 * aclocal.m4:
4639 another fix for CF_GCC_VERSION to handle Debian's modification of gcc message.
4640
4641 2013-02-10 Thomas E. Dickey <[email protected]>
4642
4643 * config.sub, config.guess: update to 2013-02-04
4644
4645 2012-10-03 Thomas E. Dickey <[email protected]>
4646
4647 * package/debian/changelog, package/byacc.spec, VERSION: bump
4648
4649 * configure: regen
4650
4651 * configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC
4652
4653 * aclocal.m4:
4654 moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc)
4655 the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor.
4656
4657 * aclocal.m4, configure.in:
4658 Arian's change dropped my check for misused $CC variable - restore that with
4659 alternate macro CF_PROG_CC.
4660
4661 2012-10-03 Adrian.Bunk
4662
4663 * aclocal.m4:
4664 suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since
4665 they are not needed.
4666
4667 2012-10-03 Thomas E. Dickey <[email protected]>
4668
4669 * aclocal.m4:
4670 split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in
4671 Adrian's suggested changes.
4672
4673 * aclocal.m4:
4674 CF_CLANG_COMPILER - check if the given compiler is really clang.
4675
4676 * aclocal.m4:
4677 add check for clang to CF_GCC_WARNINGS. modify CF_GCC_WARNINGS to work around
4678 old gcc warning: ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1
4679 on my Sarge system (versus 3.3.5 for the normal gcc). The 2.8.1's
4680 pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work
4681 around by excluding that check for pre-3.x compilers.
4682
4683 * aclocal.m4:
4684 modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions
4685 provided by this macro. use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather
4686 than appending to confdefs.h, since long-ago concern about the ability to
4687 pass-through parameterized macros appears to be not a problem, testing with
4688 2.13 and 2.52
4689
4690 2012-10-03 Adrian.Bunk
4691
4692 * aclocal.m4:
4693 add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by
4694 autoheader, updated macros:
4695 CF_CHECK_CACHE
4696 CF_DISABLE_LEAKS
4697 CF_MKSTEMP
4698 CF_MIXEDCASE_FILENAMES
4699 CF_NO_LEAKS_OPTION
4700
4701 2012-10-03 Thomas E. Dickey <[email protected]>
4702
4703 * aclocal.m4:
4704 move existence-check for mkstemp out of the AC_TRY_RUN, to help with
4705 cross-compiles
4706
4707 2012-10-02 Thomas E. Dickey <[email protected]>
4708
4709 * config_h.in:
4710 Adrian Bunk request - replace this with the output from autoheader
4711
4712 2012-09-29 Adrian.Bunk
4713
4714 * configure.in:
4715 suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no
4716 check is needed anymore for standard C compilers), drop AC_CONST (same
4717 reason), modify AC_OUTPUT to rely upon template generated by autoheader.
4718 bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT
4719 as being obsolete with autoconf 2.52x
4720
4721 * configure.in, main.c: drop check for atexit, because it is standard C
4722
4723 * makefile.in: add assignment for datarootdir variable.
4724
4725 2012-05-26 Thomas E. Dickey <[email protected]>
4726
4727 * package/debian/changelog, package/byacc.spec, VERSION: bump
4728
4729 * reader.c:
4730 some versions of gcc may warn that bp is not set in mark_symbol, e.g.,
4731 if GCC_NORETURN is not handled; appease the compiler.
4732
4733 * reader.c:
4734 use the declared types Assoc_t and Value_t in some places where compiler only
4735 cared about char versus short.
4736
4737 * reader.c:
4738 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
4739 (no object change)
4740
4741 * defs.h:
4742 add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD
4743 packagers to build without configure script. Also remove duplicate declaration
4744 of pure_parser variable (prompted by patch by Baptiste Daroussin).
4745
4746 Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and
4747 REALLOC macros.
4748
4749 * symtab.c:
4750 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
4751 (no object change)
4752
4753 2012-05-25 Thomas E. Dickey <[email protected]>
4754
4755 * output.c, main.c, verbose.c, mkpar.c, lr0.c:
4756 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
4757 (no object change)
4758
4759 2012-01-15 Thomas E. Dickey <[email protected]>
4760
4761 * package/debian/copyright: bump
4762
4763 * test/run_make.sh: workaround for breakage due to GNU make 3.82
4764
4765 * test/run_make.sh:
4766 tested with Solaris 10 (bison 1.875) and added scripting to exercise
4767 the /usr/ccs/bin/yacc executable
4768
4769 * test/grammar.tab.c: regen
4770
4771 * test/grammar.y: modify to also build with Solaris yacc
4772
4773 * VERSION, package/debian/changelog, package/byacc.spec: bump
4774
4775 * test/yacc/calc1.output: reference output for testing
4776
4777 * test/calc1.output, test/calc1.tab.c: regen
4778
4779 * test/calc1.y:
4780 undo the change made to appease bison, since it was only a warning.
4781
4782 * test/pure_calc.tab.c, test/pure_error.tab.c: regen
4783
4784 * test/run_make.sh: another fix for running from top-level directory
4785
4786 * makefile.in:
4787 ensure that check_make rule depends on having byacc built.
4788
4789 * test/run_make.sh: fixes for building from parent directory
4790
4791 * test/pure_error.y, test/pure_calc.y: bison-fixes
4792
4793 * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c,
4794 test/ftp.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c:
4795 regen
4796
4797 * test/code_debug.y: RCS_BASE
4798
4799 * test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y:
4800 byacc already declares yyerror
4801
4802 * test/pure_error.y, test/pure_calc.y:
4803 modified to help make the files build with bison
4804
4805 * test/run_make.sh:
4806 supply a "%pure-parser" directive when bison needs it.
4807
4808 * test/code_calc.code.c: regen
4809
4810 * test/code_calc.y: modified to help make the files build with bison
4811
4812 * yacc.1:
4813 in testing, found that %expect did not work as documented for bison.
4814 do not recommend it for portable code.
4815
4816 * test/run_make.sh: workaround breakage in bison's %expect directive
4817
4818 * test/grammar.y: modified to help make the files build with bison
4819
4820 * test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen
4821
4822 * test/calc1.y: quiet a spurious warning from bison 2.3
4823
4824 * test/calc1.tab.c: regen
4825
4826 * test/calc1.y: modified to help make the files build with bison
4827
4828 * yacc.1: comment on "-y" and "-P" options.
4829
4830 * yacc.1: comment on portability
4831
4832 * test/ftp.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c,
4833 test/quote_calc2-s.tab.c, test/quote_calc3-s.tab.c:
4834 regen
4835
4836 * test/ftp.y: modified to help make the files build with bison
4837 (bison's "-y" option is of no use in providing "yacc" compatibility)
4838
4839 * test/quote_calc2.tab.c, test/quote_calc3.tab.c,
4840 test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
4841 regen
4842
4843 * test/code_calc.y, test/quote_calc2.y, test/quote_calc.y,
4844 test/quote_calc4.y, test/quote_calc3.y:
4845 modified to help make the files build with bison
4846
4847 * test/calc.tab.c: regen
4848
4849 * test/calc.y: modified to help make the files build with bison
4850
4851 * test/error.tab.c: regen
4852
4853 * test/error.y: modified to help make the files build with bison
4854
4855 * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen
4856
4857 * test/run_make.sh:
4858 check for older bisons which (2.3 for instance) do not support pure parsers
4859
4860 * test/code_error.y, test/calc3.y, test/calc2.y:
4861 modified to help make the files build with bison
4862
4863 * test/run_test.sh: use $opt2 in filenames of the generated files
4864
4865 * test/quote_calc2-s.tab.c, test/quote_calc3-s.tab.c,
4866 test/quote_calc4-s.tab.c, test/quote_calc-s.tab.c,
4867 test/quote_calc.tab.c, test/quote_calc2.tab.c, test/quote_calc3.tab.c,
4868 test/quote_calc4.tab.c:
4869 regen
4870
4871 2012-01-14 Thomas E. Dickey <[email protected]>
4872
4873 * test/calc2.tab.c, test/code_calc.code.c, test/code_error.code.c,
4874 test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c,
4875 test/calc1.tab.c:
4876 regen
4877
4878 * output.c: Several changes:
4879 a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex.
4880 b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL,
4881 using YYLEX_PARAM_TYPE and YYLEX_PARAM.
4882 c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL,
4883 to help with redefinitions.
4884
4885 * test/pure_calc.tab.c:
4886 modified to help make the files build with bison
4887
4888 * test/run_make.sh:
4889 start work on followup, to check if the generated files build with bison.
4890
4891 * test/pure_calc.y, test/pure_error.tab.c:
4892 modified to help make the files build with bison
4893
4894 * test/calc3.tab.c: regen
4895
4896 * test/quote_calc-s.output, test/quote_calc-s.tab.c,
4897 test/quote_calc-s.tab.h, test/quote_calc2-s.output,
4898 test/quote_calc2-s.tab.c, test/quote_calc2-s.tab.h,
4899 test/quote_calc3-s.output, test/quote_calc3-s.tab.c,
4900 test/quote_calc3-s.tab.h, test/quote_calc4-s.output,
4901 test/quote_calc4-s.tab.c, test/quote_calc4-s.tab.h:
4902 RCS_BASE
4903
4904 * test/yacc/quote_calc-s.output, test/yacc/quote_calc-s.tab.h,
4905 test/yacc/quote_calc2-s.output, test/yacc/quote_calc2-s.tab.h,
4906 test/yacc/quote_calc3-s.output, test/yacc/quote_calc3-s.tab.h,
4907 test/yacc/quote_calc4-s.output, test/yacc/quote_calc4-s.tab.h:
4908 reference output for testing
4909
4910 * test/run_test.sh: generate/test with "-s" option applied.
4911
4912 2012-01-13 Thomas E. Dickey <[email protected]>
4913
4914 * package/debian/changelog, package/byacc.spec, VERSION: bump
4915
4916 * yacc.1: improve documentation of -s option
4917
4918 * yacc.1: note that yacc ignores -y
4919
4920 * main.c: add -s option to usage message.
4921
4922 * test/quote_calc3.output, test/quote_calc3.tab.c,
4923 test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h:
4924 RCS_BASE
4925
4926 * test/yacc/quote_calc3.output, test/yacc/quote_calc4.output,
4927 test/yacc/quote_calc4.tab.h:
4928 reference output for testing
4929
4930 * test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE
4931
4932 * test/yacc/quote_calc.tab.h: reference output for testing
4933
4934 * test/quote_calc.output, test/quote_calc.tab.c,
4935 test/quote_calc2.output, test/quote_calc2.tab.c,
4936 test/quote_calc2.tab.h, test/quote_calc3.tab.h:
4937 RCS_BASE
4938
4939 * test/yacc/quote_calc.output, test/yacc/quote_calc2.output,
4940 test/yacc/quote_calc2.tab.h, test/yacc/quote_calc3.tab.h:
4941 reference output for testing
4942
4943 * test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE
4944
4945 * configure: regen
4946
4947 * aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE
4948
4949 2011-12-19 Thomas E. Dickey <[email protected]>
4950
4951 * package/debian/changelog, package/byacc.spec, VERSION: bump
4952
4953 * yacc.1, output.c, main.c, defs.h:
4954 add "-s" option to suppress generating #define's based on string contents
4955 in a %token statement. For instance
4956 %token EQLS "Equals"
4957 would generate
4958 #define EQLS 256
4959 #define Equals 257
4960 Simply suppressing the second #define makes the behavior closer to yacc.
4961 (report by Paulo Andrade).
4962
4963 2011-09-08 Thomas E. Dickey <[email protected]>
4964
4965 * package/debian/changelog, package/byacc.spec, VERSION: bump
4966
4967 * output.c:
4968 fix some more interaction between -i and -d flags to ensure YYERRCODE
4969 and YYSTYPE are declared, tested with cproto.
4970
4971 2011-09-07 Thomas E. Dickey <[email protected]>
4972
4973 * yacc.1: document "-i" option.
4974
4975 * package/debian/changelog, package/byacc.spec, VERSION: bump
4976
4977 * output.c: fix an interaction between -i and -d
4978
4979 * test/code_error.code.c, test/error.tab.c, test/ftp.tab.c,
4980 test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c,
4981 test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c,
4982 test/code_calc.code.c:
4983 regen - changes for "-i" option move the global/impure variables near the
4984 macros that may add a prefix, etc.
4985
4986 * skeleton.c, output.c, defs.h: changes to support "-i" option.
4987
4988 2011-09-06 Thomas E. Dickey <[email protected]>
4989
4990 * reader.c: pass explicit file-pointer to write_section()
4991
4992 * main.c:
4993 add "-i" option, to generate interface-file (suggested by Denis M. Wilson)
4994
4995 2011-09-05 Thomas E. Dickey <[email protected]>
4996
4997 * configure: regen
4998
4999 * aclocal.m4:
5000 resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC)
5001 and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks)
5002
5003 * defs.h, error.c, reader.c:
5004 add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson)
5005
5006 2011-04-01 Thomas E. Dickey <[email protected]>
5007
5008 * config.sub: update to 2011-04-01
5009
5010 2011-02-02 Thomas E. Dickey <[email protected]>
5011
5012 * config.guess: update to 2011-01-01
5013
5014 2010-12-29 Thomas E. Dickey <[email protected]>
5015
5016 * defs.h, skeleton.c:
5017 add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas)
5018
5019 * defs.h:
5020 mark all of the error-functions as non-returning (report by Christos Zoulas)
5021
5022 * test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c,
5023 test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c,
5024 test/code_calc.code.c, test/code_error.code.c, test/error.tab.c,
5025 test/ftp.tab.c:
5026 regen
5027
5028 * skeleton.c:
5029 use only realloc() rather than realloc+malloc, agree that systems needing this
5030 are very rare (prompted by NetBSD change).
5031
5032 * test/ftp.tab.c: regen
5033
5034 2010-12-29 Christos Zoulas <[email protected]>
5035
5036 * test/ftp.y:
5037 improve example, which was stuck in 19XX and assumed file sizes were longs.
5038
5039 2010-12-29 Thomas E. Dickey <[email protected]>
5040
5041 * test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c,
5042 test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c,
5043 test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c,
5044 test/code_error.code.c, test/error.tab.c:
5045 regen
5046
5047 * test/pure_error.y, test/pure_calc.y, test/ftp.y, test/error.y,
5048 test/code_error.y, test/code_calc.y, test/calc.y, test/calc3.y,
5049 test/calc2.y, test/calc1.y:
5050 use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror
5051
5052 * skeleton.c:
5053 remove explicit prototype for yylex() via YYLEX_DECL() macro, since that
5054 would prevent declaring yylex() static (request by Christos Zoulas).
5055
5056 * test/calc2.tab.c, test/calc3.tab.c: regen
5057
5058 2010-12-29 Christos Zoulas <[email protected]>
5059
5060 * output.c: correct definition for YYERROR_DECL()
5061
5062 2010-12-29 Thomas E. Dickey <[email protected]>
5063
5064 * package/debian/changelog, package/byacc.spec, VERSION: bump
5065
5066 2010-12-26 Thomas E. Dickey <[email protected]>
5067
5068 * defs.h, main.c:
5069 change return-type of allocate() to avoid warnings of alignment problems
5070
5071 * main.c: Solaris declares chmod() in <sys/stat.h>
5072
5073 * configure: regen
5074
5075 * main.c: ifdef'd use of fcntl.h
5076
5077 * configure.in: add configure checks for fcntl.h, atexit and mkstemp
5078
5079 * main.c: for cases where mkstemp() is not available, use tempnam/open
5080
5081 * aclocal.m4: add CF_MKSTEMP
5082
5083 * aclocal.m4:
5084 improve quoting, deprecate ${name-value} in favor of standard ${name:-value}
5085
5086 2010-12-25 Thomas E. Dickey <[email protected]>
5087
5088 * main.c:
5089 start revising use of tmpfile(), to make this work with MinGW. Start by
5090 implementing a mkstemp() alternative - noting that mkstemp() also is broken
5091 for MinGW.
5092
5093 * package/debian/changelog, package/byacc.spec, VERSION: bump
5094
5095 2010-11-27 Thomas E. Dickey <[email protected]>
5096
5097 * package/byacc.spec, package/debian/changelog, VERSION: bump
5098
5099 * test/calc2.tab.c, test/calc3.tab.c: regen
5100
5101 * output.c:
5102 corrected use of %parse-param value in yyerror(); it doesn't use &yylval
5103 (report by Clifford Yapp)
5104
5105 2010-11-26 Thomas E. Dickey <[email protected]>
5106
5107 * skeleton.c: typo
5108
5109 * output.c:
5110 correct line-numbering when "-r" option is used; the 'outline' variable
5111 should only be incremented when writing to the code-file.
5112
5113 * test/code_calc.code.c, test/code_error.code.c: regen
5114
5115 * yacc.1: bump date
5116
5117 * yacc.1: comment on -b option vs -r
5118
5119 * test/calc2.tab.c, test/calc2.y, test/calc3.tab.c, test/calc3.y,
5120 test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c,
5121 test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c,
5122 test/code_calc.code.c, test/code_error.code.c, test/error.tab.c:
5123 regen
5124
5125 * output.c:
5126 improve on YYERROR_DECL(), adding dummy params which can be used for the
5127 actual function declaration. Also add YYERROR_CALL(). The two macros
5128 simplify maintaining sets of grammars which may/may not be pure.
5129
5130 * test/calc1.y, test/ftp.tab.c, test/grammar.tab.c,
5131 test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c,
5132 test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c,
5133 test/code_calc.code.c, test/code_error.code.c, test/error.tab.c:
5134 regen
5135
5136 * output.c: generate yyerror() calls in output.c
5137 This is for compatibility with bison, which passes the yylval to yyerror
5138 when the %parse-param feature is used.
5139
5140 * skeleton.c, defs.h: generate yyerror() calls in output.c
5141
5142 * output.c: simplified a little, using putc_code() and putl_code()
5143
5144 * test/yacc/calc1.tab.h: reference output for testing
5145
5146 * test/calc1.tab.h: regen
5147
5148 * reader.c:
5149 improve ifdef for YYSTYPE union declaration (report by Clifford Yapp)
5150
5151 * reader.c:
5152 accept underscore as a replacement for dash in command names, e.g.,
5153 "%pure_parser" vs "%pure-parser".
5154
5155 * test/calc1.tab.c: regen
5156
5157 * output.c, reader.c:
5158 also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp)
5159
5160 * package/debian/changelog, package/byacc.spec, VERSION: bump
5161
5162 2010-11-24 Thomas E. Dickey <[email protected]>
5163
5164 * main.c, defs.h, symtab.c, error.c: reduce global variables
5165
5166 * package/debian/changelog, package/byacc.spec, VERSION: bump
5167
5168 * reader.c:
5169 amend fix for Redhat #112617 to still call default_action_warning() for
5170 empty rules (report by Bruce Cran).
5171
5172 2010-11-22 Thomas E. Dickey <[email protected]>
5173
5174 * output.c:
5175 add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp).
5176
5177 * test/calc1.tab.c: regen
5178
5179 * test/calc1.y: cleanup compiler warnings
5180
5181 * test/grammar.y: add "%expect"
5182
5183 * test/calc1.tab.h: regen
5184
5185 * test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE
5186
5187 * test/calc2.tab.c, test/calc3.tab.c: regen
5188
5189 * test/calc1.y:
5190 advanced example from Steve Johnson's paper, uses unions
5191
5192 * test/calc3.y, test/calc2.y: init 'base', so examples can run
5193
5194 * test/ftp.tab.c, test/ftp.y: tweaks to compile with g++
5195
5196 * output.c: compensate for fix in reader.c
5197
5198 * reader.c:
5199 add/use putc_both() and puts_both(), incidentally fixing a place where
5200 a union copied to the union_file may be missing the end of the last line.
5201
5202 * package/debian/changelog, package/byacc.spec, VERSION: bump
5203
5204 2010-09-28 Thomas E. Dickey <[email protected]>
5205
5206 * config.guess: update to 2010-09-24
5207
5208 2010-09-10 Thomas E. Dickey <[email protected]>
5209
5210 * config.sub: update to 2010-09-11
5211
5212 2010-06-10 Thomas E. Dickey <[email protected]>
5213
5214 * yacc.1, package/debian/changelog, package/byacc.spec, VERSION:
5215 bump to 2010/06/10
5216
5217 2010-06-09 Thomas E. Dickey <[email protected]>
5218
5219 * reader.c: free declarations in leak-testing code.
5220
5221 * main.c: close code_file if -r option used, for leak-testing
5222
5223 * defs.h, reader.c:
5224 improve %lex-param / %parse-param implementation by allowing for arrays to
5225 be passed as parameters, e.g., "int regs[26]".
5226
5227 * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h:
5228 RCS_BASE
5229
5230 * test/yacc/calc3.output, test/yacc/calc3.tab.h:
5231 reference output for testing
5232
5233 * test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE
5234
5235 * test/yacc/calc2.tab.h: reference output for testing
5236
5237 * test/calc2.output: RCS_BASE
5238
5239 * test/yacc/calc2.output: reference output for testing
5240
5241 * output.c:
5242 improve %lex-param / %parse-param implementation by allowing for arrays to
5243 be passed as parameters, e.g., "int regs[26]".
5244
5245 * test/calc.tab.c, test/calc.y:
5246 test-cases and reference files for %lex-param / %parse-param
5247
5248 * makefile.in: add docs-rule, for html/pdf/txt form of manpage
5249
5250 * configure: regen
5251
5252 * aclocal.m4: add CF_XOPEN_SOURCE, etc.
5253
5254 * configure.in:
5255 use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89
5256
5257 * test/ftp.tab.c, test/ftp.y, reader.c, symtab.c, verbose.c, lr0.c,
5258 main.c, mkpar.c, output.c, defs.h, closure.c:
5259 fix warnings from clang --analyze
5260
5261 2010-06-08 Thomas E. Dickey <[email protected]>
5262
5263 * output.c: fix to build with c89, etc.
5264
5265 * reader.c: gcc warning
5266
5267 * test/ftp.tab.c, test/ftp.y, test/calc.tab.c, test/code_calc.code.c,
5268 test/code_error.code.c, test/code_error.y, test/code_calc.y,
5269 test/calc.y, test/pure_error.tab.c, test/error.tab.c, test/error.y,
5270 test/pure_error.y, test/pure_calc.tab.c, test/pure_calc.y:
5271 modified test-cases to allow them to compile, to validate pure-parser changes.
5272 updated reference files to match.
5273
5274 * output.c:
5275 move call for output_stype() earlier since it is used in pure-parser declarations
5276
5277 * test/grammar.tab.c, test/grammar.y:
5278 modified test-cases to allow them to compile, to validate pure-parser changes.
5279 updated reference files to match.
5280
5281 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
5282 regen
5283
5284 * yacc.1: document %lex-param and %parse-param
5285
5286 * test/run_lint.sh, test/run_make.sh: RCS_BASE
5287
5288 * test/run_test.sh:
5289 further modify to allow build-directory to be in a different location by
5290 passing this directory's location as a parameter to the script.
5291
5292 * makefile.in:
5293 add check_make and check_lint rules to help validate the generated files
5294 in the test-directory
5295
5296 2010-06-07 Thomas E. Dickey <[email protected]>
5297
5298 * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE
5299
5300 * test/run_test.sh:
5301 provide for testing -r and -P options by checking if the ".y" filename
5302 begins with "code_" or "pure_", respectively.
5303
5304 * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h:
5305 RCS_BASE
5306
5307 * test/yacc/code_error.tab.h: reference output for testing
5308
5309 * test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h:
5310 RCS_BASE
5311
5312 * test/yacc/code_calc.tab.h: reference output for testing
5313
5314 * test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output,
5315 test/pure_error.tab.h:
5316 RCS_BASE
5317
5318 * test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h,
5319 test/yacc/pure_error.output, test/yacc/pure_error.tab.h:
5320 reference output for testing
5321
5322 * test/code_calc.output, test/code_error.output: RCS_BASE
5323
5324 * test/yacc/code_calc.output, test/yacc/code_error.output:
5325 reference output for testing
5326
5327 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen
5328
5329 * test/run_test.sh:
5330 changes to support running "make check" in a separate build-tree
5331
5332 * main.c: add "-P" to usage message
5333
5334 * reader.c: use UCH() macro to hide casts.
5335
5336 2010-06-07 Andres.Mejia
5337
5338 * main.c, output.c, reader.c, defs.h, skeleton.c:
5339 Fix the output order of the generated parse code file. This allows for
5340 the use of YYPARSE_PARAM, by having the output that checks for
5341 YYPARSE_PARAM to be defined come after the C code block in the
5342 definitions section of a yacc file.
5343
5344 Implement support for YYLEX_PARAM, similar to bison. This is useful for
5345 support for building reentrant lexers with flex.
5346
5347 Fix a compatibility issue with bison's pure-parser option. Bison
5348 defines yylex as sending at least one parameter, &yylval, as the first
5349 parameter and doesn't seem to have an easy way to remove that parameter.
5350 This on the other hand is rather convenient to support saving to yylval
5351 from flex when building reentrant lexers and parsers.
5352
5353 Add support for the %parse-param and %lex-param directives used in
5354 bison. This change bears some similarity to NetBSD's changes to byacc
5355 at http://www.mail-archive.com/[email protected]/msg08143.html
5356
5357 Bison allows for POSIX yacc emulation via a yacc directive in the yacc
5358 file, and also via a command line switch. Implement this feature as a
5359 no-op for byacc, since byacc is designed to be POSIX yacc compatible
5360 anyway. This allows for better compatibility with yacc sources written
5361 for bison.
5362
5363 2010-06-07 Thomas E. Dickey <[email protected]>
5364
5365 * VERSION: bump to 2010/06/07
5366
5367 2010-06-06 Thomas E. Dickey <[email protected]>
5368
5369 * test/calc.tab.c, configure: regen
5370
5371 * skeleton.c:
5372 move #include's down into the generated code, to allow user-defined code
5373 to override feature definitions, particularly with stdlib.h (request by
5374 Marcus Kool).
5375
5376 * lr0.c, error.c, reader.c, defs.h:
5377 strict gcc 3.4.6 warnings on 64-bit platform
5378
5379 * aclocal.m4, configure.in: add check for lint
5380
5381 * makefile.in: add lint rule
5382
5383 * defs.h, closure.c, lr0.c, warshall.c, main.c:
5384 fix gcc warnings, mostly for 64-bit platform
5385
5386 * aclocal.m4:
5387 add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc
5388
5389 * makefile.in: add etags/TAGS if available
5390
5391 * configure.in: add configure check for actual ctags and etags programs
5392
5393 * package/debian/copyright: add copyright notices for non-PD files
5394
5395 * package/debian/changelog:
5396 incorporated scripts in upstream to use for test-builds
5397
5398 * makefile.in: drop mkdirs.sh, just use "mkdir -p"
5399
5400 * AUTHORS: nicknames for some contributors (see CHANGES for details)
5401
5402 * package/byacc.spec: RPM file for byacc
5403
5404 * VERSION: bump to 2010/06/06
5405
5406 * aclocal.m4: add copyright notice, from "my-autoconf" macros
5407 http://invisible-island.net/autoconf/autoconf.html
5408
5409 * aclocal.m4: resync with my-autoconf. summary of changes:
5410 a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter
5411 b) CF_DISABLE_ECHO, change indent-convention for substituted makefile
5412 c) CF_GCC_VERSION, ignore stderr
5413 d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc
5414
5415 2010-04-20 Thomas E. Dickey <[email protected]>
5416
5417 * package/debian/changelog, package/debian/compat,
5418 package/debian/control, package/debian/copyright, package/debian/docs,
5419 package/debian/postinst, package/debian/prerm, package/debian/rules,
5420 package/debian/watch:
5421 scripts from Debian package
5422
5423 2010-02-16 Thomas E. Dickey <[email protected]>
5424
5425 * yacc.1: document -P and bison-extensions
5426
5427 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
5428 regen
5429
5430 * output.c: implement %pure-parser
5431
5432 * skeleton.c:
5433 implement %pure-parser, like bison. To help with this, changed the stack
5434 variables, putting them into a struct.
5435
5436 * reader.c: implement %pure-parser
5437
5438 * defs.h: modified skeleton to support %pure-parser feature
5439
5440 * main.c: add -P option to set %pure-parser
5441
5442 * output.c:
5443 make -r and -p options work together. The -r option splits the generated
5444 parser into code/table files; for this case we cannot use static data.
5445 Also, we have to repeat the #define's used for prefix (-p) as well as the
5446 redeclaration of yyparse(). Finally, allow any of the prefixed names to
5447 be overridden, e.g., by passing a -D option to the compiler. Make that
5448 a little more readable by putting a blank line before each chunk.
5449
5450 * defs.h: add definitions for %pure-parser
5451
5452 * skeleton.c:
5453 put blank line before/after the redeclaration of yyparse()
5454
5455 * output.c: allow for other program redefining yylex()
5456
5457 * skeleton.c:
5458 split-off xdecls[] array, to move declaration of yyparse() after #define's
5459
5460 * defs.h: split-out xdecls[]
5461
5462 * VERSION: bump
5463
5464 * configure: regen
5465
5466 * aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS
5467
5468 * aclocal.m4:
5469 resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes.
5470
5471 2010-02-16 Ostap.Cherkashi
5472
5473 * skeleton.c: fix a memory leak in the generated skeleton
5474
5475 2010-01-01 Thomas E. Dickey <[email protected]>
5476
5477 * package/debian/source/format: scripts from Debian package
5478
5479 2009-12-31 Thomas E. Dickey <[email protected]>
5480
5481 * config.guess: update to 2009-12-30
5482
5483 * config.sub: update to 2009-12-31
5484
5485 2009-10-27 Thomas E. Dickey <[email protected]>
5486
5487 * VERSION: 20091027
5488
5489 * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c,
5490 verbose.c, main.c, reader.c:
5491 strict compiler warnings
5492
5493 2009-10-26 Thomas E. Dickey <[email protected]>
5494
5495 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
5496 resync
5497
5498 * main.c, defs.h: introduce some typedefs for portability, etc.
5499
5500 * makefile.in:
5501 don't remove "*.log" in mostlyclean rule since it interferes with regression
5502 script.
5503
5504 * configure: regen
5505
5506 * aclocal.m4: resync with my-autoconf
5507
5508 2009-08-25 Thomas E. Dickey <[email protected]>
5509
5510 * config.guess, config.sub: update to 2009-08-19
5511
5512 2009-02-21 Thomas E. Dickey <[email protected]>
5513
5514 * VERSION: bump
5515
5516 * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
5517
5518 2008-12-26 Thomas E. Dickey <[email protected]>
5519
5520 * configure: regen with autoconf-2.52 (patched)
5521
5522 2008-12-25 Thomas E. Dickey <[email protected]>
5523
5524 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
5525 regenerated
5526
5527 2008-12-24 Thomas E. Dickey <[email protected]>
5528
5529 * VERSION: bump
5530
5531 * skeleton.c:
5532 remove ifdef-lint from goto yyerrlab, to quiet gcc warning
5533
5534 2008-11-26 Thomas E. Dickey <[email protected]>
5535
5536 * verbose.c, main.c, defs.h, mkpar.c, reader.c:
5537 completed implementation of "%expect" (report by Perry E. Metzger).
5538 add "%expect-rr", which is (unlike bison) allowable in LALR parsers.
5539
5540 2008-11-24 Thomas E. Dickey <[email protected]>
5541
5542 * closure.c, defs.h, error.c, graph.c, lalr.c, lr0.c, main.c, mkpar.c,
5543 output.c, reader.c, skeleton.c, symtab.c, verbose.c, warshall.c:
5544 change indent-style (request by Perry E. Metzger)
5545
5546 2008-08-27 Thomas E. Dickey <[email protected]>
5547
5548 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
5549 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
5550
5551 * VERSION: bump
5552
5553 * skeleton.c:
5554 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
5555
5556 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c,
5557 skeleton.c:
5558 change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's.
5559
5560 * configure: regen'd
5561
5562 * configure.in: add -Wwrite-strings to warnings
5563
5564 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
5565 add YYPARSE_PARAM and YYPARSE_PARAM_TYPE
5566
5567 * skeleton.c:
5568 add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features.
5569
5570 * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c:
5571 fixes for gcc -Wwrite-strings
5572
5573 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
5574 generate the tables as static-const (this is an interface change)
5575
5576 * output.c: realign columns in start_table()
5577
5578 * output.c:
5579 generate the tables as static-const (this is an interface change)
5580
5581 * output.c: reorder functions to eliminate forward-references
5582
5583 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
5584 remove 'register' keywords
5585
5586 2008-08-26 Thomas E. Dickey <[email protected]>
5587
5588 * warshall.c, verbose.c, symtab.c, skeleton.c, reader.c, output.c,
5589 mkpar.c, main.c, lr0.c, lalr.c, graph.c, error.c, closure.c:
5590 remove 'register' keywords
5591
5592 2008-08-25 Thomas E. Dickey <[email protected]>
5593
5594 * test/ftp.tab.c: regen'd
5595
5596 * reader.c:
5597 improve the left-curly fix by testing after blanks, to avoid having a
5598 " {" at the beginning of a line.
5599
5600 * test/error.tab.c, test/grammar.tab.c: regen'd
5601
5602 * output.c:
5603 move the remaining newline-counting into write_XXX functions.
5604
5605 * test/calc.tab.c: regen'd
5606
5607 * output.c:
5608 simplify part of the output_file formatting using new functions, e.g.,
5609 start_int_table(), output_newline().
5610
5611 * reader.c:
5612 modify copy_action() to indent the first character, it if is is left-curly
5613 brace. That makes the output look more like the original, as well as makes
5614 it simpler to edit (not confuse editors which look for a left-curly in the
5615 first column as if it were the beginning of a function).
5616
5617 * skeleton.c: minor fixes to avoid gcc -Wconversion warnings
5618
5619 * output.c: align the #define's produced for "-p" option
5620
5621 * test/run_test.sh: use the "-p" option for better coverage.
5622
5623 * output.c: simplify output_prefix() with new define_prefixed()
5624
5625 * skeleton.c: include string.h, for memset()
5626 change stack size to unsigned to fix gcc -Wconversion warnings.
5627
5628 * VERSION: bump to 2008/8/25
5629
5630 * makefile.in: add dependency on VERSION file.
5631
5632 2008-08-24 Thomas E. Dickey <[email protected]>
5633
5634 * VERSION: bump
5635
5636 * lalr.c: improved memory-leak checking by freeing data in includes[]
5637
5638 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
5639 update to match skeleton-change
5640
5641 * configure: regen'd
5642
5643 * skeleton.c: Add fix for stack discussed
5644 http://undeadly.org/cgi?action=article&sid=20080708155228
5645 and applied
5646 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29
5647
5648 * aclocal.m4: resync with my-autoconf (no major changes)
5649
5650 2008-07-24 Thomas E. Dickey <[email protected]>
5651
5652 * package/pkgsrc/Makefile, package/pkgsrc/distinfo:
5653 scripts from NetBSD pkgsrc, for test-builds
5654
5655 2008-03-14 Thomas E. Dickey <[email protected]>
5656
5657 * config.sub: update to 2008-03-08
5658
5659 * config.guess: update to 2008-03-12
5660
5661 2007-05-09 Thomas E. Dickey <[email protected]>
5662
5663 * main.c: close graph, verbose files if opened, on exit.
5664
5665 * main.c:
5666 audit memory leaks - valgrind reported some memory still in use on exit.
5667
5668 * lalr.c, output.c, reader.c, mkpar.c, lr0.c:
5669 add hook for auditing memory leaks
5670
5671 * defs.h: add hooks for auditing memory leaks
5672
5673 * configure: regen'd
5674
5675 * configure.in:
5676 use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind,
5677 --with-dbmalloc and --with-dmalloc
5678
5679 * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND
5680
5681 * aclocal.m4: improve version-checking in CF_GCC_VERSION
5682 rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro
5683
5684 * VERSION: 2007/5/9
5685
5686 * main.c: file_prefix did not always have a trailing null.
5687
5688 2007-03-25 Thomas E. Dickey <[email protected]>
5689
5690 * mkdirs.sh: improved version for "make -j"
5691
5692 2006-12-22 Thomas E. Dickey <[email protected]>
5693
5694 * config.guess: update to 2006/12/22
5695
5696 2006-12-08 Thomas E. Dickey <[email protected]>
5697
5698 * config.sub: update to 2006/12/08
5699
5700 2005-08-13 Thomas E. Dickey <[email protected]>
5701
5702 * main.c: add -V to usage message
5703
5704 * makefile.in: remove -t option from ctags
5705
5706 * VERSION: 2005/8/13
5707
5708 2005-08-13 schmitz
5709
5710 * main.c: Sylvain Schmitz:
5711 modify the '-o' option to work like bison's, which sets the file-prefix.
5712
5713 2005-08-13 Matt.Kraai
5714
5715 * output.c:
5716 Debian #322858 (don't close union_file, which contained data).
5717 This feature is used in groff.
5718
5719 2005-08-13 Thomas E. Dickey <[email protected]>
5720
5721 * configure: regenerated
5722
5723 * aclocal.m4: improve checks for Intel compiler warnings
5724
5725 2005-06-25 Thomas E. Dickey <[email protected]>
5726
5727 * config.sub: update to 2005/6/2
5728
5729 * config.guess: update to 2005/5/27
5730
5731 2005-05-05 Thomas E. Dickey <[email protected]>
5732
5733 * defs.h: add a fallback for GCC_UNUSED
5734
5735 2005-05-04 Thomas E. Dickey <[email protected]>
5736
5737 * makefile.in: add "." to include-path to pickup config.h
5738
5739 * reader.c:
5740 apply fix for end_rule() in Redhat Bugzilla #112617 (suggested by Steve Dum).
5741
5742 * output.c:
5743 correct a limit check in pack_vector() - report/analysis by William Evans
5744
5745 * main.c:
5746 exit after printing version. Otherwise "yacc -V" will exit with an erro
5747 after printing the usage message.
5748
5749 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
5750 regenerated after skeleton-changes
5751
5752 * skeleton.c: replace a few -1's with YYEMPTY
5753
5754 * skeleton.c:
5755 delete yynewerror (no one uses it any more, and it just makes compiler warnings)
5756
5757 * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD
5758
5759 * test/run_test.sh:
5760 filter out lines with YYPATCH, since that will change with each update
5761
5762 * yacc.1: add -V option
5763
5764 * main.c: add -V option to print the version.
5765 simplify option-parsing by moving the duplicate logic for setting flags into
5766 new function setflag().
5767
5768 * skeleton.c:
5769 move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers).
5770 add YYPATCH here so it can be tested by applications.
5771
5772 * defs.h:
5773 add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and
5774 YYPATCH symbols.
5775
5776 * lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c,
5777 verbose.c, graph.c, reader.c, main.c, symtab.c:
5778 reduce externs by making static the procedures that are not referenced outside
5779 the module in which they are defined.
5780
5781 * makefile.in:
5782 the VERSION file holds the patch-date. Define YYPATCH, so this will be
5783 compiled into the skeleton.
5784
5785 * VERSION: patch-level for byacc
5786
5787 * main.c:
5788 add "-o" to usage message. It is too long for a single line; rewrite usage()
5789 to show one option per line.
5790
5791 2005-05-03 Thomas E. Dickey <[email protected]>
5792
5793 * main.c: add -o option, to work with scripts that assume bison.
5794 simplify create_file_names() with a macro.
5795 simplify done() with a macro.
5796 adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by
5797 onintr(), do not flush output via exit(), but use _exit() instead.
5798
5799 * defs.h: remove unnecessary externs for main.c
5800
5801 * yacc.1: add -o option
5802
5803 * graph.c: remove unused parameter
5804
5805 * mkpar.c, defs.h, reader.c:
5806 add support for "%expect", a bison feature from FreeBSD sources
5807
5808 * lr0.c, reader.c, main.c, skeleton.c, graph.c, symtab.c, closure.c,
5809 mkpar.c, lalr.c, error.c, warshall.c, verbose.c, output.c:
5810 indent'd
5811
5812 * configure: regenerated for 2005/5/5
5813
5814 * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER)
5815
5816 2005-04-27 schmitz
5817
5818 * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1:
5819 Sylvain Schmitz <[email protected]>:
5820 add graphical output of the LALR(1) automaton for graphviz,
5821 associated with command-line option `-g'
5822
5823 2005-04-16 Thomas E. Dickey <[email protected]>
5824
5825 * config.sub: update to 2005/2/10
5826
5827 * config.guess: update to 2005/3/24
5828
5829 2005-04-13 Thomas E. Dickey <[email protected]>
5830
5831 * package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds
5832
5833 2005-03-21 Thomas E. Dickey <[email protected]>
5834
5835 * package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds
5836
5837 2004-03-28 Thomas E. Dickey <[email protected]>
5838
5839 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
5840 updates due to adding yyparse() prototype
5841
5842 * configure: RCS_BASE
5843
5844 * configure.in:
5845 add AC_ARG_PROGRAM to make --program-prefix, etc., work.
5846
5847 * makefile.in: first cut of script to support --program-prefix
5848
5849 * configure.in:
5850 reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52
5851
5852 * makefile.in: modify so DESTDIR works
5853
5854 * makefile.in: use EXEEXT and OBJEXT
5855
5856 * configure.in: use CF_PROG_EXT
5857 generate a config.h
5858
5859 * defs.h: make this use the generated config.h
5860
5861 * skeleton.c: add a forward-reference for yyparse()
5862
5863 * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT
5864
5865 * yacc.1: remove the discussion of TMPDIR since it is obsolete
5866
5867 * skeleton.c: fix a couple of minor compiler-warnings in the skeleton
5868
5869 * defs.h: remove action_file_name, etc., since we use tmpfile() now.
5870
5871 * main.c:
5872 use tmpfile() for opening the working files. This quiets a warning
5873 advising the use of mkstemp().
5874
5875 * output.c:
5876 Do not close temporary-files here, since they are opened with tmpfile().
5877 Just rewind them, and they're ready to read back the data stored in them.
5878
5879 * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE
5880
5881 * test/yacc/grammar.output, test/yacc/grammar.tab.h:
5882 reference output for testing
5883
5884 * makefile.in: turn on "make check" rule
5885
5886 * test/calc.output: RCS_BASE
5887
5888 * test/yacc/calc.output: reference output for testing
5889
5890 * test/run_test.sh, test/calc.tab.h: RCS_BASE
5891
5892 * test/yacc/calc.tab.h: reference output for testing
5893
5894 * test/ftp.tab.c: yyparse() is now yyparse(void)
5895
5896 * test/calc.tab.c: RCS_BASE
5897
5898 * test/error.tab.c: yyparse() is now yyparse(void)
5899
5900 * test/README: RCS_BASE
5901
5902 * yacc.1: various typography fixes prompted by Debian #100947
5903
5904 * aclocal.m4, makefile.in, configure.in: RCS_BASE
5905
5906 * README: updated to note that this is not the original
5907
5908 2004-03-24 Thomas E. Dickey <[email protected]>
5909
5910 * test/grammar.y: RCS_BASE
5911
5912 2004-02-23 Thomas E. Dickey <[email protected]>
5913
5914 * config.sub: RCS_BASE
5915
5916 2004-02-17 Thomas E. Dickey <[email protected]>
5917
5918 * config.guess: RCS_BASE
5919
5920 2003-11-29 Thomas E. Dickey <[email protected]>
5921
5922 * install-sh: improved quoting
5923
5924 2002-06-29 Thomas E. Dickey <[email protected]>
5925
5926 * mkdirs.sh:
5927 don't use character range, since some locales don't work as expected
5928
5929 2001-06-22 Thomas E. Dickey <[email protected]>
5930
5931 * install-sh: RCS_BASE
5932
5933 2000-11-20 Thomas E. Dickey <[email protected]>
5934
5935 * test/calc.y: RCS_BASE
5936
5937 * test/code_calc.y, test/pure_calc.y: copy of calc.y
5938
5939 * vmsbuild.com: original version
5940
5941 2000-02-14 Thomas E. Dickey <[email protected]>
5942
5943 * main.c: fix for VMS port - making pathname for temp-file
5944
5945 * descrip.mms: original version
5946
5947 2000-02-13 Thomas E. Dickey <[email protected]>
5948
5949 * defs.h, verbose.c, reader.c, main.c, skeleton.c, warshall.c, symtab.c,
5950 closure.c, mkpar.c, lalr.c, lr0.c, output.c, error.c:
5951 ansify
5952
5953 1999-11-30 Thomas E. Dickey <[email protected]>
5954
5955 * mkdirs.sh: RCS_BASE
5956
5957 1995-01-01 Thomas E. Dickey <[email protected]>
5958
5959 * config_h.in: RCS_BASE
5960
5961 1993-12-23 unknown
5962
5963 * README.DOS, main.c: MSDOS-port
5964
5965 1993-12-22 unknown
5966
5967 * reader.c, defs.h: MSDOS-port
5968
5969 1993-03-02 unknown
5970
5971 * README: original version
5972
5973 1993-02-22 unknown
5974
5975 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE
5976
5977 1993-02-22 [email protected]
5978
5979 * test/yacc/error.output, test/yacc/error.tab.h:
5980 reference output for testing
5981
5982 1993-02-22 unknown
5983
5984 * test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE
5985
5986 * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES:
5987 original version
5988
5989 1992-10-12 unknown
5990
5991 * yacc.1: original version
5992
5993 1992-10-11 unknown
5994
5995 * defs.h: original version
5996
5997 1991-01-20 unknown
5998
5999 * mkpar.c, verbose.c: original version
6000
6001 1991-01-14 unknown
6002
6003 * lr0.c, Makefile, Makefile.old: original version
6004
6005 1990-07-16 unknown
6006
6007 * NEW_FEATURES: original version
6008
6009 1990-06-03 unknown
6010
6011 * ACKNOWLEDGEMENTS: original version
6012
6013 1990-02-05 unknown
6014
6015 * symtab.c, lalr.c, error.c: original version
6016
6017 1990-01-16 [email protected]
6018
6019 * test/code_error.y, test/pure_error.y: RCS_BASE
6020
6021 1990-01-16 unknown
6022
6023 * test/error.y: RCS_BASE
6024
6025 1989-11-22 unknown
6026
6027 * NO_WARRANTY: original version
6028
6029 1989-09-23 unknown
6030
6031 * test/ftp.y: RCS_BASE
6032