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