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