1272957Srodrigc2014-10-06  Thomas E. Dickey  <tom@invisible-island.net>
2272957Srodrigc
3272957Srodrigc	* package/debian/source/format:
4272957Srodrigc	change to native format to work around regression in Debian packaging.
5272957Srodrigc
6272957Srodrigc	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
7272957Srodrigc	bump
8272957Srodrigc
9272957Srodrigc	* configure: regen
10272957Srodrigc
11272957Srodrigc	* main.c:
12272957Srodrigc	correct parameter for umask - for very old mkstemp's - and use type mode_t
13272957Srodrigc	to quiet compiler warning
14272957Srodrigc
15272957Srodrigc	* configure.in: add configure check for mode_t
16272957Srodrigc
17272957Srodrigc	* reader.c:
18272957Srodrigc	better fix for get_line, by ensuring there is enough space to null-terminate
19272957Srodrigc	its result (prompted by discussion with Craig Rodrigues).
20272957Srodrigc
21272955Srodrigc2014-10-05  Thomas E. Dickey  <tom@invisible-island.net>
22272955Srodrigc
23272955Srodrigc	* main.c:
24272955Srodrigc	make change to umask before calling mkstemp, as suggested in Coverity #56902
25272955Srodrigc
26272955Srodrigc	* reader.c:
27272955Srodrigc	adjust logic in copy_action to avoid potential null-pointer dereference
28272955Srodrigc	(Coverity #56901)
29272955Srodrigc
30272955Srodrigc	* reader.c:
31272955Srodrigc	adjust logic to avoid potential null-pointer dereference in compile_args
32272955Srodrigc	(Coverity #63407)
33272955Srodrigc
34272955Srodrigc	* reader.c: eliminate strcpy into fixed-size buffer (Coverity #63408)
35272955Srodrigc
36272955Srodrigc	* yacc.1: document changes made with respect to %parse-param
37272955Srodrigc
38272955Srodrigc	* output.c:
39272955Srodrigc	add parameters from %parse-param to destructor.  The order of the parameters
40272955Srodrigc	is intentionally inconsistent with yyparse/yyerror, for "compatibility" with
41272955Srodrigc	bison.
42272955Srodrigc
43272955Srodrigc	* test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c:
44272955Srodrigc	regen
45272955Srodrigc
46272955Srodrigc	* output.c:
47272955Srodrigc	use puts_param_types/puts_param_names to output lex_param data.
48272955Srodrigc
49272955Srodrigc	* 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:
50272955Srodrigc	regen
51272955Srodrigc
52272955Srodrigc	* btyaccpar.c: add casts, change types to fix strict compiler warnings
53272955Srodrigc
54272955Srodrigc	* 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:
55272955Srodrigc	regen
56272955Srodrigc
57272955Srodrigc	* output.c: gcc-warning
58272955Srodrigc
59272955Srodrigc	* test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c: regen
60272955Srodrigc
61272955Srodrigc	* output.c: fix limit when merging real/workaround tables
62272955Srodrigc
63272955Srodrigc	* output.c:
64272955Srodrigc	for btyacc, it is possible to have no conflicts - but in that case, the
65272955Srodrigc	"ctable" was not generated at all, while the skeleton uses the table.
66272955Srodrigc	The most straightforward (workaround) is generating a dummy table which
67272955Srodrigc	rejects any state.
68272955Srodrigc
69272955Srodrigc	* test/btyacc_destroy3.y, test/btyacc_destroy2.y, test/btyacc_destroy1.y:
70272955Srodrigc	fix "make check_make"
71272955Srodrigc
72272955Srodrigc	* 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:
73272955Srodrigc	regen
74272955Srodrigc
75272955Srodrigc	* reader.c:
76272955Srodrigc	trim blanks from interim value in copy_param() to handle special case when
77272955Srodrigc	a space precedes a comma.
78272955Srodrigc
79272955Srodrigc	* output.c:
80272955Srodrigc	use two new functions, puts_param_types and puts_param_names, to improve
81272955Srodrigc	format of the parse_param list (by trimming space after "*") as well as
82272955Srodrigc	correcting the output of the comma-separated names (only the last name
83272955Srodrigc	was output).
84272955Srodrigc
85272955Srodrigc	* test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c:
86272955Srodrigc	regen
87272955Srodrigc
88272955Srodrigc	* reader.c:
89272955Srodrigc	modify copy_param() to handle resulting comma-separated list.  Before, it
90272955Srodrigc	only expected a single parameter.
91272955Srodrigc
92272955Srodrigc2014-10-04  Thomas E. Dickey  <tom@invisible-island.net>
93272955Srodrigc
94272955Srodrigc	* reader.c: split-out save_param() from copy_param()
95272955Srodrigc
96272955Srodrigc	* reader.c: trim_blanks() did not always convert spaces - fix.
97272955Srodrigc
98272955Srodrigc	* reader.c: fix some minor regressions with error-reporting
99272955Srodrigc
100272955Srodrigc	* aclocal.m4: update CF_XOPEN_SOURCE for Unixware change from lynx
101272955Srodrigc
102272955Srodrigc	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
103272955Srodrigc	bump
104272955Srodrigc
105272955Srodrigc	* reader.c:
106272955Srodrigc	modify copy_param() to accept multiple parameters, each in curly braces like
107272955Srodrigc	recent bison, as well as honoring bison's undocumented feature to accept the
108272955Srodrigc	parameters as a comma-separated list.
109272955Srodrigc
110272955Srodrigc	* 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:
111272955Srodrigc	RCS_BASE
112272955Srodrigc
113272955Srodrigc2014-10-03  Thomas E. Dickey  <tom@invisible-island.net>
114272955Srodrigc
115272955Srodrigc	* 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:
116272955Srodrigc	RCS_BASE
117272955Srodrigc
118272954Srodrigc2014-10-02  Thomas E. Dickey  <tom@invisible-island.net>
119272954Srodrigc
120272955Srodrigc	* main.c, reader.c, defs.h:
121272954Srodrigc	use calloc in get_line() when allocating line to ensure it is fully initialized,
122272954Srodrigc	fixes a later uninitialized value in copy_param() (FreeBSD #193499).
123272954Srodrigc
124272955Srodrigc2014-09-17  Thomas E. Dickey  <tom@invisible-island.net>
125272955Srodrigc
126272955Srodrigc	* closure.c, lalr.c, output.c, defs.h:
127272955Srodrigc	rephrase odd addressing to fix Coverity #48848, #38950, #38860, not actually
128272955Srodrigc	a bug.
129272955Srodrigc
130272955Srodrigc2014-09-01  Thomas E. Dickey  <tom@invisible-island.net>
131272955Srodrigc
132272955Srodrigc	* config.sub: update to 2014-07-28
133272955Srodrigc
134272955Srodrigc2014-07-27  Thomas E. Dickey  <tom@invisible-island.net>
135272955Srodrigc
136272955Srodrigc	* configure: regen
137272955Srodrigc
138272955Srodrigc	* aclocal.m4: modified to support port to Minix3.2
139272955Srodrigc
140272955Srodrigc	* package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
141272955Srodrigc	bump
142272955Srodrigc
143272953Srodrigc2014-07-15  Thomas E. Dickey  <tom@invisible-island.net>
144272953Srodrigc
145272953Srodrigc	* aclocal.m4: resync with my-autoconf (no change to configure script)
146272953Srodrigc
147272953Srodrigc	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
148272953Srodrigc	bump
149272953Srodrigc
150272953Srodrigc	* test/run_test.sh:
151272953Srodrigc	make top-level "make check" work again, by adding another step to filtering
152272953Srodrigc	the test results.
153272953Srodrigc
154272953Srodrigc2014-07-14  Thomas E. Dickey  <tom@invisible-island.net>
155272953Srodrigc
156272953Srodrigc	* test/run_test.sh: changes from Garrett Cooper's patch:
157272953Srodrigc		a) ensure that the script returns an error-code if there are differences
158272953Srodrigc		b) escape "." character in left side of sed expression for $YACC
159272953Srodrigc		c) ensure that $ifBTYACC has a value
160272953Srodrigc
161272953Srodrigc	* 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:
162272953Srodrigc	regen (reminder by Garrett Cooper)
163272953Srodrigc
164272953Srodrigc2014-07-14  Garrett.Cooper
165272953Srodrigc
166272953Srodrigc	* 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:
167272953Srodrigc	regen
168272953Srodrigc
169272953Srodrigc2014-05-27  Tom.Shields
170272953Srodrigc
171272953Srodrigc	* main.c: remove obsolete -D option from usage message
172272953Srodrigc
173272953Srodrigc2014-05-27  Thomas E. Dickey  <tom@invisible-island.net>
174272953Srodrigc
175272953Srodrigc	* 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:
176272953Srodrigc	bump
177272953Srodrigc
178268899Sbapt2014-04-22  Thomas E. Dickey  <tom@invisible-island.net>
179268899Sbapt
180268899Sbapt	* mstring.c:
181268899Sbapt	use vsnprintf() to ensure that msprintf's buffer is large enough.
182268899Sbapt
183268899Sbapt	* main.c, defs.h: add mstring_leaks()
184268899Sbapt
185268899Sbapt	* configure: regen
186268899Sbapt
187268899Sbapt	* output.c: fix a complementary warning
188268899Sbapt
189268899Sbapt	* mstring.c: introduce vsnprintf
190268899Sbapt
191268899Sbapt	* configure.in, config_h.in: add check for vsnprintf
192268899Sbapt
193268899Sbapt	* output.c: quiet a type-conversion warning
194268899Sbapt
195268899Sbapt	* mstring.c: fix a potential memory leak on ENOMEM
196268899Sbapt	quiet a couple of type-conversion warnings
197268899Sbapt
198268899Sbapt	* defs.h: add/use GCC_PRINTFLIKE for msprintf()
199268899Sbapt
200268899Sbapt2014-04-22  Tom.Shields
201268899Sbapt
202268899Sbapt	* README.BTYACC:
203268899Sbapt	drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant
204268899Sbapt	content into README.BTYACC
205268899Sbapt
206268899Sbapt2014-04-22  Thomas E. Dickey  <tom@invisible-island.net>
207268899Sbapt
208268899Sbapt	* package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
209268899Sbapt	bump
210268899Sbapt
211268899Sbapt2014-04-19  Thomas E. Dickey  <tom@invisible-island.net>
212268899Sbapt
213268899Sbapt	* config.sub: 2014-04-03
214268899Sbapt
215268899Sbapt	* config.guess: 2014-03-23
216268899Sbapt
217268899Sbapt2014-04-09  Rick.Spates
218268899Sbapt
219268899Sbapt	* main.c, defs.h: patch to allow DEBUG build with WIN32 system
220268899Sbapt
221268899Sbapt2014-04-09  Thomas E. Dickey  <tom@invisible-island.net>
222268899Sbapt
223268899Sbapt	* output.c, reader.c: gcc warnings
224268899Sbapt
225268899Sbapt	* reader.c: fix const-cast warnings
226268899Sbapt
227268899Sbapt	* 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:
228268899Sbapt	fix a few clang --analyze warnings; one was a case where output_ctable emitted
229268899Sbapt	an empty table (which should be an error).
230268899Sbapt
231268899Sbapt	* reader.c: appease clang --analyze
232268899Sbapt
233268899Sbapt	* defs.h: mark two functions as no-return.
234268899Sbapt
235268899Sbapt	* package/debian/changelog: reason for release
236268899Sbapt
237268899Sbapt	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
238268899Sbapt	bump
239268899Sbapt
240268899Sbapt	* makefile.in: use $LINT_OPTS from environment via configure script
241268899Sbapt
242268899Sbapt	* 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:
243268899Sbapt	tweaks to make generated files from ok_syntax1.y compile with check_make rule
244268899Sbapt
245268899Sbapt	* 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:
246268899Sbapt	reference output for testing
247268899Sbapt
248268899Sbapt	* test/run_test.sh:
249268899Sbapt	retain the renaming done for code_debug.y so that check_make will work.
250268899Sbapt
251268899Sbapt	* test/yacc/rename_debug.error, test/yacc/rename_debug.h, test/yacc/rename_debug.i, test/yacc/rename_debug.output:
252268899Sbapt	reference output for testing
253268899Sbapt
254268899Sbapt	* test/btyacc/ok_syntax1.error: RCS_BASE
255268899Sbapt
256268899Sbapt	* 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:
257268899Sbapt	regen
258268899Sbapt
259268899Sbapt	* yacc.1:
260268899Sbapt	clarify relationship of btyacc features to default configuration.
261268899Sbapt
262268899Sbapt2014-04-08  Thomas E. Dickey  <tom@invisible-island.net>
263268899Sbapt
264268899Sbapt	* 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:
265268899Sbapt	reference output for testing
266268899Sbapt
267268899Sbapt	* test/ok_syntax1.y: RCS_BASE
268268899Sbapt
269268899Sbapt	* test/yacc/ok_syntax1.error: reference output for testing
270268899Sbapt
271268899Sbapt	* 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:
272268899Sbapt	exercise -L/-B options
273268899Sbapt
274268899Sbapt	* 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:
275268899Sbapt	use a better renaming of the YYPATCH definition (none of the test-cases rely
276268899Sbapt	upon it, but redefinition in the "make check_make" rule is a problem).
277268899Sbapt
278268899Sbapt	* 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:
279268899Sbapt	undid temporary reordering in reader() by Tom Shields to align with byacc outputs
280268899Sbapt
281268899Sbapt	* test/run_test.sh: remove a repeated test-case
282268899Sbapt
283268899Sbapt	* mstring.c: minor reformatting to make coverage analysis simpler
284268899Sbapt
285268899Sbapt2014-04-07  Thomas E. Dickey  <tom@invisible-island.net>
286268899Sbapt
287268899Sbapt	* test/run_test.sh: tidy
288268899Sbapt
289268899Sbapt	* 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:
290268899Sbapt	reference output for testing
291268899Sbapt
292268899Sbapt	* test/run_test.sh:
293268899Sbapt	add special checks for flags which depend on writable/existing files
294268899Sbapt
295268899Sbapt	* 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:
296268899Sbapt	reference output for testing
297268899Sbapt
298268899Sbapt	* main.c:
299268899Sbapt	change CREATE_FILE_NAMES() to use local function rather than inline code,
300268899Sbapt	to simplify coverage analysis.
301268899Sbapt
302268899Sbapt	* 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:
303268899Sbapt	reference output for testing
304268899Sbapt
305268899Sbapt	* test/err_syntax27.y: testcase for missing_brace()
306268899Sbapt
307268899Sbapt	* error.c: ifdef'd non-btyacc function
308268899Sbapt
309268899Sbapt	* lr0.c: ifdef'd debug-code
310268899Sbapt
311268899Sbapt	* yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel
312268899Sbapt
313268899Sbapt	* 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:
314268899Sbapt	2010/11/26 simplification of output.c using putc_code() and putl_code()
315268899Sbapt	omitted an adjustment of the #line value used for code-file.  Fix that.
316268899Sbapt	Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for
317268899Sbapt	YYPATCH #define's to make test-outputs easier to compare #line's (report
318268899Sbapt	by Tom Shields)
319268899Sbapt
320268899Sbapt2014-04-06  Thomas E. Dickey  <tom@invisible-island.net>
321268899Sbapt
322268899Sbapt	* reader.c: fix for valgrind
323268899Sbapt	(the calloc's are intentional - valgrind reported use of uninitialized memory)
324268899Sbapt
325268899Sbapt	* lr0.c, output.c: fix for valgrind
326268899Sbapt
327268899Sbapt	* 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:
328268899Sbapt	RCS_BASE
329268899Sbapt
330268899Sbapt	* test/yacc/code_debug.c, test/yacc/code_debug.h:
331268899Sbapt	exercise the -i option
332268899Sbapt
333268899Sbapt	* test/yacc/code_debug.i: reference output for testing
334268899Sbapt
335268899Sbapt	* test/run_test.sh: exercise the -i option
336268899Sbapt
337268899Sbapt	* test/yacc/code_debug.c: reference output for testing
338268899Sbapt
339268899Sbapt	* test/run_test.sh: exercise the "-o" option
340268899Sbapt
341268899Sbapt	* test/yacc/code_debug.error, test/yacc/code_debug.h, test/yacc/code_debug.output:
342268899Sbapt	reference output for testing
343268899Sbapt
344268899Sbapt	* output.c: don't call exit() without giving a chance to cleanup.
345268899Sbapt
346268899Sbapt	* mstring.c: ifdef'd functions not used in byacc
347268899Sbapt
348268899Sbapt	* btyaccpar.c: generated from btyaccpar.skel
349268899Sbapt
350268899Sbapt	* yaccpar.c: generated from yaccpar.skel
351268899Sbapt
352268899Sbapt	* skel2c:
353268899Sbapt	change the generated-by comment to show which version of this script (and
354268899Sbapt	which version of the given skeleton file) were used to produce the C-file.
355268899Sbapt
356268899Sbapt	* configure: regen
357268899Sbapt
358268899Sbapt	* makefile.in:
359268899Sbapt	add rules to generate byacc and btyacc parser skeleton files independently
360268899Sbapt
361268899Sbapt	* aclocal.m4: CF_PROG_AWK - add to byacc's configure script
362268899Sbapt	CF_INTEL_COMPILER
363268899Sbapt		cleanup the -no-gcc option which was leftover from testing - prcs does
364268899Sbapt		not build with this option.
365268899Sbapt	CF_MAKE_DOCS
366268899Sbapt		protect $2 from substitution, for luit's "$(manext)"
367268899Sbapt	CF_XOPEN_SOURCE
368268899Sbapt		for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2
369268899Sbapt		on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE
370268899Sbapt		because it is not needed, as well as because g++ 4.7.3 (no package,
371268899Sbapt		used in Sage for Solaris 10) has some unspecified header breakage which
372268899Sbapt		is triggered by the duplicate definition.
373268899Sbapt
374268899Sbapt	* configure.in:
375268899Sbapt	modify so skeleton-source is determined by configure options rather than by
376268899Sbapt	having developer rename yaccpar.skel.old to yaccpar.skel
377268899Sbapt
378268899Sbapt	* descrip.mms: rename skeleton
379268899Sbapt
380268899Sbapt	* vmsbuild.com:
381268899Sbapt	fwiw, renamed the skeleton for consistency with makefile
382268899Sbapt
383268899Sbapt	* skel2c, skeleton.c: resync skeleton and its generating files
384268899Sbapt
385268899Sbapt	* yaccpar.skel:
386268899Sbapt	renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules
387268899Sbapt
388268899Sbapt	* yaccpar.skel.old: resync skeleton and its generating files
389268899Sbapt
390268899Sbapt	* test/run_make.sh: improve cleanup after error recovery
391268899Sbapt
392268899Sbapt	* 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:
393268899Sbapt	use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton
394268899Sbapt
395268899Sbapt	* output.c: simplify output_yyerror_decl()
396268899Sbapt
397268899Sbapt	* 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:
398268899Sbapt	add second "const" to string-table declarations, from Tom Shield's btyacc changes
399268899Sbapt
400268899Sbapt	* 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:
401268899Sbapt	discard unnecessary call on write_code_lineno() from Tom Shield's changes
402268899Sbapt
403268899Sbapt	* 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:
404268899Sbapt	use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short"
405268899Sbapt
406268899Sbapt	* test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c:
407268899Sbapt	use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL()
408268899Sbapt
409268899Sbapt	* 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:
410268899Sbapt	discard unnecessary call on write_code_lineno() from Tom Shield's changes
411268899Sbapt
412268899Sbapt	* 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:
413268899Sbapt	use fix from Tom Shield's btyacc changes: prefix-definitions went to the
414268899Sbapt	output (.tab.c) file in a case where they should have gone to the code
415268899Sbapt	(.code.c) file.  Remove now-redundant call to output_prefix().
416268899Sbapt
417268899Sbapt	* main.c: do the same for help-message
418268899Sbapt
419268899Sbapt	* main.c: use OUTPUT_SUFFIX symbol in an overlooked case
420268899Sbapt
421268899Sbapt	* test/run_make.sh:
422268899Sbapt	modify to avoid use of VPATH, which has no standard implementation
423268899Sbapt
424268899Sbapt2014-04-05  Thomas E. Dickey  <tom@invisible-island.net>
425268899Sbapt
426268899Sbapt	* 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:
427268899Sbapt	discard a change which merged CountLines() with explicit comparisons against
428268899Sbapt	code_file because that adds extra to the #line values
429268899Sbapt
430268899Sbapt	* 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:
431268899Sbapt	add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to
432268899Sbapt	override fallback typedef for YYSTYPE when that symbol is undefined
433268899Sbapt
434268899Sbapt	* 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:
435268899Sbapt	minor tweak to coding style - use parenthesis for "defined" operator's parameter
436268899Sbapt
437268899Sbapt	* 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:
438268899Sbapt	regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent
439268899Sbapt
440268899Sbapt	* 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:
441268899Sbapt	regen after adding the YYUNDFTOKEN symbol
442268899Sbapt
443268899Sbapt	* output.c:
444268899Sbapt	integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol
445268899Sbapt	(I changed order of output to keep this adjacent to YYMAXTOKEN)
446268899Sbapt
447268899Sbapt	* reader.c:
448268899Sbapt	merge all but one small change from Tom Shield's btyacc changes - that
449268899Sbapt	changes the order of code-file in the tests.
450268899Sbapt
451268899Sbapt	* test/btyacc/btyacc_demo.tab.c: regen
452268899Sbapt
453268899Sbapt	* test/btyacc_demo.y: fix prototypes
454268899Sbapt
455268899Sbapt2014-04-04  Thomas E. Dickey  <tom@invisible-island.net>
456268899Sbapt
457268899Sbapt	* reader.c, defs.h, main.c:
458268899Sbapt	more merging of Tom Shield's btyacc changes.  In the merge, I moved the
459268899Sbapt	symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs
460268899Sbapt
461268899Sbapt2014-04-03  Thomas E. Dickey  <tom@invisible-island.net>
462268899Sbapt
463268899Sbapt	* reader.c:
464268899Sbapt	merge-in 3/4 of btyacc's changes, deferring those which change test-outputs.
465268899Sbapt	Tom Shield's changes split-out copy_string() and copy_comment() functions
466268899Sbapt	to simplify some logic, as well as adding btyacc-only chunks
467268899Sbapt
468268899Sbapt	* makefile.in: build mstring.o, needed for changes in reader.c
469268899Sbapt
470268899Sbapt	* output.c:
471268899Sbapt	merge-in all of btyacc's changes which do not change byacc's test-output.
472268899Sbapt	Some of the merge uses ifdef-changes which I applied to ongoing resync,
473268899Sbapt	e.g., the introduction of PER_STATE.
474268899Sbapt
475268899Sbapt2014-04-02  Thomas E. Dickey  <tom@invisible-island.net>
476268899Sbapt
477268899Sbapt	* test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen
478268899Sbapt
479268899Sbapt	* output.c: fix typo
480268899Sbapt
481268899Sbapt	* output.c, reader.c:
482268899Sbapt	merge in some chunks of reader and output files which do not affect byacc tests
483268899Sbapt
484268899Sbapt	* test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen
485268899Sbapt
486268899Sbapt	* 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:
487268899Sbapt	incorporate YYENOMEM and YYEOF symbols from btyacc
488268899Sbapt
489268899Sbapt	* output.c: merge chunk from btyacc changes for header-guards
490268899Sbapt
491268899Sbapt	* btyaccpar.skel: RCS_BASE
492268899Sbapt
493268899Sbapt	* yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues
494268899Sbapt	remove GCC_UNUSED to reduce name-pollution as well as being simpler
495268899Sbapt
496268899Sbapt	* main.c:
497268899Sbapt	move a btyacc symbol outside ifdef to work around current state of merge
498268899Sbapt
499268899Sbapt	* defs.h:
500268899Sbapt	add USE_HEADER_GUARDS to defer whether to modify byacc's header-output
501268899Sbapt
502268899Sbapt	* test/run_make.sh:
503268899Sbapt	do not try to compile files used for testing syntax-errors, since they are
504268899Sbapt	likely to be incomplete
505268899Sbapt
506268899Sbapt2014-04-02  Tom.Shields
507268899Sbapt
508268899Sbapt	* main.c: changes for btyacc
509268899Sbapt
510268899Sbapt2014-04-01  Thomas E. Dickey  <tom@invisible-island.net>
511268899Sbapt
512268899Sbapt	* reader.c:
513268899Sbapt	integrate change by Tom Shields to use bsearch rather than successive
514268899Sbapt	calls to matchec()
515268899Sbapt
516268899Sbapt	* defs.h: typedef __compar_fn_t is unnecessary
517268899Sbapt
518268899Sbapt	* 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:
519268899Sbapt	omit the GCC_UNUSED, as noted by Tom Shields not really essential
520268899Sbapt
521268899Sbapt2014-04-01  Tom.Shields
522268899Sbapt
523268899Sbapt	* verbose.c: changes for btyacc, ifdef'd
524268899Sbapt
525268899Sbapt2014-04-01  Thomas E. Dickey  <tom@invisible-island.net>
526268899Sbapt
527268899Sbapt	* mkpar.c: eliminate most of the ifdef's using macros
528268899Sbapt
529268899Sbapt2014-04-01  Tom.Shields
530268899Sbapt
531268899Sbapt	* mkpar.c: merge btyacc changes (ifdef'd - no change to byacc)
532268899Sbapt
533268899Sbapt	* error.c:
534268899Sbapt	new functions used for reporting errors from the btyacc configuration
535268899Sbapt	(I reordered some, and ifdef'd the new ones -TD)
536268899Sbapt
537268899Sbapt2014-03-31  Thomas E. Dickey  <tom@invisible-island.net>
538268899Sbapt
539268899Sbapt	* test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c:
540268899Sbapt	omit the GCC_UNUSED, as noted by Tom Shields not really essential
541268899Sbapt
542268899Sbapt	* 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:
543268899Sbapt	regen
544268899Sbapt
545268899Sbapt2014-03-29  Thomas E. Dickey  <tom@invisible-island.net>
546268899Sbapt
547268899Sbapt	* 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:
548268899Sbapt	comment-out yysccsid in the banner because it produces unnecessary compiler
549268899Sbapt	warnings.  The suggested alternative (using #pragma ident) in the preceding
550268899Sbapt	comment is also obsolete; remove that comment (request by Gleb Smirnoff).
551268899Sbapt
552268899Sbapt	* test/run_test.sh:
553268899Sbapt	for yacc, ignore the inherit testcases, since they are btyacc-specific
554268899Sbapt
555268899Sbapt2014-03-28  Thomas E. Dickey  <tom@invisible-island.net>
556268899Sbapt
557268899Sbapt	* 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:
558268899Sbapt	reference output for testing
559268899Sbapt
560268899Sbapt	* test/run_lint.sh, test/run_make.sh, test/run_test.sh:
561268899Sbapt	moving #define's out of makefile broke check for yacc vs btyacc (fix)
562268899Sbapt
563268899Sbapt2014-03-28  Tom.Shields
564268899Sbapt
565268899Sbapt	* 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:
566268899Sbapt	reference output for testing
567268899Sbapt
568268899Sbapt	* defs.h: new functions/variables for btyacc
569268899Sbapt	(I reordered and ifdef'd -TD)
570268899Sbapt
571268899Sbapt	* test/inherit0.y, test/inherit1.y: testcase for btyacc
572268899Sbapt
573268899Sbapt2014-03-27  Tom.Shields
574268899Sbapt
575268899Sbapt	* test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y, test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y:
576268899Sbapt	testcase for btyacc
577268899Sbapt
578268899Sbapt2014-03-25  Tom.Shields
579268899Sbapt
580268899Sbapt	* symtab.c: extra initialization needed for btyacc
581268899Sbapt	(I ifdef'd -TD)
582268899Sbapt
583268899Sbapt	* yacc.1: document -L/-B features from btyacc
584268899Sbapt
585268899Sbapt2014-03-25  Thomas E. Dickey  <tom@invisible-island.net>
586268899Sbapt
587268899Sbapt	* yacc.1: typo
588268899Sbapt
589268899Sbapt	* configure: regen
590268899Sbapt
591268899Sbapt	* configure.in:
592268899Sbapt	modified new options to act like those in my other configure-scripts, e.g.,
593268899Sbapt	showing what option is being tested, and the resulting value.  Put the
594268899Sbapt	definitions in config.h rather than in the makefile.
595268899Sbapt
596268899Sbapt2014-03-25  Tom.Shields
597268899Sbapt
598268899Sbapt	* makefile.in: add/use LINTFLAGS variable
599268899Sbapt	make all of the objects (not just skeleton) rebuild if makefile changes
600268899Sbapt	modify check-rule to reflect updates to run_test.sh vs subdirectory
601268899Sbapt
602268899Sbapt	* mstring.c: byacc-btyacc-20140323
603268899Sbapt
604268899Sbapt2014-03-25  Thomas E. Dickey  <tom@invisible-island.net>
605268899Sbapt
606268899Sbapt	* test/btyacc/RCS, test/yacc/RCS: PERMIT FILE
607268899Sbapt
608268899Sbapt	* config_h.in: updated with autoheader-252
609268899Sbapt
610268899Sbapt2014-03-25  Tom.Shields
611268899Sbapt
612268899Sbapt	* README.BTYACC: byacc-btyacc-20140323
613268899Sbapt
614268899Sbapt2014-03-24  Tom.Shields
615268899Sbapt
616268899Sbapt	* 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:
617268899Sbapt	reference output for testing
618268899Sbapt
619268899Sbapt2014-03-24  Thomas E. Dickey  <tom@invisible-island.net>
620268899Sbapt
621268899Sbapt	* defs.h: fix compiler warnings due to mputc()
622268899Sbapt
623268899Sbapt2014-03-23  Tom.Shields
624268899Sbapt
625268899Sbapt	* test/btyacc_demo.y: testcase for btyacc
626268899Sbapt
627268899Sbapt	* test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h:
628268899Sbapt	reference output for testing
629268899Sbapt
630268899Sbapt	* test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc
631268899Sbapt
632268899Sbapt2014-03-23  Thomas E. Dickey  <tom@invisible-island.net>
633268899Sbapt
634268899Sbapt	* 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:
635268899Sbapt	reference output for testing
636268899Sbapt
637268899Sbapt	* test/err_syntax26.y: testcase for missing_brace()
638268899Sbapt
639268899Sbapt	* 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:
640268899Sbapt	reference output for testing
641268899Sbapt
642268899Sbapt	* test/err_syntax25.y: testcase for over_unionized()
643268899Sbapt
644268899Sbapt	* 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:
645268899Sbapt	reference output for testing
646268899Sbapt
647268899Sbapt	* test/err_syntax24.y: testcase for default_action_warning()
648268899Sbapt
649268899Sbapt2014-03-23  Tom.Shields
650268899Sbapt
651268899Sbapt	* 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:
652268899Sbapt	reference output for testing
653268899Sbapt
654268899Sbapt2014-03-23  Thomas E. Dickey  <tom@invisible-island.net>
655268899Sbapt
656268899Sbapt	* 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:
657268899Sbapt	reference output for testing
658268899Sbapt
659268899Sbapt	* test/err_syntax23.y: testcase for untyped_lhs()
660268899Sbapt
661268899Sbapt2014-03-23  Tom.Shields
662268899Sbapt
663268899Sbapt	* test/run_test.sh:
664268899Sbapt	move test-outputs into subdirectories to keep btyacc/yacc results separate
665268899Sbapt
666268899Sbapt2014-03-23  Thomas E. Dickey  <tom@invisible-island.net>
667268899Sbapt
668268899Sbapt	* 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:
669268899Sbapt	reference output for testing
670268899Sbapt
671268899Sbapt	* test/err_syntax22.y: testcase for untyped_rhs()
672268899Sbapt
673268899Sbapt	* 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:
674268899Sbapt	reference output for testing
675268899Sbapt
676268899Sbapt	* test/err_syntax20.y: testcase for undefined_symbol_warning()
677268899Sbapt
678268899Sbapt	* test/err_syntax21.y: testcase for unknown_rhs()
679268899Sbapt
680268899Sbapt	* 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:
681268899Sbapt	reference output for testing
682268899Sbapt
683268899Sbapt	* test/err_syntax19.y: testcase for dollar_error()
684268899Sbapt
685268899Sbapt	* 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:
686268899Sbapt	reference output for testing
687268899Sbapt
688268899Sbapt	* test/err_syntax18.y: testcase for dollar_warning()
689268899Sbapt
690268899Sbapt	* 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:
691268899Sbapt	reference output for testing
692268899Sbapt
693268899Sbapt	* test/err_syntax17.y: testcase for unterminated_action()
694268899Sbapt
695268899Sbapt2014-03-22  Thomas E. Dickey  <tom@invisible-island.net>
696268899Sbapt
697268899Sbapt	* 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:
698268899Sbapt	reference output for testing
699268899Sbapt
700268899Sbapt	* test/err_syntax16.y: testcase for terminal_lhs()
701268899Sbapt
702268899Sbapt	* 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:
703268899Sbapt	reference output for testing
704268899Sbapt
705268899Sbapt	* test/err_syntax15.y: testcase for no_grammar()
706268899Sbapt
707268899Sbapt	* 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:
708268899Sbapt	reference output for testing
709268899Sbapt
710268899Sbapt	* test/err_syntax14.y:
711268899Sbapt	testcase for restarted_warning() and undefined_goal()
712268899Sbapt
713268899Sbapt	* 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:
714268899Sbapt	reference output for testing
715268899Sbapt
716268899Sbapt	* test/err_syntax13.y: testcase for terminal_start()
717268899Sbapt
718268899Sbapt	* 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:
719268899Sbapt	reference output for testing
720268899Sbapt
721268899Sbapt	* test/err_syntax12.y: testcase for revalued_warning()
722268899Sbapt
723268899Sbapt	* 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:
724268899Sbapt	reference output for testing
725268899Sbapt
726268899Sbapt	* test/err_syntax11.y: testcase for reprec_warning()
727268899Sbapt
728268899Sbapt	* 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:
729268899Sbapt	reference output for testing
730268899Sbapt
731268899Sbapt	* test/err_syntax10.y: testcase for retyped_warning()
732268899Sbapt
733268899Sbapt2014-03-21  Thomas E. Dickey  <tom@invisible-island.net>
734268899Sbapt
735268899Sbapt	* 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:
736268899Sbapt	reference output for testing
737268899Sbapt
738268899Sbapt	* test/err_syntax9.y: testcase for tokenized_start()
739268899Sbapt
740268899Sbapt	* 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:
741268899Sbapt	reference output for testing
742268899Sbapt
743268899Sbapt	* test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved()
744268899Sbapt
745268899Sbapt	* 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:
746268899Sbapt	reference output for testing
747268899Sbapt
748268899Sbapt	* test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y:
749268899Sbapt	testcase for illegal_character()
750268899Sbapt
751268899Sbapt	* 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:
752268899Sbapt	reference output for testing
753268899Sbapt
754268899Sbapt	* test/err_syntax6.y: testcase for illegal_tag()
755268899Sbapt
756268899Sbapt	* 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:
757268899Sbapt	reference output for testing
758268899Sbapt
759268899Sbapt	* test/err_syntax5.y: testcase for unterminated_union()
760268899Sbapt
761268899Sbapt	* 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:
762268899Sbapt	reference output for testing
763268899Sbapt
764268899Sbapt	* test/err_syntax4.y: testcase for unterminated_text()
765268899Sbapt
766268899Sbapt	* 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:
767268899Sbapt	reference output for testing
768268899Sbapt
769268899Sbapt	* test/err_syntax3.y: testcase for unterminated_string()
770268899Sbapt
771268899Sbapt	* 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:
772268899Sbapt	reference output for testing
773268899Sbapt
774268899Sbapt	* test/err_syntax2.y: testcase for unterminated_comment()
775268899Sbapt
776268899Sbapt	* test/err_syntax1.error, test/yacc/err_syntax1.error:
777268899Sbapt	reference output for testing
778268899Sbapt
779268899Sbapt	* test/err_syntax1.y:
780268899Sbapt	test-case with syntax error (and nonprinting character)
781268899Sbapt
782268899Sbapt	* 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:
783268899Sbapt	reference output for testing
784268899Sbapt
785268899Sbapt	* test/run_test.sh:
786268899Sbapt	save stderr to reference files, to capture shift/reduce messages as well
787268899Sbapt	as syntax-error messages
788268899Sbapt
789268899Sbapt	* 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:
790268899Sbapt	reference output for testing
791268899Sbapt
792268899Sbapt	* test/run_test.sh: generate a ".dot" file for the grammar file
793268899Sbapt
794268899Sbapt	* test/grammar.dot: RCS_BASE
795268899Sbapt
796268899Sbapt	* test/yacc/grammar.dot: reference output for testing
797268899Sbapt
798268899Sbapt2014-03-19  Tom.Shields
799268899Sbapt
800268899Sbapt	* output.c: rename MAXSHORT to MAXYYINT
801268899Sbapt
802268899Sbapt2014-03-18  Tom.Shields
803268899Sbapt
804268899Sbapt	* yaccpar.skel: skeleton with btyacc additions
805268899Sbapt
806268899Sbapt	* NOTES-btyacc-Changes: byacc-btyacc-20140323
807268899Sbapt
808268899Sbapt	* test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h:
809268899Sbapt	reference output for testing
810268899Sbapt
811268899Sbapt	* test/run_make.sh:
812268899Sbapt	move test-outputs into subdirectories to keep btyacc/yacc results separate
813268899Sbapt
814268899Sbapt	* 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:
815268899Sbapt	reference output for testing
816268899Sbapt
817268899Sbapt	* defs.h:
818268899Sbapt	several changes to help decouple the use of 'short' as the type of value
819268899Sbapt	used in yacc parsers.
820268899Sbapt
821268899Sbapt	* NOTES-btyacc-Disposition: byacc-btyacc-20140323
822268899Sbapt
823268899Sbapt2014-03-17  Tom.Shields
824268899Sbapt
825268899Sbapt	* skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE
826268899Sbapt
827268899Sbapt	* test/run_lint.sh:
828268899Sbapt	move test-outputs into subdirectories to keep btyacc/yacc results separate
829268899Sbapt
830268899Sbapt	* configure.in: add --with-max-table-size and --enable-btyacc options
831268899Sbapt
832268899Sbapt2014-03-16  Tom.Shields
833268899Sbapt
834268899Sbapt	* main.c: use Value_t rather than short
835268899Sbapt
836268899Sbapt2014-03-11  Tom.Shields
837268899Sbapt
838268899Sbapt	* test/empty.y: testcase for btyacc
839268899Sbapt
840268899Sbapt2014-03-10  Tom.Shields
841268899Sbapt
842268899Sbapt	* test/calc3.y, test/calc2.y: fix unused-variable warning
843268899Sbapt
844268899Sbapt2014-02-18  Tom.Shields
845268899Sbapt
846268899Sbapt	* lr0.c, graph.c: use Value_t rather than short
847268899Sbapt
848268899Sbapt	* closure.c: use Value_t rather than short
849268899Sbapt	ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions
850268899Sbapt
851268899Sbapt	* lalr.c: rename MAXSHORT to MAXYYINT
852268899Sbapt
853268899Sbapt2014-01-01  Thomas E. Dickey  <tom@invisible-island.net>
854268899Sbapt
855268899Sbapt	* yacc.1: document %token-table, improve presentation of double-quotes
856268899Sbapt
857268899Sbapt	* VERSION, package/byacc.spec, package/debian/changelog: bump
858268899Sbapt
859268899Sbapt	* 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:
860268899Sbapt	reference output for testing
861268899Sbapt
862268899Sbapt	* 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:
863268899Sbapt	regen
864268899Sbapt
865268899Sbapt	* output.c, skeleton.c:
866268899Sbapt	amend the last change so that yytname is #define'd as needed rather than
867268899Sbapt	permanent - to avoid breaking cproto for instance.
868268899Sbapt
869268899Sbapt2014-01-01  Christos.Zoulas
870268899Sbapt
871268899Sbapt	* output.c, defs.h, main.c, reader.c, skeleton.c:
872268899Sbapt	changes to build ntpd using byacc:
873268899Sbapt	- rename yyname[] to yytname[]
874268899Sbapt	- add YYTRANSLATE() macro
875268899Sbapt	- recognize bison's %token-table declaration
876268899Sbapt
877268899Sbapt2014-01-01  Thomas E. Dickey  <tom@invisible-island.net>
878268899Sbapt
879268899Sbapt	* configure: regen
880268899Sbapt
881268899Sbapt	* yacc.1: s/EE/XE/ to work around groff bug on Debian 6
882268899Sbapt
883268899Sbapt	* makefile.in: use CF_MAKE_DOCS
884268899Sbapt
885268899Sbapt	* aclocal.m4: add CF_MAKE_DOCS
886268899Sbapt
887268899Sbapt	* configure.in: use CF_MAKE_DOCS
888268899Sbapt
889268899Sbapt2013-12-26  Thomas E. Dickey  <tom@invisible-island.net>
890268899Sbapt
891268899Sbapt	* config.guess: 2013-11-29
892268899Sbapt
893268899Sbapt2013-11-19  Thomas E. Dickey  <tom@invisible-island.net>
894268899Sbapt
895268899Sbapt	* aclocal.m4: resync with my-autoconf (fixes for clang and mingw)
896268899Sbapt
897268899Sbapt2013-10-25  Thomas E. Dickey  <tom@invisible-island.net>
898268899Sbapt
899268899Sbapt	* config.sub: 2013-10-01
900268899Sbapt
901268899Sbapt2013-09-25  Thomas E. Dickey  <tom@invisible-island.net>
902268899Sbapt
903268899Sbapt	* reader.c: fix two loop-limits found by clang 3.3 --analyze
904268899Sbapt
905268899Sbapt	* configure: regen
906268899Sbapt
907268899Sbapt	* aclocal.m4:
908268899Sbapt	tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses
909268899Sbapt
910268899Sbapt	* package/mingw-byacc.spec: RCS_BASE
911268899Sbapt
912268899Sbapt	* 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:
913268899Sbapt	regen
914268899Sbapt
915268899Sbapt	* skeleton.c:
916268899Sbapt	Increase default stack-size to match FreeBSD version noted as from
917268899Sbapt	"BSD 4.4 Lite Usr.bin Sources".  See
918268899Sbapt
919268899Sbapt		http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/
920268899Sbapt		http://svnweb.freebsd.org/base/head/usr.bin/yacc/
921268899Sbapt		http://svnweb.freebsd.org/base/vendor/byacc/
922268899Sbapt
923268899Sbapt	The original 1.9 sources (on which I based development) used 500 for
924268899Sbapt	stacksize; the BSD Lite sources (a year or two later) used 10000.
925268899Sbapt
926268899Sbapt	This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE
927268899Sbapt	symbols have "always" been overridable by applications, but rarely
928268899Sbapt	needed to do this.  RedHat began using the FreeBSD source in 2000,
929268899Sbapt	and switched to this source in 2007 using the 20050813 snapshot.
930268899Sbapt
931268899Sbapt	RedHat #743343 misattributed the change in default stacksize to
932268899Sbapt	a regression in byacc, but did not report the issue upstream.
933268899Sbapt
934268899Sbapt	* package/debian/changelog, VERSION, package/byacc.spec: bump
935268899Sbapt
936268899Sbapt2013-09-07  Thomas E. Dickey  <tom@invisible-island.net>
937268899Sbapt
938268899Sbapt	* config.sub: update to 2013-09-15
939268899Sbapt
940268899Sbapt	* config.guess: update to 2013-06-10
941268899Sbapt
942251143Sbapt2013-03-04  Thomas E. Dickey  <tom@invisible-island.net>
943251143Sbapt
944251143Sbapt	* package/debian/changelog, VERSION, package/byacc.spec: bump
945251143Sbapt
946251143Sbapt	* aclocal.m4:
947251143Sbapt	adapt tweak from Dave Becket to work around long-ago breakage in "new" autoconf.
948251143Sbapt
949251143Sbapt	* output.c:
950251143Sbapt	fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton).
951251143Sbapt	also while testing that, found a case where the union_file is unused; added
952251143Sbapt	a check for address that.
953251143Sbapt
954251143Sbapt	* test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen
955251143Sbapt
956251143Sbapt	* test/ftp.y: fix most compiler warnings for "make check_make"
957251143Sbapt
958251143Sbapt	* test/calc1.tab.c: regen
959251143Sbapt
960251143Sbapt	* test/calc1.y: fix most compiler warnings for "make check_make"
961251143Sbapt
962251143Sbapt	* 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:
963251143Sbapt	regen
964251143Sbapt
965251143Sbapt	* skeleton.c: quiet a gcc conversion-warning in yygrowstack()
966251143Sbapt
967251143Sbapt	* configure: regen
968251143Sbapt
969251143Sbapt	* aclocal.m4:
970251143Sbapt	another fix for CF_GCC_VERSION to handle Debian's modification of gcc message.
971251143Sbapt
972251143Sbapt2013-02-10  Thomas E. Dickey  <tom@invisible-island.net>
973251143Sbapt
974268899Sbapt	* config.sub, config.guess: update to 2013-02-04
975251143Sbapt
976251143Sbapt2012-10-03  Thomas E. Dickey  <tom@invisible-island.net>
977251143Sbapt
978251143Sbapt	* package/debian/changelog, package/byacc.spec, VERSION: bump
979251143Sbapt
980251143Sbapt	* configure: regen
981251143Sbapt
982251143Sbapt	* configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC
983251143Sbapt
984251143Sbapt	* aclocal.m4:
985251143Sbapt	moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc)
986251143Sbapt	the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor.
987251143Sbapt
988251143Sbapt	* aclocal.m4, configure.in:
989251143Sbapt	Arian's change dropped my check for misused $CC variable - restore that with
990251143Sbapt	alternate macro CF_PROG_CC.
991251143Sbapt
992251143Sbapt2012-10-03  Adrian.Bunk
993251143Sbapt
994251143Sbapt	* aclocal.m4:
995251143Sbapt	suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since
996251143Sbapt	they are not needed.
997251143Sbapt
998251143Sbapt2012-10-03  Thomas E. Dickey  <tom@invisible-island.net>
999251143Sbapt
1000251143Sbapt	* aclocal.m4:
1001251143Sbapt	split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in
1002251143Sbapt	Adrian's suggested changes.
1003251143Sbapt
1004251143Sbapt	* aclocal.m4:
1005251143Sbapt	CF_CLANG_COMPILER - check if the given compiler is really clang.
1006251143Sbapt
1007251143Sbapt	* aclocal.m4:
1008251143Sbapt	add check for clang to CF_GCC_WARNINGS.  modify CF_GCC_WARNINGS to work around
1009251143Sbapt	old gcc warning:  ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1
1010251143Sbapt	on my Sarge system (versus 3.3.5 for the normal gcc).  The 2.8.1's
1011251143Sbapt	pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work
1012251143Sbapt	around by excluding that check for pre-3.x compilers.
1013251143Sbapt
1014251143Sbapt	* aclocal.m4:
1015251143Sbapt	modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions
1016251143Sbapt	provided by this macro.  use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather
1017251143Sbapt	than appending to confdefs.h, since long-ago concern about the ability to
1018251143Sbapt	pass-through parameterized macros appears to be not a problem, testing with
1019251143Sbapt	2.13 and 2.52
1020251143Sbapt
1021251143Sbapt2012-10-03  Adrian.Bunk
1022251143Sbapt
1023251143Sbapt	* aclocal.m4:
1024251143Sbapt	add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by
1025251143Sbapt	autoheader, updated macros:
1026251143Sbapt		CF_CHECK_CACHE
1027251143Sbapt		CF_DISABLE_LEAKS
1028251143Sbapt		CF_MKSTEMP
1029251143Sbapt		CF_MIXEDCASE_FILENAMES
1030251143Sbapt		CF_NO_LEAKS_OPTION
1031251143Sbapt
1032251143Sbapt2012-10-03  Thomas E. Dickey  <tom@invisible-island.net>
1033251143Sbapt
1034251143Sbapt	* aclocal.m4:
1035251143Sbapt	move existence-check for mkstemp out of the AC_TRY_RUN, to help with
1036251143Sbapt	cross-compiles
1037251143Sbapt
1038251143Sbapt2012-10-02  Thomas E. Dickey  <tom@invisible-island.net>
1039251143Sbapt
1040251143Sbapt	* config_h.in:
1041251143Sbapt	Adrian Bunk request - replace this with the output from autoheader
1042251143Sbapt
1043251143Sbapt2012-09-29  Adrian.Bunk
1044251143Sbapt
1045251143Sbapt	* configure.in:
1046251143Sbapt	suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no
1047251143Sbapt	check is needed anymore for standard C compilers), drop AC_CONST (same
1048251143Sbapt	reason), modify AC_OUTPUT to rely upon template generated by autoheader.
1049251143Sbapt	bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT
1050251143Sbapt	as being obsolete with autoconf 2.52x
1051251143Sbapt
1052251143Sbapt	* configure.in, main.c: drop check for atexit, because it is standard C
1053251143Sbapt
1054251143Sbapt	* makefile.in: add assignment for datarootdir variable.
1055251143Sbapt
1056240517Sbapt2012-05-26  Thomas E. Dickey  <tom@invisible-island.net>
1057240517Sbapt
1058240517Sbapt	* package/debian/changelog, package/byacc.spec, VERSION: bump
1059240517Sbapt
1060240517Sbapt	* reader.c:
1061240517Sbapt	some versions of gcc may warn that bp is not set in mark_symbol, e.g.,
1062240517Sbapt	if GCC_NORETURN is not handled; appease the compiler.
1063240517Sbapt
1064240517Sbapt	* reader.c:
1065240517Sbapt	use the declared types Assoc_t and Value_t in some places where compiler only
1066240517Sbapt	cared about char versus short.
1067240517Sbapt
1068240517Sbapt	* reader.c:
1069240517Sbapt	use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
1070240517Sbapt	(no object change)
1071240517Sbapt
1072240517Sbapt	* defs.h:
1073240517Sbapt	add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD
1074240517Sbapt	packagers to build without configure script.  Also remove duplicate declaration
1075240517Sbapt	of pure_parser variable (prompted by patch by Baptiste Daroussin).
1076240517Sbapt
1077240517Sbapt	Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and
1078240517Sbapt	REALLOC macros.
1079240517Sbapt
1080240517Sbapt	* symtab.c:
1081240517Sbapt	use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
1082240517Sbapt	(no object change)
1083240517Sbapt
1084240517Sbapt2012-05-25  Thomas E. Dickey  <tom@invisible-island.net>
1085240517Sbapt
1086240517Sbapt	* output.c, main.c, verbose.c, mkpar.c, lr0.c:
1087240517Sbapt	use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
1088240517Sbapt	(no object change)
1089240517Sbapt
1090234949Sbapt2012-01-15  Thomas E. Dickey  <tom@invisible-island.net>
1091234949Sbapt
1092234949Sbapt	* package/debian/copyright: bump
1093234949Sbapt
1094234949Sbapt	* test/run_make.sh: workaround for breakage due to GNU make 3.82
1095234949Sbapt
1096234949Sbapt	* test/run_make.sh:
1097234949Sbapt	tested with Solaris 10 (bison 1.875) and added scripting to exercise
1098234949Sbapt	the /usr/ccs/bin/yacc executable
1099234949Sbapt
1100234949Sbapt	* test/grammar.tab.c: regen
1101234949Sbapt
1102234949Sbapt	* test/grammar.y: modify to also build with Solaris yacc
1103234949Sbapt
1104234949Sbapt	* VERSION, package/debian/changelog, package/byacc.spec: bump
1105234949Sbapt
1106268899Sbapt	* test/yacc/calc1.output: reference output for testing
1107268899Sbapt
1108234949Sbapt	* test/calc1.output, test/calc1.tab.c: regen
1109234949Sbapt
1110234949Sbapt	* test/calc1.y:
1111234949Sbapt	undo the change made to appease bison, since it was only a warning.
1112234949Sbapt
1113234949Sbapt	* test/pure_calc.tab.c, test/pure_error.tab.c: regen
1114234949Sbapt
1115234949Sbapt	* test/run_make.sh: another fix for running from top-level directory
1116234949Sbapt
1117234949Sbapt	* makefile.in:
1118234949Sbapt	ensure that check_make rule depends on having byacc built.
1119234949Sbapt
1120234949Sbapt	* test/run_make.sh: fixes for building from parent directory
1121234949Sbapt
1122234949Sbapt	* test/pure_error.y, test/pure_calc.y: bison-fixes
1123234949Sbapt
1124234949Sbapt	* 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:
1125234949Sbapt	regen
1126234949Sbapt
1127268899Sbapt	* test/code_debug.y: RCS_BASE
1128268899Sbapt
1129234949Sbapt	* test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y:
1130234949Sbapt	byacc already declares yyerror
1131234949Sbapt
1132234949Sbapt	* test/pure_error.y, test/pure_calc.y:
1133234949Sbapt	modified to help make the files build with bison
1134234949Sbapt
1135234949Sbapt	* test/run_make.sh:
1136234949Sbapt	supply a "%pure-parser" directive when bison needs it.
1137234949Sbapt
1138234949Sbapt	* test/code_calc.code.c: regen
1139234949Sbapt
1140234949Sbapt	* test/code_calc.y: modified to help make the files build with bison
1141234949Sbapt
1142234949Sbapt	* yacc.1:
1143234949Sbapt	in testing, found that %expect did not work as documented for bison.
1144234949Sbapt	do not recommend it for portable code.
1145234949Sbapt
1146234949Sbapt	* test/run_make.sh: workaround breakage in bison's %expect directive
1147234949Sbapt
1148234949Sbapt	* test/grammar.y: modified to help make the files build with bison
1149234949Sbapt
1150234949Sbapt	* test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen
1151234949Sbapt
1152234949Sbapt	* test/calc1.y: quiet a spurious warning from bison 2.3
1153234949Sbapt
1154234949Sbapt	* test/calc1.tab.c: regen
1155234949Sbapt
1156234949Sbapt	* test/calc1.y: modified to help make the files build with bison
1157234949Sbapt
1158234949Sbapt	* yacc.1: comment on "-y" and "-P" options.
1159234949Sbapt
1160234949Sbapt	* yacc.1: comment on portability
1161234949Sbapt
1162234949Sbapt	* 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:
1163234949Sbapt	regen
1164234949Sbapt
1165234949Sbapt	* test/ftp.y: modified to help make the files build with bison
1166234949Sbapt	(bison's "-y" option is of no use in providing "yacc" compatibility)
1167234949Sbapt
1168234949Sbapt	* test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
1169234949Sbapt	regen
1170234949Sbapt
1171234949Sbapt	* test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, test/quote_calc4.y, test/quote_calc3.y:
1172234949Sbapt	modified to help make the files build with bison
1173234949Sbapt
1174234949Sbapt	* test/calc.tab.c: regen
1175234949Sbapt
1176234949Sbapt	* test/calc.y: modified to help make the files build with bison
1177234949Sbapt
1178234949Sbapt	* test/error.tab.c: regen
1179234949Sbapt
1180234949Sbapt	* test/error.y: modified to help make the files build with bison
1181234949Sbapt
1182234949Sbapt	* test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen
1183234949Sbapt
1184234949Sbapt	* test/run_make.sh:
1185234949Sbapt	check for older bisons which (2.3 for instance) do not support pure parsers
1186234949Sbapt
1187234949Sbapt	* test/code_error.y, test/calc3.y, test/calc2.y:
1188234949Sbapt	modified to help make the files build with bison
1189234949Sbapt
1190234949Sbapt	* test/run_test.sh: use $opt2 in filenames of the generated files
1191234949Sbapt
1192234949Sbapt	* 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:
1193234949Sbapt	regen
1194234949Sbapt
1195234949Sbapt2012-01-14  Thomas E. Dickey  <tom@invisible-island.net>
1196234949Sbapt
1197234949Sbapt	* 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:
1198234949Sbapt	regen
1199234949Sbapt
1200234949Sbapt	* output.c: Several changes:
1201234949Sbapt		a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex.
1202234949Sbapt		b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL,
1203234949Sbapt		   using YYLEX_PARAM_TYPE and YYLEX_PARAM.
1204234949Sbapt		c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL,
1205234949Sbapt		   to help with redefinitions.
1206234949Sbapt
1207234949Sbapt	* test/pure_calc.tab.c:
1208234949Sbapt	modified to help make the files build with bison
1209234949Sbapt
1210234949Sbapt	* test/run_make.sh:
1211234949Sbapt	start work on followup, to check if the generated files build with bison.
1212234949Sbapt
1213234949Sbapt	* test/pure_calc.y, test/pure_error.tab.c:
1214234949Sbapt	modified to help make the files build with bison
1215234949Sbapt
1216234949Sbapt	* test/calc3.tab.c: regen
1217234949Sbapt
1218234949Sbapt	* 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:
1219234949Sbapt	RCS_BASE
1220234949Sbapt
1221268899Sbapt	* 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:
1222268899Sbapt	reference output for testing
1223268899Sbapt
1224234949Sbapt	* test/run_test.sh: generate/test with "-s" option applied.
1225234949Sbapt
1226234949Sbapt2012-01-13  Thomas E. Dickey  <tom@invisible-island.net>
1227234949Sbapt
1228234949Sbapt	* package/debian/changelog, package/byacc.spec, VERSION: bump
1229234949Sbapt
1230234949Sbapt	* yacc.1: improve documentation of -s option
1231234949Sbapt
1232234949Sbapt	* yacc.1: note that yacc ignores -y
1233234949Sbapt
1234234949Sbapt	* main.c: add -s option to usage message.
1235234949Sbapt
1236268899Sbapt	* test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h:
1237234949Sbapt	RCS_BASE
1238234949Sbapt
1239268899Sbapt	* test/yacc/quote_calc3.output, test/yacc/quote_calc4.output, test/yacc/quote_calc4.tab.h:
1240268899Sbapt	reference output for testing
1241268899Sbapt
1242268899Sbapt	* test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE
1243268899Sbapt
1244268899Sbapt	* test/yacc/quote_calc.tab.h: reference output for testing
1245268899Sbapt
1246268899Sbapt	* 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:
1247268899Sbapt	RCS_BASE
1248268899Sbapt
1249268899Sbapt	* test/yacc/quote_calc.output, test/yacc/quote_calc2.output, test/yacc/quote_calc2.tab.h, test/yacc/quote_calc3.tab.h:
1250268899Sbapt	reference output for testing
1251268899Sbapt
1252268899Sbapt	* test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE
1253268899Sbapt
1254234949Sbapt	* configure: regen
1255234949Sbapt
1256234949Sbapt	* aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE
1257234949Sbapt
1258234949Sbapt2011-12-19  Thomas E. Dickey  <tom@invisible-island.net>
1259234949Sbapt
1260234949Sbapt	* package/debian/changelog, package/byacc.spec, VERSION: bump
1261234949Sbapt
1262234949Sbapt	* yacc.1, output.c, main.c, defs.h:
1263234949Sbapt	add "-s" option to suppress generating #define's based on string contents
1264234949Sbapt	in a %token statement.  For instance
1265234949Sbapt		%token EQLS "Equals"
1266234949Sbapt	would generate
1267234949Sbapt		#define EQLS 256
1268234949Sbapt		#define Equals 257
1269234949Sbapt	Simply suppressing the second #define makes the behavior closer to yacc.
1270234949Sbapt	(report by Paulo Andrade).
1271234949Sbapt
1272234949Sbapt2011-09-08  Thomas E. Dickey  <tom@invisible-island.net>
1273234949Sbapt
1274234949Sbapt	* package/debian/changelog, package/byacc.spec, VERSION: bump
1275234949Sbapt
1276234949Sbapt	* output.c:
1277234949Sbapt	fix some more interaction between -i and -d flags to ensure YYERRCODE
1278234949Sbapt	and YYSTYPE are declared, tested with cproto.
1279234949Sbapt
1280234949Sbapt2011-09-07  Thomas E. Dickey  <tom@invisible-island.net>
1281234949Sbapt
1282234949Sbapt	* yacc.1: document "-i" option.
1283234949Sbapt
1284234949Sbapt	* package/debian/changelog, package/byacc.spec, VERSION: bump
1285234949Sbapt
1286234949Sbapt	* output.c: fix an interaction between -i and -d
1287234949Sbapt
1288234949Sbapt	* 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:
1289234949Sbapt	regen - changes for "-i" option move the global/impure variables near the
1290234949Sbapt	macros that may add a prefix, etc.
1291234949Sbapt
1292234949Sbapt	* skeleton.c, output.c, defs.h: changes to support "-i" option.
1293234949Sbapt
1294234949Sbapt2011-09-06  Thomas E. Dickey  <tom@invisible-island.net>
1295234949Sbapt
1296234949Sbapt	* reader.c: pass explicit file-pointer to write_section()
1297234949Sbapt
1298234949Sbapt	* main.c:
1299234949Sbapt	add "-i" option, to generate interface-file (suggested by Denis M. Wilson)
1300234949Sbapt
1301234949Sbapt2011-09-05  Thomas E. Dickey  <tom@invisible-island.net>
1302234949Sbapt
1303234949Sbapt	* configure: regen
1304234949Sbapt
1305234949Sbapt	* aclocal.m4:
1306234949Sbapt	resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC)
1307234949Sbapt	and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks)
1308234949Sbapt
1309234949Sbapt	* defs.h, error.c, reader.c:
1310234949Sbapt	add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson)
1311234949Sbapt
1312234949Sbapt2011-04-01  Thomas E. Dickey  <tom@invisible-island.net>
1313234949Sbapt
1314268899Sbapt	* config.sub: update to 2011-04-01
1315234949Sbapt
1316234949Sbapt2011-02-02  Thomas E. Dickey  <tom@invisible-island.net>
1317234949Sbapt
1318268899Sbapt	* config.guess: update to 2011-01-01
1319234949Sbapt
1320234949Sbapt2010-12-29  Thomas E. Dickey  <tom@invisible-island.net>
1321234949Sbapt
1322234949Sbapt	* defs.h, skeleton.c:
1323234949Sbapt	add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas)
1324234949Sbapt
1325234949Sbapt	* defs.h:
1326234949Sbapt	mark all of the error-functions as non-returning (report by Christos Zoulas)
1327234949Sbapt
1328234949Sbapt	* 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:
1329234949Sbapt	regen
1330234949Sbapt
1331234949Sbapt	* skeleton.c:
1332234949Sbapt	use only realloc() rather than realloc+malloc, agree that systems needing this
1333234949Sbapt	are very rare (prompted by NetBSD change).
1334234949Sbapt
1335234949Sbapt	* test/ftp.tab.c: regen
1336234949Sbapt
1337234949Sbapt2010-12-29  Christos.Zoulas
1338234949Sbapt
1339234949Sbapt	* test/ftp.y:
1340234949Sbapt	improve example, which was stuck in 19XX and assumed file sizes were longs.
1341234949Sbapt
1342234949Sbapt2010-12-29  Thomas E. Dickey  <tom@invisible-island.net>
1343234949Sbapt
1344234949Sbapt	* 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:
1345234949Sbapt	regen
1346234949Sbapt
1347234949Sbapt	* 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:
1348234949Sbapt	use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror
1349234949Sbapt
1350234949Sbapt	* skeleton.c:
1351234949Sbapt	remove explicit prototype for yylex() via YYLEX_DECL() macro, since that
1352234949Sbapt	would prevent declaring yylex() static (request by Christos Zoulas).
1353234949Sbapt
1354234949Sbapt	* test/calc2.tab.c, test/calc3.tab.c: regen
1355234949Sbapt
1356234949Sbapt2010-12-29  Christos.Zoulas
1357234949Sbapt
1358234949Sbapt	* output.c: correct definition for YYERROR_DECL()
1359234949Sbapt
1360234949Sbapt2010-12-29  Thomas E. Dickey  <tom@invisible-island.net>
1361234949Sbapt
1362234949Sbapt	* package/debian/changelog, package/byacc.spec, VERSION: bump
1363234949Sbapt
1364234949Sbapt2010-12-26  Thomas E. Dickey  <tom@invisible-island.net>
1365234949Sbapt
1366234949Sbapt	* defs.h, main.c:
1367234949Sbapt	change return-type of allocate() to avoid warnings of alignment problems
1368234949Sbapt
1369234949Sbapt	* main.c: Solaris declares chmod() in <sys/stat.h>
1370234949Sbapt
1371234949Sbapt	* configure: regen
1372234949Sbapt
1373234949Sbapt	* main.c: ifdef'd use of fcntl.h
1374234949Sbapt
1375234949Sbapt	* configure.in: add configure checks for fcntl.h, atexit and mkstemp
1376234949Sbapt
1377234949Sbapt	* main.c: for cases where mkstemp() is not available, use tempnam/open
1378234949Sbapt
1379234949Sbapt	* aclocal.m4: add CF_MKSTEMP
1380234949Sbapt
1381234949Sbapt	* aclocal.m4:
1382234949Sbapt	improve quoting, deprecate ${name-value} in favor of standard ${name:-value}
1383234949Sbapt
1384234949Sbapt2010-12-25  Thomas E. Dickey  <tom@invisible-island.net>
1385234949Sbapt
1386234949Sbapt	* main.c:
1387234949Sbapt	start revising use of tmpfile(), to make this work with MinGW.  Start by
1388234949Sbapt	implementing a mkstemp() alternative - noting that mkstemp() also is broken
1389234949Sbapt	for MinGW.
1390234949Sbapt
1391234949Sbapt	* package/debian/changelog, package/byacc.spec, VERSION: bump
1392234949Sbapt
1393234949Sbapt2010-11-27  Thomas E. Dickey  <tom@invisible-island.net>
1394234949Sbapt
1395234949Sbapt	* package/byacc.spec, package/debian/changelog, VERSION: bump
1396234949Sbapt
1397234949Sbapt	* test/calc2.tab.c, test/calc3.tab.c: regen
1398234949Sbapt
1399234949Sbapt	* output.c:
1400234949Sbapt	corrected use of %parse-param value in yyerror(); it doesn't use &yylval
1401234949Sbapt	(report by Clifford Yapp)
1402234949Sbapt
1403234949Sbapt2010-11-26  Thomas E. Dickey  <tom@invisible-island.net>
1404234949Sbapt
1405234949Sbapt	* skeleton.c: typo
1406234949Sbapt
1407234949Sbapt	* output.c:
1408234949Sbapt	correct line-numbering when "-r" option is used; the 'outline' variable
1409234949Sbapt	should only be incremented when writing to the code-file.
1410234949Sbapt
1411234949Sbapt	* test/code_calc.code.c, test/code_error.code.c: regen
1412234949Sbapt
1413234949Sbapt	* yacc.1: bump date
1414234949Sbapt
1415234949Sbapt	* yacc.1: comment on -b option vs -r
1416234949Sbapt
1417234949Sbapt	* 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:
1418234949Sbapt	regen
1419234949Sbapt
1420234949Sbapt	* output.c:
1421234949Sbapt	improve on YYERROR_DECL(), adding dummy params which can be used for the
1422234949Sbapt	actual function declaration.  Also add YYERROR_CALL().  The two macros
1423234949Sbapt	simplify maintaining sets of grammars which may/may not be pure.
1424234949Sbapt
1425234949Sbapt	* 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:
1426234949Sbapt	regen
1427234949Sbapt
1428234949Sbapt	* output.c: generate yyerror() calls in output.c
1429234949Sbapt	This is for compatibility with bison, which passes the yylval to yyerror
1430234949Sbapt	when the %parse-param feature is used.
1431234949Sbapt
1432234949Sbapt	* skeleton.c, defs.h: generate yyerror() calls in output.c
1433234949Sbapt
1434234949Sbapt	* output.c: simplified a little, using putc_code() and putl_code()
1435234949Sbapt
1436268899Sbapt	* test/yacc/calc1.tab.h: reference output for testing
1437268899Sbapt
1438234949Sbapt	* test/calc1.tab.h: regen
1439234949Sbapt
1440234949Sbapt	* reader.c:
1441234949Sbapt	improve ifdef for YYSTYPE union declaration (report by Clifford Yapp)
1442234949Sbapt
1443234949Sbapt	* reader.c:
1444234949Sbapt	accept underscore as a replacement for dash in command names, e.g.,
1445234949Sbapt	"%pure_parser" vs "%pure-parser".
1446234949Sbapt
1447234949Sbapt	* test/calc1.tab.c: regen
1448234949Sbapt
1449234949Sbapt	* output.c, reader.c:
1450234949Sbapt	also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp)
1451234949Sbapt
1452234949Sbapt	* package/debian/changelog, package/byacc.spec, VERSION: bump
1453234949Sbapt
1454234949Sbapt2010-11-24  Thomas E. Dickey  <tom@invisible-island.net>
1455234949Sbapt
1456234949Sbapt	* main.c, defs.h, symtab.c, error.c: reduce global variables
1457234949Sbapt
1458234949Sbapt	* package/debian/changelog, package/byacc.spec, VERSION: bump
1459234949Sbapt
1460234949Sbapt	* reader.c:
1461234949Sbapt	amend fix for Redhat #112617 to still call default_action_warning() for
1462234949Sbapt	empty rules (report by Bruce Cran).
1463234949Sbapt
1464234949Sbapt2010-11-22  Thomas E. Dickey  <tom@invisible-island.net>
1465234949Sbapt
1466234949Sbapt	* output.c:
1467234949Sbapt	add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp).
1468234949Sbapt
1469234949Sbapt	* test/calc1.tab.c: regen
1470234949Sbapt
1471234949Sbapt	* test/calc1.y: cleanup compiler warnings
1472234949Sbapt
1473234949Sbapt	* test/grammar.y: add "%expect"
1474234949Sbapt
1475234949Sbapt	* test/calc1.tab.h: regen
1476234949Sbapt
1477234949Sbapt	* test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE
1478234949Sbapt
1479234949Sbapt	* test/calc2.tab.c, test/calc3.tab.c: regen
1480234949Sbapt
1481234949Sbapt	* test/calc1.y:
1482234949Sbapt	advanced example from Steve Johnson's paper, uses unions
1483234949Sbapt
1484234949Sbapt	* test/calc3.y, test/calc2.y: init 'base', so examples can run
1485234949Sbapt
1486234949Sbapt	* test/ftp.tab.c, test/ftp.y: tweaks to compile with g++
1487234949Sbapt
1488234949Sbapt	* output.c: compensate for fix in reader.c
1489234949Sbapt
1490234949Sbapt	* reader.c:
1491234949Sbapt	add/use putc_both() and puts_both(), incidentally fixing a place where
1492234949Sbapt	a union copied to the union_file may be missing the end of the last line.
1493234949Sbapt
1494234949Sbapt	* package/debian/changelog, package/byacc.spec, VERSION: bump
1495234949Sbapt
1496234949Sbapt2010-09-28  Thomas E. Dickey  <tom@invisible-island.net>
1497234949Sbapt
1498268899Sbapt	* config.guess: update to 2010-09-24
1499234949Sbapt
1500234949Sbapt2010-09-10  Thomas E. Dickey  <tom@invisible-island.net>
1501234949Sbapt
1502268899Sbapt	* config.sub: update to 2010-09-11
1503234949Sbapt
1504234949Sbapt2010-06-10  Thomas E. Dickey  <tom@invisible-island.net>
1505234949Sbapt
1506234949Sbapt	* yacc.1, package/debian/changelog, package/byacc.spec, VERSION:
1507234949Sbapt	bump to 2010/06/10
1508234949Sbapt
1509234949Sbapt2010-06-09  Thomas E. Dickey  <tom@invisible-island.net>
1510234949Sbapt
1511234949Sbapt	* reader.c: free declarations in leak-testing code.
1512234949Sbapt
1513234949Sbapt	* main.c: close code_file if -r option used, for leak-testing
1514234949Sbapt
1515234949Sbapt	* defs.h, reader.c:
1516234949Sbapt	improve %lex-param / %parse-param implementation by allowing for arrays to
1517234949Sbapt	be passed as parameters, e.g., "int regs[26]".
1518234949Sbapt
1519268899Sbapt	* test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h:
1520234949Sbapt	RCS_BASE
1521234949Sbapt
1522268899Sbapt	* test/yacc/calc3.output, test/yacc/calc3.tab.h:
1523268899Sbapt	reference output for testing
1524268899Sbapt
1525268899Sbapt	* test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE
1526268899Sbapt
1527268899Sbapt	* test/yacc/calc2.tab.h: reference output for testing
1528268899Sbapt
1529268899Sbapt	* test/calc2.output: RCS_BASE
1530268899Sbapt
1531268899Sbapt	* test/yacc/calc2.output: reference output for testing
1532268899Sbapt
1533234949Sbapt	* output.c:
1534234949Sbapt	improve %lex-param / %parse-param implementation by allowing for arrays to
1535234949Sbapt	be passed as parameters, e.g., "int regs[26]".
1536234949Sbapt
1537234949Sbapt	* test/calc.tab.c, test/calc.y:
1538234949Sbapt	test-cases and reference files for %lex-param / %parse-param
1539234949Sbapt
1540234949Sbapt	* makefile.in: add docs-rule, for html/pdf/txt form of manpage
1541234949Sbapt
1542234949Sbapt	* configure: regen
1543234949Sbapt
1544234949Sbapt	* aclocal.m4: add CF_XOPEN_SOURCE, etc.
1545234949Sbapt
1546234949Sbapt	* configure.in:
1547234949Sbapt	use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89
1548234949Sbapt
1549234949Sbapt	* 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:
1550234949Sbapt	fix warnings from clang --analyze
1551234949Sbapt
1552234949Sbapt2010-06-08  Thomas E. Dickey  <tom@invisible-island.net>
1553234949Sbapt
1554234949Sbapt	* output.c: fix to build with c89, etc.
1555234949Sbapt
1556234949Sbapt	* reader.c: gcc warning
1557234949Sbapt
1558234949Sbapt	* 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:
1559234949Sbapt	modified test-cases to allow them to compile, to validate pure-parser changes.
1560234949Sbapt	updated reference files to match.
1561234949Sbapt
1562234949Sbapt	* output.c:
1563234949Sbapt	move call for output_stype() earlier since it is used in pure-parser declarations
1564234949Sbapt
1565234949Sbapt	* test/grammar.tab.c, test/grammar.y:
1566234949Sbapt	modified test-cases to allow them to compile, to validate pure-parser changes.
1567234949Sbapt	updated reference files to match.
1568234949Sbapt
1569234949Sbapt	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
1570234949Sbapt	regen
1571234949Sbapt
1572234949Sbapt	* yacc.1: document %lex-param and %parse-param
1573234949Sbapt
1574234949Sbapt	* test/run_lint.sh, test/run_make.sh: RCS_BASE
1575234949Sbapt
1576234949Sbapt	* test/run_test.sh:
1577234949Sbapt	further modify to allow build-directory to be in a different location by
1578234949Sbapt	passing this directory's location as a parameter to the script.
1579234949Sbapt
1580234949Sbapt	* makefile.in:
1581234949Sbapt	add check_make and check_lint rules to help validate the generated files
1582234949Sbapt	in the test-directory
1583234949Sbapt
1584234949Sbapt2010-06-07  Thomas E. Dickey  <tom@invisible-island.net>
1585234949Sbapt
1586234949Sbapt	* test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE
1587234949Sbapt
1588234949Sbapt	* test/run_test.sh:
1589234949Sbapt	provide for testing -r and -P options by checking if the ".y" filename
1590234949Sbapt	begins with "code_" or "pure_", respectively.
1591234949Sbapt
1592268899Sbapt	* test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h:
1593234949Sbapt	RCS_BASE
1594234949Sbapt
1595268899Sbapt	* test/yacc/code_error.tab.h: reference output for testing
1596268899Sbapt
1597268899Sbapt	* test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h:
1598268899Sbapt	RCS_BASE
1599268899Sbapt
1600268899Sbapt	* test/yacc/code_calc.tab.h: reference output for testing
1601268899Sbapt
1602268899Sbapt	* test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h:
1603268899Sbapt	RCS_BASE
1604268899Sbapt
1605268899Sbapt	* test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h, test/yacc/pure_error.output, test/yacc/pure_error.tab.h:
1606268899Sbapt	reference output for testing
1607268899Sbapt
1608268899Sbapt	* test/code_calc.output, test/code_error.output: RCS_BASE
1609268899Sbapt
1610268899Sbapt	* test/yacc/code_calc.output, test/yacc/code_error.output:
1611268899Sbapt	reference output for testing
1612268899Sbapt
1613234949Sbapt	* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen
1614234949Sbapt
1615234949Sbapt	* test/run_test.sh:
1616234949Sbapt	changes to support running "make check" in a separate build-tree
1617234949Sbapt
1618234949Sbapt	* main.c: add "-P" to usage message
1619234949Sbapt
1620234949Sbapt	* reader.c: use UCH() macro to hide casts.
1621234949Sbapt
1622234949Sbapt2010-06-07  Andres.Mejia
1623234949Sbapt
1624234949Sbapt	* main.c, output.c, reader.c, defs.h, skeleton.c:
1625234949Sbapt	Fix the output order of the generated parse code file.  This allows for
1626234949Sbapt	the use of YYPARSE_PARAM, by having the output that checks for
1627234949Sbapt	YYPARSE_PARAM to be defined come after the C code block in the
1628234949Sbapt	definitions section of a yacc file.
1629234949Sbapt
1630234949Sbapt	Implement support for YYLEX_PARAM, similar to bison.  This is useful for
1631234949Sbapt	support for building reentrant lexers with flex.
1632234949Sbapt
1633234949Sbapt	Fix a compatibility issue with bison's pure-parser option.  Bison
1634234949Sbapt	defines yylex as sending at least one parameter, &yylval, as the first
1635234949Sbapt	parameter and doesn't seem to have an easy way to remove that parameter.
1636234949Sbapt	This on the other hand is rather convenient to support saving to yylval
1637234949Sbapt	from flex when building reentrant lexers and parsers.
1638234949Sbapt
1639234949Sbapt	Add support for the %parse-param and %lex-param directives used in
1640234949Sbapt	bison.  This change bears some similarity to NetBSD's changes to byacc
1641234949Sbapt	at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html
1642234949Sbapt
1643234949Sbapt	Bison allows for POSIX yacc emulation via a yacc directive in the yacc
1644234949Sbapt	file, and also via a command line switch.  Implement this feature as a
1645234949Sbapt	no-op for byacc, since byacc is designed to be POSIX yacc compatible
1646234949Sbapt	anyway.  This allows for better compatibility with yacc sources written
1647234949Sbapt	for bison.
1648234949Sbapt
1649234949Sbapt2010-06-07  Thomas E. Dickey  <tom@invisible-island.net>
1650234949Sbapt
1651234949Sbapt	* VERSION: bump to 2010/06/07
1652234949Sbapt
1653234949Sbapt2010-06-06  Thomas E. Dickey  <tom@invisible-island.net>
1654234949Sbapt
1655234949Sbapt	* test/calc.tab.c, configure: regen
1656234949Sbapt
1657234949Sbapt	* skeleton.c:
1658234949Sbapt	move #include's down into the generated code, to allow user-defined code
1659234949Sbapt	to override feature definitions, particularly with stdlib.h (request by
1660234949Sbapt	Marcus Kool).
1661234949Sbapt
1662234949Sbapt	* lr0.c, error.c, reader.c, defs.h:
1663234949Sbapt	strict gcc 3.4.6 warnings on 64-bit platform
1664234949Sbapt
1665234949Sbapt	* aclocal.m4, configure.in: add check for lint
1666234949Sbapt
1667234949Sbapt	* makefile.in: add lint rule
1668234949Sbapt
1669234949Sbapt	* defs.h, closure.c, lr0.c, warshall.c, main.c:
1670234949Sbapt	fix gcc warnings, mostly for 64-bit platform
1671234949Sbapt
1672234949Sbapt	* aclocal.m4:
1673234949Sbapt	add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc
1674234949Sbapt
1675234949Sbapt	* makefile.in: add etags/TAGS if available
1676234949Sbapt
1677234949Sbapt	* configure.in: add configure check for actual ctags and etags programs
1678234949Sbapt
1679234949Sbapt	* package/debian/copyright: add copyright notices for non-PD files
1680234949Sbapt
1681234949Sbapt	* package/debian/changelog:
1682234949Sbapt	incorporated scripts in upstream to use for test-builds
1683234949Sbapt
1684234949Sbapt	* makefile.in: drop mkdirs.sh, just use "mkdir -p"
1685234949Sbapt
1686234949Sbapt	* AUTHORS: nicknames for some contributors (see CHANGES for details)
1687234949Sbapt
1688234949Sbapt	* package/byacc.spec: RPM file for byacc
1689234949Sbapt
1690234949Sbapt	* VERSION: bump to 2010/06/06
1691234949Sbapt
1692234949Sbapt	* aclocal.m4: add copyright notice, from "my-autoconf" macros
1693234949Sbapt		http://invisible-island.net/autoconf/autoconf.html
1694234949Sbapt
1695234949Sbapt	* package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS:
1696234949Sbapt	PERMIT FILE
1697234949Sbapt
1698234949Sbapt	* aclocal.m4: resync with my-autoconf.  summary of changes:
1699234949Sbapt		a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter
1700234949Sbapt		b) CF_DISABLE_ECHO, change indent-convention for substituted makefile
1701234949Sbapt		c) CF_GCC_VERSION, ignore stderr
1702234949Sbapt		d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc
1703234949Sbapt
1704234949Sbapt2010-04-20  Thomas E. Dickey  <tom@invisible-island.net>
1705234949Sbapt
1706234949Sbapt	* 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:
1707234949Sbapt	scripts from Debian package
1708234949Sbapt
1709234949Sbapt2010-02-16  Thomas E. Dickey  <tom@invisible-island.net>
1710234949Sbapt
1711234949Sbapt	* yacc.1: document -P and bison-extensions
1712234949Sbapt
1713234949Sbapt	* test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
1714234949Sbapt	regen
1715234949Sbapt
1716234949Sbapt	* output.c: implement %pure-parser
1717234949Sbapt
1718234949Sbapt	* skeleton.c:
1719234949Sbapt	implement %pure-parser, like bison.  To help with this, changed the stack
1720234949Sbapt	variables, putting them into a struct.
1721234949Sbapt
1722234949Sbapt	* reader.c: implement %pure-parser
1723234949Sbapt
1724234949Sbapt	* defs.h: modified skeleton to support %pure-parser feature
1725234949Sbapt
1726234949Sbapt	* main.c: add -P option to set %pure-parser
1727234949Sbapt
1728234949Sbapt	* output.c:
1729234949Sbapt	make -r and -p options work together.  The -r option splits the generated
1730234949Sbapt	parser into code/table files; for this case we cannot use static data.
1731234949Sbapt	Also, we have to repeat the #define's used for prefix (-p) as well as the
1732234949Sbapt	redeclaration of yyparse().  Finally, allow any of the prefixed names to
1733234949Sbapt	be overridden, e.g., by passing a -D option to the compiler.  Make that
1734234949Sbapt	a little more readable by putting a blank line before each chunk.
1735234949Sbapt
1736234949Sbapt	* defs.h: add definitions for %pure-parser
1737234949Sbapt
1738234949Sbapt	* skeleton.c:
1739234949Sbapt	put blank line before/after the redeclaration of yyparse()
1740234949Sbapt
1741234949Sbapt	* output.c: allow for other program redefining yylex()
1742234949Sbapt
1743234949Sbapt	* skeleton.c:
1744234949Sbapt	split-off xdecls[] array, to move declaration of yyparse() after #define's
1745234949Sbapt
1746234949Sbapt	* defs.h: split-out xdecls[]
1747234949Sbapt
1748234949Sbapt	* VERSION: bump
1749234949Sbapt
1750234949Sbapt	* configure: regen
1751234949Sbapt
1752234949Sbapt	* aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS
1753234949Sbapt
1754234949Sbapt	* aclocal.m4:
1755234949Sbapt	resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes.
1756234949Sbapt
1757234949Sbapt2010-02-16  Ostap.Cherkashi
1758234949Sbapt
1759234949Sbapt	* skeleton.c: fix a memory leak in the generated skeleton
1760234949Sbapt
1761234949Sbapt2010-01-01  Thomas E. Dickey  <tom@invisible-island.net>
1762234949Sbapt
1763234949Sbapt	* package/debian/source/format: scripts from Debian package
1764234949Sbapt
1765234949Sbapt2009-12-31  Thomas E. Dickey  <tom@invisible-island.net>
1766234949Sbapt
1767268899Sbapt	* config.guess: update to 2009-12-30
1768234949Sbapt
1769268899Sbapt	* config.sub: update to 2009-12-31
1770234949Sbapt
1771234949Sbapt2009-10-27  Thomas E. Dickey  <tom@invisible-island.net>
1772234949Sbapt
1773234949Sbapt	* VERSION: 20091027
1774234949Sbapt
1775234949Sbapt	* output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c:
1776234949Sbapt	strict compiler warnings
1777234949Sbapt
1778234949Sbapt2009-10-26  Thomas E. Dickey  <tom@invisible-island.net>
1779234949Sbapt
1780234949Sbapt	* test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
1781234949Sbapt	resync
1782234949Sbapt
1783234949Sbapt	* main.c, defs.h: introduce some typedefs for portability, etc.
1784234949Sbapt
1785234949Sbapt	* makefile.in:
1786234949Sbapt	don't remove "*.log" in mostlyclean rule since it interferes with regression
1787234949Sbapt	script.
1788234949Sbapt
1789234949Sbapt	* configure: regen
1790234949Sbapt
1791234949Sbapt	* aclocal.m4: resync with my-autoconf
1792234949Sbapt
1793234949Sbapt2009-08-25  Thomas E. Dickey  <tom@invisible-island.net>
1794234949Sbapt
1795268899Sbapt	* config.guess, config.sub: update to 2009-08-19
1796234949Sbapt
1797234949Sbapt2009-02-21  Thomas E. Dickey  <tom@invisible-island.net>
1798234949Sbapt
1799234949Sbapt	* VERSION: bump
1800234949Sbapt
1801234949Sbapt	* output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
1802234949Sbapt
1803234949Sbapt2008-12-26  Thomas E. Dickey  <tom@invisible-island.net>
1804234949Sbapt
1805234949Sbapt	* configure: regen with autoconf-2.52 (patched)
1806234949Sbapt
1807234949Sbapt2008-12-25  Thomas E. Dickey  <tom@invisible-island.net>
1808234949Sbapt
1809234949Sbapt	* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
1810234949Sbapt	regenerated
1811234949Sbapt
1812234949Sbapt2008-12-24  Thomas E. Dickey  <tom@invisible-island.net>
1813234949Sbapt
1814234949Sbapt	* VERSION: bump
1815234949Sbapt
1816234949Sbapt	* skeleton.c:
1817234949Sbapt	remove ifdef-lint from goto yyerrlab, to quiet gcc warning
1818234949Sbapt
1819234949Sbapt2008-11-26  Thomas E. Dickey  <tom@invisible-island.net>
1820234949Sbapt
1821234949Sbapt	* verbose.c, main.c, defs.h, mkpar.c, reader.c:
1822234949Sbapt	completed implementation of "%expect" (report by Perry E. Metzger).
1823234949Sbapt	add "%expect-rr", which is (unlike bison) allowable in LALR parsers.
1824234949Sbapt
1825234949Sbapt2008-11-24  Thomas E. Dickey  <tom@invisible-island.net>
1826234949Sbapt
1827234949Sbapt	* 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:
1828234949Sbapt	change indent-style (request by Perry E. Metzger)
1829234949Sbapt
1830234949Sbapt2008-08-27  Thomas E. Dickey  <tom@invisible-island.net>
1831234949Sbapt
1832234949Sbapt	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
1833234949Sbapt	better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
1834234949Sbapt
1835234949Sbapt	* VERSION: bump
1836234949Sbapt
1837234949Sbapt	* skeleton.c:
1838234949Sbapt	better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
1839234949Sbapt
1840234949Sbapt	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c:
1841234949Sbapt	change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's.
1842234949Sbapt
1843234949Sbapt	* configure: regen'd
1844234949Sbapt
1845234949Sbapt	* configure.in: add -Wwrite-strings to warnings
1846234949Sbapt
1847234949Sbapt	* test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
1848234949Sbapt	add YYPARSE_PARAM and YYPARSE_PARAM_TYPE
1849234949Sbapt
1850234949Sbapt	* skeleton.c:
1851234949Sbapt	add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features.
1852234949Sbapt
1853234949Sbapt	* main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c:
1854234949Sbapt	fixes for gcc -Wwrite-strings
1855234949Sbapt
1856234949Sbapt	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
1857234949Sbapt	generate the tables as static-const (this is an interface change)
1858234949Sbapt
1859234949Sbapt	* output.c: realign columns in start_table()
1860234949Sbapt
1861234949Sbapt	* output.c:
1862234949Sbapt	generate the tables as static-const (this is an interface change)
1863234949Sbapt
1864234949Sbapt	* output.c: reorder functions to eliminate forward-references
1865234949Sbapt
1866234949Sbapt	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
1867234949Sbapt	remove 'register' keywords
1868234949Sbapt
1869234949Sbapt2008-08-26  Thomas E. Dickey  <tom@invisible-island.net>
1870234949Sbapt
1871234949Sbapt	* 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:
1872234949Sbapt	remove 'register' keywords
1873234949Sbapt
1874234949Sbapt2008-08-25  Thomas E. Dickey  <tom@invisible-island.net>
1875234949Sbapt
1876234949Sbapt	* test/ftp.tab.c: regen'd
1877234949Sbapt
1878234949Sbapt	* reader.c:
1879234949Sbapt	improve the left-curly fix by testing after blanks, to avoid having a
1880234949Sbapt	" {" at the beginning of a line.
1881234949Sbapt
1882234949Sbapt	* test/error.tab.c, test/grammar.tab.c: regen'd
1883234949Sbapt
1884234949Sbapt	* output.c:
1885234949Sbapt	move the remaining newline-counting into write_XXX functions.
1886234949Sbapt
1887234949Sbapt	* test/calc.tab.c: regen'd
1888234949Sbapt
1889234949Sbapt	* output.c:
1890234949Sbapt	simplify part of the output_file formatting using new functions, e.g.,
1891234949Sbapt	start_int_table(), output_newline().
1892234949Sbapt
1893234949Sbapt	* reader.c:
1894234949Sbapt	modify copy_action() to indent the first character, it if is is left-curly
1895234949Sbapt	brace.  That makes the output look more like the original, as well as makes
1896234949Sbapt	it simpler to edit (not confuse editors which look for a left-curly in the
1897234949Sbapt	first column as if it were the beginning of a function).
1898234949Sbapt
1899234949Sbapt	* skeleton.c: minor fixes to avoid gcc -Wconversion warnings
1900234949Sbapt
1901234949Sbapt	* output.c: align the #define's produced for "-p" option
1902234949Sbapt
1903234949Sbapt	* test/run_test.sh: use the "-p" option for better coverage.
1904234949Sbapt
1905234949Sbapt	* output.c: simplify output_prefix() with new define_prefixed()
1906234949Sbapt
1907234949Sbapt	* skeleton.c: include string.h, for memset()
1908234949Sbapt	change stack size to unsigned to fix gcc -Wconversion warnings.
1909234949Sbapt
1910234949Sbapt	* VERSION: bump to 2008/8/25
1911234949Sbapt
1912234949Sbapt	* makefile.in: add dependency on VERSION file.
1913234949Sbapt
1914234949Sbapt2008-08-24  Thomas E. Dickey  <tom@invisible-island.net>
1915234949Sbapt
1916234949Sbapt	* VERSION: bump
1917234949Sbapt
1918234949Sbapt	* lalr.c: improved memory-leak checking by freeing data in includes[]
1919234949Sbapt
1920234949Sbapt	* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
1921234949Sbapt	update to match skeleton-change
1922234949Sbapt
1923234949Sbapt	* configure: regen'd
1924234949Sbapt
1925234949Sbapt	* skeleton.c: Add fix for stack discussed
1926234949Sbapt		http://undeadly.org/cgi?action=article&sid=20080708155228
1927234949Sbapt	and applied
1928234949Sbapt		http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29
1929234949Sbapt
1930234949Sbapt	* aclocal.m4: resync with my-autoconf (no major changes)
1931234949Sbapt
1932234949Sbapt2008-07-24  Thomas E. Dickey  <tom@invisible-island.net>
1933234949Sbapt
1934234949Sbapt	* package/pkgsrc/Makefile, package/pkgsrc/distinfo:
1935234949Sbapt	scripts from NetBSD pkgsrc, for test-builds
1936234949Sbapt
1937234949Sbapt2008-03-14  Thomas E. Dickey  <tom@invisible-island.net>
1938234949Sbapt
1939234949Sbapt	* config.sub: update to 2008-03-08
1940234949Sbapt
1941234949Sbapt	* config.guess: update to 2008-03-12
1942234949Sbapt
1943234949Sbapt2007-05-09  Thomas E. Dickey  <tom@invisible-island.net>
1944234949Sbapt
1945234949Sbapt	* main.c: close graph, verbose files if opened, on exit.
1946234949Sbapt
1947234949Sbapt	* main.c:
1948234949Sbapt	audit memory leaks - valgrind reported some memory still in use on exit.
1949234949Sbapt
1950234949Sbapt	* lalr.c, output.c, reader.c, mkpar.c, lr0.c:
1951234949Sbapt	add hook for auditing memory leaks
1952234949Sbapt
1953234949Sbapt	* defs.h: add hooks for auditing memory leaks
1954234949Sbapt
1955234949Sbapt	* configure: regen'd
1956234949Sbapt
1957234949Sbapt	* configure.in:
1958234949Sbapt	use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind,
1959234949Sbapt	--with-dbmalloc and --with-dmalloc
1960234949Sbapt
1961234949Sbapt	* aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND
1962234949Sbapt
1963234949Sbapt	* aclocal.m4: improve version-checking in CF_GCC_VERSION
1964234949Sbapt	rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro
1965234949Sbapt
1966234949Sbapt	* VERSION: 2007/5/9
1967234949Sbapt
1968234949Sbapt	* main.c: file_prefix did not always have a trailing null.
1969234949Sbapt
1970234949Sbapt2007-03-25  Thomas E. Dickey  <tom@invisible-island.net>
1971234949Sbapt
1972234949Sbapt	* mkdirs.sh: improved version for "make -j"
1973234949Sbapt
1974234949Sbapt2006-12-22  Thomas E. Dickey  <tom@invisible-island.net>
1975234949Sbapt
1976268899Sbapt	* config.guess: update to 2006/12/22
1977234949Sbapt
1978234949Sbapt2006-12-08  Thomas E. Dickey  <tom@invisible-island.net>
1979234949Sbapt
1980268899Sbapt	* config.sub: update to 2006/12/08
1981234949Sbapt
1982234949Sbapt2005-08-13  Thomas E. Dickey  <tom@invisible-island.net>
1983234949Sbapt
1984234949Sbapt	* main.c: add -V to usage message
1985234949Sbapt
1986234949Sbapt	* makefile.in: remove -t option from ctags
1987234949Sbapt
1988234949Sbapt	* VERSION: 2005/8/13
1989234949Sbapt
1990234949Sbapt2005-08-13  schmitz
1991234949Sbapt
1992234949Sbapt	* main.c: Sylvain Schmitz:
1993234949Sbapt	modify the '-o' option to work like bison's, which sets the file-prefix.
1994234949Sbapt
1995234949Sbapt2005-08-13  Matt.Kraai
1996234949Sbapt
1997234949Sbapt	* output.c:
1998234949Sbapt	Debian #322858 (don't close union_file, which contained data).
1999234949Sbapt	This feature is used in groff.
2000234949Sbapt
2001234949Sbapt2005-08-13  Thomas E. Dickey  <tom@invisible-island.net>
2002234949Sbapt
2003234949Sbapt	* configure: regenerated
2004234949Sbapt
2005234949Sbapt	* aclocal.m4: improve checks for Intel compiler warnings
2006234949Sbapt
2007234949Sbapt2005-06-25  Thomas E. Dickey  <tom@invisible-island.net>
2008234949Sbapt
2009268899Sbapt	* config.sub: update to 2005/6/2
2010234949Sbapt
2011268899Sbapt	* config.guess: update to 2005/5/27
2012234949Sbapt
2013234949Sbapt2005-05-05  Thomas E. Dickey  <tom@invisible-island.net>
2014234949Sbapt
2015234949Sbapt	* defs.h: add a fallback for GCC_UNUSED
2016234949Sbapt
2017234949Sbapt2005-05-04  Thomas E. Dickey  <tom@invisible-island.net>
2018234949Sbapt
2019234949Sbapt	* makefile.in: add "." to include-path to pickup config.h
2020234949Sbapt
2021234949Sbapt	* reader.c:
2022234949Sbapt	apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617.
2023234949Sbapt
2024234949Sbapt	* output.c:
2025234949Sbapt	correct a limit check in pack_vector() - report/analysis by William Evans
2026234949Sbapt
2027234949Sbapt	* main.c:
2028234949Sbapt	exit after printing version.  Otherwise "yacc -V" will exit with an erro
2029234949Sbapt	after printing the usage message.
2030234949Sbapt
2031234949Sbapt	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2032234949Sbapt	regenerated after skeleton-changes
2033234949Sbapt
2034234949Sbapt	* skeleton.c: replace a few -1's with YYEMPTY
2035234949Sbapt
2036234949Sbapt	* skeleton.c:
2037234949Sbapt	delete yynewerror (no one uses it any more, and it just makes compiler warnings)
2038234949Sbapt
2039234949Sbapt	* skeleton.c: adapt yygrowstack() and related definitions from FreeBSD
2040234949Sbapt
2041234949Sbapt	* test/run_test.sh:
2042234949Sbapt	filter out lines with YYPATCH, since that will change with each update
2043234949Sbapt
2044234949Sbapt	* yacc.1: add -V option
2045234949Sbapt
2046234949Sbapt	* main.c: add -V option to print the version.
2047234949Sbapt	simplify option-parsing by moving the duplicate logic for setting flags into
2048234949Sbapt	new function setflag().
2049234949Sbapt
2050234949Sbapt	* skeleton.c:
2051234949Sbapt	move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers).
2052234949Sbapt	add YYPATCH here so it can be tested by applications.
2053234949Sbapt
2054234949Sbapt	* defs.h:
2055234949Sbapt	add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and
2056234949Sbapt	YYPATCH symbols.
2057234949Sbapt
2058234949Sbapt	* lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c:
2059234949Sbapt	reduce externs by making static the procedures that are not referenced outside
2060234949Sbapt	the module in which they are defined.
2061234949Sbapt
2062234949Sbapt	* makefile.in:
2063234949Sbapt	the VERSION file holds the patch-date.  Define YYPATCH, so this will be
2064234949Sbapt	compiled into the skeleton.
2065234949Sbapt
2066234949Sbapt	* VERSION: patch-level for byacc
2067234949Sbapt
2068234949Sbapt	* main.c:
2069234949Sbapt	add "-o" to usage message.  It is too long for a single line; rewrite usage()
2070234949Sbapt	to show one option per line.
2071234949Sbapt
2072234949Sbapt2005-05-03  Thomas E. Dickey  <tom@invisible-island.net>
2073234949Sbapt
2074234949Sbapt	* main.c: add -o option, to work with scripts that assume bison.
2075234949Sbapt	simplify create_file_names() with a macro.
2076234949Sbapt	simplify done() with a macro.
2077234949Sbapt	adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by
2078234949Sbapt	onintr(), do not flush output via exit(), but use _exit() instead.
2079234949Sbapt
2080234949Sbapt	* defs.h: remove unnecessary externs for main.c
2081234949Sbapt
2082234949Sbapt	* yacc.1: add -o option
2083234949Sbapt
2084234949Sbapt	* graph.c: remove unused parameter
2085234949Sbapt
2086234949Sbapt	* mkpar.c, defs.h, reader.c:
2087234949Sbapt	add support for "%expect", a bison feature from FreeBSD sources
2088234949Sbapt
2089234949Sbapt	* 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:
2090234949Sbapt	indent'd
2091234949Sbapt
2092234949Sbapt	* configure: regenerated for 2005/5/5
2093234949Sbapt
2094234949Sbapt	* aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER)
2095234949Sbapt
2096234949Sbapt2005-04-27  schmitz
2097234949Sbapt
2098234949Sbapt	* defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1:
2099234949Sbapt	Sylvain Schmitz <schmitz@i3s.unice.fr>:
2100234949Sbapt	add graphical output of the LALR(1) automaton for graphviz,
2101234949Sbapt	associated with command-line option `-g'
2102234949Sbapt
2103234949Sbapt2005-04-16  Thomas E. Dickey  <tom@invisible-island.net>
2104234949Sbapt
2105268899Sbapt	* config.sub: update to 2005/2/10
2106234949Sbapt
2107268899Sbapt	* config.guess: update to 2005/3/24
2108234949Sbapt
2109234949Sbapt2005-04-13  Thomas E. Dickey  <tom@invisible-island.net>
2110234949Sbapt
2111234949Sbapt	* package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds
2112234949Sbapt
2113234949Sbapt2005-03-21  Thomas E. Dickey  <tom@invisible-island.net>
2114234949Sbapt
2115234949Sbapt	* package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds
2116234949Sbapt
2117234949Sbapt2004-03-28  Thomas E. Dickey  <tom@invisible-island.net>
2118234949Sbapt
2119234949Sbapt	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2120234949Sbapt	updates due to adding yyparse() prototype
2121234949Sbapt
2122234949Sbapt	* configure: RCS_BASE
2123234949Sbapt
2124234949Sbapt	* configure.in:
2125234949Sbapt	add AC_ARG_PROGRAM to make --program-prefix, etc., work.
2126234949Sbapt
2127234949Sbapt	* makefile.in: first cut of script to support --program-prefix
2128234949Sbapt
2129234949Sbapt	* configure.in:
2130234949Sbapt	reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52
2131234949Sbapt
2132234949Sbapt	* makefile.in: modify so DESTDIR works
2133234949Sbapt
2134234949Sbapt	* makefile.in: use EXEEXT and OBJEXT
2135234949Sbapt
2136234949Sbapt	* configure.in: use CF_PROG_EXT
2137234949Sbapt	generate a config.h
2138234949Sbapt
2139234949Sbapt	* defs.h: make this use the generated config.h
2140234949Sbapt
2141234949Sbapt	* skeleton.c: add a forward-reference for yyparse()
2142234949Sbapt
2143234949Sbapt	* aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT
2144234949Sbapt
2145234949Sbapt	* yacc.1: remove the discussion of TMPDIR since it is obsolete
2146234949Sbapt
2147234949Sbapt	* skeleton.c: fix a couple of minor compiler-warnings in the skeleton
2148234949Sbapt
2149234949Sbapt	* defs.h: remove action_file_name, etc., since we use tmpfile() now.
2150234949Sbapt
2151234949Sbapt	* main.c:
2152234949Sbapt	use tmpfile() for opening the working files.  This quiets a warning
2153234949Sbapt	advising the use of mkstemp().
2154234949Sbapt
2155234949Sbapt	* output.c:
2156234949Sbapt	Do not close temporary-files here, since they are opened with tmpfile().
2157234949Sbapt	Just rewind them, and they're ready to read back the data stored in them.
2158234949Sbapt
2159234949Sbapt	* test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE
2160234949Sbapt
2161268899Sbapt	* test/yacc/grammar.output, test/yacc/grammar.tab.h:
2162268899Sbapt	reference output for testing
2163268899Sbapt
2164234949Sbapt	* makefile.in: turn on "make check" rule
2165234949Sbapt
2166268899Sbapt	* test/calc.output: RCS_BASE
2167234949Sbapt
2168268899Sbapt	* test/yacc/calc.output: reference output for testing
2169268899Sbapt
2170268899Sbapt	* test/run_test.sh, test/calc.tab.h: RCS_BASE
2171268899Sbapt
2172268899Sbapt	* test/yacc/calc.tab.h: reference output for testing
2173268899Sbapt
2174234949Sbapt	* test/ftp.tab.c: yyparse() is now yyparse(void)
2175234949Sbapt
2176234949Sbapt	* test/calc.tab.c: RCS_BASE
2177234949Sbapt
2178234949Sbapt	* test/error.tab.c: yyparse() is now yyparse(void)
2179234949Sbapt
2180234949Sbapt	* test/README: RCS_BASE
2181234949Sbapt
2182234949Sbapt	* yacc.1: various typography fixes prompted by Debian #100947
2183234949Sbapt
2184234949Sbapt	* aclocal.m4, makefile.in, configure.in: RCS_BASE
2185234949Sbapt
2186234949Sbapt	* README: updated to note that this is not the original
2187234949Sbapt
2188234949Sbapt2004-03-24  Thomas E. Dickey  <tom@invisible-island.net>
2189234949Sbapt
2190234949Sbapt	* test/grammar.y: RCS_BASE
2191234949Sbapt
2192234949Sbapt2004-02-23  Thomas E. Dickey  <tom@invisible-island.net>
2193234949Sbapt
2194234949Sbapt	* config.sub: RCS_BASE
2195234949Sbapt
2196234949Sbapt2004-02-17  Thomas E. Dickey  <tom@invisible-island.net>
2197234949Sbapt
2198234949Sbapt	* config.guess: RCS_BASE
2199234949Sbapt
2200234949Sbapt2003-11-29  Thomas E. Dickey  <tom@invisible-island.net>
2201234949Sbapt
2202234949Sbapt	* install-sh: improved quoting
2203234949Sbapt
2204234949Sbapt2002-06-29  Thomas E. Dickey  <tom@invisible-island.net>
2205234949Sbapt
2206234949Sbapt	* mkdirs.sh:
2207234949Sbapt	don't use character range, since some locales don't work as expected
2208234949Sbapt
2209234949Sbapt2001-06-22  Thomas E. Dickey  <tom@invisible-island.net>
2210234949Sbapt
2211234949Sbapt	* install-sh: RCS_BASE
2212234949Sbapt
2213234949Sbapt2000-11-20  Thomas E. Dickey  <tom@invisible-island.net>
2214234949Sbapt
2215234949Sbapt	* test/calc.y: RCS_BASE
2216234949Sbapt
2217234949Sbapt	* test/code_calc.y, test/pure_calc.y: copy of calc.y
2218234949Sbapt
2219234949Sbapt	* vmsbuild.com: original version
2220234949Sbapt
2221234949Sbapt2000-02-23  Thomas E. Dickey  <dickey@invisible-island.net>
2222234949Sbapt
2223234949Sbapt	* test/RCS, RCS: PERMIT FILE
2224234949Sbapt
2225234949Sbapt2000-02-14  Thomas E. Dickey  <tom@invisible-island.net>
2226234949Sbapt
2227234949Sbapt	* main.c: fix for VMS port - making pathname for temp-file
2228234949Sbapt
2229234949Sbapt	* descrip.mms: original version
2230234949Sbapt
2231234949Sbapt2000-02-13  Thomas E. Dickey  <tom@invisible-island.net>
2232234949Sbapt
2233234949Sbapt	* 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:
2234234949Sbapt	ansify
2235234949Sbapt
2236234949Sbapt1999-11-30  Thomas E. Dickey  <tom@invisible-island.net>
2237234949Sbapt
2238234949Sbapt	* mkdirs.sh: RCS_BASE
2239234949Sbapt
2240234949Sbapt1995-01-01  Thomas E. Dickey  <tom@invisible-island.net>
2241234949Sbapt
2242234949Sbapt	* config_h.in: RCS_BASE
2243234949Sbapt
2244234949Sbapt1993-12-23  unknown
2245234949Sbapt
2246234949Sbapt	* README.DOS, main.c: MSDOS-port
2247234949Sbapt
2248234949Sbapt1993-12-22  unknown
2249234949Sbapt
2250234949Sbapt	* reader.c, defs.h: MSDOS-port
2251234949Sbapt
2252234949Sbapt1993-03-02  unknown
2253234949Sbapt
2254234949Sbapt	* README: original version
2255234949Sbapt
2256234949Sbapt1993-02-22  unknown
2257234949Sbapt
2258268899Sbapt	* test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE
2259234949Sbapt
2260268899Sbapt1993-02-22  Thomas E. Dickey  <tom@invisible-island.net>
2261268899Sbapt
2262268899Sbapt	* test/yacc/error.output, test/yacc/error.tab.h:
2263268899Sbapt	reference output for testing
2264268899Sbapt
2265268899Sbapt1993-02-22  unknown
2266268899Sbapt
2267268899Sbapt	* test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE
2268268899Sbapt
2269234949Sbapt	* skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES:
2270234949Sbapt	original version
2271234949Sbapt
2272234949Sbapt1992-10-12  unknown
2273234949Sbapt
2274234949Sbapt	* yacc.1: original version
2275234949Sbapt
2276234949Sbapt1992-10-11  unknown
2277234949Sbapt
2278234949Sbapt	* defs.h: original version
2279234949Sbapt
2280234949Sbapt1991-01-20  unknown
2281234949Sbapt
2282234949Sbapt	* mkpar.c, verbose.c: original version
2283234949Sbapt
2284234949Sbapt1991-01-14  unknown
2285234949Sbapt
2286234949Sbapt	* lr0.c, Makefile, Makefile.old: original version
2287234949Sbapt
2288234949Sbapt1990-07-16  unknown
2289234949Sbapt
2290234949Sbapt	* NEW_FEATURES: original version
2291234949Sbapt
2292234949Sbapt1990-06-03  unknown
2293234949Sbapt
2294234949Sbapt	* ACKNOWLEDGEMENTS: original version
2295234949Sbapt
2296234949Sbapt1990-02-05  unknown
2297234949Sbapt
2298234949Sbapt	* symtab.c, lalr.c, error.c: original version
2299234949Sbapt
2300234949Sbapt1990-01-16  Thomas E. Dickey  <tom@invisible-island.net>
2301234949Sbapt
2302234949Sbapt	* test/code_error.y, test/pure_error.y: RCS_BASE
2303234949Sbapt
2304234949Sbapt1990-01-16  unknown
2305234949Sbapt
2306234949Sbapt	* test/error.y: RCS_BASE
2307234949Sbapt
2308234949Sbapt1989-11-22  unknown
2309234949Sbapt
2310234949Sbapt	* NO_WARRANTY: original version
2311234949Sbapt
2312234949Sbapt1989-09-23  unknown
2313234949Sbapt
2314234949Sbapt	* test/ftp.y: RCS_BASE
2315234949Sbapt
2316