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