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