xref: /netbsd-src/external/bsd/byacc/dist/CHANGES (revision 53d1339bf7f9c7367b35a9e1ebe693f9b047a47b)
12021-01-09  Thomas E. Dickey  <dickey@invisible-island.net>
2
3	* package/debian/copyright, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
4	bump
5
62021-01-05  Thomas E. Dickey  <dickey@invisible-island.net>
7
8	* configure: regen
9
10	* aclocal.m4: resync with my-autoconf
11
122020-09-22  Thomas E. Dickey  <dickey@invisible-island.net>
13
14	* closure.c, warshall.c:
15	fix undefined-behavior diagnosed with gcc -fsanitize=undefined (report by
16	Alexander Richardson)
17
182020-09-10  Thomas E. Dickey  <dickey@invisible-island.net>
19
20	* LICENSE: RCS_BASE
21
22	* reader.c, output.c: cppcheck -- reduce scope
23
24	* defs.h: update to 2.0
25
26	* 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:
27	update to version 2.0
28
29	* reader.c:
30	improve loop which skips backward through a (possibly nested) sequence of
31	square-brackets.
32
33	* reader.c: simplify a check to quiet a bogus cppcheck-warning
34
35	* yacc.1: bump date
36
37	* reader.c: add a note about a bogus cppcheck warning
38
39	* configure: regen
40
41	* configure.in:
42	always check for gcc attributes, to work around defect in clang's imitation
43	of this feature
44
45	* reader.c: cppcheck -- scope reduction
46	cppcheck -- eliminate bogus returns after no-return functions
47
48	* verbose.c, output.c, mkpar.c, main.c, warshall.c, lr0.c, lalr.c, graph.c, closure.c:
49	cppcheck -- scope reduction
50
51	* package/debian/compat: quiet compatibility-warning
52
53	* yacc.1: use "ASCII" for dashes which are part of proper names
54
55	* configure: regen
56
57	* configure.in: switch to --enable-warnings, for consistency
58
59	* aclocal.m4:
60	resync with my-autoconf, for compiler-warning fixes with macOS
61
62	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
63	bump
64
652020-08-16  Thomas E. Dickey  <dickey@invisible-island.net>
66
67	* config.guess, config.sub: 2020-08-17
68
692020-06-28  Thomas E. Dickey  <dickey@invisible-island.net>
70
71	* config.sub: 2020/06/28
72
732020-06-14  Thomas E. Dickey  <dickey@invisible-island.net>
74
75	* config.guess: 2020/04/26
76
772020-03-30  Thomas E. Dickey  <dickey@invisible-island.net>
78
79	* package/debian/copyright: bump
80
81	* test/yacc/grammar.tab.c, test/btyacc/grammar.tab.c, test/grammar.y, reader.c:
82	typo found with codespell
83
84	* yacc.1: fixes noted in the original report, overlooked in followup
85
862020-03-30  Bjarni.Ingi.Gislason
87
88	* yacc.1: typography/spelling fixes - Debian #955175
89
902020-03-30  Thomas E. Dickey  <dickey@invisible-island.net>
91
92	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
93	bump
94
952020-03-10  Thomas E. Dickey  <dickey@invisible-island.net>
96
97	* configure: regen
98
99	* aclocal.m4:
100	resync with my-autoconf, mostly fixes for compiler-warnings
101
102	* configure.in: use macro to suppress X-dependency from newer macros
103
1042019-12-20  Thomas E. Dickey  <dickey@invisible-island.net>
105
106	* config.guess: 2019-12-21
107
1082019-11-25  Tom.Shields
109
110	* main.c:
111	fix an inconsistency between the getopt and non-getopt configuration.
112	In the former, getopt always used "yacc", not the name of the executable.
113
1142019-11-25  Thomas E. Dickey  <dickey@invisible-island.net>
115
116	* test/run_make.sh:
117	suppress bison's -Wyacc warning, which is not useful.
118
119	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
120	bump
121
1222019-11-19  Thomas E. Dickey  <dickey@invisible-island.net>
123
124	* yacc.1: new version of manpage
125
126	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
127	bump
128
129	* yacc.1: document %code
130
131	* 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:
132	RCS_BASE
133
134	* output.c:
135	amend updates for 'outline' when processing "%code" in code-file
136
137	* output.c:
138	modify output_code_lines() to show begin/end block comments which were in
139	reader.c, and to generate a #line for the code-file.
140
141	* reader.c:
142	modify copy_code() to allow for multiple %code directives for a given
143	section, recording the input line-number for each directive as a #line
144	in the resulting string.  remove the block start/end comments, since those
145	will be done for a whole section in output.c
146
147	* mstring.c, defs.h: add msrenew()
148
149	* 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:
150	RCS_BASE
151
1522019-11-18  Thomas E. Dickey  <dickey@invisible-island.net>
153
154	* 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:
155	RCS_BASE
156
1572019-11-04  Michael.Forney
158
159	* defs.h: add missing "extern" for new variable "code_lines"
160
1612019-11-03  Thomas E. Dickey  <dickey@invisible-island.net>
162
163	* main.c: build-fix for MinGW cross-compiling
164
165	* output.c, reader.c: gcc-warnings
166
167	* output.c: check validity of text_file before rewind
168	remove redundant check of iflag
169
170	* main.c: fix memory-leak reported by clang
171
172	* mkpar.c: guard against a null-reference reported by clang (unlikely)
173
174	* reader.c: fix two coverity warnings:
175	a) resource leak on malloc-failure
176	b) possible null-pointer dereference on parse-error
177
178	* test/btyacc/err_inherit4.tab.h, test/btyacc/btyacc_demo.tab.h: regen
179
180	* defs.h: use enum's to simplify recent change
181
182	* mstring.c:
183	enable mstring() in regular byacc, since Zoulas' change relies upon it
184
1852019-11-03  Christos.Zoulas
186
187	* defs.h, reader.c, output.c: add support for bison's "%code" feature
188	also fix a small bug: declare YYLTYPE externally when producing locations
189
1902019-11-03  Thomas E. Dickey  <dickey@invisible-island.net>
191
192	* 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:
193	regen
194
195	* test/run_test.sh:
196	there's no standard wording for the options-errors from getopt;
197	filter that to "error message" in the test reference files.
198
199	* main.c:
200	provide for using getopt(), to accommodate a case where developers have
201	relied upon non-POSIX behavior.
202
203	* test/run_test.sh:
204	getopt's messages do not print the full pathname of yacc in some cases;
205	adjust the sed-script which changes those to "YACC"
206
207	* configure: regen
208
209	* config_h.in: regen, using autoheader-252
210
211	* configure.in: add configure check for getopt
212
213	* configure: regen
214
215	* aclocal.m4:
216	resync with my-autoconf adds a fix which accommodates a difference in
217	warning options between gcc/clang when --enable-warnings is not set.
218
219	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
220	bump
221
2222019-09-11  Thomas E. Dickey  <dickey@invisible-island.net>
223
224	* config.guess, config.sub: 2019-09-10
225
2262019-06-17  Thomas E. Dickey  <dickey@invisible-island.net>
227
228	* 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:
229	regen
230
231	* test/run_test.sh: test "-H" rather than "-D"
232
2332019-06-16  Thomas E. Dickey  <dickey@invisible-island.net>
234
235	* main.c, yacc.1:
236	change "-D" option to "-H" (discussion with Ethan Sommer)
237
238	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
239	bump
240
241	* test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c:
242	RCS_BASE
243
244	* test/run_test.sh: in test_defines, save the ".c" file too
245
246	* test/yacc/defines3.calc.c, test/yacc/defines2.calc.c, test/yacc/defines1.calc.c:
247	RCS_BASE
248
249	* test/run_test.sh:
250	output of test_defines should be a header ".h", not ".c"
251
252	* 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:
253	RCS_BASE
254
255	* main.c: however, a subsequent -d cancels -D
256
257	* test/yacc/defines1.calc.h, test/yacc/defines3.calc.h: RCS_BASE
258
259	* main.c: -D option implies -d
260
261	* 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:
262	RCS_BASE
263
264	* yacc.1: align macro definitions with my other manpages
265
266	* test/run_test.sh: add test for -D after -d or -b options
267
268	* 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:
269	RCS_BASE
270
271	* 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:
272	regen
273
274	* test/run_test.sh:
275	add a test for stdin "-" vs end-options "--", and correct a redirection
276	of stderr in test_flags
277
278	* 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:
279	RCS_BASE
280
281	* 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:
282	regen
283
284	* main.c: add -D option, to specify filename vs y.tab.h for -d
285
286	* defs.h: add dflag2, for -D option
287
288	* yacc.1: document -D option
289
290	* config_h.in: updated with autoheader-252
291
292	* configure: regen
293
294	* package/debian/copyright: bump
295
296	* aclocal.m4: add CF_GETOPT_HEADER
297
298	* aclocal.m4: Improved autoconf macros:
299	+ CF_CC_ENV_FLAGS
300		putting preprocessor flags in CFLAGS also is a nuisance, which can be
301		addressed in the same way.
302	+ CF_GCC_WARNINGS
303		factor out workaround for XTSTRINGDEFINES as CF_CONST_X_STRING
304	+ CF_GNU_SOURCE
305		The check for _DEFAULT_SOURCE should apply to "recent" Cygwin (since early 2016),
306		and except for "NEWLIB" vs "GLIBC" in the test, acts the same if I pretend
307		that "newlib" is the GNU C library.  Without this, the check falls through
308		to the _XOPEN_SOURCE test, which breaks the pseudoterminal checks for xterm.
309	+ CF_POSIX_C_SOURCE
310		add/use CF_POSIX_VISIBLE
311	+ CF_TRY_XOPEN_SOURCE
312		use CF_APPEND_TEXT
313	+ CF_WITH_MAN2HTML
314		use sed to work around non-POSIX tail utility
315	+ CF_XOPEN_SOURCE
316		use CF_APPEND_TEXT
317		add/use CF_POSIX_VISIBLE
318
319	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
320	bump
321
3222019-06-10  Thomas E. Dickey  <dickey@invisible-island.net>
323
324	* config.guess: 2019-06-10
325
3262019-05-22  Thomas E. Dickey  <dickey@invisible-island.net>
327
328	* config.sub: 2019-05-22
329
3302018-06-09  Thomas E. Dickey  <dickey@invisible-island.net>
331
332	* yacc.1: minor typographical fixes
333
334	* 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:
335	regen
336
337	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
338	bump
339
3402018-06-09  Tom.Shields
341
342	* btyaccpar.skel:
343	add casts to fix g++ (clang++) compile errors in the backtracking skeleton
344	due to assignment of ‘void *’ to another pointer type.
345
3462018-05-25  Thomas E. Dickey  <dickey@invisible-island.net>
347
348	* test/run_make.sh:
349	check if this is bison 3+ before adding options to suppress warnings
350
351	* package/byacc.spec: build-fix for Mageia 6
352
353	* package/byacc.spec: add btyacc package
354
355	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
356	bump
357
358	* package/debian/control: add a package for btyacc
359
360	* package/debian/rules: generate a package for btyacc
361
3622018-05-24  Thomas E. Dickey  <dickey@invisible-island.net>
363
364	* 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:
365	regen
366
367	* btyaccpar.skel: fix typo
368
3692018-05-21  Thomas E. Dickey  <dickey@invisible-island.net>
370
371	* test/run_make.sh:
372	ignore case for "%" directives to skip with old-yacc, and add %token-table
373	to the list
374
375	* btyaccpar.c: regen
376
3772018-05-21  Christos.Zoulas
378
379	* btyaccpar.skel:
380	improve compatibility with bison by changing the YYLLOC_DEFAULT macro to use
381	YYRHSLOC() macro, and adjusting the array indices of yyerror_loc_range[] for
382	consistency.
383
3842018-05-10  Thomas E. Dickey  <dickey@invisible-island.net>
385
386	* output.c:
387	add a fallback definition for YYDEBUG to the -i externs file.
388
389	* test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
390
391	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
392	bump
393
3942018-05-09  Thomas E. Dickey  <dickey@invisible-island.net>
395
396	* configure: regen
397
398	* aclocal.m4: resync with my-autoconf
399
400	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
401	bump
402
403	* 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:
404	regen
405
406	* btyaccpar.skel: apply Guy Harris' changes here as well
407
408	* test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
409
410	* output.c: correct/improve fallback prototype for yylex()
411
412	* test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
413
4142018-05-08  Thomas E. Dickey  <dickey@invisible-island.net>
415
416	* test/btyacc/grammar.tab.c, test/yacc/grammar.tab.c: regen
417
418	* test/grammar.y:
419	quiet some warnings from gcc 7 when doing "make check_make"
420
421	* package/debian/watch, package/pkgsrc/Makefile: update ftp-url
422
423	* test/btyacc/ok_syntax1.tab.h, test/btyacc/btyacc_calc1.tab.h: regen
424
425	* output.c:
426	provide yylex() declaration for simple case (request by "Mutiny")
427
428	* 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:
429	regen
430
431	* VERSION, package/byacc.spec, package/debian/changelog, package/debian/copyright, package/mingw-byacc.spec, package/pkgsrc/Makefile:
432	bump
433
4342018-05-06  Guy.Harris
435
436	* yaccpar.skel: two fixes:
437	1) define yydebug only if YYDEBUG is defined and
438	2) make yynerrs a parser-local variable if the parser is reentrant.
439
4402018-02-24  Guy.Harris
441
442	* output.c: do not emit "extern YYSTYPE yylval;" for pure parsers
443
4442018-02-05  Thomas E. Dickey  <dickey@invisible-island.net>
445
446	* config.sub: 2018-01-15
447
448	* config.guess: 2018-01-26
449
4502017-12-04  erik.b.andersen
451
452	* main.c: A proper path for temporary files is needed by byacc under
453	Windows commandline, otherwise there's a risk of empty files.
454	The TEMP environment variable is always defined in Windows.
455
456	* defs.h: The noreturn attribute needs to be specified before function
457	to be portable among compilers (gcc, clang, msvc).
458
4592017-12-04  Thomas E. Dickey  <dickey@invisible-island.net>
460
461	* reader.c: adapted fix by Erik B:
462	 a) increase the length of name[] to account for a trailing null
463	 b) note that calling syntax_error() from get_number() does not return
464
4652017-09-14  Tom.Shields
466
467	* yacc.1: fix typo
468
4692017-07-09  Thomas E. Dickey  <dickey@invisible-island.net>
470
471	* package/byacc.spec, package/mingw-byacc.spec:
472	use predefined "configure"
473
474	* reader.c: remove unused assignment
475
476	* package/debian/rules: use dpkg-buildflags
477
478	* configure: regen
479
480	* aclocal.m4: resync with my-autoconf
481
482	* reader.c, output.c, defs.h:
483	add/use IS_NAME1() and IS_NAME2() to reduce clutter
484
485	* reader.c, output.c, defs.h:
486	guard against sign-extension in ctype-macros
487
488	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
489	bump
490
491	* reader.c: check for numeric overflow in get_number()
492
493	* reader.c:
494	correct limit-checks for input filename and line-number, in case no valid
495	filename and/or number was found.
496
4972017-04-30  Thomas E. Dickey  <dickey@invisible-island.net>
498
499	* 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:
500	fix another uninitialized variable warning in "make check_make" for btyacc
501
502	* 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:
503	fix some compiler warnings for "make check_make" by adding section init_vars,
504	which initializes the body_vars for pure-parser configuration.
505
5062017-04-30  Tom.Shields
507
508	* output.c:
509	use YY_NO_LEAKS set in configure --with-no-leaks, in the generated code
510
5112017-04-30  Julien.Ramseier
512
513	* main.c, test/yacc/big_l.output:
514	fix typo in unsupported-flag warning message
515
5162017-04-30  Thomas E. Dickey  <dickey@invisible-island.net>
517
518	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
519	bump
520
5212017-04-29  Thomas E. Dickey  <dickey@invisible-island.net>
522
523	* config.sub: 2017-04-02
524
5252017-03-18  Thomas E. Dickey  <dickey@invisible-island.net>
526
527	* config.sub: 2017-02-07
528
529	* config.guess: 2017-03-05
530
5312017-02-01  Thomas E. Dickey  <dickey@invisible-island.net>
532
533	* 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:
534	RCS_BASE
535
536	* package/debian/copyright: update copyright
537
538	* reader.c, defs.h, main.c:
539	avoid using regex.h since some low-end platforms do not have this
540
541	* test/expr.oxout.y: RCS_BASE
542
543	* configure: regen
544
545	* aclocal.m4: quiet a strict gcc warning in CF_MKSTEMP
546
5472017-02-01  Tom.Shields
548
549	* main.c, reader.c, defs.h:
550	process #line directives, like bison and flex
551
5522017-02-01  Thomas E. Dickey  <dickey@invisible-island.net>
553
554	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
555	bump
556
5572016-12-31  Thomas E. Dickey  <dickey@invisible-island.net>
558
559	* config.guess, config.sub: 2017-01-01
560
5612016-12-02  Thomas E. Dickey  <dickey@invisible-island.net>
562
563	* 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:
564	regen
565
566	* btyaccpar.skel: changes from NetBSD
567	+ use YYINT rather than short in btyaccpar.skel
568	  (some of this had already been done by Tom Shields)
569	+ remove some casts of malloc/realloc
570
571	* yaccpar.c, yaccpar.skel, output.c: changes from NetBSD
572	- Add some more bison stuff to make the mesa/gallium parser work:
573	    %initial-action (add missing source struct member in location)
574	    %debug (unimplemented)
575	    %error-verbose (unimplemented)
576
577	This changes some existing code:
578	+ yylloc is now a pointer, so
579	+ the first parameter to YYERROR_DECL() is a pointer
580	+ struct YYLTYPE now has a "source" field
581
582	* test/btyacc/btyacc_demo.tab.h, test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c, test/btyacc/err_inherit4.tab.h:
583	regen
584
585	* btyaccpar.c, btyaccpar.skel, reader.c: changes from NetBSD
586	- Add some more bison stuff to make the mesa/gallium parser work:
587	    %initial-action (add missing source struct member in location)
588	    %debug (unimplemented)
589	    %error-verbose (unimplemented)
590
591	This changes some existing code:
592	+ yylloc is now a pointer, so
593	+ the first parameter to YYERROR_DECL() is a pointer
594	+ struct YYLTYPE now has a "source" field
595
596	* reader.c:
597	fix from NetBSD: correct off-by-one when adding a null in copy_param()
598
599	* reader.c: adapted from NetBSD
600	- Convert *most* error fingerprints to:
601	    -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
602	    +unterminated_arglist(const struct ainfo *a)
603	- Cast new <ctype.h> args to unsigned char
604
605	* defs.h: changes from NetBSD
606	- Add some more bison stuff to make the mesa/gallium parser work:
607	    %initial-action (add missing source struct member in location)
608	    %debug (unimplemented)
609	    %error-verbose (unimplemented)
610
611	This changes some existing code:
612	+ yylloc is now a pointer, so
613	+ the first parameter to YYERROR_DECL() is a pointer
614	+ struct YYLTYPE now has a "source" field
615
616	* defs.h: adapted from NetBSD
617	- Convert *most* error fingerprints to:
618	    -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
619	    +unterminated_arglist(const struct ainfo *a)
620	- Cast new <ctype.h> args to unsigned char
621
622	* main.c: changes from NetBSD
623	- Add some more bison stuff to make the mesa/gallium parser work:
624	    %initial-action (add missing source struct member in location)
625	    %debug (unimplemented)
626	    %error-verbose (unimplemented)
627
628	This changes some existing code:
629	+ yylloc is now a pointer, so
630	+ the first parameter to YYERROR_DECL() is a pointer
631	+ struct YYLTYPE now has a "source" field
632
633	* error.c: adapted from NetBSD
634	- Convert *most* error fingerprints to:
635	    -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
636	    +unterminated_arglist(const struct ainfo *a)
637	- Cast new <ctype.h> args to unsigned char
638
639	* mstring.c: adapted change from NetBSD to add casts for ctype macros
640
641	* test/btyacc/btyacc_demo.tab.h, test/btyacc/err_inherit4.tab.h: regen
642
643	* output.c: reorder to eliminate a forward-reference
644
6452016-12-02  Tom.Shields
646
647	* output.c:
648	modify output to enable compilation of a lexer generated by flex (using
649	"%option bison-bridge" and "%option bison-locations") to be used with a parser
650	generated by b(t)yacc (using directives "%locations" and "%pure-parser").
651
6522016-12-02  Thomas E. Dickey  <dickey@invisible-island.net>
653
654	* configure: regen
655
656	* aclocal.m4: Improved autoconf macros
657	CF_CC_ENV_FLAGS
658	+ improve split between compiler and options, prompted by report where user
659	  had "ccache" before the compiler
660	+ leave non-preprocessor options in "$CC" (but still copy them to "$CFLAGS"
661	  since that's where they should be)
662	CF_GNU_SOURCE,v
663	+ recent glibc (Debian 2.23-4 for example) has misordered ifdef/checks for new
664	  symbol _DEFAULT_SOURCE, producing warning messages when only _GNU_SOURCE is
665	  defined.  Add a followup check to define _DEFAULT_SOURCE.
666	CF_XOPEN_SOURCE
667	+ add "uclinux" to list of Linux's (patch by Yann E.  Morin)
668	+ use _GNU_SOURCE for cygwin headers
669	+ build-fixes for OS/2
670
671	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
672	bump
673
6742016-11-20  Thomas E. Dickey  <dickey@invisible-island.net>
675
676	* config.sub: 2016-11-19
677
678	* config.guess: 2016-10-02
679
6802016-06-06  Thomas E. Dickey  <dickey@invisible-island.net>
681
682	* configure: regen
683
684	* aclocal.m4: improved autoconf macros:
685	CF_CC_ENV_FLAGS - don't limit the check to -I, -U and -D options, since the
686		added options can include various compiler options before and after
687		preprocessor options.
688	CF_PROG_LINT - add cpplint to programs to use; drop ad hoc tdlint and alint.
689
690	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
691	bump
692
693	* lalr.c: indented
694
695	* btyaccpar.c: regen
696
697	* skel2c:
698	adjust whitespace so that generated skeleton will follow the same format
699	as other code
700
701	* mkpar.c, verbose.c, lr0.c, reader.c, error.c, output.c: indented
702
703	* reader.c: fix two compiler warnings
704
705	* 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:
706	regen
707
7082016-06-06  Tom.Shields
709
710	* btyaccpar.skel, yaccpar.skel:
711	small fix for an edge case of initialized data in Chris Dodd's btyacc changes:
712	"Avoid crash when input pops up an Action error at the first token"
713
7142016-06-01  Thomas E. Dickey  <dickey@invisible-island.net>
715
716	* 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:
717	regen
718
7192016-06-01  Tom.Shields
720
721	* btyaccpar.skel, defs.h, error.c, output.c, reader.c, test/code_calc.y, test/err_inherit4.y, test/run_make.sh, yaccpar.skel:
722	fixes for issues in btyacc (report by Francis Andre):
723
724	+ correction to the placement of the #line directive for a %union specification
725
726	+ recovery of a set of casts originally added into btyaccpar.c rather than into
727	  btyaccpar.skel, and so are lost whenever building from scratch
728
729	+ Chris Dodd's btyacc improved handling of inherited attributes to eliminate
730	  implicit empty copy rules that are not necessary, and thereby avoiding the
731	  introduction of extra parsing ambiguity
732
733	+ Chris Dodd's added support for @-N syntax to reference inherited position
734	  information
735
736	+ correction to bad interaction between %token-table and YYDEBUG, where YYDEBUG
737	  was required to be defined in order to compile the generated code
738
739	+ correction to yyname[] access in code included with YYDEBUG defined for
740	  single character symbols not recognized (e.g., input containing '&' character
741	  where grammar doesn't define that as a symbol) - map to existing
742	  "illegal-symbol" entry in byname[]
743
744	+ fixes to test/run_make.sh:  skip test-err_* files; in the bison test phase
745	  skip additional files that contain features not supported by bison and
746	  inhibit new bison warning messages
747
748	+ minor changes to btyaccpar.skel & yaccpar.skel so they are more similar in
749	  their commonality; makes it easier to maintain the pair of files using
750	  vimdiff
751
752	+ changes to a couple of test cases for coverage of #3, #4 and #5 above
753
7542016-06-01  Thomas E. Dickey  <dickey@invisible-island.net>
755
756	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
757	bump
758
7592016-03-24  Thomas E. Dickey  <dickey@invisible-island.net>
760
761	* reader.c: unused variable
762
763	* package/pkgsrc/Makefile, package/debian/copyright: bump
764
7652016-03-24  Jung-uk.Kim
766
767	* main.c:
768	correct logic for finding output suffix in the "-o" option, which matched
769	the first occurrence of ".c" in the name in 2005-08-13 changes rather than
770	at the end of the filename (patch by Jung-uk Kim)
771
7722016-03-24  Thomas E. Dickey  <dickey@invisible-island.net>
773
774	* aclocal.m4:
775	update CF_WITH_MAN2HTML to use configured shell rather than /bin/sh
776
777	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
778	bump
779
7802016-01-25  Thomas E. Dickey  <dickey@invisible-island.net>
781
782	* config.guess, config.sub: 2016-01-01
783
7842015-07-10  Thomas E. Dickey  <dickey@invisible-island.net>
785
786	* lr0.c: fix a duplicate-free in the leak-checking
787
788	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
789	bump
790
791	* reader.c:
792	make cache-size clearer (prompted by discussion with Pedro Giffuni,
793	Oliver Pinter)
794
795	* main.c:
796	make relationship with format/size clearer (prompted by discussion
797	with Pedro Giffuni, Oliver Pinter)
798
7992015-07-05  Thomas E. Dickey  <dickey@invisible-island.net>
800
801	* configure: regen
802
803	* package/pkgsrc/Makefile, package/mingw-byacc.spec, package/debian/copyright, package/debian/changelog, package/byacc.spec, VERSION:
804	bump
805
806	* aclocal.m4: resync with my-autoconf
807	add configure option --with-man2html
808
809	* makefile.in: add configure options --with-man2html
810
811	* configure.in: add configure option --with-man2html
812
8132015-05-02  Thomas E. Dickey  <dickey@invisible-island.net>
814
815	* config.guess: 2015-03-04
816
817	* config.sub: 2015-03-08
818
8192014-11-28  Thomas E. Dickey  <dickey@invisible-island.net>
820
821	* lr0.c: coverity #39181: memory leak
822
823	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
824	bump
825
8262014-11-13  Jouk.Jansen
827
828	* descrip.mms:
829	I sucessfully compiled byacc on my OpenVMS systems. However, I had to update
830	the descrip.mms to include some extra c-source files and some dependenxcies
831	so that it also works when the distribution is located on an ODS5 disk.
832
833	The patched descrip.mms file can be found at:
834	  http://nchrem.tnw.tudelft.nl/openvms/software2.html#BYACC
835
836	Please feel free to insert the file in your distribution.
837
838	             Regards
839	                 Jouk.
840
8412014-10-06  Thomas E. Dickey  <dickey@invisible-island.net>
842
843	* package/debian/source/format:
844	change to native format to work around regression in Debian packaging.
845
846	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
847	bump
848
849	* configure: regen
850
851	* main.c:
852	correct parameter for umask - for very old mkstemp's - and use type mode_t
853	to quiet compiler warning
854
855	* configure.in: add configure check for mode_t
856
857	* reader.c:
858	better fix for get_line, by ensuring there is enough space to null-terminate
859	its result (prompted by discussion with Craig Rodrigues).
860
8612014-10-05  Thomas E. Dickey  <dickey@invisible-island.net>
862
863	* main.c:
864	make change to umask before calling mkstemp, as suggested in Coverity #56902
865
866	* reader.c:
867	adjust logic in copy_action to avoid potential null-pointer dereference
868	(Coverity #56901)
869
870	* reader.c:
871	adjust logic to avoid potential null-pointer dereference in compile_args
872	(Coverity #63407)
873
874	* reader.c: eliminate strcpy into fixed-size buffer (Coverity #63408)
875
876	* yacc.1: document changes made with respect to %parse-param
877
878	* output.c:
879	add parameters from %parse-param to destructor.  The order of the parameters
880	is intentionally inconsistent with yyparse/yyerror, for "compatibility" with
881	bison.
882
883	* test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c:
884	regen
885
886	* output.c:
887	use puts_param_types/puts_param_names to output lex_param data.
888
889	* 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:
890	regen
891
892	* btyaccpar.c: add casts, change types to fix strict compiler warnings
893
894	* 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:
895	regen
896
897	* output.c: gcc-warning
898
899	* test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c: regen
900
901	* output.c: fix limit when merging real/workaround tables
902
903	* output.c:
904	for btyacc, it is possible to have no conflicts - but in that case, the
905	"ctable" was not generated at all, while the skeleton uses the table.
906	The most straightforward (workaround) is generating a dummy table which
907	rejects any state.
908
909	* test/btyacc_destroy3.y, test/btyacc_destroy2.y, test/btyacc_destroy1.y:
910	fix "make check_make"
911
912	* 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:
913	regen
914
915	* reader.c:
916	trim blanks from interim value in copy_param() to handle special case when
917	a space precedes a comma.
918
919	* output.c:
920	use two new functions, puts_param_types and puts_param_names, to improve
921	format of the parse_param list (by trimming space after "*") as well as
922	correcting the output of the comma-separated names (only the last name
923	was output).
924
925	* test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c:
926	regen
927
928	* reader.c:
929	modify copy_param() to handle resulting comma-separated list.  Before, it
930	only expected a single parameter.
931
9322014-10-04  Thomas E. Dickey  <dickey@invisible-island.net>
933
934	* reader.c: split-out save_param() from copy_param()
935
936	* reader.c: trim_blanks() did not always convert spaces - fix.
937
938	* reader.c: fix some minor regressions with error-reporting
939
940	* aclocal.m4: update CF_XOPEN_SOURCE for Unixware change from lynx
941
942	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
943	bump
944
945	* reader.c:
946	modify copy_param() to accept multiple parameters, each in curly braces like
947	recent bison, as well as honoring bison's undocumented feature to accept the
948	parameters as a comma-separated list.
949
950	* 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:
951	RCS_BASE
952
9532014-10-03  Thomas E. Dickey  <dickey@invisible-island.net>
954
955	* 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:
956	RCS_BASE
957
9582014-10-02  Thomas E. Dickey  <dickey@invisible-island.net>
959
960	* main.c, reader.c, defs.h:
961	use calloc in get_line() when allocating line to ensure it is fully initialized,
962	fixes a later uninitialized value in copy_param() (FreeBSD #193499).
963
9642014-09-17  Thomas E. Dickey  <dickey@invisible-island.net>
965
966	* closure.c, lalr.c, output.c, defs.h:
967	rephrase odd addressing to fix Coverity #48848, #38950, #38860, not actually
968	a bug.
969
9702014-09-01  Thomas E. Dickey  <dickey@invisible-island.net>
971
972	* config.sub: update to 2014-07-28
973
9742014-07-27  Thomas E. Dickey  <dickey@invisible-island.net>
975
976	* configure: regen
977
978	* aclocal.m4: modified to support port to Minix3.2
979
980	* package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
981	bump
982
9832014-07-15  Thomas E. Dickey  <dickey@invisible-island.net>
984
985	* aclocal.m4: resync with my-autoconf (no change to configure script)
986
987	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
988	bump
989
990	* test/run_test.sh:
991	make top-level "make check" work again, by adding another step to filtering
992	the test results.
993
9942014-07-14  Thomas E. Dickey  <dickey@invisible-island.net>
995
996	* test/run_test.sh: changes from Garrett Cooper's patch:
997		a) ensure that the script returns an error-code if there are differences
998		b) escape "." character in left side of sed expression for $YACC
999		c) ensure that $ifBTYACC has a value
1000
1001	* 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:
1002	regen (reminder by Garrett Cooper)
1003
10042014-07-14  Garrett.Cooper
1005
1006	* 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:
1007	regen
1008
10092014-05-27  Tom.Shields
1010
1011	* main.c: remove obsolete -D option from usage message
1012
10132014-05-27  Thomas E. Dickey  <dickey@invisible-island.net>
1014
1015	* 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:
1016	bump
1017
10182014-04-22  Thomas E. Dickey  <dickey@invisible-island.net>
1019
1020	* mstring.c:
1021	use vsnprintf() to ensure that msprintf's buffer is large enough.
1022
1023	* main.c, defs.h: add mstring_leaks()
1024
1025	* configure: regen
1026
1027	* output.c: fix a complementary warning
1028
1029	* mstring.c: introduce vsnprintf
1030
1031	* configure.in, config_h.in: add check for vsnprintf
1032
1033	* output.c: quiet a type-conversion warning
1034
1035	* mstring.c: fix a potential memory leak on ENOMEM
1036	quiet a couple of type-conversion warnings
1037
1038	* defs.h: add/use GCC_PRINTFLIKE for msprintf()
1039
10402014-04-22  Tom.Shields
1041
1042	* README.BTYACC:
1043	drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant
1044	content into README.BTYACC
1045
10462014-04-22  Thomas E. Dickey  <dickey@invisible-island.net>
1047
1048	* package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
1049	bump
1050
10512014-04-19  Thomas E. Dickey  <dickey@invisible-island.net>
1052
1053	* config.sub: 2014-04-03
1054
1055	* config.guess: 2014-03-23
1056
10572014-04-09  Rick.Spates
1058
1059	* main.c, defs.h: patch to allow DEBUG build with WIN32 system
1060
10612014-04-09  Thomas E. Dickey  <dickey@invisible-island.net>
1062
1063	* output.c, reader.c: gcc warnings
1064
1065	* reader.c: fix const-cast warnings
1066
1067	* 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:
1068	fix a few clang --analyze warnings; one was a case where output_ctable emitted
1069	an empty table (which should be an error).
1070
1071	* reader.c: appease clang --analyze
1072
1073	* defs.h: mark two functions as no-return.
1074
1075	* package/debian/changelog: reason for release
1076
1077	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1078	bump
1079
1080	* makefile.in: use $LINT_OPTS from environment via configure script
1081
1082	* 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:
1083	tweaks to make generated files from ok_syntax1.y compile with check_make rule
1084
1085	* 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:
1086	reference output for testing
1087
1088	* test/run_test.sh:
1089	retain the renaming done for code_debug.y so that check_make will work.
1090
1091	* test/yacc/rename_debug.error, test/yacc/rename_debug.h, test/yacc/rename_debug.i, test/yacc/rename_debug.output:
1092	reference output for testing
1093
1094	* test/btyacc/ok_syntax1.error: RCS_BASE
1095
1096	* 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:
1097	regen
1098
1099	* yacc.1:
1100	clarify relationship of btyacc features to default configuration.
1101
11022014-04-08  Thomas E. Dickey  <dickey@invisible-island.net>
1103
1104	* 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:
1105	reference output for testing
1106
1107	* test/ok_syntax1.y: RCS_BASE
1108
1109	* test/yacc/ok_syntax1.error: reference output for testing
1110
1111	* 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:
1112	exercise -L/-B options
1113
1114	* 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:
1115	use a better renaming of the YYPATCH definition (none of the test-cases rely
1116	upon it, but redefinition in the "make check_make" rule is a problem).
1117
1118	* 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:
1119	undid temporary reordering in reader() by Tom Shields to align with byacc outputs
1120
1121	* test/run_test.sh: remove a repeated test-case
1122
1123	* mstring.c: minor reformatting to make coverage analysis simpler
1124
11252014-04-07  Thomas E. Dickey  <dickey@invisible-island.net>
1126
1127	* test/run_test.sh: tidy
1128
1129	* 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:
1130	reference output for testing
1131
1132	* test/run_test.sh:
1133	add special checks for flags which depend on writable/existing files
1134
1135	* 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:
1136	reference output for testing
1137
1138	* main.c:
1139	change CREATE_FILE_NAMES() to use local function rather than inline code,
1140	to simplify coverage analysis.
1141
1142	* 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:
1143	reference output for testing
1144
1145	* test/err_syntax27.y: testcase for missing_brace()
1146
1147	* error.c: ifdef'd non-btyacc function
1148
1149	* lr0.c: ifdef'd debug-code
1150
1151	* yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel
1152
1153	* 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:
1154	2010/11/26 simplification of output.c using putc_code() and putl_code()
1155	omitted an adjustment of the #line value used for code-file.  Fix that.
1156	Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for
1157	YYPATCH #define's to make test-outputs easier to compare #line's (report
1158	by Tom Shields)
1159
11602014-04-06  Thomas E. Dickey  <dickey@invisible-island.net>
1161
1162	* reader.c: fix for valgrind
1163	(the calloc's are intentional - valgrind reported use of uninitialized memory)
1164
1165	* lr0.c, output.c: fix for valgrind
1166
1167	* 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:
1168	RCS_BASE
1169
1170	* test/yacc/code_debug.c, test/yacc/code_debug.h:
1171	exercise the -i option
1172
1173	* test/yacc/code_debug.i: reference output for testing
1174
1175	* test/run_test.sh: exercise the -i option
1176
1177	* test/yacc/code_debug.c: reference output for testing
1178
1179	* test/run_test.sh: exercise the "-o" option
1180
1181	* test/yacc/code_debug.error, test/yacc/code_debug.h, test/yacc/code_debug.output:
1182	reference output for testing
1183
1184	* output.c: don't call exit() without giving a chance to cleanup.
1185
1186	* mstring.c: ifdef'd functions not used in byacc
1187
1188	* btyaccpar.c: generated from btyaccpar.skel
1189
1190	* yaccpar.c: generated from yaccpar.skel
1191
1192	* skel2c:
1193	change the generated-by comment to show which version of this script (and
1194	which version of the given skeleton file) were used to produce the C-file.
1195
1196	* configure: regen
1197
1198	* makefile.in:
1199	add rules to generate byacc and btyacc parser skeleton files independently
1200
1201	* aclocal.m4: CF_PROG_AWK - add to byacc's configure script
1202	CF_INTEL_COMPILER
1203		cleanup the -no-gcc option which was leftover from testing - prcs does
1204		not build with this option.
1205	CF_MAKE_DOCS
1206		protect $2 from substitution, for luit's "$(manext)"
1207	CF_XOPEN_SOURCE
1208		for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2
1209		on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE
1210		because it is not needed, as well as because g++ 4.7.3 (no package,
1211		used in Sage for Solaris 10) has some unspecified header breakage which
1212		is triggered by the duplicate definition.
1213
1214	* configure.in:
1215	modify so skeleton-source is determined by configure options rather than by
1216	having developer rename yaccpar.skel.old to yaccpar.skel
1217
1218	* descrip.mms: rename skeleton
1219
1220	* vmsbuild.com:
1221	fwiw, renamed the skeleton for consistency with makefile
1222
1223	* skel2c, skeleton.c: resync skeleton and its generating files
1224
1225	* yaccpar.skel:
1226	renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules
1227
1228	* yaccpar.skel.old: resync skeleton and its generating files
1229
1230	* test/run_make.sh: improve cleanup after error recovery
1231
1232	* 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:
1233	use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton
1234
1235	* output.c: simplify output_yyerror_decl()
1236
1237	* 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:
1238	add second "const" to string-table declarations, from Tom Shield's btyacc changes
1239
1240	* 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:
1241	discard unnecessary call on write_code_lineno() from Tom Shield's changes
1242
1243	* 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:
1244	use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short"
1245
1246	* test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c:
1247	use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL()
1248
1249	* 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:
1250	discard unnecessary call on write_code_lineno() from Tom Shield's changes
1251
1252	* 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:
1253	use fix from Tom Shield's btyacc changes: prefix-definitions went to the
1254	output (.tab.c) file in a case where they should have gone to the code
1255	(.code.c) file.  Remove now-redundant call to output_prefix().
1256
1257	* main.c: do the same for help-message
1258
1259	* main.c: use OUTPUT_SUFFIX symbol in an overlooked case
1260
1261	* test/run_make.sh:
1262	modify to avoid use of VPATH, which has no standard implementation
1263
12642014-04-05  Thomas E. Dickey  <dickey@invisible-island.net>
1265
1266	* 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:
1267	discard a change which merged CountLines() with explicit comparisons against
1268	code_file because that adds extra to the #line values
1269
1270	* 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:
1271	add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to
1272	override fallback typedef for YYSTYPE when that symbol is undefined
1273
1274	* 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:
1275	minor tweak to coding style - use parenthesis for "defined" operator's parameter
1276
1277	* 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:
1278	regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent
1279
1280	* 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:
1281	regen after adding the YYUNDFTOKEN symbol
1282
1283	* output.c:
1284	integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol
1285	(I changed order of output to keep this adjacent to YYMAXTOKEN)
1286
1287	* reader.c:
1288	merge all but one small change from Tom Shield's btyacc changes - that
1289	changes the order of code-file in the tests.
1290
1291	* test/btyacc/btyacc_demo.tab.c: regen
1292
1293	* test/btyacc_demo.y: fix prototypes
1294
12952014-04-04  Thomas E. Dickey  <dickey@invisible-island.net>
1296
1297	* reader.c, defs.h, main.c:
1298	more merging of Tom Shield's btyacc changes.  In the merge, I moved the
1299	symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs
1300
13012014-04-03  Thomas E. Dickey  <dickey@invisible-island.net>
1302
1303	* reader.c:
1304	merge-in 3/4 of btyacc's changes, deferring those which change test-outputs.
1305	Tom Shield's changes split-out copy_string() and copy_comment() functions
1306	to simplify some logic, as well as adding btyacc-only chunks
1307
1308	* makefile.in: build mstring.o, needed for changes in reader.c
1309
1310	* output.c:
1311	merge-in all of btyacc's changes which do not change byacc's test-output.
1312	Some of the merge uses ifdef-changes which I applied to ongoing resync,
1313	e.g., the introduction of PER_STATE.
1314
13152014-04-02  Thomas E. Dickey  <dickey@invisible-island.net>
1316
1317	* test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen
1318
1319	* output.c: fix typo
1320
1321	* output.c, reader.c:
1322	merge in some chunks of reader and output files which do not affect byacc tests
1323
1324	* test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen
1325
1326	* 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:
1327	incorporate YYENOMEM and YYEOF symbols from btyacc
1328
1329	* output.c: merge chunk from btyacc changes for header-guards
1330
1331	* btyaccpar.skel: RCS_BASE
1332
1333	* yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues
1334	remove GCC_UNUSED to reduce name-pollution as well as being simpler
1335
1336	* main.c:
1337	move a btyacc symbol outside ifdef to work around current state of merge
1338
1339	* defs.h:
1340	add USE_HEADER_GUARDS to defer whether to modify byacc's header-output
1341
1342	* test/run_make.sh:
1343	do not try to compile files used for testing syntax-errors, since they are
1344	likely to be incomplete
1345
13462014-04-02  Tom.Shields
1347
1348	* main.c: changes for btyacc
1349
13502014-04-01  Thomas E. Dickey  <dickey@invisible-island.net>
1351
1352	* reader.c:
1353	integrate change by Tom Shields to use bsearch rather than successive
1354	calls to matchec()
1355
1356	* defs.h: typedef __compar_fn_t is unnecessary
1357
1358	* 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:
1359	omit the GCC_UNUSED, as noted by Tom Shields not really essential
1360
13612014-04-01  Tom.Shields
1362
1363	* verbose.c: changes for btyacc, ifdef'd
1364
13652014-04-01  Thomas E. Dickey  <dickey@invisible-island.net>
1366
1367	* mkpar.c: eliminate most of the ifdef's using macros
1368
13692014-04-01  Tom.Shields
1370
1371	* mkpar.c: merge btyacc changes (ifdef'd - no change to byacc)
1372
1373	* error.c:
1374	new functions used for reporting errors from the btyacc configuration
1375	(I reordered some, and ifdef'd the new ones -TD)
1376
13772014-03-31  Thomas E. Dickey  <dickey@invisible-island.net>
1378
1379	* test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c:
1380	omit the GCC_UNUSED, as noted by Tom Shields not really essential
1381
1382	* 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:
1383	regen
1384
13852014-03-29  Thomas E. Dickey  <dickey@invisible-island.net>
1386
1387	* 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:
1388	comment-out yysccsid in the banner because it produces unnecessary compiler
1389	warnings.  The suggested alternative (using #pragma ident) in the preceding
1390	comment is also obsolete; remove that comment (request by Gleb Smirnoff).
1391
1392	* test/run_test.sh:
1393	for yacc, ignore the inherit testcases, since they are btyacc-specific
1394
13952014-03-28  Thomas E. Dickey  <dickey@invisible-island.net>
1396
1397	* 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:
1398	reference output for testing
1399
1400	* test/run_lint.sh, test/run_make.sh, test/run_test.sh:
1401	moving #define's out of makefile broke check for yacc vs btyacc (fix)
1402
14032014-03-28  Tom.Shields
1404
1405	* 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:
1406	reference output for testing
1407
1408	* defs.h: new functions/variables for btyacc
1409	(I reordered and ifdef'd -TD)
1410
1411	* test/inherit0.y, test/inherit1.y: testcase for btyacc
1412
14132014-03-27  Tom.Shields
1414
1415	* test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y, test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y:
1416	testcase for btyacc
1417
14182014-03-25  Tom.Shields
1419
1420	* symtab.c: extra initialization needed for btyacc
1421	(I ifdef'd -TD)
1422
1423	* yacc.1: document -L/-B features from btyacc
1424
14252014-03-25  Thomas E. Dickey  <dickey@invisible-island.net>
1426
1427	* yacc.1: typo
1428
1429	* configure: regen
1430
1431	* configure.in:
1432	modified new options to act like those in my other configure-scripts, e.g.,
1433	showing what option is being tested, and the resulting value.  Put the
1434	definitions in config.h rather than in the makefile.
1435
14362014-03-25  Tom.Shields
1437
1438	* makefile.in: add/use LINTFLAGS variable
1439	make all of the objects (not just skeleton) rebuild if makefile changes
1440	modify check-rule to reflect updates to run_test.sh vs subdirectory
1441
1442	* mstring.c: byacc-btyacc-20140323
1443
14442014-03-25  Thomas E. Dickey  <dickey@invisible-island.net>
1445
1446	* test/btyacc/RCS, test/yacc/RCS: PERMIT FILE
1447
1448	* config_h.in: updated with autoheader-252
1449
14502014-03-25  Tom.Shields
1451
1452	* README.BTYACC: byacc-btyacc-20140323
1453
14542014-03-24  Tom.Shields
1455
1456	* 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:
1457	reference output for testing
1458
14592014-03-24  Thomas E. Dickey  <dickey@invisible-island.net>
1460
1461	* defs.h: fix compiler warnings due to mputc()
1462
14632014-03-23  Tom.Shields
1464
1465	* test/btyacc_demo.y: testcase for btyacc
1466
1467	* test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h:
1468	reference output for testing
1469
1470	* test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc
1471
14722014-03-23  Thomas E. Dickey  <dickey@invisible-island.net>
1473
1474	* 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:
1475	reference output for testing
1476
1477	* test/err_syntax26.y: testcase for missing_brace()
1478
1479	* 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:
1480	reference output for testing
1481
1482	* test/err_syntax25.y: testcase for over_unionized()
1483
1484	* 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:
1485	reference output for testing
1486
1487	* test/err_syntax24.y: testcase for default_action_warning()
1488
14892014-03-23  Tom.Shields
1490
1491	* 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:
1492	reference output for testing
1493
14942014-03-23  Thomas E. Dickey  <dickey@invisible-island.net>
1495
1496	* 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:
1497	reference output for testing
1498
1499	* test/err_syntax23.y: testcase for untyped_lhs()
1500
15012014-03-23  Tom.Shields
1502
1503	* test/run_test.sh:
1504	move test-outputs into subdirectories to keep btyacc/yacc results separate
1505
15062014-03-23  Thomas E. Dickey  <dickey@invisible-island.net>
1507
1508	* 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:
1509	reference output for testing
1510
1511	* test/err_syntax22.y: testcase for untyped_rhs()
1512
1513	* 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:
1514	reference output for testing
1515
1516	* test/err_syntax20.y: testcase for undefined_symbol_warning()
1517
1518	* test/err_syntax21.y: testcase for unknown_rhs()
1519
1520	* 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:
1521	reference output for testing
1522
1523	* test/err_syntax19.y: testcase for dollar_error()
1524
1525	* 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:
1526	reference output for testing
1527
1528	* test/err_syntax18.y: testcase for dollar_warning()
1529
1530	* 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:
1531	reference output for testing
1532
1533	* test/err_syntax17.y: testcase for unterminated_action()
1534
15352014-03-22  Thomas E. Dickey  <dickey@invisible-island.net>
1536
1537	* 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:
1538	reference output for testing
1539
1540	* test/err_syntax16.y: testcase for terminal_lhs()
1541
1542	* 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:
1543	reference output for testing
1544
1545	* test/err_syntax15.y: testcase for no_grammar()
1546
1547	* 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:
1548	reference output for testing
1549
1550	* test/err_syntax14.y:
1551	testcase for restarted_warning() and undefined_goal()
1552
1553	* 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:
1554	reference output for testing
1555
1556	* test/err_syntax13.y: testcase for terminal_start()
1557
1558	* 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:
1559	reference output for testing
1560
1561	* test/err_syntax12.y: testcase for revalued_warning()
1562
1563	* 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:
1564	reference output for testing
1565
1566	* test/err_syntax11.y: testcase for reprec_warning()
1567
1568	* 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:
1569	reference output for testing
1570
1571	* test/err_syntax10.y: testcase for retyped_warning()
1572
15732014-03-21  Thomas E. Dickey  <dickey@invisible-island.net>
1574
1575	* 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:
1576	reference output for testing
1577
1578	* test/err_syntax9.y: testcase for tokenized_start()
1579
1580	* 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:
1581	reference output for testing
1582
1583	* test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved()
1584
1585	* 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:
1586	reference output for testing
1587
1588	* test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y:
1589	testcase for illegal_character()
1590
1591	* 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:
1592	reference output for testing
1593
1594	* test/err_syntax6.y: testcase for illegal_tag()
1595
1596	* 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:
1597	reference output for testing
1598
1599	* test/err_syntax5.y: testcase for unterminated_union()
1600
1601	* 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:
1602	reference output for testing
1603
1604	* test/err_syntax4.y: testcase for unterminated_text()
1605
1606	* 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:
1607	reference output for testing
1608
1609	* test/err_syntax3.y: testcase for unterminated_string()
1610
1611	* 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:
1612	reference output for testing
1613
1614	* test/err_syntax2.y: testcase for unterminated_comment()
1615
1616	* test/err_syntax1.error, test/yacc/err_syntax1.error:
1617	reference output for testing
1618
1619	* test/err_syntax1.y:
1620	test-case with syntax error (and nonprinting character)
1621
1622	* 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:
1623	reference output for testing
1624
1625	* test/run_test.sh:
1626	save stderr to reference files, to capture shift/reduce messages as well
1627	as syntax-error messages
1628
1629	* 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:
1630	reference output for testing
1631
1632	* test/run_test.sh: generate a ".dot" file for the grammar file
1633
1634	* test/grammar.dot: RCS_BASE
1635
1636	* test/yacc/grammar.dot: reference output for testing
1637
16382014-03-19  Tom.Shields
1639
1640	* output.c: rename MAXSHORT to MAXYYINT
1641
16422014-03-18  Tom.Shields
1643
1644	* yaccpar.skel: skeleton with btyacc additions
1645
1646	* NOTES-btyacc-Changes: byacc-btyacc-20140323
1647
1648	* test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h:
1649	reference output for testing
1650
1651	* test/run_make.sh:
1652	move test-outputs into subdirectories to keep btyacc/yacc results separate
1653
1654	* 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:
1655	reference output for testing
1656
1657	* defs.h:
1658	several changes to help decouple the use of 'short' as the type of value
1659	used in yacc parsers.
1660
1661	* NOTES-btyacc-Disposition: byacc-btyacc-20140323
1662
16632014-03-17  Tom.Shields
1664
1665	* skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE
1666
1667	* test/run_lint.sh:
1668	move test-outputs into subdirectories to keep btyacc/yacc results separate
1669
1670	* configure.in: add --with-max-table-size and --enable-btyacc options
1671
16722014-03-16  Tom.Shields
1673
1674	* main.c: use Value_t rather than short
1675
16762014-03-11  Tom.Shields
1677
1678	* test/empty.y: testcase for btyacc
1679
16802014-03-10  Tom.Shields
1681
1682	* test/calc3.y, test/calc2.y: fix unused-variable warning
1683
16842014-02-18  Tom.Shields
1685
1686	* lr0.c, graph.c: use Value_t rather than short
1687
1688	* closure.c: use Value_t rather than short
1689	ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions
1690
1691	* lalr.c: rename MAXSHORT to MAXYYINT
1692
16932014-01-01  Thomas E. Dickey  <dickey@invisible-island.net>
1694
1695	* yacc.1: document %token-table, improve presentation of double-quotes
1696
1697	* VERSION, package/byacc.spec, package/debian/changelog: bump
1698
1699	* 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:
1700	reference output for testing
1701
1702	* 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:
1703	regen
1704
1705	* output.c, skeleton.c:
1706	amend the last change so that yytname is #define'd as needed rather than
1707	permanent - to avoid breaking cproto for instance.
1708
17092014-01-01  Christos.Zoulas
1710
1711	* output.c, defs.h, main.c, reader.c, skeleton.c:
1712	changes to build ntpd using byacc:
1713	- rename yyname[] to yytname[]
1714	- add YYTRANSLATE() macro
1715	- recognize bison's %token-table declaration
1716
17172014-01-01  Thomas E. Dickey  <dickey@invisible-island.net>
1718
1719	* configure: regen
1720
1721	* yacc.1: s/EE/XE/ to work around groff bug on Debian 6
1722
1723	* makefile.in: use CF_MAKE_DOCS
1724
1725	* aclocal.m4: add CF_MAKE_DOCS
1726
1727	* configure.in: use CF_MAKE_DOCS
1728
17292013-12-26  Thomas E. Dickey  <dickey@invisible-island.net>
1730
1731	* config.guess: 2013-11-29
1732
17332013-11-19  Thomas E. Dickey  <dickey@invisible-island.net>
1734
1735	* aclocal.m4: resync with my-autoconf (fixes for clang and mingw)
1736
17372013-10-25  Thomas E. Dickey  <dickey@invisible-island.net>
1738
1739	* config.sub: 2013-10-01
1740
17412013-09-25  Thomas E. Dickey  <dickey@invisible-island.net>
1742
1743	* reader.c: fix two loop-limits found by clang 3.3 --analyze
1744
1745	* configure: regen
1746
1747	* aclocal.m4:
1748	tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses
1749
1750	* package/mingw-byacc.spec: RCS_BASE
1751
1752	* 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:
1753	regen
1754
1755	* skeleton.c:
1756	Increase default stack-size to match FreeBSD version noted as from
1757	"BSD 4.4 Lite Usr.bin Sources".  See
1758
1759		http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/
1760		http://svnweb.freebsd.org/base/head/usr.bin/yacc/
1761		http://svnweb.freebsd.org/base/vendor/byacc/
1762
1763	The original 1.9 sources (on which I based development) used 500 for
1764	stacksize; the BSD Lite sources (a year or two later) used 10000.
1765
1766	This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE
1767	symbols have "always" been overridable by applications, but rarely
1768	needed to do this.  RedHat began using the FreeBSD source in 2000,
1769	and switched to this source in 2007 using the 20050813 snapshot.
1770
1771	RedHat #743343 misattributed the change in default stacksize to
1772	a regression in byacc, but did not report the issue upstream.
1773
1774	* package/debian/changelog, VERSION, package/byacc.spec: bump
1775
17762013-09-07  Thomas E. Dickey  <dickey@invisible-island.net>
1777
1778	* config.sub: update to 2013-09-15
1779
1780	* config.guess: update to 2013-06-10
1781
17822013-03-04  Thomas E. Dickey  <dickey@invisible-island.net>
1783
1784	* package/debian/changelog, VERSION, package/byacc.spec: bump
1785
1786	* aclocal.m4:
1787	adapt tweak from Dave Beckett to work around long-ago breakage in "new" autoconf.
1788
1789	* output.c:
1790	fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton).
1791	also while testing that, found a case where the union_file is unused; added
1792	a check for address that.
1793
1794	* test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen
1795
1796	* test/ftp.y: fix most compiler warnings for "make check_make"
1797
1798	* test/calc1.tab.c: regen
1799
1800	* test/calc1.y: fix most compiler warnings for "make check_make"
1801
1802	* 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:
1803	regen
1804
1805	* skeleton.c: quiet a gcc conversion-warning in yygrowstack()
1806
1807	* configure: regen
1808
1809	* aclocal.m4:
1810	another fix for CF_GCC_VERSION to handle Debian's modification of gcc message.
1811
18122013-02-10  Thomas E. Dickey  <dickey@invisible-island.net>
1813
1814	* config.sub, config.guess: update to 2013-02-04
1815
18162012-10-03  Thomas E. Dickey  <dickey@invisible-island.net>
1817
1818	* package/debian/changelog, package/byacc.spec, VERSION: bump
1819
1820	* configure: regen
1821
1822	* configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC
1823
1824	* aclocal.m4:
1825	moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc)
1826	the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor.
1827
1828	* aclocal.m4, configure.in:
1829	Arian's change dropped my check for misused $CC variable - restore that with
1830	alternate macro CF_PROG_CC.
1831
18322012-10-03  Adrian.Bunk
1833
1834	* aclocal.m4:
1835	suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since
1836	they are not needed.
1837
18382012-10-03  Thomas E. Dickey  <dickey@invisible-island.net>
1839
1840	* aclocal.m4:
1841	split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in
1842	Adrian's suggested changes.
1843
1844	* aclocal.m4:
1845	CF_CLANG_COMPILER - check if the given compiler is really clang.
1846
1847	* aclocal.m4:
1848	add check for clang to CF_GCC_WARNINGS.  modify CF_GCC_WARNINGS to work around
1849	old gcc warning:  ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1
1850	on my Sarge system (versus 3.3.5 for the normal gcc).  The 2.8.1's
1851	pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work
1852	around by excluding that check for pre-3.x compilers.
1853
1854	* aclocal.m4:
1855	modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions
1856	provided by this macro.  use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather
1857	than appending to confdefs.h, since long-ago concern about the ability to
1858	pass-through parameterized macros appears to be not a problem, testing with
1859	2.13 and 2.52
1860
18612012-10-03  Adrian.Bunk
1862
1863	* aclocal.m4:
1864	add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by
1865	autoheader, updated macros:
1866		CF_CHECK_CACHE
1867		CF_DISABLE_LEAKS
1868		CF_MKSTEMP
1869		CF_MIXEDCASE_FILENAMES
1870		CF_NO_LEAKS_OPTION
1871
18722012-10-03  Thomas E. Dickey  <dickey@invisible-island.net>
1873
1874	* aclocal.m4:
1875	move existence-check for mkstemp out of the AC_TRY_RUN, to help with
1876	cross-compiles
1877
18782012-10-02  Thomas E. Dickey  <dickey@invisible-island.net>
1879
1880	* config_h.in:
1881	Adrian Bunk request - replace this with the output from autoheader
1882
18832012-09-29  Adrian.Bunk
1884
1885	* configure.in:
1886	suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no
1887	check is needed anymore for standard C compilers), drop AC_CONST (same
1888	reason), modify AC_OUTPUT to rely upon template generated by autoheader.
1889	bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT
1890	as being obsolete with autoconf 2.52x
1891
1892	* configure.in, main.c: drop check for atexit, because it is standard C
1893
1894	* makefile.in: add assignment for datarootdir variable.
1895
18962012-05-26  Thomas E. Dickey  <dickey@invisible-island.net>
1897
1898	* package/debian/changelog, package/byacc.spec, VERSION: bump
1899
1900	* reader.c:
1901	some versions of gcc may warn that bp is not set in mark_symbol, e.g.,
1902	if GCC_NORETURN is not handled; appease the compiler.
1903
1904	* reader.c:
1905	use the declared types Assoc_t and Value_t in some places where compiler only
1906	cared about char versus short.
1907
1908	* reader.c:
1909	use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
1910	(no object change)
1911
1912	* defs.h:
1913	add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD
1914	packagers to build without configure script.  Also remove duplicate declaration
1915	of pure_parser variable (prompted by patch by Baptiste Daroussin).
1916
1917	Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and
1918	REALLOC macros.
1919
1920	* symtab.c:
1921	use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
1922	(no object change)
1923
19242012-05-25  Thomas E. Dickey  <dickey@invisible-island.net>
1925
1926	* output.c, main.c, verbose.c, mkpar.c, lr0.c:
1927	use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
1928	(no object change)
1929
19302012-01-15  Thomas E. Dickey  <dickey@invisible-island.net>
1931
1932	* package/debian/copyright: bump
1933
1934	* test/run_make.sh: workaround for breakage due to GNU make 3.82
1935
1936	* test/run_make.sh:
1937	tested with Solaris 10 (bison 1.875) and added scripting to exercise
1938	the /usr/ccs/bin/yacc executable
1939
1940	* test/grammar.tab.c: regen
1941
1942	* test/grammar.y: modify to also build with Solaris yacc
1943
1944	* VERSION, package/debian/changelog, package/byacc.spec: bump
1945
1946	* test/yacc/calc1.output: reference output for testing
1947
1948	* test/calc1.output, test/calc1.tab.c: regen
1949
1950	* test/calc1.y:
1951	undo the change made to appease bison, since it was only a warning.
1952
1953	* test/pure_calc.tab.c, test/pure_error.tab.c: regen
1954
1955	* test/run_make.sh: another fix for running from top-level directory
1956
1957	* makefile.in:
1958	ensure that check_make rule depends on having byacc built.
1959
1960	* test/run_make.sh: fixes for building from parent directory
1961
1962	* test/pure_error.y, test/pure_calc.y: bison-fixes
1963
1964	* 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:
1965	regen
1966
1967	* test/code_debug.y: RCS_BASE
1968
1969	* test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y:
1970	byacc already declares yyerror
1971
1972	* test/pure_error.y, test/pure_calc.y:
1973	modified to help make the files build with bison
1974
1975	* test/run_make.sh:
1976	supply a "%pure-parser" directive when bison needs it.
1977
1978	* test/code_calc.code.c: regen
1979
1980	* test/code_calc.y: modified to help make the files build with bison
1981
1982	* yacc.1:
1983	in testing, found that %expect did not work as documented for bison.
1984	do not recommend it for portable code.
1985
1986	* test/run_make.sh: workaround breakage in bison's %expect directive
1987
1988	* test/grammar.y: modified to help make the files build with bison
1989
1990	* test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen
1991
1992	* test/calc1.y: quiet a spurious warning from bison 2.3
1993
1994	* test/calc1.tab.c: regen
1995
1996	* test/calc1.y: modified to help make the files build with bison
1997
1998	* yacc.1: comment on "-y" and "-P" options.
1999
2000	* yacc.1: comment on portability
2001
2002	* 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:
2003	regen
2004
2005	* test/ftp.y: modified to help make the files build with bison
2006	(bison's "-y" option is of no use in providing "yacc" compatibility)
2007
2008	* test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
2009	regen
2010
2011	* test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, test/quote_calc4.y, test/quote_calc3.y:
2012	modified to help make the files build with bison
2013
2014	* test/calc.tab.c: regen
2015
2016	* test/calc.y: modified to help make the files build with bison
2017
2018	* test/error.tab.c: regen
2019
2020	* test/error.y: modified to help make the files build with bison
2021
2022	* test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen
2023
2024	* test/run_make.sh:
2025	check for older bisons which (2.3 for instance) do not support pure parsers
2026
2027	* test/code_error.y, test/calc3.y, test/calc2.y:
2028	modified to help make the files build with bison
2029
2030	* test/run_test.sh: use $opt2 in filenames of the generated files
2031
2032	* 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:
2033	regen
2034
20352012-01-14  Thomas E. Dickey  <dickey@invisible-island.net>
2036
2037	* 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:
2038	regen
2039
2040	* output.c: Several changes:
2041		a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex.
2042		b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL,
2043		   using YYLEX_PARAM_TYPE and YYLEX_PARAM.
2044		c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL,
2045		   to help with redefinitions.
2046
2047	* test/pure_calc.tab.c:
2048	modified to help make the files build with bison
2049
2050	* test/run_make.sh:
2051	start work on followup, to check if the generated files build with bison.
2052
2053	* test/pure_calc.y, test/pure_error.tab.c:
2054	modified to help make the files build with bison
2055
2056	* test/calc3.tab.c: regen
2057
2058	* 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:
2059	RCS_BASE
2060
2061	* 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:
2062	reference output for testing
2063
2064	* test/run_test.sh: generate/test with "-s" option applied.
2065
20662012-01-13  Thomas E. Dickey  <dickey@invisible-island.net>
2067
2068	* package/debian/changelog, package/byacc.spec, VERSION: bump
2069
2070	* yacc.1: improve documentation of -s option
2071
2072	* yacc.1: note that yacc ignores -y
2073
2074	* main.c: add -s option to usage message.
2075
2076	* test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h:
2077	RCS_BASE
2078
2079	* test/yacc/quote_calc3.output, test/yacc/quote_calc4.output, test/yacc/quote_calc4.tab.h:
2080	reference output for testing
2081
2082	* test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE
2083
2084	* test/yacc/quote_calc.tab.h: reference output for testing
2085
2086	* 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:
2087	RCS_BASE
2088
2089	* test/yacc/quote_calc.output, test/yacc/quote_calc2.output, test/yacc/quote_calc2.tab.h, test/yacc/quote_calc3.tab.h:
2090	reference output for testing
2091
2092	* test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE
2093
2094	* configure: regen
2095
2096	* aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE
2097
20982011-12-19  Thomas E. Dickey  <dickey@invisible-island.net>
2099
2100	* package/debian/changelog, package/byacc.spec, VERSION: bump
2101
2102	* yacc.1, output.c, main.c, defs.h:
2103	add "-s" option to suppress generating #define's based on string contents
2104	in a %token statement.  For instance
2105		%token EQLS "Equals"
2106	would generate
2107		#define EQLS 256
2108		#define Equals 257
2109	Simply suppressing the second #define makes the behavior closer to yacc.
2110	(report by Paulo Andrade).
2111
21122011-09-08  Thomas E. Dickey  <dickey@invisible-island.net>
2113
2114	* package/debian/changelog, package/byacc.spec, VERSION: bump
2115
2116	* output.c:
2117	fix some more interaction between -i and -d flags to ensure YYERRCODE
2118	and YYSTYPE are declared, tested with cproto.
2119
21202011-09-07  Thomas E. Dickey  <dickey@invisible-island.net>
2121
2122	* yacc.1: document "-i" option.
2123
2124	* package/debian/changelog, package/byacc.spec, VERSION: bump
2125
2126	* output.c: fix an interaction between -i and -d
2127
2128	* 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:
2129	regen - changes for "-i" option move the global/impure variables near the
2130	macros that may add a prefix, etc.
2131
2132	* skeleton.c, output.c, defs.h: changes to support "-i" option.
2133
21342011-09-06  Thomas E. Dickey  <dickey@invisible-island.net>
2135
2136	* reader.c: pass explicit file-pointer to write_section()
2137
2138	* main.c:
2139	add "-i" option, to generate interface-file (suggested by Denis M. Wilson)
2140
21412011-09-05  Thomas E. Dickey  <dickey@invisible-island.net>
2142
2143	* configure: regen
2144
2145	* aclocal.m4:
2146	resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC)
2147	and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks)
2148
2149	* defs.h, error.c, reader.c:
2150	add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson)
2151
21522011-04-01  Thomas E. Dickey  <dickey@invisible-island.net>
2153
2154	* config.sub: update to 2011-04-01
2155
21562011-02-02  Thomas E. Dickey  <dickey@invisible-island.net>
2157
2158	* config.guess: update to 2011-01-01
2159
21602010-12-29  Thomas E. Dickey  <dickey@invisible-island.net>
2161
2162	* defs.h, skeleton.c:
2163	add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas)
2164
2165	* defs.h:
2166	mark all of the error-functions as non-returning (report by Christos Zoulas)
2167
2168	* 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:
2169	regen
2170
2171	* skeleton.c:
2172	use only realloc() rather than realloc+malloc, agree that systems needing this
2173	are very rare (prompted by NetBSD change).
2174
2175	* test/ftp.tab.c: regen
2176
21772010-12-29  Christos.Zoulas
2178
2179	* test/ftp.y:
2180	improve example, which was stuck in 19XX and assumed file sizes were longs.
2181
21822010-12-29  Thomas E. Dickey  <dickey@invisible-island.net>
2183
2184	* 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:
2185	regen
2186
2187	* 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:
2188	use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror
2189
2190	* skeleton.c:
2191	remove explicit prototype for yylex() via YYLEX_DECL() macro, since that
2192	would prevent declaring yylex() static (request by Christos Zoulas).
2193
2194	* test/calc2.tab.c, test/calc3.tab.c: regen
2195
21962010-12-29  Christos.Zoulas
2197
2198	* output.c: correct definition for YYERROR_DECL()
2199
22002010-12-29  Thomas E. Dickey  <dickey@invisible-island.net>
2201
2202	* package/debian/changelog, package/byacc.spec, VERSION: bump
2203
22042010-12-26  Thomas E. Dickey  <dickey@invisible-island.net>
2205
2206	* defs.h, main.c:
2207	change return-type of allocate() to avoid warnings of alignment problems
2208
2209	* main.c: Solaris declares chmod() in <sys/stat.h>
2210
2211	* configure: regen
2212
2213	* main.c: ifdef'd use of fcntl.h
2214
2215	* configure.in: add configure checks for fcntl.h, atexit and mkstemp
2216
2217	* main.c: for cases where mkstemp() is not available, use tempnam/open
2218
2219	* aclocal.m4: add CF_MKSTEMP
2220
2221	* aclocal.m4:
2222	improve quoting, deprecate ${name-value} in favor of standard ${name:-value}
2223
22242010-12-25  Thomas E. Dickey  <dickey@invisible-island.net>
2225
2226	* main.c:
2227	start revising use of tmpfile(), to make this work with MinGW.  Start by
2228	implementing a mkstemp() alternative - noting that mkstemp() also is broken
2229	for MinGW.
2230
2231	* package/debian/changelog, package/byacc.spec, VERSION: bump
2232
22332010-11-27  Thomas E. Dickey  <dickey@invisible-island.net>
2234
2235	* package/byacc.spec, package/debian/changelog, VERSION: bump
2236
2237	* test/calc2.tab.c, test/calc3.tab.c: regen
2238
2239	* output.c:
2240	corrected use of %parse-param value in yyerror(); it doesn't use &yylval
2241	(report by Clifford Yapp)
2242
22432010-11-26  Thomas E. Dickey  <dickey@invisible-island.net>
2244
2245	* skeleton.c: typo
2246
2247	* output.c:
2248	correct line-numbering when "-r" option is used; the 'outline' variable
2249	should only be incremented when writing to the code-file.
2250
2251	* test/code_calc.code.c, test/code_error.code.c: regen
2252
2253	* yacc.1: bump date
2254
2255	* yacc.1: comment on -b option vs -r
2256
2257	* 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:
2258	regen
2259
2260	* output.c:
2261	improve on YYERROR_DECL(), adding dummy params which can be used for the
2262	actual function declaration.  Also add YYERROR_CALL().  The two macros
2263	simplify maintaining sets of grammars which may/may not be pure.
2264
2265	* 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:
2266	regen
2267
2268	* output.c: generate yyerror() calls in output.c
2269	This is for compatibility with bison, which passes the yylval to yyerror
2270	when the %parse-param feature is used.
2271
2272	* skeleton.c, defs.h: generate yyerror() calls in output.c
2273
2274	* output.c: simplified a little, using putc_code() and putl_code()
2275
2276	* test/yacc/calc1.tab.h: reference output for testing
2277
2278	* test/calc1.tab.h: regen
2279
2280	* reader.c:
2281	improve ifdef for YYSTYPE union declaration (report by Clifford Yapp)
2282
2283	* reader.c:
2284	accept underscore as a replacement for dash in command names, e.g.,
2285	"%pure_parser" vs "%pure-parser".
2286
2287	* test/calc1.tab.c: regen
2288
2289	* output.c, reader.c:
2290	also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp)
2291
2292	* package/debian/changelog, package/byacc.spec, VERSION: bump
2293
22942010-11-24  Thomas E. Dickey  <dickey@invisible-island.net>
2295
2296	* main.c, defs.h, symtab.c, error.c: reduce global variables
2297
2298	* package/debian/changelog, package/byacc.spec, VERSION: bump
2299
2300	* reader.c:
2301	amend fix for Redhat #112617 to still call default_action_warning() for
2302	empty rules (report by Bruce Cran).
2303
23042010-11-22  Thomas E. Dickey  <dickey@invisible-island.net>
2305
2306	* output.c:
2307	add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp).
2308
2309	* test/calc1.tab.c: regen
2310
2311	* test/calc1.y: cleanup compiler warnings
2312
2313	* test/grammar.y: add "%expect"
2314
2315	* test/calc1.tab.h: regen
2316
2317	* test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE
2318
2319	* test/calc2.tab.c, test/calc3.tab.c: regen
2320
2321	* test/calc1.y:
2322	advanced example from Steve Johnson's paper, uses unions
2323
2324	* test/calc3.y, test/calc2.y: init 'base', so examples can run
2325
2326	* test/ftp.tab.c, test/ftp.y: tweaks to compile with g++
2327
2328	* output.c: compensate for fix in reader.c
2329
2330	* reader.c:
2331	add/use putc_both() and puts_both(), incidentally fixing a place where
2332	a union copied to the union_file may be missing the end of the last line.
2333
2334	* package/debian/changelog, package/byacc.spec, VERSION: bump
2335
23362010-09-28  Thomas E. Dickey  <dickey@invisible-island.net>
2337
2338	* config.guess: update to 2010-09-24
2339
23402010-09-10  Thomas E. Dickey  <dickey@invisible-island.net>
2341
2342	* config.sub: update to 2010-09-11
2343
23442010-06-10  Thomas E. Dickey  <dickey@invisible-island.net>
2345
2346	* yacc.1, package/debian/changelog, package/byacc.spec, VERSION:
2347	bump to 2010/06/10
2348
23492010-06-09  Thomas E. Dickey  <dickey@invisible-island.net>
2350
2351	* reader.c: free declarations in leak-testing code.
2352
2353	* main.c: close code_file if -r option used, for leak-testing
2354
2355	* defs.h, reader.c:
2356	improve %lex-param / %parse-param implementation by allowing for arrays to
2357	be passed as parameters, e.g., "int regs[26]".
2358
2359	* test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h:
2360	RCS_BASE
2361
2362	* test/yacc/calc3.output, test/yacc/calc3.tab.h:
2363	reference output for testing
2364
2365	* test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE
2366
2367	* test/yacc/calc2.tab.h: reference output for testing
2368
2369	* test/calc2.output: RCS_BASE
2370
2371	* test/yacc/calc2.output: reference output for testing
2372
2373	* output.c:
2374	improve %lex-param / %parse-param implementation by allowing for arrays to
2375	be passed as parameters, e.g., "int regs[26]".
2376
2377	* test/calc.tab.c, test/calc.y:
2378	test-cases and reference files for %lex-param / %parse-param
2379
2380	* makefile.in: add docs-rule, for html/pdf/txt form of manpage
2381
2382	* configure: regen
2383
2384	* aclocal.m4: add CF_XOPEN_SOURCE, etc.
2385
2386	* configure.in:
2387	use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89
2388
2389	* 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:
2390	fix warnings from clang --analyze
2391
23922010-06-08  Thomas E. Dickey  <dickey@invisible-island.net>
2393
2394	* output.c: fix to build with c89, etc.
2395
2396	* reader.c: gcc warning
2397
2398	* 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:
2399	modified test-cases to allow them to compile, to validate pure-parser changes.
2400	updated reference files to match.
2401
2402	* output.c:
2403	move call for output_stype() earlier since it is used in pure-parser declarations
2404
2405	* test/grammar.tab.c, test/grammar.y:
2406	modified test-cases to allow them to compile, to validate pure-parser changes.
2407	updated reference files to match.
2408
2409	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2410	regen
2411
2412	* yacc.1: document %lex-param and %parse-param
2413
2414	* test/run_lint.sh, test/run_make.sh: RCS_BASE
2415
2416	* test/run_test.sh:
2417	further modify to allow build-directory to be in a different location by
2418	passing this directory's location as a parameter to the script.
2419
2420	* makefile.in:
2421	add check_make and check_lint rules to help validate the generated files
2422	in the test-directory
2423
24242010-06-07  Thomas E. Dickey  <dickey@invisible-island.net>
2425
2426	* test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE
2427
2428	* test/run_test.sh:
2429	provide for testing -r and -P options by checking if the ".y" filename
2430	begins with "code_" or "pure_", respectively.
2431
2432	* test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h:
2433	RCS_BASE
2434
2435	* test/yacc/code_error.tab.h: reference output for testing
2436
2437	* test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h:
2438	RCS_BASE
2439
2440	* test/yacc/code_calc.tab.h: reference output for testing
2441
2442	* test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h:
2443	RCS_BASE
2444
2445	* test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h, test/yacc/pure_error.output, test/yacc/pure_error.tab.h:
2446	reference output for testing
2447
2448	* test/code_calc.output, test/code_error.output: RCS_BASE
2449
2450	* test/yacc/code_calc.output, test/yacc/code_error.output:
2451	reference output for testing
2452
2453	* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen
2454
2455	* test/run_test.sh:
2456	changes to support running "make check" in a separate build-tree
2457
2458	* main.c: add "-P" to usage message
2459
2460	* reader.c: use UCH() macro to hide casts.
2461
24622010-06-07  Andres.Mejia
2463
2464	* main.c, output.c, reader.c, defs.h, skeleton.c:
2465	Fix the output order of the generated parse code file.  This allows for
2466	the use of YYPARSE_PARAM, by having the output that checks for
2467	YYPARSE_PARAM to be defined come after the C code block in the
2468	definitions section of a yacc file.
2469
2470	Implement support for YYLEX_PARAM, similar to bison.  This is useful for
2471	support for building reentrant lexers with flex.
2472
2473	Fix a compatibility issue with bison's pure-parser option.  Bison
2474	defines yylex as sending at least one parameter, &yylval, as the first
2475	parameter and doesn't seem to have an easy way to remove that parameter.
2476	This on the other hand is rather convenient to support saving to yylval
2477	from flex when building reentrant lexers and parsers.
2478
2479	Add support for the %parse-param and %lex-param directives used in
2480	bison.  This change bears some similarity to NetBSD's changes to byacc
2481	at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html
2482
2483	Bison allows for POSIX yacc emulation via a yacc directive in the yacc
2484	file, and also via a command line switch.  Implement this feature as a
2485	no-op for byacc, since byacc is designed to be POSIX yacc compatible
2486	anyway.  This allows for better compatibility with yacc sources written
2487	for bison.
2488
24892010-06-07  Thomas E. Dickey  <dickey@invisible-island.net>
2490
2491	* VERSION: bump to 2010/06/07
2492
24932010-06-06  Thomas E. Dickey  <dickey@invisible-island.net>
2494
2495	* test/calc.tab.c, configure: regen
2496
2497	* skeleton.c:
2498	move #include's down into the generated code, to allow user-defined code
2499	to override feature definitions, particularly with stdlib.h (request by
2500	Marcus Kool).
2501
2502	* lr0.c, error.c, reader.c, defs.h:
2503	strict gcc 3.4.6 warnings on 64-bit platform
2504
2505	* aclocal.m4, configure.in: add check for lint
2506
2507	* makefile.in: add lint rule
2508
2509	* defs.h, closure.c, lr0.c, warshall.c, main.c:
2510	fix gcc warnings, mostly for 64-bit platform
2511
2512	* aclocal.m4:
2513	add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc
2514
2515	* makefile.in: add etags/TAGS if available
2516
2517	* configure.in: add configure check for actual ctags and etags programs
2518
2519	* package/debian/copyright: add copyright notices for non-PD files
2520
2521	* package/debian/changelog:
2522	incorporated scripts in upstream to use for test-builds
2523
2524	* makefile.in: drop mkdirs.sh, just use "mkdir -p"
2525
2526	* AUTHORS: nicknames for some contributors (see CHANGES for details)
2527
2528	* package/byacc.spec: RPM file for byacc
2529
2530	* VERSION: bump to 2010/06/06
2531
2532	* aclocal.m4: add copyright notice, from "my-autoconf" macros
2533		http://invisible-island.net/autoconf/autoconf.html
2534
2535	* package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS:
2536	PERMIT FILE
2537
2538	* aclocal.m4: resync with my-autoconf.  summary of changes:
2539		a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter
2540		b) CF_DISABLE_ECHO, change indent-convention for substituted makefile
2541		c) CF_GCC_VERSION, ignore stderr
2542		d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc
2543
25442010-04-20  Thomas E. Dickey  <dickey@invisible-island.net>
2545
2546	* 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:
2547	scripts from Debian package
2548
25492010-02-16  Thomas E. Dickey  <dickey@invisible-island.net>
2550
2551	* yacc.1: document -P and bison-extensions
2552
2553	* test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
2554	regen
2555
2556	* output.c: implement %pure-parser
2557
2558	* skeleton.c:
2559	implement %pure-parser, like bison.  To help with this, changed the stack
2560	variables, putting them into a struct.
2561
2562	* reader.c: implement %pure-parser
2563
2564	* defs.h: modified skeleton to support %pure-parser feature
2565
2566	* main.c: add -P option to set %pure-parser
2567
2568	* output.c:
2569	make -r and -p options work together.  The -r option splits the generated
2570	parser into code/table files; for this case we cannot use static data.
2571	Also, we have to repeat the #define's used for prefix (-p) as well as the
2572	redeclaration of yyparse().  Finally, allow any of the prefixed names to
2573	be overridden, e.g., by passing a -D option to the compiler.  Make that
2574	a little more readable by putting a blank line before each chunk.
2575
2576	* defs.h: add definitions for %pure-parser
2577
2578	* skeleton.c:
2579	put blank line before/after the redeclaration of yyparse()
2580
2581	* output.c: allow for other program redefining yylex()
2582
2583	* skeleton.c:
2584	split-off xdecls[] array, to move declaration of yyparse() after #define's
2585
2586	* defs.h: split-out xdecls[]
2587
2588	* VERSION: bump
2589
2590	* configure: regen
2591
2592	* aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS
2593
2594	* aclocal.m4:
2595	resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes.
2596
25972010-02-16  Ostap.Cherkashi
2598
2599	* skeleton.c: fix a memory leak in the generated skeleton
2600
26012010-01-01  Thomas E. Dickey  <dickey@invisible-island.net>
2602
2603	* package/debian/source/format: scripts from Debian package
2604
26052009-12-31  Thomas E. Dickey  <dickey@invisible-island.net>
2606
2607	* config.guess: update to 2009-12-30
2608
2609	* config.sub: update to 2009-12-31
2610
26112009-10-27  Thomas E. Dickey  <dickey@invisible-island.net>
2612
2613	* VERSION: 20091027
2614
2615	* output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c:
2616	strict compiler warnings
2617
26182009-10-26  Thomas E. Dickey  <dickey@invisible-island.net>
2619
2620	* test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
2621	resync
2622
2623	* main.c, defs.h: introduce some typedefs for portability, etc.
2624
2625	* makefile.in:
2626	don't remove "*.log" in mostlyclean rule since it interferes with regression
2627	script.
2628
2629	* configure: regen
2630
2631	* aclocal.m4: resync with my-autoconf
2632
26332009-08-25  Thomas E. Dickey  <dickey@invisible-island.net>
2634
2635	* config.guess, config.sub: update to 2009-08-19
2636
26372009-02-21  Thomas E. Dickey  <dickey@invisible-island.net>
2638
2639	* VERSION: bump
2640
2641	* output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
2642
26432008-12-26  Thomas E. Dickey  <dickey@invisible-island.net>
2644
2645	* configure: regen with autoconf-2.52 (patched)
2646
26472008-12-25  Thomas E. Dickey  <dickey@invisible-island.net>
2648
2649	* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
2650	regenerated
2651
26522008-12-24  Thomas E. Dickey  <dickey@invisible-island.net>
2653
2654	* VERSION: bump
2655
2656	* skeleton.c:
2657	remove ifdef-lint from goto yyerrlab, to quiet gcc warning
2658
26592008-11-26  Thomas E. Dickey  <dickey@invisible-island.net>
2660
2661	* verbose.c, main.c, defs.h, mkpar.c, reader.c:
2662	completed implementation of "%expect" (report by Perry E. Metzger).
2663	add "%expect-rr", which is (unlike bison) allowable in LALR parsers.
2664
26652008-11-24  Thomas E. Dickey  <dickey@invisible-island.net>
2666
2667	* 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:
2668	change indent-style (request by Perry E. Metzger)
2669
26702008-08-27  Thomas E. Dickey  <dickey@invisible-island.net>
2671
2672	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2673	better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
2674
2675	* VERSION: bump
2676
2677	* skeleton.c:
2678	better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
2679
2680	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c:
2681	change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's.
2682
2683	* configure: regen'd
2684
2685	* configure.in: add -Wwrite-strings to warnings
2686
2687	* test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
2688	add YYPARSE_PARAM and YYPARSE_PARAM_TYPE
2689
2690	* skeleton.c:
2691	add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features.
2692
2693	* main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c:
2694	fixes for gcc -Wwrite-strings
2695
2696	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2697	generate the tables as static-const (this is an interface change)
2698
2699	* output.c: realign columns in start_table()
2700
2701	* output.c:
2702	generate the tables as static-const (this is an interface change)
2703
2704	* output.c: reorder functions to eliminate forward-references
2705
2706	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2707	remove 'register' keywords
2708
27092008-08-26  Thomas E. Dickey  <dickey@invisible-island.net>
2710
2711	* 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:
2712	remove 'register' keywords
2713
27142008-08-25  Thomas E. Dickey  <dickey@invisible-island.net>
2715
2716	* test/ftp.tab.c: regen'd
2717
2718	* reader.c:
2719	improve the left-curly fix by testing after blanks, to avoid having a
2720	" {" at the beginning of a line.
2721
2722	* test/error.tab.c, test/grammar.tab.c: regen'd
2723
2724	* output.c:
2725	move the remaining newline-counting into write_XXX functions.
2726
2727	* test/calc.tab.c: regen'd
2728
2729	* output.c:
2730	simplify part of the output_file formatting using new functions, e.g.,
2731	start_int_table(), output_newline().
2732
2733	* reader.c:
2734	modify copy_action() to indent the first character, it if is is left-curly
2735	brace.  That makes the output look more like the original, as well as makes
2736	it simpler to edit (not confuse editors which look for a left-curly in the
2737	first column as if it were the beginning of a function).
2738
2739	* skeleton.c: minor fixes to avoid gcc -Wconversion warnings
2740
2741	* output.c: align the #define's produced for "-p" option
2742
2743	* test/run_test.sh: use the "-p" option for better coverage.
2744
2745	* output.c: simplify output_prefix() with new define_prefixed()
2746
2747	* skeleton.c: include string.h, for memset()
2748	change stack size to unsigned to fix gcc -Wconversion warnings.
2749
2750	* VERSION: bump to 2008/8/25
2751
2752	* makefile.in: add dependency on VERSION file.
2753
27542008-08-24  Thomas E. Dickey  <dickey@invisible-island.net>
2755
2756	* VERSION: bump
2757
2758	* lalr.c: improved memory-leak checking by freeing data in includes[]
2759
2760	* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
2761	update to match skeleton-change
2762
2763	* configure: regen'd
2764
2765	* skeleton.c: Add fix for stack discussed
2766		http://undeadly.org/cgi?action=article&sid=20080708155228
2767	and applied
2768		http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29
2769
2770	* aclocal.m4: resync with my-autoconf (no major changes)
2771
27722008-07-24  Thomas E. Dickey  <dickey@invisible-island.net>
2773
2774	* package/pkgsrc/Makefile, package/pkgsrc/distinfo:
2775	scripts from NetBSD pkgsrc, for test-builds
2776
27772008-03-14  Thomas E. Dickey  <dickey@invisible-island.net>
2778
2779	* config.sub: update to 2008-03-08
2780
2781	* config.guess: update to 2008-03-12
2782
27832007-05-09  Thomas E. Dickey  <dickey@invisible-island.net>
2784
2785	* main.c: close graph, verbose files if opened, on exit.
2786
2787	* main.c:
2788	audit memory leaks - valgrind reported some memory still in use on exit.
2789
2790	* lalr.c, output.c, reader.c, mkpar.c, lr0.c:
2791	add hook for auditing memory leaks
2792
2793	* defs.h: add hooks for auditing memory leaks
2794
2795	* configure: regen'd
2796
2797	* configure.in:
2798	use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind,
2799	--with-dbmalloc and --with-dmalloc
2800
2801	* aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND
2802
2803	* aclocal.m4: improve version-checking in CF_GCC_VERSION
2804	rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro
2805
2806	* VERSION: 2007/5/9
2807
2808	* main.c: file_prefix did not always have a trailing null.
2809
28102007-03-25  Thomas E. Dickey  <dickey@invisible-island.net>
2811
2812	* mkdirs.sh: improved version for "make -j"
2813
28142006-12-22  Thomas E. Dickey  <dickey@invisible-island.net>
2815
2816	* config.guess: update to 2006/12/22
2817
28182006-12-08  Thomas E. Dickey  <dickey@invisible-island.net>
2819
2820	* config.sub: update to 2006/12/08
2821
28222005-08-13  Thomas E. Dickey  <dickey@invisible-island.net>
2823
2824	* main.c: add -V to usage message
2825
2826	* makefile.in: remove -t option from ctags
2827
2828	* VERSION: 2005/8/13
2829
28302005-08-13  schmitz
2831
2832	* main.c: Sylvain Schmitz:
2833	modify the '-o' option to work like bison's, which sets the file-prefix.
2834
28352005-08-13  Matt.Kraai
2836
2837	* output.c:
2838	Debian #322858 (don't close union_file, which contained data).
2839	This feature is used in groff.
2840
28412005-08-13  Thomas E. Dickey  <dickey@invisible-island.net>
2842
2843	* configure: regenerated
2844
2845	* aclocal.m4: improve checks for Intel compiler warnings
2846
28472005-06-25  Thomas E. Dickey  <dickey@invisible-island.net>
2848
2849	* config.sub: update to 2005/6/2
2850
2851	* config.guess: update to 2005/5/27
2852
28532005-05-05  Thomas E. Dickey  <dickey@invisible-island.net>
2854
2855	* defs.h: add a fallback for GCC_UNUSED
2856
28572005-05-04  Thomas E. Dickey  <dickey@invisible-island.net>
2858
2859	* makefile.in: add "." to include-path to pickup config.h
2860
2861	* reader.c:
2862	apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617.
2863
2864	* output.c:
2865	correct a limit check in pack_vector() - report/analysis by William Evans
2866
2867	* main.c:
2868	exit after printing version.  Otherwise "yacc -V" will exit with an erro
2869	after printing the usage message.
2870
2871	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2872	regenerated after skeleton-changes
2873
2874	* skeleton.c: replace a few -1's with YYEMPTY
2875
2876	* skeleton.c:
2877	delete yynewerror (no one uses it any more, and it just makes compiler warnings)
2878
2879	* skeleton.c: adapt yygrowstack() and related definitions from FreeBSD
2880
2881	* test/run_test.sh:
2882	filter out lines with YYPATCH, since that will change with each update
2883
2884	* yacc.1: add -V option
2885
2886	* main.c: add -V option to print the version.
2887	simplify option-parsing by moving the duplicate logic for setting flags into
2888	new function setflag().
2889
2890	* skeleton.c:
2891	move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers).
2892	add YYPATCH here so it can be tested by applications.
2893
2894	* defs.h:
2895	add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and
2896	YYPATCH symbols.
2897
2898	* lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c:
2899	reduce externs by making static the procedures that are not referenced outside
2900	the module in which they are defined.
2901
2902	* makefile.in:
2903	the VERSION file holds the patch-date.  Define YYPATCH, so this will be
2904	compiled into the skeleton.
2905
2906	* VERSION: patch-level for byacc
2907
2908	* main.c:
2909	add "-o" to usage message.  It is too long for a single line; rewrite usage()
2910	to show one option per line.
2911
29122005-05-03  Thomas E. Dickey  <dickey@invisible-island.net>
2913
2914	* main.c: add -o option, to work with scripts that assume bison.
2915	simplify create_file_names() with a macro.
2916	simplify done() with a macro.
2917	adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by
2918	onintr(), do not flush output via exit(), but use _exit() instead.
2919
2920	* defs.h: remove unnecessary externs for main.c
2921
2922	* yacc.1: add -o option
2923
2924	* graph.c: remove unused parameter
2925
2926	* mkpar.c, defs.h, reader.c:
2927	add support for "%expect", a bison feature from FreeBSD sources
2928
2929	* 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:
2930	indent'd
2931
2932	* configure: regenerated for 2005/5/5
2933
2934	* aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER)
2935
29362005-04-27  schmitz
2937
2938	* defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1:
2939	Sylvain Schmitz <schmitz@i3s.unice.fr>:
2940	add graphical output of the LALR(1) automaton for graphviz,
2941	associated with command-line option `-g'
2942
29432005-04-16  Thomas E. Dickey  <dickey@invisible-island.net>
2944
2945	* config.sub: update to 2005/2/10
2946
2947	* config.guess: update to 2005/3/24
2948
29492005-04-13  Thomas E. Dickey  <dickey@invisible-island.net>
2950
2951	* package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds
2952
29532005-03-21  Thomas E. Dickey  <dickey@invisible-island.net>
2954
2955	* package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds
2956
29572004-03-28  Thomas E. Dickey  <dickey@invisible-island.net>
2958
2959	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2960	updates due to adding yyparse() prototype
2961
2962	* configure: RCS_BASE
2963
2964	* configure.in:
2965	add AC_ARG_PROGRAM to make --program-prefix, etc., work.
2966
2967	* makefile.in: first cut of script to support --program-prefix
2968
2969	* configure.in:
2970	reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52
2971
2972	* makefile.in: modify so DESTDIR works
2973
2974	* makefile.in: use EXEEXT and OBJEXT
2975
2976	* configure.in: use CF_PROG_EXT
2977	generate a config.h
2978
2979	* defs.h: make this use the generated config.h
2980
2981	* skeleton.c: add a forward-reference for yyparse()
2982
2983	* aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT
2984
2985	* yacc.1: remove the discussion of TMPDIR since it is obsolete
2986
2987	* skeleton.c: fix a couple of minor compiler-warnings in the skeleton
2988
2989	* defs.h: remove action_file_name, etc., since we use tmpfile() now.
2990
2991	* main.c:
2992	use tmpfile() for opening the working files.  This quiets a warning
2993	advising the use of mkstemp().
2994
2995	* output.c:
2996	Do not close temporary-files here, since they are opened with tmpfile().
2997	Just rewind them, and they're ready to read back the data stored in them.
2998
2999	* test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE
3000
3001	* test/yacc/grammar.output, test/yacc/grammar.tab.h:
3002	reference output for testing
3003
3004	* makefile.in: turn on "make check" rule
3005
3006	* test/calc.output: RCS_BASE
3007
3008	* test/yacc/calc.output: reference output for testing
3009
3010	* test/run_test.sh, test/calc.tab.h: RCS_BASE
3011
3012	* test/yacc/calc.tab.h: reference output for testing
3013
3014	* test/ftp.tab.c: yyparse() is now yyparse(void)
3015
3016	* test/calc.tab.c: RCS_BASE
3017
3018	* test/error.tab.c: yyparse() is now yyparse(void)
3019
3020	* test/README: RCS_BASE
3021
3022	* yacc.1: various typography fixes prompted by Debian #100947
3023
3024	* aclocal.m4, makefile.in, configure.in: RCS_BASE
3025
3026	* README: updated to note that this is not the original
3027
30282004-03-24  Thomas E. Dickey  <dickey@invisible-island.net>
3029
3030	* test/grammar.y: RCS_BASE
3031
30322004-02-23  Thomas E. Dickey  <dickey@invisible-island.net>
3033
3034	* config.sub: RCS_BASE
3035
30362004-02-17  Thomas E. Dickey  <dickey@invisible-island.net>
3037
3038	* config.guess: RCS_BASE
3039
30402003-11-29  Thomas E. Dickey  <dickey@invisible-island.net>
3041
3042	* install-sh: improved quoting
3043
30442002-06-29  Thomas E. Dickey  <dickey@invisible-island.net>
3045
3046	* mkdirs.sh:
3047	don't use character range, since some locales don't work as expected
3048
30492001-06-22  Thomas E. Dickey  <dickey@clark.net>
3050
3051	* install-sh: RCS_BASE
3052
30532000-11-20  Thomas E. Dickey  <dickey@clark.net>
3054
3055	* test/calc.y: RCS_BASE
3056
3057	* test/code_calc.y, test/pure_calc.y: copy of calc.y
3058
3059	* vmsbuild.com: original version
3060
30612000-02-23  Thomas E. Dickey  <dickey@clark.net>
3062
3063	* test/RCS, RCS: PERMIT FILE
3064
30652000-02-14  Thomas E. Dickey  <dickey@clark.net>
3066
3067	* main.c: fix for VMS port - making pathname for temp-file
3068
3069	* descrip.mms: original version
3070
30712000-02-13  Thomas E. Dickey  <dickey@clark.net>
3072
3073	* 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:
3074	ansify
3075
30761999-11-30  Thomas E. Dickey  <dickey@clark.net>
3077
3078	* mkdirs.sh: RCS_BASE
3079
30801995-01-01  Thomas E. Dickey  <dickey@clark.net>
3081
3082	* config_h.in: RCS_BASE
3083
30841993-12-23  unknown
3085
3086	* README.DOS, main.c: MSDOS-port
3087
30881993-12-22  unknown
3089
3090	* reader.c, defs.h: MSDOS-port
3091
30921993-03-02  unknown
3093
3094	* README: original version
3095
30961993-02-22  unknown
3097
3098	* test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE
3099
31001993-02-22  dickey@software.org
3101
3102	* test/yacc/error.output, test/yacc/error.tab.h:
3103	reference output for testing
3104
31051993-02-22  unknown
3106
3107	* test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE
3108
3109	* skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES:
3110	original version
3111
31121992-10-12  unknown
3113
3114	* yacc.1: original version
3115
31161992-10-11  unknown
3117
3118	* defs.h: original version
3119
31201991-01-20  unknown
3121
3122	* mkpar.c, verbose.c: original version
3123
31241991-01-14  unknown
3125
3126	* lr0.c, Makefile, Makefile.old: original version
3127
31281990-07-16  unknown
3129
3130	* NEW_FEATURES: original version
3131
31321990-06-03  unknown
3133
3134	* ACKNOWLEDGEMENTS: original version
3135
31361990-02-05  unknown
3137
3138	* symtab.c, lalr.c, error.c: original version
3139
31401990-01-16  dickey@software.org
3141
3142	* test/code_error.y, test/pure_error.y: RCS_BASE
3143
31441990-01-16  unknown
3145
3146	* test/error.y: RCS_BASE
3147
31481989-11-22  unknown
3149
3150	* NO_WARRANTY: original version
3151
31521989-09-23  unknown
3153
3154	* test/ftp.y: RCS_BASE
3155
3156