xref: /freebsd/contrib/byacc/CHANGES (revision d01498defbe804f66435b44f22da9278acddf082)
12016-06-06  Thomas E. Dickey  <tom@invisible-island.net>
2
3	* configure: regen
4
5	* aclocal.m4: improved autoconf macros:
6	CF_CC_ENV_FLAGS - don't limit the check to -I, -U and -D options, since the
7		added options can include various compiler options before and after
8		preprocessor options.
9	CF_PROG_LINT - add cpplint to programs to use; drop ad hoc tdlint and alint.
10
11	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
12	bump
13
14	* lalr.c: indented
15
16	* btyaccpar.c: regen
17
18	* skel2c:
19	adjust whitespace so that generated skeleton will follow the same format
20	as other code
21
22	* mkpar.c, verbose.c, lr0.c, reader.c, error.c, output.c: indented
23
24	* reader.c: fix two compiler warnings
25
26	* 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:
27	regen
28
292016-06-06  Tom.Shields
30
31	* btyaccpar.skel, yaccpar.skel:
32	small fix for an edge case of initialized data in Chris Dodd's btyacc changes:
33	"Avoid crash when input pops up an Action error at the first token"
34
352016-06-01  Thomas E. Dickey  <tom@invisible-island.net>
36
37	* 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:
38	regen
39
402016-06-01  Tom.Shields
41
42	* btyaccpar.skel, defs.h, error.c, output.c, reader.c, test/code_calc.y, test/err_inherit4.y, test/run_make.sh, yaccpar.skel:
43	fixes for issues in btyacc (report by Francis Andre):
44
45	+ correction to the placement of the #line directive for a %union specification
46
47	+ recovery of a set of casts originally added into btyaccpar.c rather than into
48	  btyaccpar.skel, and so are lost whenever building from scratch
49
50	+ Chris Dodd's btyacc improved handling of inherited attributes to eliminate
51	  implicit empty copy rules that are not necessary, and thereby avoiding the
52	  introduction of extra parsing ambiguity
53
54	+ Chris Dodd's added support for @-N syntax to reference inherited position
55	  information
56
57	+ correction to bad interaction between %token-table and YYDEBUG, where YYDEBUG
58	  was required to be defined in order to compile the generated code
59
60	+ correction to yyname[] access in code included with YYDEBUG defined for
61	  single character symbols not recognized (e.g., input containing '&' character
62	  where grammar doesn't define that as a symbol) - map to existing
63	  "illegal-symbol" entry in byname[]
64
65	+ fixes to test/run_make.sh:  skip test-err_* files; in the bison test phase
66	  skip additional files that contain features not supported by bison and
67	  inhibit new bison warning messages
68
69	+ minor changes to btyaccpar.skel & yaccpar.skel so they are more similar in
70	  their commonality; makes it easier to maintain the pair of files using
71	  vimdiff
72
73	+ changes to a couple of test cases for coverage of #3, #4 and #5 above
74
752016-06-01  Thomas E. Dickey  <tom@invisible-island.net>
76
77	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
78	bump
79
802016-03-24  Thomas E. Dickey  <tom@invisible-island.net>
81
82	* reader.c: unused variable
83
84	* package/pkgsrc/Makefile, package/debian/copyright: bump
85
862016-03-24  Jung-uk.Kim
87
88	* main.c:
89	correct logic for finding output suffix in the "-o" option, which matched
90	the first occurrence of ".c" in the name in 2005-08-13 changes rather than
91	at the end of the filename (patch by Jung-uk Kim)
92
932016-03-24  Thomas E. Dickey  <tom@invisible-island.net>
94
95	* aclocal.m4:
96	update CF_WITH_MAN2HTML to use configured shell rather than /bin/sh
97
98	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
99	bump
100
1012016-01-25  Thomas E. Dickey  <tom@invisible-island.net>
102
103	* config.guess, config.sub: 2016-01-01
104
1052015-07-10  Thomas E. Dickey  <tom@invisible-island.net>
106
107	* lr0.c: fix a duplicate-free in the leak-checking
108
109	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
110	bump
111
112	* reader.c:
113	make cache-size clearer (prompted by discussion with Pedro Giffuni,
114	Oliver Pinter)
115
116	* main.c:
117	make relationship with format/size clearer (prompted by discussion
118	with Pedro Giffuni, Oliver Pinter)
119
1202015-07-05  Thomas E. Dickey  <tom@invisible-island.net>
121
122	* configure: regen
123
124	* package/pkgsrc/Makefile, package/mingw-byacc.spec, package/debian/copyright, package/debian/changelog, package/byacc.spec, VERSION:
125	bump
126
127	* aclocal.m4: resync with my-autoconf
128	add configure option --with-man2html
129
130	* makefile.in: add configure options --with-man2html
131
132	* configure.in: add configure option --with-man2html
133
1342015-05-02  Thomas E. Dickey  <tom@invisible-island.net>
135
136	* config.guess: 2015-03-04
137
138	* config.sub: 2015-03-08
139
1402014-11-28  Thomas E. Dickey  <tom@invisible-island.net>
141
142	* lr0.c: coverity #39181: memory leak
143
144	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
145	bump
146
1472014-11-13  Jouk.Jansen
148
149	* descrip.mms:
150	I sucessfully compiled byacc on my OpenVMS systems. However, I had to update
151	the descrip.mms to include some extra c-source files and some dependenxcies
152	so that it also works when the distribution is located on an ODS5 disk.
153
154	The patched descrip.mms file can be found at:
155	  http://nchrem.tnw.tudelft.nl/openvms/software2.html#BYACC
156
157	Please feel free to insert the file in your distribution.
158
159	             Regards
160	                 Jouk.
161
1622014-10-06  Thomas E. Dickey  <tom@invisible-island.net>
163
164	* package/debian/source/format:
165	change to native format to work around regression in Debian packaging.
166
167	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
168	bump
169
170	* configure: regen
171
172	* main.c:
173	correct parameter for umask - for very old mkstemp's - and use type mode_t
174	to quiet compiler warning
175
176	* configure.in: add configure check for mode_t
177
178	* reader.c:
179	better fix for get_line, by ensuring there is enough space to null-terminate
180	its result (prompted by discussion with Craig Rodrigues).
181
1822014-10-05  Thomas E. Dickey  <tom@invisible-island.net>
183
184	* main.c:
185	make change to umask before calling mkstemp, as suggested in Coverity #56902
186
187	* reader.c:
188	adjust logic in copy_action to avoid potential null-pointer dereference
189	(Coverity #56901)
190
191	* reader.c:
192	adjust logic to avoid potential null-pointer dereference in compile_args
193	(Coverity #63407)
194
195	* reader.c: eliminate strcpy into fixed-size buffer (Coverity #63408)
196
197	* yacc.1: document changes made with respect to %parse-param
198
199	* output.c:
200	add parameters from %parse-param to destructor.  The order of the parameters
201	is intentionally inconsistent with yyparse/yyerror, for "compatibility" with
202	bison.
203
204	* test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c:
205	regen
206
207	* output.c:
208	use puts_param_types/puts_param_names to output lex_param data.
209
210	* 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:
211	regen
212
213	* btyaccpar.c: add casts, change types to fix strict compiler warnings
214
215	* 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:
216	regen
217
218	* output.c: gcc-warning
219
220	* test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c: regen
221
222	* output.c: fix limit when merging real/workaround tables
223
224	* output.c:
225	for btyacc, it is possible to have no conflicts - but in that case, the
226	"ctable" was not generated at all, while the skeleton uses the table.
227	The most straightforward (workaround) is generating a dummy table which
228	rejects any state.
229
230	* test/btyacc_destroy3.y, test/btyacc_destroy2.y, test/btyacc_destroy1.y:
231	fix "make check_make"
232
233	* 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:
234	regen
235
236	* reader.c:
237	trim blanks from interim value in copy_param() to handle special case when
238	a space precedes a comma.
239
240	* output.c:
241	use two new functions, puts_param_types and puts_param_names, to improve
242	format of the parse_param list (by trimming space after "*") as well as
243	correcting the output of the comma-separated names (only the last name
244	was output).
245
246	* test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c:
247	regen
248
249	* reader.c:
250	modify copy_param() to handle resulting comma-separated list.  Before, it
251	only expected a single parameter.
252
2532014-10-04  Thomas E. Dickey  <tom@invisible-island.net>
254
255	* reader.c: split-out save_param() from copy_param()
256
257	* reader.c: trim_blanks() did not always convert spaces - fix.
258
259	* reader.c: fix some minor regressions with error-reporting
260
261	* aclocal.m4: update CF_XOPEN_SOURCE for Unixware change from lynx
262
263	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
264	bump
265
266	* reader.c:
267	modify copy_param() to accept multiple parameters, each in curly braces like
268	recent bison, as well as honoring bison's undocumented feature to accept the
269	parameters as a comma-separated list.
270
271	* 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:
272	RCS_BASE
273
2742014-10-03  Thomas E. Dickey  <tom@invisible-island.net>
275
276	* 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:
277	RCS_BASE
278
2792014-10-02  Thomas E. Dickey  <tom@invisible-island.net>
280
281	* main.c, reader.c, defs.h:
282	use calloc in get_line() when allocating line to ensure it is fully initialized,
283	fixes a later uninitialized value in copy_param() (FreeBSD #193499).
284
2852014-09-17  Thomas E. Dickey  <tom@invisible-island.net>
286
287	* closure.c, lalr.c, output.c, defs.h:
288	rephrase odd addressing to fix Coverity #48848, #38950, #38860, not actually
289	a bug.
290
2912014-09-01  Thomas E. Dickey  <tom@invisible-island.net>
292
293	* config.sub: update to 2014-07-28
294
2952014-07-27  Thomas E. Dickey  <tom@invisible-island.net>
296
297	* configure: regen
298
299	* aclocal.m4: modified to support port to Minix3.2
300
301	* package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
302	bump
303
3042014-07-15  Thomas E. Dickey  <tom@invisible-island.net>
305
306	* aclocal.m4: resync with my-autoconf (no change to configure script)
307
308	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
309	bump
310
311	* test/run_test.sh:
312	make top-level "make check" work again, by adding another step to filtering
313	the test results.
314
3152014-07-14  Thomas E. Dickey  <tom@invisible-island.net>
316
317	* test/run_test.sh: changes from Garrett Cooper's patch:
318		a) ensure that the script returns an error-code if there are differences
319		b) escape "." character in left side of sed expression for $YACC
320		c) ensure that $ifBTYACC has a value
321
322	* 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:
323	regen (reminder by Garrett Cooper)
324
3252014-07-14  Garrett.Cooper
326
327	* 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:
328	regen
329
3302014-05-27  Tom.Shields
331
332	* main.c: remove obsolete -D option from usage message
333
3342014-05-27  Thomas E. Dickey  <tom@invisible-island.net>
335
336	* 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:
337	bump
338
3392014-04-22  Thomas E. Dickey  <tom@invisible-island.net>
340
341	* mstring.c:
342	use vsnprintf() to ensure that msprintf's buffer is large enough.
343
344	* main.c, defs.h: add mstring_leaks()
345
346	* configure: regen
347
348	* output.c: fix a complementary warning
349
350	* mstring.c: introduce vsnprintf
351
352	* configure.in, config_h.in: add check for vsnprintf
353
354	* output.c: quiet a type-conversion warning
355
356	* mstring.c: fix a potential memory leak on ENOMEM
357	quiet a couple of type-conversion warnings
358
359	* defs.h: add/use GCC_PRINTFLIKE for msprintf()
360
3612014-04-22  Tom.Shields
362
363	* README.BTYACC:
364	drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant
365	content into README.BTYACC
366
3672014-04-22  Thomas E. Dickey  <tom@invisible-island.net>
368
369	* package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
370	bump
371
3722014-04-19  Thomas E. Dickey  <tom@invisible-island.net>
373
374	* config.sub: 2014-04-03
375
376	* config.guess: 2014-03-23
377
3782014-04-09  Rick.Spates
379
380	* main.c, defs.h: patch to allow DEBUG build with WIN32 system
381
3822014-04-09  Thomas E. Dickey  <tom@invisible-island.net>
383
384	* output.c, reader.c: gcc warnings
385
386	* reader.c: fix const-cast warnings
387
388	* 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:
389	fix a few clang --analyze warnings; one was a case where output_ctable emitted
390	an empty table (which should be an error).
391
392	* reader.c: appease clang --analyze
393
394	* defs.h: mark two functions as no-return.
395
396	* package/debian/changelog: reason for release
397
398	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
399	bump
400
401	* makefile.in: use $LINT_OPTS from environment via configure script
402
403	* 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:
404	tweaks to make generated files from ok_syntax1.y compile with check_make rule
405
406	* 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:
407	reference output for testing
408
409	* test/run_test.sh:
410	retain the renaming done for code_debug.y so that check_make will work.
411
412	* test/yacc/rename_debug.error, test/yacc/rename_debug.h, test/yacc/rename_debug.i, test/yacc/rename_debug.output:
413	reference output for testing
414
415	* test/btyacc/ok_syntax1.error: RCS_BASE
416
417	* 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:
418	regen
419
420	* yacc.1:
421	clarify relationship of btyacc features to default configuration.
422
4232014-04-08  Thomas E. Dickey  <tom@invisible-island.net>
424
425	* 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:
426	reference output for testing
427
428	* test/ok_syntax1.y: RCS_BASE
429
430	* test/yacc/ok_syntax1.error: reference output for testing
431
432	* 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:
433	exercise -L/-B options
434
435	* 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:
436	use a better renaming of the YYPATCH definition (none of the test-cases rely
437	upon it, but redefinition in the "make check_make" rule is a problem).
438
439	* 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:
440	undid temporary reordering in reader() by Tom Shields to align with byacc outputs
441
442	* test/run_test.sh: remove a repeated test-case
443
444	* mstring.c: minor reformatting to make coverage analysis simpler
445
4462014-04-07  Thomas E. Dickey  <tom@invisible-island.net>
447
448	* test/run_test.sh: tidy
449
450	* 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:
451	reference output for testing
452
453	* test/run_test.sh:
454	add special checks for flags which depend on writable/existing files
455
456	* 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:
457	reference output for testing
458
459	* main.c:
460	change CREATE_FILE_NAMES() to use local function rather than inline code,
461	to simplify coverage analysis.
462
463	* 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:
464	reference output for testing
465
466	* test/err_syntax27.y: testcase for missing_brace()
467
468	* error.c: ifdef'd non-btyacc function
469
470	* lr0.c: ifdef'd debug-code
471
472	* yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel
473
474	* 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:
475	2010/11/26 simplification of output.c using putc_code() and putl_code()
476	omitted an adjustment of the #line value used for code-file.  Fix that.
477	Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for
478	YYPATCH #define's to make test-outputs easier to compare #line's (report
479	by Tom Shields)
480
4812014-04-06  Thomas E. Dickey  <tom@invisible-island.net>
482
483	* reader.c: fix for valgrind
484	(the calloc's are intentional - valgrind reported use of uninitialized memory)
485
486	* lr0.c, output.c: fix for valgrind
487
488	* 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:
489	RCS_BASE
490
491	* test/yacc/code_debug.c, test/yacc/code_debug.h:
492	exercise the -i option
493
494	* test/yacc/code_debug.i: reference output for testing
495
496	* test/run_test.sh: exercise the -i option
497
498	* test/yacc/code_debug.c: reference output for testing
499
500	* test/run_test.sh: exercise the "-o" option
501
502	* test/yacc/code_debug.error, test/yacc/code_debug.h, test/yacc/code_debug.output:
503	reference output for testing
504
505	* output.c: don't call exit() without giving a chance to cleanup.
506
507	* mstring.c: ifdef'd functions not used in byacc
508
509	* btyaccpar.c: generated from btyaccpar.skel
510
511	* yaccpar.c: generated from yaccpar.skel
512
513	* skel2c:
514	change the generated-by comment to show which version of this script (and
515	which version of the given skeleton file) were used to produce the C-file.
516
517	* configure: regen
518
519	* makefile.in:
520	add rules to generate byacc and btyacc parser skeleton files independently
521
522	* aclocal.m4: CF_PROG_AWK - add to byacc's configure script
523	CF_INTEL_COMPILER
524		cleanup the -no-gcc option which was leftover from testing - prcs does
525		not build with this option.
526	CF_MAKE_DOCS
527		protect $2 from substitution, for luit's "$(manext)"
528	CF_XOPEN_SOURCE
529		for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2
530		on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE
531		because it is not needed, as well as because g++ 4.7.3 (no package,
532		used in Sage for Solaris 10) has some unspecified header breakage which
533		is triggered by the duplicate definition.
534
535	* configure.in:
536	modify so skeleton-source is determined by configure options rather than by
537	having developer rename yaccpar.skel.old to yaccpar.skel
538
539	* descrip.mms: rename skeleton
540
541	* vmsbuild.com:
542	fwiw, renamed the skeleton for consistency with makefile
543
544	* skel2c, skeleton.c: resync skeleton and its generating files
545
546	* yaccpar.skel:
547	renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules
548
549	* yaccpar.skel.old: resync skeleton and its generating files
550
551	* test/run_make.sh: improve cleanup after error recovery
552
553	* 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:
554	use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton
555
556	* output.c: simplify output_yyerror_decl()
557
558	* 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:
559	add second "const" to string-table declarations, from Tom Shield's btyacc changes
560
561	* 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:
562	discard unnecessary call on write_code_lineno() from Tom Shield's changes
563
564	* 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:
565	use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short"
566
567	* test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c:
568	use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL()
569
570	* 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:
571	discard unnecessary call on write_code_lineno() from Tom Shield's changes
572
573	* 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:
574	use fix from Tom Shield's btyacc changes: prefix-definitions went to the
575	output (.tab.c) file in a case where they should have gone to the code
576	(.code.c) file.  Remove now-redundant call to output_prefix().
577
578	* main.c: do the same for help-message
579
580	* main.c: use OUTPUT_SUFFIX symbol in an overlooked case
581
582	* test/run_make.sh:
583	modify to avoid use of VPATH, which has no standard implementation
584
5852014-04-05  Thomas E. Dickey  <tom@invisible-island.net>
586
587	* 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:
588	discard a change which merged CountLines() with explicit comparisons against
589	code_file because that adds extra to the #line values
590
591	* 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:
592	add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to
593	override fallback typedef for YYSTYPE when that symbol is undefined
594
595	* 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:
596	minor tweak to coding style - use parenthesis for "defined" operator's parameter
597
598	* 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:
599	regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent
600
601	* 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:
602	regen after adding the YYUNDFTOKEN symbol
603
604	* output.c:
605	integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol
606	(I changed order of output to keep this adjacent to YYMAXTOKEN)
607
608	* reader.c:
609	merge all but one small change from Tom Shield's btyacc changes - that
610	changes the order of code-file in the tests.
611
612	* test/btyacc/btyacc_demo.tab.c: regen
613
614	* test/btyacc_demo.y: fix prototypes
615
6162014-04-04  Thomas E. Dickey  <tom@invisible-island.net>
617
618	* reader.c, defs.h, main.c:
619	more merging of Tom Shield's btyacc changes.  In the merge, I moved the
620	symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs
621
6222014-04-03  Thomas E. Dickey  <tom@invisible-island.net>
623
624	* reader.c:
625	merge-in 3/4 of btyacc's changes, deferring those which change test-outputs.
626	Tom Shield's changes split-out copy_string() and copy_comment() functions
627	to simplify some logic, as well as adding btyacc-only chunks
628
629	* makefile.in: build mstring.o, needed for changes in reader.c
630
631	* output.c:
632	merge-in all of btyacc's changes which do not change byacc's test-output.
633	Some of the merge uses ifdef-changes which I applied to ongoing resync,
634	e.g., the introduction of PER_STATE.
635
6362014-04-02  Thomas E. Dickey  <tom@invisible-island.net>
637
638	* test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen
639
640	* output.c: fix typo
641
642	* output.c, reader.c:
643	merge in some chunks of reader and output files which do not affect byacc tests
644
645	* test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen
646
647	* 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:
648	incorporate YYENOMEM and YYEOF symbols from btyacc
649
650	* output.c: merge chunk from btyacc changes for header-guards
651
652	* btyaccpar.skel: RCS_BASE
653
654	* yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues
655	remove GCC_UNUSED to reduce name-pollution as well as being simpler
656
657	* main.c:
658	move a btyacc symbol outside ifdef to work around current state of merge
659
660	* defs.h:
661	add USE_HEADER_GUARDS to defer whether to modify byacc's header-output
662
663	* test/run_make.sh:
664	do not try to compile files used for testing syntax-errors, since they are
665	likely to be incomplete
666
6672014-04-02  Tom.Shields
668
669	* main.c: changes for btyacc
670
6712014-04-01  Thomas E. Dickey  <tom@invisible-island.net>
672
673	* reader.c:
674	integrate change by Tom Shields to use bsearch rather than successive
675	calls to matchec()
676
677	* defs.h: typedef __compar_fn_t is unnecessary
678
679	* 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:
680	omit the GCC_UNUSED, as noted by Tom Shields not really essential
681
6822014-04-01  Tom.Shields
683
684	* verbose.c: changes for btyacc, ifdef'd
685
6862014-04-01  Thomas E. Dickey  <tom@invisible-island.net>
687
688	* mkpar.c: eliminate most of the ifdef's using macros
689
6902014-04-01  Tom.Shields
691
692	* mkpar.c: merge btyacc changes (ifdef'd - no change to byacc)
693
694	* error.c:
695	new functions used for reporting errors from the btyacc configuration
696	(I reordered some, and ifdef'd the new ones -TD)
697
6982014-03-31  Thomas E. Dickey  <tom@invisible-island.net>
699
700	* test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c:
701	omit the GCC_UNUSED, as noted by Tom Shields not really essential
702
703	* 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:
704	regen
705
7062014-03-29  Thomas E. Dickey  <tom@invisible-island.net>
707
708	* 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:
709	comment-out yysccsid in the banner because it produces unnecessary compiler
710	warnings.  The suggested alternative (using #pragma ident) in the preceding
711	comment is also obsolete; remove that comment (request by Gleb Smirnoff).
712
713	* test/run_test.sh:
714	for yacc, ignore the inherit testcases, since they are btyacc-specific
715
7162014-03-28  Thomas E. Dickey  <tom@invisible-island.net>
717
718	* 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:
719	reference output for testing
720
721	* test/run_lint.sh, test/run_make.sh, test/run_test.sh:
722	moving #define's out of makefile broke check for yacc vs btyacc (fix)
723
7242014-03-28  Tom.Shields
725
726	* 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:
727	reference output for testing
728
729	* defs.h: new functions/variables for btyacc
730	(I reordered and ifdef'd -TD)
731
732	* test/inherit0.y, test/inherit1.y: testcase for btyacc
733
7342014-03-27  Tom.Shields
735
736	* test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y, test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y:
737	testcase for btyacc
738
7392014-03-25  Tom.Shields
740
741	* symtab.c: extra initialization needed for btyacc
742	(I ifdef'd -TD)
743
744	* yacc.1: document -L/-B features from btyacc
745
7462014-03-25  Thomas E. Dickey  <tom@invisible-island.net>
747
748	* yacc.1: typo
749
750	* configure: regen
751
752	* configure.in:
753	modified new options to act like those in my other configure-scripts, e.g.,
754	showing what option is being tested, and the resulting value.  Put the
755	definitions in config.h rather than in the makefile.
756
7572014-03-25  Tom.Shields
758
759	* makefile.in: add/use LINTFLAGS variable
760	make all of the objects (not just skeleton) rebuild if makefile changes
761	modify check-rule to reflect updates to run_test.sh vs subdirectory
762
763	* mstring.c: byacc-btyacc-20140323
764
7652014-03-25  Thomas E. Dickey  <tom@invisible-island.net>
766
767	* test/btyacc/RCS, test/yacc/RCS: PERMIT FILE
768
769	* config_h.in: updated with autoheader-252
770
7712014-03-25  Tom.Shields
772
773	* README.BTYACC: byacc-btyacc-20140323
774
7752014-03-24  Tom.Shields
776
777	* 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:
778	reference output for testing
779
7802014-03-24  Thomas E. Dickey  <tom@invisible-island.net>
781
782	* defs.h: fix compiler warnings due to mputc()
783
7842014-03-23  Tom.Shields
785
786	* test/btyacc_demo.y: testcase for btyacc
787
788	* test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h:
789	reference output for testing
790
791	* test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc
792
7932014-03-23  Thomas E. Dickey  <tom@invisible-island.net>
794
795	* 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:
796	reference output for testing
797
798	* test/err_syntax26.y: testcase for missing_brace()
799
800	* 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:
801	reference output for testing
802
803	* test/err_syntax25.y: testcase for over_unionized()
804
805	* 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:
806	reference output for testing
807
808	* test/err_syntax24.y: testcase for default_action_warning()
809
8102014-03-23  Tom.Shields
811
812	* 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:
813	reference output for testing
814
8152014-03-23  Thomas E. Dickey  <tom@invisible-island.net>
816
817	* 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:
818	reference output for testing
819
820	* test/err_syntax23.y: testcase for untyped_lhs()
821
8222014-03-23  Tom.Shields
823
824	* test/run_test.sh:
825	move test-outputs into subdirectories to keep btyacc/yacc results separate
826
8272014-03-23  Thomas E. Dickey  <tom@invisible-island.net>
828
829	* 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:
830	reference output for testing
831
832	* test/err_syntax22.y: testcase for untyped_rhs()
833
834	* 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:
835	reference output for testing
836
837	* test/err_syntax20.y: testcase for undefined_symbol_warning()
838
839	* test/err_syntax21.y: testcase for unknown_rhs()
840
841	* 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:
842	reference output for testing
843
844	* test/err_syntax19.y: testcase for dollar_error()
845
846	* 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:
847	reference output for testing
848
849	* test/err_syntax18.y: testcase for dollar_warning()
850
851	* 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:
852	reference output for testing
853
854	* test/err_syntax17.y: testcase for unterminated_action()
855
8562014-03-22  Thomas E. Dickey  <tom@invisible-island.net>
857
858	* 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:
859	reference output for testing
860
861	* test/err_syntax16.y: testcase for terminal_lhs()
862
863	* 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:
864	reference output for testing
865
866	* test/err_syntax15.y: testcase for no_grammar()
867
868	* 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:
869	reference output for testing
870
871	* test/err_syntax14.y:
872	testcase for restarted_warning() and undefined_goal()
873
874	* 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:
875	reference output for testing
876
877	* test/err_syntax13.y: testcase for terminal_start()
878
879	* 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:
880	reference output for testing
881
882	* test/err_syntax12.y: testcase for revalued_warning()
883
884	* 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:
885	reference output for testing
886
887	* test/err_syntax11.y: testcase for reprec_warning()
888
889	* 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:
890	reference output for testing
891
892	* test/err_syntax10.y: testcase for retyped_warning()
893
8942014-03-21  Thomas E. Dickey  <tom@invisible-island.net>
895
896	* 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:
897	reference output for testing
898
899	* test/err_syntax9.y: testcase for tokenized_start()
900
901	* 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:
902	reference output for testing
903
904	* test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved()
905
906	* 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:
907	reference output for testing
908
909	* test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y:
910	testcase for illegal_character()
911
912	* 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:
913	reference output for testing
914
915	* test/err_syntax6.y: testcase for illegal_tag()
916
917	* 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:
918	reference output for testing
919
920	* test/err_syntax5.y: testcase for unterminated_union()
921
922	* 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:
923	reference output for testing
924
925	* test/err_syntax4.y: testcase for unterminated_text()
926
927	* 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:
928	reference output for testing
929
930	* test/err_syntax3.y: testcase for unterminated_string()
931
932	* 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:
933	reference output for testing
934
935	* test/err_syntax2.y: testcase for unterminated_comment()
936
937	* test/err_syntax1.error, test/yacc/err_syntax1.error:
938	reference output for testing
939
940	* test/err_syntax1.y:
941	test-case with syntax error (and nonprinting character)
942
943	* 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:
944	reference output for testing
945
946	* test/run_test.sh:
947	save stderr to reference files, to capture shift/reduce messages as well
948	as syntax-error messages
949
950	* 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:
951	reference output for testing
952
953	* test/run_test.sh: generate a ".dot" file for the grammar file
954
955	* test/grammar.dot: RCS_BASE
956
957	* test/yacc/grammar.dot: reference output for testing
958
9592014-03-19  Tom.Shields
960
961	* output.c: rename MAXSHORT to MAXYYINT
962
9632014-03-18  Tom.Shields
964
965	* yaccpar.skel: skeleton with btyacc additions
966
967	* NOTES-btyacc-Changes: byacc-btyacc-20140323
968
969	* test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h:
970	reference output for testing
971
972	* test/run_make.sh:
973	move test-outputs into subdirectories to keep btyacc/yacc results separate
974
975	* 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:
976	reference output for testing
977
978	* defs.h:
979	several changes to help decouple the use of 'short' as the type of value
980	used in yacc parsers.
981
982	* NOTES-btyacc-Disposition: byacc-btyacc-20140323
983
9842014-03-17  Tom.Shields
985
986	* skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE
987
988	* test/run_lint.sh:
989	move test-outputs into subdirectories to keep btyacc/yacc results separate
990
991	* configure.in: add --with-max-table-size and --enable-btyacc options
992
9932014-03-16  Tom.Shields
994
995	* main.c: use Value_t rather than short
996
9972014-03-11  Tom.Shields
998
999	* test/empty.y: testcase for btyacc
1000
10012014-03-10  Tom.Shields
1002
1003	* test/calc3.y, test/calc2.y: fix unused-variable warning
1004
10052014-02-18  Tom.Shields
1006
1007	* lr0.c, graph.c: use Value_t rather than short
1008
1009	* closure.c: use Value_t rather than short
1010	ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions
1011
1012	* lalr.c: rename MAXSHORT to MAXYYINT
1013
10142014-01-01  Thomas E. Dickey  <tom@invisible-island.net>
1015
1016	* yacc.1: document %token-table, improve presentation of double-quotes
1017
1018	* VERSION, package/byacc.spec, package/debian/changelog: bump
1019
1020	* 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:
1021	reference output for testing
1022
1023	* 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:
1024	regen
1025
1026	* output.c, skeleton.c:
1027	amend the last change so that yytname is #define'd as needed rather than
1028	permanent - to avoid breaking cproto for instance.
1029
10302014-01-01  Christos.Zoulas
1031
1032	* output.c, defs.h, main.c, reader.c, skeleton.c:
1033	changes to build ntpd using byacc:
1034	- rename yyname[] to yytname[]
1035	- add YYTRANSLATE() macro
1036	- recognize bison's %token-table declaration
1037
10382014-01-01  Thomas E. Dickey  <tom@invisible-island.net>
1039
1040	* configure: regen
1041
1042	* yacc.1: s/EE/XE/ to work around groff bug on Debian 6
1043
1044	* makefile.in: use CF_MAKE_DOCS
1045
1046	* aclocal.m4: add CF_MAKE_DOCS
1047
1048	* configure.in: use CF_MAKE_DOCS
1049
10502013-12-26  Thomas E. Dickey  <tom@invisible-island.net>
1051
1052	* config.guess: 2013-11-29
1053
10542013-11-19  Thomas E. Dickey  <tom@invisible-island.net>
1055
1056	* aclocal.m4: resync with my-autoconf (fixes for clang and mingw)
1057
10582013-10-25  Thomas E. Dickey  <tom@invisible-island.net>
1059
1060	* config.sub: 2013-10-01
1061
10622013-09-25  Thomas E. Dickey  <tom@invisible-island.net>
1063
1064	* reader.c: fix two loop-limits found by clang 3.3 --analyze
1065
1066	* configure: regen
1067
1068	* aclocal.m4:
1069	tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses
1070
1071	* package/mingw-byacc.spec: RCS_BASE
1072
1073	* 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:
1074	regen
1075
1076	* skeleton.c:
1077	Increase default stack-size to match FreeBSD version noted as from
1078	"BSD 4.4 Lite Usr.bin Sources".  See
1079
1080		http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/
1081		http://svnweb.freebsd.org/base/head/usr.bin/yacc/
1082		http://svnweb.freebsd.org/base/vendor/byacc/
1083
1084	The original 1.9 sources (on which I based development) used 500 for
1085	stacksize; the BSD Lite sources (a year or two later) used 10000.
1086
1087	This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE
1088	symbols have "always" been overridable by applications, but rarely
1089	needed to do this.  RedHat began using the FreeBSD source in 2000,
1090	and switched to this source in 2007 using the 20050813 snapshot.
1091
1092	RedHat #743343 misattributed the change in default stacksize to
1093	a regression in byacc, but did not report the issue upstream.
1094
1095	* package/debian/changelog, VERSION, package/byacc.spec: bump
1096
10972013-09-07  Thomas E. Dickey  <tom@invisible-island.net>
1098
1099	* config.sub: update to 2013-09-15
1100
1101	* config.guess: update to 2013-06-10
1102
11032013-03-04  Thomas E. Dickey  <tom@invisible-island.net>
1104
1105	* package/debian/changelog, VERSION, package/byacc.spec: bump
1106
1107	* aclocal.m4:
1108	adapt tweak from Dave Becket to work around long-ago breakage in "new" autoconf.
1109
1110	* output.c:
1111	fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton).
1112	also while testing that, found a case where the union_file is unused; added
1113	a check for address that.
1114
1115	* test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen
1116
1117	* test/ftp.y: fix most compiler warnings for "make check_make"
1118
1119	* test/calc1.tab.c: regen
1120
1121	* test/calc1.y: fix most compiler warnings for "make check_make"
1122
1123	* 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:
1124	regen
1125
1126	* skeleton.c: quiet a gcc conversion-warning in yygrowstack()
1127
1128	* configure: regen
1129
1130	* aclocal.m4:
1131	another fix for CF_GCC_VERSION to handle Debian's modification of gcc message.
1132
11332013-02-10  Thomas E. Dickey  <tom@invisible-island.net>
1134
1135	* config.sub, config.guess: update to 2013-02-04
1136
11372012-10-03  Thomas E. Dickey  <tom@invisible-island.net>
1138
1139	* package/debian/changelog, package/byacc.spec, VERSION: bump
1140
1141	* configure: regen
1142
1143	* configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC
1144
1145	* aclocal.m4:
1146	moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc)
1147	the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor.
1148
1149	* aclocal.m4, configure.in:
1150	Arian's change dropped my check for misused $CC variable - restore that with
1151	alternate macro CF_PROG_CC.
1152
11532012-10-03  Adrian.Bunk
1154
1155	* aclocal.m4:
1156	suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since
1157	they are not needed.
1158
11592012-10-03  Thomas E. Dickey  <tom@invisible-island.net>
1160
1161	* aclocal.m4:
1162	split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in
1163	Adrian's suggested changes.
1164
1165	* aclocal.m4:
1166	CF_CLANG_COMPILER - check if the given compiler is really clang.
1167
1168	* aclocal.m4:
1169	add check for clang to CF_GCC_WARNINGS.  modify CF_GCC_WARNINGS to work around
1170	old gcc warning:  ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1
1171	on my Sarge system (versus 3.3.5 for the normal gcc).  The 2.8.1's
1172	pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work
1173	around by excluding that check for pre-3.x compilers.
1174
1175	* aclocal.m4:
1176	modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions
1177	provided by this macro.  use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather
1178	than appending to confdefs.h, since long-ago concern about the ability to
1179	pass-through parameterized macros appears to be not a problem, testing with
1180	2.13 and 2.52
1181
11822012-10-03  Adrian.Bunk
1183
1184	* aclocal.m4:
1185	add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by
1186	autoheader, updated macros:
1187		CF_CHECK_CACHE
1188		CF_DISABLE_LEAKS
1189		CF_MKSTEMP
1190		CF_MIXEDCASE_FILENAMES
1191		CF_NO_LEAKS_OPTION
1192
11932012-10-03  Thomas E. Dickey  <tom@invisible-island.net>
1194
1195	* aclocal.m4:
1196	move existence-check for mkstemp out of the AC_TRY_RUN, to help with
1197	cross-compiles
1198
11992012-10-02  Thomas E. Dickey  <tom@invisible-island.net>
1200
1201	* config_h.in:
1202	Adrian Bunk request - replace this with the output from autoheader
1203
12042012-09-29  Adrian.Bunk
1205
1206	* configure.in:
1207	suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no
1208	check is needed anymore for standard C compilers), drop AC_CONST (same
1209	reason), modify AC_OUTPUT to rely upon template generated by autoheader.
1210	bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT
1211	as being obsolete with autoconf 2.52x
1212
1213	* configure.in, main.c: drop check for atexit, because it is standard C
1214
1215	* makefile.in: add assignment for datarootdir variable.
1216
12172012-05-26  Thomas E. Dickey  <tom@invisible-island.net>
1218
1219	* package/debian/changelog, package/byacc.spec, VERSION: bump
1220
1221	* reader.c:
1222	some versions of gcc may warn that bp is not set in mark_symbol, e.g.,
1223	if GCC_NORETURN is not handled; appease the compiler.
1224
1225	* reader.c:
1226	use the declared types Assoc_t and Value_t in some places where compiler only
1227	cared about char versus short.
1228
1229	* reader.c:
1230	use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
1231	(no object change)
1232
1233	* defs.h:
1234	add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD
1235	packagers to build without configure script.  Also remove duplicate declaration
1236	of pure_parser variable (prompted by patch by Baptiste Daroussin).
1237
1238	Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and
1239	REALLOC macros.
1240
1241	* symtab.c:
1242	use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
1243	(no object change)
1244
12452012-05-25  Thomas E. Dickey  <tom@invisible-island.net>
1246
1247	* output.c, main.c, verbose.c, mkpar.c, lr0.c:
1248	use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
1249	(no object change)
1250
12512012-01-15  Thomas E. Dickey  <tom@invisible-island.net>
1252
1253	* package/debian/copyright: bump
1254
1255	* test/run_make.sh: workaround for breakage due to GNU make 3.82
1256
1257	* test/run_make.sh:
1258	tested with Solaris 10 (bison 1.875) and added scripting to exercise
1259	the /usr/ccs/bin/yacc executable
1260
1261	* test/grammar.tab.c: regen
1262
1263	* test/grammar.y: modify to also build with Solaris yacc
1264
1265	* VERSION, package/debian/changelog, package/byacc.spec: bump
1266
1267	* test/yacc/calc1.output: reference output for testing
1268
1269	* test/calc1.output, test/calc1.tab.c: regen
1270
1271	* test/calc1.y:
1272	undo the change made to appease bison, since it was only a warning.
1273
1274	* test/pure_calc.tab.c, test/pure_error.tab.c: regen
1275
1276	* test/run_make.sh: another fix for running from top-level directory
1277
1278	* makefile.in:
1279	ensure that check_make rule depends on having byacc built.
1280
1281	* test/run_make.sh: fixes for building from parent directory
1282
1283	* test/pure_error.y, test/pure_calc.y: bison-fixes
1284
1285	* 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:
1286	regen
1287
1288	* test/code_debug.y: RCS_BASE
1289
1290	* test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y:
1291	byacc already declares yyerror
1292
1293	* test/pure_error.y, test/pure_calc.y:
1294	modified to help make the files build with bison
1295
1296	* test/run_make.sh:
1297	supply a "%pure-parser" directive when bison needs it.
1298
1299	* test/code_calc.code.c: regen
1300
1301	* test/code_calc.y: modified to help make the files build with bison
1302
1303	* yacc.1:
1304	in testing, found that %expect did not work as documented for bison.
1305	do not recommend it for portable code.
1306
1307	* test/run_make.sh: workaround breakage in bison's %expect directive
1308
1309	* test/grammar.y: modified to help make the files build with bison
1310
1311	* test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen
1312
1313	* test/calc1.y: quiet a spurious warning from bison 2.3
1314
1315	* test/calc1.tab.c: regen
1316
1317	* test/calc1.y: modified to help make the files build with bison
1318
1319	* yacc.1: comment on "-y" and "-P" options.
1320
1321	* yacc.1: comment on portability
1322
1323	* 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:
1324	regen
1325
1326	* test/ftp.y: modified to help make the files build with bison
1327	(bison's "-y" option is of no use in providing "yacc" compatibility)
1328
1329	* test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
1330	regen
1331
1332	* test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, test/quote_calc4.y, test/quote_calc3.y:
1333	modified to help make the files build with bison
1334
1335	* test/calc.tab.c: regen
1336
1337	* test/calc.y: modified to help make the files build with bison
1338
1339	* test/error.tab.c: regen
1340
1341	* test/error.y: modified to help make the files build with bison
1342
1343	* test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen
1344
1345	* test/run_make.sh:
1346	check for older bisons which (2.3 for instance) do not support pure parsers
1347
1348	* test/code_error.y, test/calc3.y, test/calc2.y:
1349	modified to help make the files build with bison
1350
1351	* test/run_test.sh: use $opt2 in filenames of the generated files
1352
1353	* 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:
1354	regen
1355
13562012-01-14  Thomas E. Dickey  <tom@invisible-island.net>
1357
1358	* 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:
1359	regen
1360
1361	* output.c: Several changes:
1362		a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex.
1363		b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL,
1364		   using YYLEX_PARAM_TYPE and YYLEX_PARAM.
1365		c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL,
1366		   to help with redefinitions.
1367
1368	* test/pure_calc.tab.c:
1369	modified to help make the files build with bison
1370
1371	* test/run_make.sh:
1372	start work on followup, to check if the generated files build with bison.
1373
1374	* test/pure_calc.y, test/pure_error.tab.c:
1375	modified to help make the files build with bison
1376
1377	* test/calc3.tab.c: regen
1378
1379	* 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:
1380	RCS_BASE
1381
1382	* 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:
1383	reference output for testing
1384
1385	* test/run_test.sh: generate/test with "-s" option applied.
1386
13872012-01-13  Thomas E. Dickey  <tom@invisible-island.net>
1388
1389	* package/debian/changelog, package/byacc.spec, VERSION: bump
1390
1391	* yacc.1: improve documentation of -s option
1392
1393	* yacc.1: note that yacc ignores -y
1394
1395	* main.c: add -s option to usage message.
1396
1397	* test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h:
1398	RCS_BASE
1399
1400	* test/yacc/quote_calc3.output, test/yacc/quote_calc4.output, test/yacc/quote_calc4.tab.h:
1401	reference output for testing
1402
1403	* test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE
1404
1405	* test/yacc/quote_calc.tab.h: reference output for testing
1406
1407	* 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:
1408	RCS_BASE
1409
1410	* test/yacc/quote_calc.output, test/yacc/quote_calc2.output, test/yacc/quote_calc2.tab.h, test/yacc/quote_calc3.tab.h:
1411	reference output for testing
1412
1413	* test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE
1414
1415	* configure: regen
1416
1417	* aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE
1418
14192011-12-19  Thomas E. Dickey  <tom@invisible-island.net>
1420
1421	* package/debian/changelog, package/byacc.spec, VERSION: bump
1422
1423	* yacc.1, output.c, main.c, defs.h:
1424	add "-s" option to suppress generating #define's based on string contents
1425	in a %token statement.  For instance
1426		%token EQLS "Equals"
1427	would generate
1428		#define EQLS 256
1429		#define Equals 257
1430	Simply suppressing the second #define makes the behavior closer to yacc.
1431	(report by Paulo Andrade).
1432
14332011-09-08  Thomas E. Dickey  <tom@invisible-island.net>
1434
1435	* package/debian/changelog, package/byacc.spec, VERSION: bump
1436
1437	* output.c:
1438	fix some more interaction between -i and -d flags to ensure YYERRCODE
1439	and YYSTYPE are declared, tested with cproto.
1440
14412011-09-07  Thomas E. Dickey  <tom@invisible-island.net>
1442
1443	* yacc.1: document "-i" option.
1444
1445	* package/debian/changelog, package/byacc.spec, VERSION: bump
1446
1447	* output.c: fix an interaction between -i and -d
1448
1449	* 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:
1450	regen - changes for "-i" option move the global/impure variables near the
1451	macros that may add a prefix, etc.
1452
1453	* skeleton.c, output.c, defs.h: changes to support "-i" option.
1454
14552011-09-06  Thomas E. Dickey  <tom@invisible-island.net>
1456
1457	* reader.c: pass explicit file-pointer to write_section()
1458
1459	* main.c:
1460	add "-i" option, to generate interface-file (suggested by Denis M. Wilson)
1461
14622011-09-05  Thomas E. Dickey  <tom@invisible-island.net>
1463
1464	* configure: regen
1465
1466	* aclocal.m4:
1467	resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC)
1468	and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks)
1469
1470	* defs.h, error.c, reader.c:
1471	add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson)
1472
14732011-04-01  Thomas E. Dickey  <tom@invisible-island.net>
1474
1475	* config.sub: update to 2011-04-01
1476
14772011-02-02  Thomas E. Dickey  <tom@invisible-island.net>
1478
1479	* config.guess: update to 2011-01-01
1480
14812010-12-29  Thomas E. Dickey  <tom@invisible-island.net>
1482
1483	* defs.h, skeleton.c:
1484	add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas)
1485
1486	* defs.h:
1487	mark all of the error-functions as non-returning (report by Christos Zoulas)
1488
1489	* 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:
1490	regen
1491
1492	* skeleton.c:
1493	use only realloc() rather than realloc+malloc, agree that systems needing this
1494	are very rare (prompted by NetBSD change).
1495
1496	* test/ftp.tab.c: regen
1497
14982010-12-29  Christos.Zoulas
1499
1500	* test/ftp.y:
1501	improve example, which was stuck in 19XX and assumed file sizes were longs.
1502
15032010-12-29  Thomas E. Dickey  <tom@invisible-island.net>
1504
1505	* 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:
1506	regen
1507
1508	* 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:
1509	use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror
1510
1511	* skeleton.c:
1512	remove explicit prototype for yylex() via YYLEX_DECL() macro, since that
1513	would prevent declaring yylex() static (request by Christos Zoulas).
1514
1515	* test/calc2.tab.c, test/calc3.tab.c: regen
1516
15172010-12-29  Christos.Zoulas
1518
1519	* output.c: correct definition for YYERROR_DECL()
1520
15212010-12-29  Thomas E. Dickey  <tom@invisible-island.net>
1522
1523	* package/debian/changelog, package/byacc.spec, VERSION: bump
1524
15252010-12-26  Thomas E. Dickey  <tom@invisible-island.net>
1526
1527	* defs.h, main.c:
1528	change return-type of allocate() to avoid warnings of alignment problems
1529
1530	* main.c: Solaris declares chmod() in <sys/stat.h>
1531
1532	* configure: regen
1533
1534	* main.c: ifdef'd use of fcntl.h
1535
1536	* configure.in: add configure checks for fcntl.h, atexit and mkstemp
1537
1538	* main.c: for cases where mkstemp() is not available, use tempnam/open
1539
1540	* aclocal.m4: add CF_MKSTEMP
1541
1542	* aclocal.m4:
1543	improve quoting, deprecate ${name-value} in favor of standard ${name:-value}
1544
15452010-12-25  Thomas E. Dickey  <tom@invisible-island.net>
1546
1547	* main.c:
1548	start revising use of tmpfile(), to make this work with MinGW.  Start by
1549	implementing a mkstemp() alternative - noting that mkstemp() also is broken
1550	for MinGW.
1551
1552	* package/debian/changelog, package/byacc.spec, VERSION: bump
1553
15542010-11-27  Thomas E. Dickey  <tom@invisible-island.net>
1555
1556	* package/byacc.spec, package/debian/changelog, VERSION: bump
1557
1558	* test/calc2.tab.c, test/calc3.tab.c: regen
1559
1560	* output.c:
1561	corrected use of %parse-param value in yyerror(); it doesn't use &yylval
1562	(report by Clifford Yapp)
1563
15642010-11-26  Thomas E. Dickey  <tom@invisible-island.net>
1565
1566	* skeleton.c: typo
1567
1568	* output.c:
1569	correct line-numbering when "-r" option is used; the 'outline' variable
1570	should only be incremented when writing to the code-file.
1571
1572	* test/code_calc.code.c, test/code_error.code.c: regen
1573
1574	* yacc.1: bump date
1575
1576	* yacc.1: comment on -b option vs -r
1577
1578	* 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:
1579	regen
1580
1581	* output.c:
1582	improve on YYERROR_DECL(), adding dummy params which can be used for the
1583	actual function declaration.  Also add YYERROR_CALL().  The two macros
1584	simplify maintaining sets of grammars which may/may not be pure.
1585
1586	* 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:
1587	regen
1588
1589	* output.c: generate yyerror() calls in output.c
1590	This is for compatibility with bison, which passes the yylval to yyerror
1591	when the %parse-param feature is used.
1592
1593	* skeleton.c, defs.h: generate yyerror() calls in output.c
1594
1595	* output.c: simplified a little, using putc_code() and putl_code()
1596
1597	* test/yacc/calc1.tab.h: reference output for testing
1598
1599	* test/calc1.tab.h: regen
1600
1601	* reader.c:
1602	improve ifdef for YYSTYPE union declaration (report by Clifford Yapp)
1603
1604	* reader.c:
1605	accept underscore as a replacement for dash in command names, e.g.,
1606	"%pure_parser" vs "%pure-parser".
1607
1608	* test/calc1.tab.c: regen
1609
1610	* output.c, reader.c:
1611	also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp)
1612
1613	* package/debian/changelog, package/byacc.spec, VERSION: bump
1614
16152010-11-24  Thomas E. Dickey  <tom@invisible-island.net>
1616
1617	* main.c, defs.h, symtab.c, error.c: reduce global variables
1618
1619	* package/debian/changelog, package/byacc.spec, VERSION: bump
1620
1621	* reader.c:
1622	amend fix for Redhat #112617 to still call default_action_warning() for
1623	empty rules (report by Bruce Cran).
1624
16252010-11-22  Thomas E. Dickey  <tom@invisible-island.net>
1626
1627	* output.c:
1628	add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp).
1629
1630	* test/calc1.tab.c: regen
1631
1632	* test/calc1.y: cleanup compiler warnings
1633
1634	* test/grammar.y: add "%expect"
1635
1636	* test/calc1.tab.h: regen
1637
1638	* test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE
1639
1640	* test/calc2.tab.c, test/calc3.tab.c: regen
1641
1642	* test/calc1.y:
1643	advanced example from Steve Johnson's paper, uses unions
1644
1645	* test/calc3.y, test/calc2.y: init 'base', so examples can run
1646
1647	* test/ftp.tab.c, test/ftp.y: tweaks to compile with g++
1648
1649	* output.c: compensate for fix in reader.c
1650
1651	* reader.c:
1652	add/use putc_both() and puts_both(), incidentally fixing a place where
1653	a union copied to the union_file may be missing the end of the last line.
1654
1655	* package/debian/changelog, package/byacc.spec, VERSION: bump
1656
16572010-09-28  Thomas E. Dickey  <tom@invisible-island.net>
1658
1659	* config.guess: update to 2010-09-24
1660
16612010-09-10  Thomas E. Dickey  <tom@invisible-island.net>
1662
1663	* config.sub: update to 2010-09-11
1664
16652010-06-10  Thomas E. Dickey  <tom@invisible-island.net>
1666
1667	* yacc.1, package/debian/changelog, package/byacc.spec, VERSION:
1668	bump to 2010/06/10
1669
16702010-06-09  Thomas E. Dickey  <tom@invisible-island.net>
1671
1672	* reader.c: free declarations in leak-testing code.
1673
1674	* main.c: close code_file if -r option used, for leak-testing
1675
1676	* defs.h, reader.c:
1677	improve %lex-param / %parse-param implementation by allowing for arrays to
1678	be passed as parameters, e.g., "int regs[26]".
1679
1680	* test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h:
1681	RCS_BASE
1682
1683	* test/yacc/calc3.output, test/yacc/calc3.tab.h:
1684	reference output for testing
1685
1686	* test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE
1687
1688	* test/yacc/calc2.tab.h: reference output for testing
1689
1690	* test/calc2.output: RCS_BASE
1691
1692	* test/yacc/calc2.output: reference output for testing
1693
1694	* output.c:
1695	improve %lex-param / %parse-param implementation by allowing for arrays to
1696	be passed as parameters, e.g., "int regs[26]".
1697
1698	* test/calc.tab.c, test/calc.y:
1699	test-cases and reference files for %lex-param / %parse-param
1700
1701	* makefile.in: add docs-rule, for html/pdf/txt form of manpage
1702
1703	* configure: regen
1704
1705	* aclocal.m4: add CF_XOPEN_SOURCE, etc.
1706
1707	* configure.in:
1708	use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89
1709
1710	* 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:
1711	fix warnings from clang --analyze
1712
17132010-06-08  Thomas E. Dickey  <tom@invisible-island.net>
1714
1715	* output.c: fix to build with c89, etc.
1716
1717	* reader.c: gcc warning
1718
1719	* 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:
1720	modified test-cases to allow them to compile, to validate pure-parser changes.
1721	updated reference files to match.
1722
1723	* output.c:
1724	move call for output_stype() earlier since it is used in pure-parser declarations
1725
1726	* test/grammar.tab.c, test/grammar.y:
1727	modified test-cases to allow them to compile, to validate pure-parser changes.
1728	updated reference files to match.
1729
1730	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
1731	regen
1732
1733	* yacc.1: document %lex-param and %parse-param
1734
1735	* test/run_lint.sh, test/run_make.sh: RCS_BASE
1736
1737	* test/run_test.sh:
1738	further modify to allow build-directory to be in a different location by
1739	passing this directory's location as a parameter to the script.
1740
1741	* makefile.in:
1742	add check_make and check_lint rules to help validate the generated files
1743	in the test-directory
1744
17452010-06-07  Thomas E. Dickey  <tom@invisible-island.net>
1746
1747	* test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE
1748
1749	* test/run_test.sh:
1750	provide for testing -r and -P options by checking if the ".y" filename
1751	begins with "code_" or "pure_", respectively.
1752
1753	* test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h:
1754	RCS_BASE
1755
1756	* test/yacc/code_error.tab.h: reference output for testing
1757
1758	* test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h:
1759	RCS_BASE
1760
1761	* test/yacc/code_calc.tab.h: reference output for testing
1762
1763	* test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h:
1764	RCS_BASE
1765
1766	* test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h, test/yacc/pure_error.output, test/yacc/pure_error.tab.h:
1767	reference output for testing
1768
1769	* test/code_calc.output, test/code_error.output: RCS_BASE
1770
1771	* test/yacc/code_calc.output, test/yacc/code_error.output:
1772	reference output for testing
1773
1774	* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen
1775
1776	* test/run_test.sh:
1777	changes to support running "make check" in a separate build-tree
1778
1779	* main.c: add "-P" to usage message
1780
1781	* reader.c: use UCH() macro to hide casts.
1782
17832010-06-07  Andres.Mejia
1784
1785	* main.c, output.c, reader.c, defs.h, skeleton.c:
1786	Fix the output order of the generated parse code file.  This allows for
1787	the use of YYPARSE_PARAM, by having the output that checks for
1788	YYPARSE_PARAM to be defined come after the C code block in the
1789	definitions section of a yacc file.
1790
1791	Implement support for YYLEX_PARAM, similar to bison.  This is useful for
1792	support for building reentrant lexers with flex.
1793
1794	Fix a compatibility issue with bison's pure-parser option.  Bison
1795	defines yylex as sending at least one parameter, &yylval, as the first
1796	parameter and doesn't seem to have an easy way to remove that parameter.
1797	This on the other hand is rather convenient to support saving to yylval
1798	from flex when building reentrant lexers and parsers.
1799
1800	Add support for the %parse-param and %lex-param directives used in
1801	bison.  This change bears some similarity to NetBSD's changes to byacc
1802	at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html
1803
1804	Bison allows for POSIX yacc emulation via a yacc directive in the yacc
1805	file, and also via a command line switch.  Implement this feature as a
1806	no-op for byacc, since byacc is designed to be POSIX yacc compatible
1807	anyway.  This allows for better compatibility with yacc sources written
1808	for bison.
1809
18102010-06-07  Thomas E. Dickey  <tom@invisible-island.net>
1811
1812	* VERSION: bump to 2010/06/07
1813
18142010-06-06  Thomas E. Dickey  <tom@invisible-island.net>
1815
1816	* test/calc.tab.c, configure: regen
1817
1818	* skeleton.c:
1819	move #include's down into the generated code, to allow user-defined code
1820	to override feature definitions, particularly with stdlib.h (request by
1821	Marcus Kool).
1822
1823	* lr0.c, error.c, reader.c, defs.h:
1824	strict gcc 3.4.6 warnings on 64-bit platform
1825
1826	* aclocal.m4, configure.in: add check for lint
1827
1828	* makefile.in: add lint rule
1829
1830	* defs.h, closure.c, lr0.c, warshall.c, main.c:
1831	fix gcc warnings, mostly for 64-bit platform
1832
1833	* aclocal.m4:
1834	add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc
1835
1836	* makefile.in: add etags/TAGS if available
1837
1838	* configure.in: add configure check for actual ctags and etags programs
1839
1840	* package/debian/copyright: add copyright notices for non-PD files
1841
1842	* package/debian/changelog:
1843	incorporated scripts in upstream to use for test-builds
1844
1845	* makefile.in: drop mkdirs.sh, just use "mkdir -p"
1846
1847	* AUTHORS: nicknames for some contributors (see CHANGES for details)
1848
1849	* package/byacc.spec: RPM file for byacc
1850
1851	* VERSION: bump to 2010/06/06
1852
1853	* aclocal.m4: add copyright notice, from "my-autoconf" macros
1854		http://invisible-island.net/autoconf/autoconf.html
1855
1856	* package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS:
1857	PERMIT FILE
1858
1859	* aclocal.m4: resync with my-autoconf.  summary of changes:
1860		a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter
1861		b) CF_DISABLE_ECHO, change indent-convention for substituted makefile
1862		c) CF_GCC_VERSION, ignore stderr
1863		d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc
1864
18652010-04-20  Thomas E. Dickey  <tom@invisible-island.net>
1866
1867	* 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:
1868	scripts from Debian package
1869
18702010-02-16  Thomas E. Dickey  <tom@invisible-island.net>
1871
1872	* yacc.1: document -P and bison-extensions
1873
1874	* test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
1875	regen
1876
1877	* output.c: implement %pure-parser
1878
1879	* skeleton.c:
1880	implement %pure-parser, like bison.  To help with this, changed the stack
1881	variables, putting them into a struct.
1882
1883	* reader.c: implement %pure-parser
1884
1885	* defs.h: modified skeleton to support %pure-parser feature
1886
1887	* main.c: add -P option to set %pure-parser
1888
1889	* output.c:
1890	make -r and -p options work together.  The -r option splits the generated
1891	parser into code/table files; for this case we cannot use static data.
1892	Also, we have to repeat the #define's used for prefix (-p) as well as the
1893	redeclaration of yyparse().  Finally, allow any of the prefixed names to
1894	be overridden, e.g., by passing a -D option to the compiler.  Make that
1895	a little more readable by putting a blank line before each chunk.
1896
1897	* defs.h: add definitions for %pure-parser
1898
1899	* skeleton.c:
1900	put blank line before/after the redeclaration of yyparse()
1901
1902	* output.c: allow for other program redefining yylex()
1903
1904	* skeleton.c:
1905	split-off xdecls[] array, to move declaration of yyparse() after #define's
1906
1907	* defs.h: split-out xdecls[]
1908
1909	* VERSION: bump
1910
1911	* configure: regen
1912
1913	* aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS
1914
1915	* aclocal.m4:
1916	resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes.
1917
19182010-02-16  Ostap.Cherkashi
1919
1920	* skeleton.c: fix a memory leak in the generated skeleton
1921
19222010-01-01  Thomas E. Dickey  <tom@invisible-island.net>
1923
1924	* package/debian/source/format: scripts from Debian package
1925
19262009-12-31  Thomas E. Dickey  <tom@invisible-island.net>
1927
1928	* config.guess: update to 2009-12-30
1929
1930	* config.sub: update to 2009-12-31
1931
19322009-10-27  Thomas E. Dickey  <tom@invisible-island.net>
1933
1934	* VERSION: 20091027
1935
1936	* output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c:
1937	strict compiler warnings
1938
19392009-10-26  Thomas E. Dickey  <tom@invisible-island.net>
1940
1941	* test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
1942	resync
1943
1944	* main.c, defs.h: introduce some typedefs for portability, etc.
1945
1946	* makefile.in:
1947	don't remove "*.log" in mostlyclean rule since it interferes with regression
1948	script.
1949
1950	* configure: regen
1951
1952	* aclocal.m4: resync with my-autoconf
1953
19542009-08-25  Thomas E. Dickey  <tom@invisible-island.net>
1955
1956	* config.guess, config.sub: update to 2009-08-19
1957
19582009-02-21  Thomas E. Dickey  <tom@invisible-island.net>
1959
1960	* VERSION: bump
1961
1962	* output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
1963
19642008-12-26  Thomas E. Dickey  <tom@invisible-island.net>
1965
1966	* configure: regen with autoconf-2.52 (patched)
1967
19682008-12-25  Thomas E. Dickey  <tom@invisible-island.net>
1969
1970	* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
1971	regenerated
1972
19732008-12-24  Thomas E. Dickey  <tom@invisible-island.net>
1974
1975	* VERSION: bump
1976
1977	* skeleton.c:
1978	remove ifdef-lint from goto yyerrlab, to quiet gcc warning
1979
19802008-11-26  Thomas E. Dickey  <tom@invisible-island.net>
1981
1982	* verbose.c, main.c, defs.h, mkpar.c, reader.c:
1983	completed implementation of "%expect" (report by Perry E. Metzger).
1984	add "%expect-rr", which is (unlike bison) allowable in LALR parsers.
1985
19862008-11-24  Thomas E. Dickey  <tom@invisible-island.net>
1987
1988	* 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:
1989	change indent-style (request by Perry E. Metzger)
1990
19912008-08-27  Thomas E. Dickey  <tom@invisible-island.net>
1992
1993	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
1994	better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
1995
1996	* VERSION: bump
1997
1998	* skeleton.c:
1999	better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
2000
2001	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c:
2002	change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's.
2003
2004	* configure: regen'd
2005
2006	* configure.in: add -Wwrite-strings to warnings
2007
2008	* test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
2009	add YYPARSE_PARAM and YYPARSE_PARAM_TYPE
2010
2011	* skeleton.c:
2012	add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features.
2013
2014	* main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c:
2015	fixes for gcc -Wwrite-strings
2016
2017	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2018	generate the tables as static-const (this is an interface change)
2019
2020	* output.c: realign columns in start_table()
2021
2022	* output.c:
2023	generate the tables as static-const (this is an interface change)
2024
2025	* output.c: reorder functions to eliminate forward-references
2026
2027	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2028	remove 'register' keywords
2029
20302008-08-26  Thomas E. Dickey  <tom@invisible-island.net>
2031
2032	* 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:
2033	remove 'register' keywords
2034
20352008-08-25  Thomas E. Dickey  <tom@invisible-island.net>
2036
2037	* test/ftp.tab.c: regen'd
2038
2039	* reader.c:
2040	improve the left-curly fix by testing after blanks, to avoid having a
2041	" {" at the beginning of a line.
2042
2043	* test/error.tab.c, test/grammar.tab.c: regen'd
2044
2045	* output.c:
2046	move the remaining newline-counting into write_XXX functions.
2047
2048	* test/calc.tab.c: regen'd
2049
2050	* output.c:
2051	simplify part of the output_file formatting using new functions, e.g.,
2052	start_int_table(), output_newline().
2053
2054	* reader.c:
2055	modify copy_action() to indent the first character, it if is is left-curly
2056	brace.  That makes the output look more like the original, as well as makes
2057	it simpler to edit (not confuse editors which look for a left-curly in the
2058	first column as if it were the beginning of a function).
2059
2060	* skeleton.c: minor fixes to avoid gcc -Wconversion warnings
2061
2062	* output.c: align the #define's produced for "-p" option
2063
2064	* test/run_test.sh: use the "-p" option for better coverage.
2065
2066	* output.c: simplify output_prefix() with new define_prefixed()
2067
2068	* skeleton.c: include string.h, for memset()
2069	change stack size to unsigned to fix gcc -Wconversion warnings.
2070
2071	* VERSION: bump to 2008/8/25
2072
2073	* makefile.in: add dependency on VERSION file.
2074
20752008-08-24  Thomas E. Dickey  <tom@invisible-island.net>
2076
2077	* VERSION: bump
2078
2079	* lalr.c: improved memory-leak checking by freeing data in includes[]
2080
2081	* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
2082	update to match skeleton-change
2083
2084	* configure: regen'd
2085
2086	* skeleton.c: Add fix for stack discussed
2087		http://undeadly.org/cgi?action=article&sid=20080708155228
2088	and applied
2089		http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29
2090
2091	* aclocal.m4: resync with my-autoconf (no major changes)
2092
20932008-07-24  Thomas E. Dickey  <tom@invisible-island.net>
2094
2095	* package/pkgsrc/Makefile, package/pkgsrc/distinfo:
2096	scripts from NetBSD pkgsrc, for test-builds
2097
20982008-03-14  Thomas E. Dickey  <tom@invisible-island.net>
2099
2100	* config.sub: update to 2008-03-08
2101
2102	* config.guess: update to 2008-03-12
2103
21042007-05-09  Thomas E. Dickey  <tom@invisible-island.net>
2105
2106	* main.c: close graph, verbose files if opened, on exit.
2107
2108	* main.c:
2109	audit memory leaks - valgrind reported some memory still in use on exit.
2110
2111	* lalr.c, output.c, reader.c, mkpar.c, lr0.c:
2112	add hook for auditing memory leaks
2113
2114	* defs.h: add hooks for auditing memory leaks
2115
2116	* configure: regen'd
2117
2118	* configure.in:
2119	use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind,
2120	--with-dbmalloc and --with-dmalloc
2121
2122	* aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND
2123
2124	* aclocal.m4: improve version-checking in CF_GCC_VERSION
2125	rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro
2126
2127	* VERSION: 2007/5/9
2128
2129	* main.c: file_prefix did not always have a trailing null.
2130
21312007-03-25  Thomas E. Dickey  <tom@invisible-island.net>
2132
2133	* mkdirs.sh: improved version for "make -j"
2134
21352006-12-22  Thomas E. Dickey  <tom@invisible-island.net>
2136
2137	* config.guess: update to 2006/12/22
2138
21392006-12-08  Thomas E. Dickey  <tom@invisible-island.net>
2140
2141	* config.sub: update to 2006/12/08
2142
21432005-08-13  Thomas E. Dickey  <tom@invisible-island.net>
2144
2145	* main.c: add -V to usage message
2146
2147	* makefile.in: remove -t option from ctags
2148
2149	* VERSION: 2005/8/13
2150
21512005-08-13  schmitz
2152
2153	* main.c: Sylvain Schmitz:
2154	modify the '-o' option to work like bison's, which sets the file-prefix.
2155
21562005-08-13  Matt.Kraai
2157
2158	* output.c:
2159	Debian #322858 (don't close union_file, which contained data).
2160	This feature is used in groff.
2161
21622005-08-13  Thomas E. Dickey  <tom@invisible-island.net>
2163
2164	* configure: regenerated
2165
2166	* aclocal.m4: improve checks for Intel compiler warnings
2167
21682005-06-25  Thomas E. Dickey  <tom@invisible-island.net>
2169
2170	* config.sub: update to 2005/6/2
2171
2172	* config.guess: update to 2005/5/27
2173
21742005-05-05  Thomas E. Dickey  <tom@invisible-island.net>
2175
2176	* defs.h: add a fallback for GCC_UNUSED
2177
21782005-05-04  Thomas E. Dickey  <tom@invisible-island.net>
2179
2180	* makefile.in: add "." to include-path to pickup config.h
2181
2182	* reader.c:
2183	apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617.
2184
2185	* output.c:
2186	correct a limit check in pack_vector() - report/analysis by William Evans
2187
2188	* main.c:
2189	exit after printing version.  Otherwise "yacc -V" will exit with an erro
2190	after printing the usage message.
2191
2192	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2193	regenerated after skeleton-changes
2194
2195	* skeleton.c: replace a few -1's with YYEMPTY
2196
2197	* skeleton.c:
2198	delete yynewerror (no one uses it any more, and it just makes compiler warnings)
2199
2200	* skeleton.c: adapt yygrowstack() and related definitions from FreeBSD
2201
2202	* test/run_test.sh:
2203	filter out lines with YYPATCH, since that will change with each update
2204
2205	* yacc.1: add -V option
2206
2207	* main.c: add -V option to print the version.
2208	simplify option-parsing by moving the duplicate logic for setting flags into
2209	new function setflag().
2210
2211	* skeleton.c:
2212	move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers).
2213	add YYPATCH here so it can be tested by applications.
2214
2215	* defs.h:
2216	add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and
2217	YYPATCH symbols.
2218
2219	* lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c:
2220	reduce externs by making static the procedures that are not referenced outside
2221	the module in which they are defined.
2222
2223	* makefile.in:
2224	the VERSION file holds the patch-date.  Define YYPATCH, so this will be
2225	compiled into the skeleton.
2226
2227	* VERSION: patch-level for byacc
2228
2229	* main.c:
2230	add "-o" to usage message.  It is too long for a single line; rewrite usage()
2231	to show one option per line.
2232
22332005-05-03  Thomas E. Dickey  <tom@invisible-island.net>
2234
2235	* main.c: add -o option, to work with scripts that assume bison.
2236	simplify create_file_names() with a macro.
2237	simplify done() with a macro.
2238	adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by
2239	onintr(), do not flush output via exit(), but use _exit() instead.
2240
2241	* defs.h: remove unnecessary externs for main.c
2242
2243	* yacc.1: add -o option
2244
2245	* graph.c: remove unused parameter
2246
2247	* mkpar.c, defs.h, reader.c:
2248	add support for "%expect", a bison feature from FreeBSD sources
2249
2250	* 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:
2251	indent'd
2252
2253	* configure: regenerated for 2005/5/5
2254
2255	* aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER)
2256
22572005-04-27  schmitz
2258
2259	* defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1:
2260	Sylvain Schmitz <schmitz@i3s.unice.fr>:
2261	add graphical output of the LALR(1) automaton for graphviz,
2262	associated with command-line option `-g'
2263
22642005-04-16  Thomas E. Dickey  <tom@invisible-island.net>
2265
2266	* config.sub: update to 2005/2/10
2267
2268	* config.guess: update to 2005/3/24
2269
22702005-04-13  Thomas E. Dickey  <tom@invisible-island.net>
2271
2272	* package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds
2273
22742005-03-21  Thomas E. Dickey  <tom@invisible-island.net>
2275
2276	* package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds
2277
22782004-03-28  Thomas E. Dickey  <tom@invisible-island.net>
2279
2280	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2281	updates due to adding yyparse() prototype
2282
2283	* configure: RCS_BASE
2284
2285	* configure.in:
2286	add AC_ARG_PROGRAM to make --program-prefix, etc., work.
2287
2288	* makefile.in: first cut of script to support --program-prefix
2289
2290	* configure.in:
2291	reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52
2292
2293	* makefile.in: modify so DESTDIR works
2294
2295	* makefile.in: use EXEEXT and OBJEXT
2296
2297	* configure.in: use CF_PROG_EXT
2298	generate a config.h
2299
2300	* defs.h: make this use the generated config.h
2301
2302	* skeleton.c: add a forward-reference for yyparse()
2303
2304	* aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT
2305
2306	* yacc.1: remove the discussion of TMPDIR since it is obsolete
2307
2308	* skeleton.c: fix a couple of minor compiler-warnings in the skeleton
2309
2310	* defs.h: remove action_file_name, etc., since we use tmpfile() now.
2311
2312	* main.c:
2313	use tmpfile() for opening the working files.  This quiets a warning
2314	advising the use of mkstemp().
2315
2316	* output.c:
2317	Do not close temporary-files here, since they are opened with tmpfile().
2318	Just rewind them, and they're ready to read back the data stored in them.
2319
2320	* test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE
2321
2322	* test/yacc/grammar.output, test/yacc/grammar.tab.h:
2323	reference output for testing
2324
2325	* makefile.in: turn on "make check" rule
2326
2327	* test/calc.output: RCS_BASE
2328
2329	* test/yacc/calc.output: reference output for testing
2330
2331	* test/run_test.sh, test/calc.tab.h: RCS_BASE
2332
2333	* test/yacc/calc.tab.h: reference output for testing
2334
2335	* test/ftp.tab.c: yyparse() is now yyparse(void)
2336
2337	* test/calc.tab.c: RCS_BASE
2338
2339	* test/error.tab.c: yyparse() is now yyparse(void)
2340
2341	* test/README: RCS_BASE
2342
2343	* yacc.1: various typography fixes prompted by Debian #100947
2344
2345	* aclocal.m4, makefile.in, configure.in: RCS_BASE
2346
2347	* README: updated to note that this is not the original
2348
23492004-03-24  Thomas E. Dickey  <tom@invisible-island.net>
2350
2351	* test/grammar.y: RCS_BASE
2352
23532004-02-23  Thomas E. Dickey  <tom@invisible-island.net>
2354
2355	* config.sub: RCS_BASE
2356
23572004-02-17  Thomas E. Dickey  <tom@invisible-island.net>
2358
2359	* config.guess: RCS_BASE
2360
23612003-11-29  Thomas E. Dickey  <tom@invisible-island.net>
2362
2363	* install-sh: improved quoting
2364
23652002-06-29  Thomas E. Dickey  <tom@invisible-island.net>
2366
2367	* mkdirs.sh:
2368	don't use character range, since some locales don't work as expected
2369
23702001-06-22  Thomas E. Dickey  <tom@invisible-island.net>
2371
2372	* install-sh: RCS_BASE
2373
23742000-11-20  Thomas E. Dickey  <tom@invisible-island.net>
2375
2376	* test/calc.y: RCS_BASE
2377
2378	* test/code_calc.y, test/pure_calc.y: copy of calc.y
2379
2380	* vmsbuild.com: original version
2381
23822000-02-23  dickey
2383
2384	* test/RCS, RCS: PERMIT FILE
2385
23862000-02-14  Thomas E. Dickey  <tom@invisible-island.net>
2387
2388	* main.c: fix for VMS port - making pathname for temp-file
2389
2390	* descrip.mms: original version
2391
23922000-02-13  Thomas E. Dickey  <tom@invisible-island.net>
2393
2394	* 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:
2395	ansify
2396
23971999-11-30  Thomas E. Dickey  <tom@invisible-island.net>
2398
2399	* mkdirs.sh: RCS_BASE
2400
24011995-01-01  Thomas E. Dickey  <tom@invisible-island.net>
2402
2403	* config_h.in: RCS_BASE
2404
24051993-12-23  unknown
2406
2407	* README.DOS, main.c: MSDOS-port
2408
24091993-12-22  unknown
2410
2411	* reader.c, defs.h: MSDOS-port
2412
24131993-03-02  unknown
2414
2415	* README: original version
2416
24171993-02-22  unknown
2418
2419	* test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE
2420
24211993-02-22  Thomas E. Dickey  <tom@invisible-island.net>
2422
2423	* test/yacc/error.output, test/yacc/error.tab.h:
2424	reference output for testing
2425
24261993-02-22  unknown
2427
2428	* test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE
2429
2430	* skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES:
2431	original version
2432
24331992-10-12  unknown
2434
2435	* yacc.1: original version
2436
24371992-10-11  unknown
2438
2439	* defs.h: original version
2440
24411991-01-20  unknown
2442
2443	* mkpar.c, verbose.c: original version
2444
24451991-01-14  unknown
2446
2447	* lr0.c, Makefile, Makefile.old: original version
2448
24491990-07-16  unknown
2450
2451	* NEW_FEATURES: original version
2452
24531990-06-03  unknown
2454
2455	* ACKNOWLEDGEMENTS: original version
2456
24571990-02-05  unknown
2458
2459	* symtab.c, lalr.c, error.c: original version
2460
24611990-01-16  Thomas E. Dickey  <tom@invisible-island.net>
2462
2463	* test/code_error.y, test/pure_error.y: RCS_BASE
2464
24651990-01-16  unknown
2466
2467	* test/error.y: RCS_BASE
2468
24691989-11-22  unknown
2470
2471	* NO_WARRANTY: original version
2472
24731989-09-23  unknown
2474
2475	* test/ftp.y: RCS_BASE
2476
2477