xref: /freebsd/contrib/byacc/CHANGES (revision aeaed508982227551b2748339033bb2483382b4d)
12014-07-15  Thomas E. Dickey  <tom@invisible-island.net>
2
3	* aclocal.m4: resync with my-autoconf (no change to configure script)
4
5	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
6	bump
7
8	* test/run_test.sh:
9	make top-level "make check" work again, by adding another step to filtering
10	the test results.
11
122014-07-14  Thomas E. Dickey  <tom@invisible-island.net>
13
14	* test/run_test.sh: changes from Garrett Cooper's patch:
15		a) ensure that the script returns an error-code if there are differences
16		b) escape "." character in left side of sed expression for $YACC
17		c) ensure that $ifBTYACC has a value
18
19	* 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:
20	regen (reminder by Garrett Cooper)
21
222014-07-14  Garrett.Cooper
23
24	* 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:
25	regen
26
272014-05-27  Tom.Shields
28
29	* main.c: remove obsolete -D option from usage message
30
312014-05-27  Thomas E. Dickey  <tom@invisible-island.net>
32
33	* 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:
34	bump
35
362014-04-22  Thomas E. Dickey  <tom@invisible-island.net>
37
38	* mstring.c:
39	use vsnprintf() to ensure that msprintf's buffer is large enough.
40
41	* main.c, defs.h: add mstring_leaks()
42
43	* configure: regen
44
45	* output.c: fix a complementary warning
46
47	* mstring.c: introduce vsnprintf
48
49	* configure.in, config_h.in: add check for vsnprintf
50
51	* output.c: quiet a type-conversion warning
52
53	* mstring.c: fix a potential memory leak on ENOMEM
54	quiet a couple of type-conversion warnings
55
56	* defs.h: add/use GCC_PRINTFLIKE for msprintf()
57
582014-04-22  Tom.Shields
59
60	* README.BTYACC:
61	drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant
62	content into README.BTYACC
63
642014-04-22  Thomas E. Dickey  <tom@invisible-island.net>
65
66	* package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
67	bump
68
692014-04-19  Thomas E. Dickey  <tom@invisible-island.net>
70
71	* config.sub: 2014-04-03
72
73	* config.guess: 2014-03-23
74
752014-04-09  Rick.Spates
76
77	* main.c, defs.h: patch to allow DEBUG build with WIN32 system
78
792014-04-09  Thomas E. Dickey  <tom@invisible-island.net>
80
81	* output.c, reader.c: gcc warnings
82
83	* reader.c: fix const-cast warnings
84
85	* 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:
86	fix a few clang --analyze warnings; one was a case where output_ctable emitted
87	an empty table (which should be an error).
88
89	* reader.c: appease clang --analyze
90
91	* defs.h: mark two functions as no-return.
92
93	* package/debian/changelog: reason for release
94
95	* VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
96	bump
97
98	* makefile.in: use $LINT_OPTS from environment via configure script
99
100	* 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:
101	tweaks to make generated files from ok_syntax1.y compile with check_make rule
102
103	* 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:
104	reference output for testing
105
106	* test/run_test.sh:
107	retain the renaming done for code_debug.y so that check_make will work.
108
109	* test/yacc/rename_debug.error, test/yacc/rename_debug.h, test/yacc/rename_debug.i, test/yacc/rename_debug.output:
110	reference output for testing
111
112	* test/btyacc/ok_syntax1.error: RCS_BASE
113
114	* 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:
115	regen
116
117	* yacc.1:
118	clarify relationship of btyacc features to default configuration.
119
1202014-04-08  Thomas E. Dickey  <tom@invisible-island.net>
121
122	* 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:
123	reference output for testing
124
125	* test/ok_syntax1.y: RCS_BASE
126
127	* test/yacc/ok_syntax1.error: reference output for testing
128
129	* 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:
130	exercise -L/-B options
131
132	* 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:
133	use a better renaming of the YYPATCH definition (none of the test-cases rely
134	upon it, but redefinition in the "make check_make" rule is a problem).
135
136	* 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:
137	undid temporary reordering in reader() by Tom Shields to align with byacc outputs
138
139	* test/run_test.sh: remove a repeated test-case
140
141	* mstring.c: minor reformatting to make coverage analysis simpler
142
1432014-04-07  Thomas E. Dickey  <tom@invisible-island.net>
144
145	* test/run_test.sh: tidy
146
147	* 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:
148	reference output for testing
149
150	* test/run_test.sh:
151	add special checks for flags which depend on writable/existing files
152
153	* 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:
154	reference output for testing
155
156	* main.c:
157	change CREATE_FILE_NAMES() to use local function rather than inline code,
158	to simplify coverage analysis.
159
160	* 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:
161	reference output for testing
162
163	* test/err_syntax27.y: testcase for missing_brace()
164
165	* error.c: ifdef'd non-btyacc function
166
167	* lr0.c: ifdef'd debug-code
168
169	* yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel
170
171	* 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:
172	2010/11/26 simplification of output.c using putc_code() and putl_code()
173	omitted an adjustment of the #line value used for code-file.  Fix that.
174	Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for
175	YYPATCH #define's to make test-outputs easier to compare #line's (report
176	by Tom Shields)
177
1782014-04-06  Thomas E. Dickey  <tom@invisible-island.net>
179
180	* reader.c: fix for valgrind
181	(the calloc's are intentional - valgrind reported use of uninitialized memory)
182
183	* lr0.c, output.c: fix for valgrind
184
185	* 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:
186	RCS_BASE
187
188	* test/yacc/code_debug.c, test/yacc/code_debug.h:
189	exercise the -i option
190
191	* test/yacc/code_debug.i: reference output for testing
192
193	* test/run_test.sh: exercise the -i option
194
195	* test/yacc/code_debug.c: reference output for testing
196
197	* test/run_test.sh: exercise the "-o" option
198
199	* test/yacc/code_debug.error, test/yacc/code_debug.h, test/yacc/code_debug.output:
200	reference output for testing
201
202	* output.c: don't call exit() without giving a chance to cleanup.
203
204	* mstring.c: ifdef'd functions not used in byacc
205
206	* btyaccpar.c: generated from btyaccpar.skel
207
208	* yaccpar.c: generated from yaccpar.skel
209
210	* skel2c:
211	change the generated-by comment to show which version of this script (and
212	which version of the given skeleton file) were used to produce the C-file.
213
214	* configure: regen
215
216	* makefile.in:
217	add rules to generate byacc and btyacc parser skeleton files independently
218
219	* aclocal.m4: CF_PROG_AWK - add to byacc's configure script
220	CF_INTEL_COMPILER
221		cleanup the -no-gcc option which was leftover from testing - prcs does
222		not build with this option.
223	CF_MAKE_DOCS
224		protect $2 from substitution, for luit's "$(manext)"
225	CF_XOPEN_SOURCE
226		for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2
227		on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE
228		because it is not needed, as well as because g++ 4.7.3 (no package,
229		used in Sage for Solaris 10) has some unspecified header breakage which
230		is triggered by the duplicate definition.
231
232	* configure.in:
233	modify so skeleton-source is determined by configure options rather than by
234	having developer rename yaccpar.skel.old to yaccpar.skel
235
236	* descrip.mms: rename skeleton
237
238	* vmsbuild.com:
239	fwiw, renamed the skeleton for consistency with makefile
240
241	* skel2c, skeleton.c: resync skeleton and its generating files
242
243	* yaccpar.skel:
244	renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules
245
246	* yaccpar.skel.old: resync skeleton and its generating files
247
248	* test/run_make.sh: improve cleanup after error recovery
249
250	* 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:
251	use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton
252
253	* output.c: simplify output_yyerror_decl()
254
255	* 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:
256	add second "const" to string-table declarations, from Tom Shield's btyacc changes
257
258	* 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:
259	discard unnecessary call on write_code_lineno() from Tom Shield's changes
260
261	* 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:
262	use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short"
263
264	* test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c:
265	use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL()
266
267	* 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:
268	discard unnecessary call on write_code_lineno() from Tom Shield's changes
269
270	* 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:
271	use fix from Tom Shield's btyacc changes: prefix-definitions went to the
272	output (.tab.c) file in a case where they should have gone to the code
273	(.code.c) file.  Remove now-redundant call to output_prefix().
274
275	* main.c: do the same for help-message
276
277	* main.c: use OUTPUT_SUFFIX symbol in an overlooked case
278
279	* test/run_make.sh:
280	modify to avoid use of VPATH, which has no standard implementation
281
2822014-04-05  Thomas E. Dickey  <tom@invisible-island.net>
283
284	* 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:
285	discard a change which merged CountLines() with explicit comparisons against
286	code_file because that adds extra to the #line values
287
288	* 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:
289	add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to
290	override fallback typedef for YYSTYPE when that symbol is undefined
291
292	* 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:
293	minor tweak to coding style - use parenthesis for "defined" operator's parameter
294
295	* 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:
296	regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent
297
298	* 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:
299	regen after adding the YYUNDFTOKEN symbol
300
301	* output.c:
302	integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol
303	(I changed order of output to keep this adjacent to YYMAXTOKEN)
304
305	* reader.c:
306	merge all but one small change from Tom Shield's btyacc changes - that
307	changes the order of code-file in the tests.
308
309	* test/btyacc/btyacc_demo.tab.c: regen
310
311	* test/btyacc_demo.y: fix prototypes
312
3132014-04-04  Thomas E. Dickey  <tom@invisible-island.net>
314
315	* reader.c, defs.h, main.c:
316	more merging of Tom Shield's btyacc changes.  In the merge, I moved the
317	symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs
318
3192014-04-03  Thomas E. Dickey  <tom@invisible-island.net>
320
321	* reader.c:
322	merge-in 3/4 of btyacc's changes, deferring those which change test-outputs.
323	Tom Shield's changes split-out copy_string() and copy_comment() functions
324	to simplify some logic, as well as adding btyacc-only chunks
325
326	* makefile.in: build mstring.o, needed for changes in reader.c
327
328	* output.c:
329	merge-in all of btyacc's changes which do not change byacc's test-output.
330	Some of the merge uses ifdef-changes which I applied to ongoing resync,
331	e.g., the introduction of PER_STATE.
332
3332014-04-02  Thomas E. Dickey  <tom@invisible-island.net>
334
335	* test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen
336
337	* output.c: fix typo
338
339	* output.c, reader.c:
340	merge in some chunks of reader and output files which do not affect byacc tests
341
342	* test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen
343
344	* 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:
345	incorporate YYENOMEM and YYEOF symbols from btyacc
346
347	* output.c: merge chunk from btyacc changes for header-guards
348
349	* btyaccpar.skel: RCS_BASE
350
351	* yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues
352	remove GCC_UNUSED to reduce name-pollution as well as being simpler
353
354	* main.c:
355	move a btyacc symbol outside ifdef to work around current state of merge
356
357	* defs.h:
358	add USE_HEADER_GUARDS to defer whether to modify byacc's header-output
359
360	* test/run_make.sh:
361	do not try to compile files used for testing syntax-errors, since they are
362	likely to be incomplete
363
3642014-04-02  Tom.Shields
365
366	* main.c: changes for btyacc
367
3682014-04-01  Thomas E. Dickey  <tom@invisible-island.net>
369
370	* reader.c:
371	integrate change by Tom Shields to use bsearch rather than successive
372	calls to matchec()
373
374	* defs.h: typedef __compar_fn_t is unnecessary
375
376	* 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:
377	omit the GCC_UNUSED, as noted by Tom Shields not really essential
378
3792014-04-01  Tom.Shields
380
381	* verbose.c: changes for btyacc, ifdef'd
382
3832014-04-01  Thomas E. Dickey  <tom@invisible-island.net>
384
385	* mkpar.c: eliminate most of the ifdef's using macros
386
3872014-04-01  Tom.Shields
388
389	* mkpar.c: merge btyacc changes (ifdef'd - no change to byacc)
390
391	* error.c:
392	new functions used for reporting errors from the btyacc configuration
393	(I reordered some, and ifdef'd the new ones -TD)
394
3952014-03-31  Thomas E. Dickey  <tom@invisible-island.net>
396
397	* test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c:
398	omit the GCC_UNUSED, as noted by Tom Shields not really essential
399
400	* 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:
401	regen
402
4032014-03-29  Thomas E. Dickey  <tom@invisible-island.net>
404
405	* 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:
406	comment-out yysccsid in the banner because it produces unnecessary compiler
407	warnings.  The suggested alternative (using #pragma ident) in the preceding
408	comment is also obsolete; remove that comment (request by Gleb Smirnoff).
409
410	* test/run_test.sh:
411	for yacc, ignore the inherit testcases, since they are btyacc-specific
412
4132014-03-28  Thomas E. Dickey  <tom@invisible-island.net>
414
415	* 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:
416	reference output for testing
417
418	* test/run_lint.sh, test/run_make.sh, test/run_test.sh:
419	moving #define's out of makefile broke check for yacc vs btyacc (fix)
420
4212014-03-28  Tom.Shields
422
423	* 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:
424	reference output for testing
425
426	* defs.h: new functions/variables for btyacc
427	(I reordered and ifdef'd -TD)
428
429	* test/inherit0.y, test/inherit1.y: testcase for btyacc
430
4312014-03-27  Tom.Shields
432
433	* test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y, test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y:
434	testcase for btyacc
435
4362014-03-25  Tom.Shields
437
438	* symtab.c: extra initialization needed for btyacc
439	(I ifdef'd -TD)
440
441	* yacc.1: document -L/-B features from btyacc
442
4432014-03-25  Thomas E. Dickey  <tom@invisible-island.net>
444
445	* yacc.1: typo
446
447	* configure: regen
448
449	* configure.in:
450	modified new options to act like those in my other configure-scripts, e.g.,
451	showing what option is being tested, and the resulting value.  Put the
452	definitions in config.h rather than in the makefile.
453
4542014-03-25  Tom.Shields
455
456	* makefile.in: add/use LINTFLAGS variable
457	make all of the objects (not just skeleton) rebuild if makefile changes
458	modify check-rule to reflect updates to run_test.sh vs subdirectory
459
460	* mstring.c: byacc-btyacc-20140323
461
4622014-03-25  Thomas E. Dickey  <tom@invisible-island.net>
463
464	* test/btyacc/RCS, test/yacc/RCS: PERMIT FILE
465
466	* config_h.in: updated with autoheader-252
467
4682014-03-25  Tom.Shields
469
470	* README.BTYACC: byacc-btyacc-20140323
471
4722014-03-24  Tom.Shields
473
474	* 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:
475	reference output for testing
476
4772014-03-24  Thomas E. Dickey  <tom@invisible-island.net>
478
479	* defs.h: fix compiler warnings due to mputc()
480
4812014-03-23  Tom.Shields
482
483	* test/btyacc_demo.y: testcase for btyacc
484
485	* test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h:
486	reference output for testing
487
488	* test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc
489
4902014-03-23  Thomas E. Dickey  <tom@invisible-island.net>
491
492	* 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:
493	reference output for testing
494
495	* test/err_syntax26.y: testcase for missing_brace()
496
497	* 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:
498	reference output for testing
499
500	* test/err_syntax25.y: testcase for over_unionized()
501
502	* 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:
503	reference output for testing
504
505	* test/err_syntax24.y: testcase for default_action_warning()
506
5072014-03-23  Tom.Shields
508
509	* 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:
510	reference output for testing
511
5122014-03-23  Thomas E. Dickey  <tom@invisible-island.net>
513
514	* 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:
515	reference output for testing
516
517	* test/err_syntax23.y: testcase for untyped_lhs()
518
5192014-03-23  Tom.Shields
520
521	* test/run_test.sh:
522	move test-outputs into subdirectories to keep btyacc/yacc results separate
523
5242014-03-23  Thomas E. Dickey  <tom@invisible-island.net>
525
526	* 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:
527	reference output for testing
528
529	* test/err_syntax22.y: testcase for untyped_rhs()
530
531	* 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:
532	reference output for testing
533
534	* test/err_syntax20.y: testcase for undefined_symbol_warning()
535
536	* test/err_syntax21.y: testcase for unknown_rhs()
537
538	* 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:
539	reference output for testing
540
541	* test/err_syntax19.y: testcase for dollar_error()
542
543	* 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:
544	reference output for testing
545
546	* test/err_syntax18.y: testcase for dollar_warning()
547
548	* 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:
549	reference output for testing
550
551	* test/err_syntax17.y: testcase for unterminated_action()
552
5532014-03-22  Thomas E. Dickey  <tom@invisible-island.net>
554
555	* 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:
556	reference output for testing
557
558	* test/err_syntax16.y: testcase for terminal_lhs()
559
560	* 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:
561	reference output for testing
562
563	* test/err_syntax15.y: testcase for no_grammar()
564
565	* 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:
566	reference output for testing
567
568	* test/err_syntax14.y:
569	testcase for restarted_warning() and undefined_goal()
570
571	* 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:
572	reference output for testing
573
574	* test/err_syntax13.y: testcase for terminal_start()
575
576	* 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:
577	reference output for testing
578
579	* test/err_syntax12.y: testcase for revalued_warning()
580
581	* 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:
582	reference output for testing
583
584	* test/err_syntax11.y: testcase for reprec_warning()
585
586	* 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:
587	reference output for testing
588
589	* test/err_syntax10.y: testcase for retyped_warning()
590
5912014-03-21  Thomas E. Dickey  <tom@invisible-island.net>
592
593	* 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:
594	reference output for testing
595
596	* test/err_syntax9.y: testcase for tokenized_start()
597
598	* 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:
599	reference output for testing
600
601	* test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved()
602
603	* 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:
604	reference output for testing
605
606	* test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y:
607	testcase for illegal_character()
608
609	* 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:
610	reference output for testing
611
612	* test/err_syntax6.y: testcase for illegal_tag()
613
614	* 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:
615	reference output for testing
616
617	* test/err_syntax5.y: testcase for unterminated_union()
618
619	* 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:
620	reference output for testing
621
622	* test/err_syntax4.y: testcase for unterminated_text()
623
624	* 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:
625	reference output for testing
626
627	* test/err_syntax3.y: testcase for unterminated_string()
628
629	* 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:
630	reference output for testing
631
632	* test/err_syntax2.y: testcase for unterminated_comment()
633
634	* test/err_syntax1.error, test/yacc/err_syntax1.error:
635	reference output for testing
636
637	* test/err_syntax1.y:
638	test-case with syntax error (and nonprinting character)
639
640	* 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:
641	reference output for testing
642
643	* test/run_test.sh:
644	save stderr to reference files, to capture shift/reduce messages as well
645	as syntax-error messages
646
647	* 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:
648	reference output for testing
649
650	* test/run_test.sh: generate a ".dot" file for the grammar file
651
652	* test/grammar.dot: RCS_BASE
653
654	* test/yacc/grammar.dot: reference output for testing
655
6562014-03-19  Tom.Shields
657
658	* output.c: rename MAXSHORT to MAXYYINT
659
6602014-03-18  Tom.Shields
661
662	* yaccpar.skel: skeleton with btyacc additions
663
664	* NOTES-btyacc-Changes: byacc-btyacc-20140323
665
666	* test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h:
667	reference output for testing
668
669	* test/run_make.sh:
670	move test-outputs into subdirectories to keep btyacc/yacc results separate
671
672	* 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:
673	reference output for testing
674
675	* defs.h:
676	several changes to help decouple the use of 'short' as the type of value
677	used in yacc parsers.
678
679	* NOTES-btyacc-Disposition: byacc-btyacc-20140323
680
6812014-03-17  Tom.Shields
682
683	* skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE
684
685	* test/run_lint.sh:
686	move test-outputs into subdirectories to keep btyacc/yacc results separate
687
688	* configure.in: add --with-max-table-size and --enable-btyacc options
689
6902014-03-16  Tom.Shields
691
692	* main.c: use Value_t rather than short
693
6942014-03-11  Tom.Shields
695
696	* test/empty.y: testcase for btyacc
697
6982014-03-10  Tom.Shields
699
700	* test/calc3.y, test/calc2.y: fix unused-variable warning
701
7022014-02-18  Tom.Shields
703
704	* lr0.c, graph.c: use Value_t rather than short
705
706	* closure.c: use Value_t rather than short
707	ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions
708
709	* lalr.c: rename MAXSHORT to MAXYYINT
710
7112014-01-01  Thomas E. Dickey  <tom@invisible-island.net>
712
713	* yacc.1: document %token-table, improve presentation of double-quotes
714
715	* VERSION, package/byacc.spec, package/debian/changelog: bump
716
717	* 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:
718	reference output for testing
719
720	* 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:
721	regen
722
723	* output.c, skeleton.c:
724	amend the last change so that yytname is #define'd as needed rather than
725	permanent - to avoid breaking cproto for instance.
726
7272014-01-01  Christos.Zoulas
728
729	* output.c, defs.h, main.c, reader.c, skeleton.c:
730	changes to build ntpd using byacc:
731	- rename yyname[] to yytname[]
732	- add YYTRANSLATE() macro
733	- recognize bison's %token-table declaration
734
7352014-01-01  Thomas E. Dickey  <tom@invisible-island.net>
736
737	* configure: regen
738
739	* yacc.1: s/EE/XE/ to work around groff bug on Debian 6
740
741	* makefile.in: use CF_MAKE_DOCS
742
743	* aclocal.m4: add CF_MAKE_DOCS
744
745	* configure.in: use CF_MAKE_DOCS
746
7472013-12-26  Thomas E. Dickey  <tom@invisible-island.net>
748
749	* config.guess: 2013-11-29
750
7512013-11-19  Thomas E. Dickey  <tom@invisible-island.net>
752
753	* aclocal.m4: resync with my-autoconf (fixes for clang and mingw)
754
7552013-10-25  Thomas E. Dickey  <tom@invisible-island.net>
756
757	* config.sub: 2013-10-01
758
7592013-09-25  Thomas E. Dickey  <tom@invisible-island.net>
760
761	* reader.c: fix two loop-limits found by clang 3.3 --analyze
762
763	* configure: regen
764
765	* aclocal.m4:
766	tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses
767
768	* package/mingw-byacc.spec: RCS_BASE
769
770	* 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:
771	regen
772
773	* skeleton.c:
774	Increase default stack-size to match FreeBSD version noted as from
775	"BSD 4.4 Lite Usr.bin Sources".  See
776
777		http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/
778		http://svnweb.freebsd.org/base/head/usr.bin/yacc/
779		http://svnweb.freebsd.org/base/vendor/byacc/
780
781	The original 1.9 sources (on which I based development) used 500 for
782	stacksize; the BSD Lite sources (a year or two later) used 10000.
783
784	This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE
785	symbols have "always" been overridable by applications, but rarely
786	needed to do this.  RedHat began using the FreeBSD source in 2000,
787	and switched to this source in 2007 using the 20050813 snapshot.
788
789	RedHat #743343 misattributed the change in default stacksize to
790	a regression in byacc, but did not report the issue upstream.
791
792	* package/debian/changelog, VERSION, package/byacc.spec: bump
793
7942013-09-07  Thomas E. Dickey  <tom@invisible-island.net>
795
796	* config.sub: update to 2013-09-15
797
798	* config.guess: update to 2013-06-10
799
8002013-03-04  Thomas E. Dickey  <tom@invisible-island.net>
801
802	* package/debian/changelog, VERSION, package/byacc.spec: bump
803
804	* aclocal.m4:
805	adapt tweak from Dave Becket to work around long-ago breakage in "new" autoconf.
806
807	* output.c:
808	fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton).
809	also while testing that, found a case where the union_file is unused; added
810	a check for address that.
811
812	* test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen
813
814	* test/ftp.y: fix most compiler warnings for "make check_make"
815
816	* test/calc1.tab.c: regen
817
818	* test/calc1.y: fix most compiler warnings for "make check_make"
819
820	* 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:
821	regen
822
823	* skeleton.c: quiet a gcc conversion-warning in yygrowstack()
824
825	* configure: regen
826
827	* aclocal.m4:
828	another fix for CF_GCC_VERSION to handle Debian's modification of gcc message.
829
8302013-02-10  Thomas E. Dickey  <tom@invisible-island.net>
831
832	* config.sub, config.guess: update to 2013-02-04
833
8342012-10-03  Thomas E. Dickey  <tom@invisible-island.net>
835
836	* package/debian/changelog, package/byacc.spec, VERSION: bump
837
838	* configure: regen
839
840	* configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC
841
842	* aclocal.m4:
843	moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc)
844	the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor.
845
846	* aclocal.m4, configure.in:
847	Arian's change dropped my check for misused $CC variable - restore that with
848	alternate macro CF_PROG_CC.
849
8502012-10-03  Adrian.Bunk
851
852	* aclocal.m4:
853	suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since
854	they are not needed.
855
8562012-10-03  Thomas E. Dickey  <tom@invisible-island.net>
857
858	* aclocal.m4:
859	split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in
860	Adrian's suggested changes.
861
862	* aclocal.m4:
863	CF_CLANG_COMPILER - check if the given compiler is really clang.
864
865	* aclocal.m4:
866	add check for clang to CF_GCC_WARNINGS.  modify CF_GCC_WARNINGS to work around
867	old gcc warning:  ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1
868	on my Sarge system (versus 3.3.5 for the normal gcc).  The 2.8.1's
869	pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work
870	around by excluding that check for pre-3.x compilers.
871
872	* aclocal.m4:
873	modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions
874	provided by this macro.  use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather
875	than appending to confdefs.h, since long-ago concern about the ability to
876	pass-through parameterized macros appears to be not a problem, testing with
877	2.13 and 2.52
878
8792012-10-03  Adrian.Bunk
880
881	* aclocal.m4:
882	add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by
883	autoheader, updated macros:
884		CF_CHECK_CACHE
885		CF_DISABLE_LEAKS
886		CF_MKSTEMP
887		CF_MIXEDCASE_FILENAMES
888		CF_NO_LEAKS_OPTION
889
8902012-10-03  Thomas E. Dickey  <tom@invisible-island.net>
891
892	* aclocal.m4:
893	move existence-check for mkstemp out of the AC_TRY_RUN, to help with
894	cross-compiles
895
8962012-10-02  Thomas E. Dickey  <tom@invisible-island.net>
897
898	* config_h.in:
899	Adrian Bunk request - replace this with the output from autoheader
900
9012012-09-29  Adrian.Bunk
902
903	* configure.in:
904	suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no
905	check is needed anymore for standard C compilers), drop AC_CONST (same
906	reason), modify AC_OUTPUT to rely upon template generated by autoheader.
907	bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT
908	as being obsolete with autoconf 2.52x
909
910	* configure.in, main.c: drop check for atexit, because it is standard C
911
912	* makefile.in: add assignment for datarootdir variable.
913
9142012-05-26  Thomas E. Dickey  <tom@invisible-island.net>
915
916	* package/debian/changelog, package/byacc.spec, VERSION: bump
917
918	* reader.c:
919	some versions of gcc may warn that bp is not set in mark_symbol, e.g.,
920	if GCC_NORETURN is not handled; appease the compiler.
921
922	* reader.c:
923	use the declared types Assoc_t and Value_t in some places where compiler only
924	cared about char versus short.
925
926	* reader.c:
927	use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
928	(no object change)
929
930	* defs.h:
931	add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD
932	packagers to build without configure script.  Also remove duplicate declaration
933	of pure_parser variable (prompted by patch by Baptiste Daroussin).
934
935	Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and
936	REALLOC macros.
937
938	* symtab.c:
939	use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
940	(no object change)
941
9422012-05-25  Thomas E. Dickey  <tom@invisible-island.net>
943
944	* output.c, main.c, verbose.c, mkpar.c, lr0.c:
945	use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
946	(no object change)
947
9482012-01-15  Thomas E. Dickey  <tom@invisible-island.net>
949
950	* package/debian/copyright: bump
951
952	* test/run_make.sh: workaround for breakage due to GNU make 3.82
953
954	* test/run_make.sh:
955	tested with Solaris 10 (bison 1.875) and added scripting to exercise
956	the /usr/ccs/bin/yacc executable
957
958	* test/grammar.tab.c: regen
959
960	* test/grammar.y: modify to also build with Solaris yacc
961
962	* VERSION, package/debian/changelog, package/byacc.spec: bump
963
964	* test/yacc/calc1.output: reference output for testing
965
966	* test/calc1.output, test/calc1.tab.c: regen
967
968	* test/calc1.y:
969	undo the change made to appease bison, since it was only a warning.
970
971	* test/pure_calc.tab.c, test/pure_error.tab.c: regen
972
973	* test/run_make.sh: another fix for running from top-level directory
974
975	* makefile.in:
976	ensure that check_make rule depends on having byacc built.
977
978	* test/run_make.sh: fixes for building from parent directory
979
980	* test/pure_error.y, test/pure_calc.y: bison-fixes
981
982	* 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:
983	regen
984
985	* test/code_debug.y: RCS_BASE
986
987	* test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y:
988	byacc already declares yyerror
989
990	* test/pure_error.y, test/pure_calc.y:
991	modified to help make the files build with bison
992
993	* test/run_make.sh:
994	supply a "%pure-parser" directive when bison needs it.
995
996	* test/code_calc.code.c: regen
997
998	* test/code_calc.y: modified to help make the files build with bison
999
1000	* yacc.1:
1001	in testing, found that %expect did not work as documented for bison.
1002	do not recommend it for portable code.
1003
1004	* test/run_make.sh: workaround breakage in bison's %expect directive
1005
1006	* test/grammar.y: modified to help make the files build with bison
1007
1008	* test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen
1009
1010	* test/calc1.y: quiet a spurious warning from bison 2.3
1011
1012	* test/calc1.tab.c: regen
1013
1014	* test/calc1.y: modified to help make the files build with bison
1015
1016	* yacc.1: comment on "-y" and "-P" options.
1017
1018	* yacc.1: comment on portability
1019
1020	* 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:
1021	regen
1022
1023	* test/ftp.y: modified to help make the files build with bison
1024	(bison's "-y" option is of no use in providing "yacc" compatibility)
1025
1026	* test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
1027	regen
1028
1029	* test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, test/quote_calc4.y, test/quote_calc3.y:
1030	modified to help make the files build with bison
1031
1032	* test/calc.tab.c: regen
1033
1034	* test/calc.y: modified to help make the files build with bison
1035
1036	* test/error.tab.c: regen
1037
1038	* test/error.y: modified to help make the files build with bison
1039
1040	* test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen
1041
1042	* test/run_make.sh:
1043	check for older bisons which (2.3 for instance) do not support pure parsers
1044
1045	* test/code_error.y, test/calc3.y, test/calc2.y:
1046	modified to help make the files build with bison
1047
1048	* test/run_test.sh: use $opt2 in filenames of the generated files
1049
1050	* 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:
1051	regen
1052
10532012-01-14  Thomas E. Dickey  <tom@invisible-island.net>
1054
1055	* 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:
1056	regen
1057
1058	* output.c: Several changes:
1059		a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex.
1060		b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL,
1061		   using YYLEX_PARAM_TYPE and YYLEX_PARAM.
1062		c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL,
1063		   to help with redefinitions.
1064
1065	* test/pure_calc.tab.c:
1066	modified to help make the files build with bison
1067
1068	* test/run_make.sh:
1069	start work on followup, to check if the generated files build with bison.
1070
1071	* test/pure_calc.y, test/pure_error.tab.c:
1072	modified to help make the files build with bison
1073
1074	* test/calc3.tab.c: regen
1075
1076	* 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:
1077	RCS_BASE
1078
1079	* 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:
1080	reference output for testing
1081
1082	* test/run_test.sh: generate/test with "-s" option applied.
1083
10842012-01-13  Thomas E. Dickey  <tom@invisible-island.net>
1085
1086	* package/debian/changelog, package/byacc.spec, VERSION: bump
1087
1088	* yacc.1: improve documentation of -s option
1089
1090	* yacc.1: note that yacc ignores -y
1091
1092	* main.c: add -s option to usage message.
1093
1094	* test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h:
1095	RCS_BASE
1096
1097	* test/yacc/quote_calc3.output, test/yacc/quote_calc4.output, test/yacc/quote_calc4.tab.h:
1098	reference output for testing
1099
1100	* test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE
1101
1102	* test/yacc/quote_calc.tab.h: reference output for testing
1103
1104	* 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:
1105	RCS_BASE
1106
1107	* test/yacc/quote_calc.output, test/yacc/quote_calc2.output, test/yacc/quote_calc2.tab.h, test/yacc/quote_calc3.tab.h:
1108	reference output for testing
1109
1110	* test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE
1111
1112	* configure: regen
1113
1114	* aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE
1115
11162011-12-19  Thomas E. Dickey  <tom@invisible-island.net>
1117
1118	* package/debian/changelog, package/byacc.spec, VERSION: bump
1119
1120	* yacc.1, output.c, main.c, defs.h:
1121	add "-s" option to suppress generating #define's based on string contents
1122	in a %token statement.  For instance
1123		%token EQLS "Equals"
1124	would generate
1125		#define EQLS 256
1126		#define Equals 257
1127	Simply suppressing the second #define makes the behavior closer to yacc.
1128	(report by Paulo Andrade).
1129
11302011-09-08  Thomas E. Dickey  <tom@invisible-island.net>
1131
1132	* package/debian/changelog, package/byacc.spec, VERSION: bump
1133
1134	* output.c:
1135	fix some more interaction between -i and -d flags to ensure YYERRCODE
1136	and YYSTYPE are declared, tested with cproto.
1137
11382011-09-07  Thomas E. Dickey  <tom@invisible-island.net>
1139
1140	* yacc.1: document "-i" option.
1141
1142	* package/debian/changelog, package/byacc.spec, VERSION: bump
1143
1144	* output.c: fix an interaction between -i and -d
1145
1146	* 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:
1147	regen - changes for "-i" option move the global/impure variables near the
1148	macros that may add a prefix, etc.
1149
1150	* skeleton.c, output.c, defs.h: changes to support "-i" option.
1151
11522011-09-06  Thomas E. Dickey  <tom@invisible-island.net>
1153
1154	* reader.c: pass explicit file-pointer to write_section()
1155
1156	* main.c:
1157	add "-i" option, to generate interface-file (suggested by Denis M. Wilson)
1158
11592011-09-05  Thomas E. Dickey  <tom@invisible-island.net>
1160
1161	* configure: regen
1162
1163	* aclocal.m4:
1164	resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC)
1165	and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks)
1166
1167	* defs.h, error.c, reader.c:
1168	add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson)
1169
11702011-04-01  Thomas E. Dickey  <tom@invisible-island.net>
1171
1172	* config.sub: update to 2011-04-01
1173
11742011-02-02  Thomas E. Dickey  <tom@invisible-island.net>
1175
1176	* config.guess: update to 2011-01-01
1177
11782010-12-29  Thomas E. Dickey  <tom@invisible-island.net>
1179
1180	* defs.h, skeleton.c:
1181	add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas)
1182
1183	* defs.h:
1184	mark all of the error-functions as non-returning (report by Christos Zoulas)
1185
1186	* 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:
1187	regen
1188
1189	* skeleton.c:
1190	use only realloc() rather than realloc+malloc, agree that systems needing this
1191	are very rare (prompted by NetBSD change).
1192
1193	* test/ftp.tab.c: regen
1194
11952010-12-29  Christos.Zoulas
1196
1197	* test/ftp.y:
1198	improve example, which was stuck in 19XX and assumed file sizes were longs.
1199
12002010-12-29  Thomas E. Dickey  <tom@invisible-island.net>
1201
1202	* 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:
1203	regen
1204
1205	* 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:
1206	use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror
1207
1208	* skeleton.c:
1209	remove explicit prototype for yylex() via YYLEX_DECL() macro, since that
1210	would prevent declaring yylex() static (request by Christos Zoulas).
1211
1212	* test/calc2.tab.c, test/calc3.tab.c: regen
1213
12142010-12-29  Christos.Zoulas
1215
1216	* output.c: correct definition for YYERROR_DECL()
1217
12182010-12-29  Thomas E. Dickey  <tom@invisible-island.net>
1219
1220	* package/debian/changelog, package/byacc.spec, VERSION: bump
1221
12222010-12-26  Thomas E. Dickey  <tom@invisible-island.net>
1223
1224	* defs.h, main.c:
1225	change return-type of allocate() to avoid warnings of alignment problems
1226
1227	* main.c: Solaris declares chmod() in <sys/stat.h>
1228
1229	* configure: regen
1230
1231	* main.c: ifdef'd use of fcntl.h
1232
1233	* configure.in: add configure checks for fcntl.h, atexit and mkstemp
1234
1235	* main.c: for cases where mkstemp() is not available, use tempnam/open
1236
1237	* aclocal.m4: add CF_MKSTEMP
1238
1239	* aclocal.m4:
1240	improve quoting, deprecate ${name-value} in favor of standard ${name:-value}
1241
12422010-12-25  Thomas E. Dickey  <tom@invisible-island.net>
1243
1244	* main.c:
1245	start revising use of tmpfile(), to make this work with MinGW.  Start by
1246	implementing a mkstemp() alternative - noting that mkstemp() also is broken
1247	for MinGW.
1248
1249	* package/debian/changelog, package/byacc.spec, VERSION: bump
1250
12512010-11-27  Thomas E. Dickey  <tom@invisible-island.net>
1252
1253	* package/byacc.spec, package/debian/changelog, VERSION: bump
1254
1255	* test/calc2.tab.c, test/calc3.tab.c: regen
1256
1257	* output.c:
1258	corrected use of %parse-param value in yyerror(); it doesn't use &yylval
1259	(report by Clifford Yapp)
1260
12612010-11-26  Thomas E. Dickey  <tom@invisible-island.net>
1262
1263	* skeleton.c: typo
1264
1265	* output.c:
1266	correct line-numbering when "-r" option is used; the 'outline' variable
1267	should only be incremented when writing to the code-file.
1268
1269	* test/code_calc.code.c, test/code_error.code.c: regen
1270
1271	* yacc.1: bump date
1272
1273	* yacc.1: comment on -b option vs -r
1274
1275	* 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:
1276	regen
1277
1278	* output.c:
1279	improve on YYERROR_DECL(), adding dummy params which can be used for the
1280	actual function declaration.  Also add YYERROR_CALL().  The two macros
1281	simplify maintaining sets of grammars which may/may not be pure.
1282
1283	* 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:
1284	regen
1285
1286	* output.c: generate yyerror() calls in output.c
1287	This is for compatibility with bison, which passes the yylval to yyerror
1288	when the %parse-param feature is used.
1289
1290	* skeleton.c, defs.h: generate yyerror() calls in output.c
1291
1292	* output.c: simplified a little, using putc_code() and putl_code()
1293
1294	* test/yacc/calc1.tab.h: reference output for testing
1295
1296	* test/calc1.tab.h: regen
1297
1298	* reader.c:
1299	improve ifdef for YYSTYPE union declaration (report by Clifford Yapp)
1300
1301	* reader.c:
1302	accept underscore as a replacement for dash in command names, e.g.,
1303	"%pure_parser" vs "%pure-parser".
1304
1305	* test/calc1.tab.c: regen
1306
1307	* output.c, reader.c:
1308	also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp)
1309
1310	* package/debian/changelog, package/byacc.spec, VERSION: bump
1311
13122010-11-24  Thomas E. Dickey  <tom@invisible-island.net>
1313
1314	* main.c, defs.h, symtab.c, error.c: reduce global variables
1315
1316	* package/debian/changelog, package/byacc.spec, VERSION: bump
1317
1318	* reader.c:
1319	amend fix for Redhat #112617 to still call default_action_warning() for
1320	empty rules (report by Bruce Cran).
1321
13222010-11-22  Thomas E. Dickey  <tom@invisible-island.net>
1323
1324	* output.c:
1325	add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp).
1326
1327	* test/calc1.tab.c: regen
1328
1329	* test/calc1.y: cleanup compiler warnings
1330
1331	* test/grammar.y: add "%expect"
1332
1333	* test/calc1.tab.h: regen
1334
1335	* test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE
1336
1337	* test/calc2.tab.c, test/calc3.tab.c: regen
1338
1339	* test/calc1.y:
1340	advanced example from Steve Johnson's paper, uses unions
1341
1342	* test/calc3.y, test/calc2.y: init 'base', so examples can run
1343
1344	* test/ftp.tab.c, test/ftp.y: tweaks to compile with g++
1345
1346	* output.c: compensate for fix in reader.c
1347
1348	* reader.c:
1349	add/use putc_both() and puts_both(), incidentally fixing a place where
1350	a union copied to the union_file may be missing the end of the last line.
1351
1352	* package/debian/changelog, package/byacc.spec, VERSION: bump
1353
13542010-09-28  Thomas E. Dickey  <tom@invisible-island.net>
1355
1356	* config.guess: update to 2010-09-24
1357
13582010-09-10  Thomas E. Dickey  <tom@invisible-island.net>
1359
1360	* config.sub: update to 2010-09-11
1361
13622010-06-10  Thomas E. Dickey  <tom@invisible-island.net>
1363
1364	* yacc.1, package/debian/changelog, package/byacc.spec, VERSION:
1365	bump to 2010/06/10
1366
13672010-06-09  Thomas E. Dickey  <tom@invisible-island.net>
1368
1369	* reader.c: free declarations in leak-testing code.
1370
1371	* main.c: close code_file if -r option used, for leak-testing
1372
1373	* defs.h, reader.c:
1374	improve %lex-param / %parse-param implementation by allowing for arrays to
1375	be passed as parameters, e.g., "int regs[26]".
1376
1377	* test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h:
1378	RCS_BASE
1379
1380	* test/yacc/calc3.output, test/yacc/calc3.tab.h:
1381	reference output for testing
1382
1383	* test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE
1384
1385	* test/yacc/calc2.tab.h: reference output for testing
1386
1387	* test/calc2.output: RCS_BASE
1388
1389	* test/yacc/calc2.output: reference output for testing
1390
1391	* output.c:
1392	improve %lex-param / %parse-param implementation by allowing for arrays to
1393	be passed as parameters, e.g., "int regs[26]".
1394
1395	* test/calc.tab.c, test/calc.y:
1396	test-cases and reference files for %lex-param / %parse-param
1397
1398	* makefile.in: add docs-rule, for html/pdf/txt form of manpage
1399
1400	* configure: regen
1401
1402	* aclocal.m4: add CF_XOPEN_SOURCE, etc.
1403
1404	* configure.in:
1405	use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89
1406
1407	* 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:
1408	fix warnings from clang --analyze
1409
14102010-06-08  Thomas E. Dickey  <tom@invisible-island.net>
1411
1412	* output.c: fix to build with c89, etc.
1413
1414	* reader.c: gcc warning
1415
1416	* 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:
1417	modified test-cases to allow them to compile, to validate pure-parser changes.
1418	updated reference files to match.
1419
1420	* output.c:
1421	move call for output_stype() earlier since it is used in pure-parser declarations
1422
1423	* test/grammar.tab.c, test/grammar.y:
1424	modified test-cases to allow them to compile, to validate pure-parser changes.
1425	updated reference files to match.
1426
1427	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
1428	regen
1429
1430	* yacc.1: document %lex-param and %parse-param
1431
1432	* test/run_lint.sh, test/run_make.sh: RCS_BASE
1433
1434	* test/run_test.sh:
1435	further modify to allow build-directory to be in a different location by
1436	passing this directory's location as a parameter to the script.
1437
1438	* makefile.in:
1439	add check_make and check_lint rules to help validate the generated files
1440	in the test-directory
1441
14422010-06-07  Thomas E. Dickey  <tom@invisible-island.net>
1443
1444	* test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE
1445
1446	* test/run_test.sh:
1447	provide for testing -r and -P options by checking if the ".y" filename
1448	begins with "code_" or "pure_", respectively.
1449
1450	* test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h:
1451	RCS_BASE
1452
1453	* test/yacc/code_error.tab.h: reference output for testing
1454
1455	* test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h:
1456	RCS_BASE
1457
1458	* test/yacc/code_calc.tab.h: reference output for testing
1459
1460	* test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h:
1461	RCS_BASE
1462
1463	* test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h, test/yacc/pure_error.output, test/yacc/pure_error.tab.h:
1464	reference output for testing
1465
1466	* test/code_calc.output, test/code_error.output: RCS_BASE
1467
1468	* test/yacc/code_calc.output, test/yacc/code_error.output:
1469	reference output for testing
1470
1471	* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen
1472
1473	* test/run_test.sh:
1474	changes to support running "make check" in a separate build-tree
1475
1476	* main.c: add "-P" to usage message
1477
1478	* reader.c: use UCH() macro to hide casts.
1479
14802010-06-07  Andres.Mejia
1481
1482	* main.c, output.c, reader.c, defs.h, skeleton.c:
1483	Fix the output order of the generated parse code file.  This allows for
1484	the use of YYPARSE_PARAM, by having the output that checks for
1485	YYPARSE_PARAM to be defined come after the C code block in the
1486	definitions section of a yacc file.
1487
1488	Implement support for YYLEX_PARAM, similar to bison.  This is useful for
1489	support for building reentrant lexers with flex.
1490
1491	Fix a compatibility issue with bison's pure-parser option.  Bison
1492	defines yylex as sending at least one parameter, &yylval, as the first
1493	parameter and doesn't seem to have an easy way to remove that parameter.
1494	This on the other hand is rather convenient to support saving to yylval
1495	from flex when building reentrant lexers and parsers.
1496
1497	Add support for the %parse-param and %lex-param directives used in
1498	bison.  This change bears some similarity to NetBSD's changes to byacc
1499	at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html
1500
1501	Bison allows for POSIX yacc emulation via a yacc directive in the yacc
1502	file, and also via a command line switch.  Implement this feature as a
1503	no-op for byacc, since byacc is designed to be POSIX yacc compatible
1504	anyway.  This allows for better compatibility with yacc sources written
1505	for bison.
1506
15072010-06-07  Thomas E. Dickey  <tom@invisible-island.net>
1508
1509	* VERSION: bump to 2010/06/07
1510
15112010-06-06  Thomas E. Dickey  <tom@invisible-island.net>
1512
1513	* test/calc.tab.c, configure: regen
1514
1515	* skeleton.c:
1516	move #include's down into the generated code, to allow user-defined code
1517	to override feature definitions, particularly with stdlib.h (request by
1518	Marcus Kool).
1519
1520	* lr0.c, error.c, reader.c, defs.h:
1521	strict gcc 3.4.6 warnings on 64-bit platform
1522
1523	* aclocal.m4, configure.in: add check for lint
1524
1525	* makefile.in: add lint rule
1526
1527	* defs.h, closure.c, lr0.c, warshall.c, main.c:
1528	fix gcc warnings, mostly for 64-bit platform
1529
1530	* aclocal.m4:
1531	add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc
1532
1533	* makefile.in: add etags/TAGS if available
1534
1535	* configure.in: add configure check for actual ctags and etags programs
1536
1537	* package/debian/copyright: add copyright notices for non-PD files
1538
1539	* package/debian/changelog:
1540	incorporated scripts in upstream to use for test-builds
1541
1542	* makefile.in: drop mkdirs.sh, just use "mkdir -p"
1543
1544	* AUTHORS: nicknames for some contributors (see CHANGES for details)
1545
1546	* package/byacc.spec: RPM file for byacc
1547
1548	* VERSION: bump to 2010/06/06
1549
1550	* aclocal.m4: add copyright notice, from "my-autoconf" macros
1551		http://invisible-island.net/autoconf/autoconf.html
1552
1553	* package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS:
1554	PERMIT FILE
1555
1556	* aclocal.m4: resync with my-autoconf.  summary of changes:
1557		a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter
1558		b) CF_DISABLE_ECHO, change indent-convention for substituted makefile
1559		c) CF_GCC_VERSION, ignore stderr
1560		d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc
1561
15622010-04-20  Thomas E. Dickey  <tom@invisible-island.net>
1563
1564	* 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:
1565	scripts from Debian package
1566
15672010-02-16  Thomas E. Dickey  <tom@invisible-island.net>
1568
1569	* yacc.1: document -P and bison-extensions
1570
1571	* test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
1572	regen
1573
1574	* output.c: implement %pure-parser
1575
1576	* skeleton.c:
1577	implement %pure-parser, like bison.  To help with this, changed the stack
1578	variables, putting them into a struct.
1579
1580	* reader.c: implement %pure-parser
1581
1582	* defs.h: modified skeleton to support %pure-parser feature
1583
1584	* main.c: add -P option to set %pure-parser
1585
1586	* output.c:
1587	make -r and -p options work together.  The -r option splits the generated
1588	parser into code/table files; for this case we cannot use static data.
1589	Also, we have to repeat the #define's used for prefix (-p) as well as the
1590	redeclaration of yyparse().  Finally, allow any of the prefixed names to
1591	be overridden, e.g., by passing a -D option to the compiler.  Make that
1592	a little more readable by putting a blank line before each chunk.
1593
1594	* defs.h: add definitions for %pure-parser
1595
1596	* skeleton.c:
1597	put blank line before/after the redeclaration of yyparse()
1598
1599	* output.c: allow for other program redefining yylex()
1600
1601	* skeleton.c:
1602	split-off xdecls[] array, to move declaration of yyparse() after #define's
1603
1604	* defs.h: split-out xdecls[]
1605
1606	* VERSION: bump
1607
1608	* configure: regen
1609
1610	* aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS
1611
1612	* aclocal.m4:
1613	resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes.
1614
16152010-02-16  Ostap.Cherkashi
1616
1617	* skeleton.c: fix a memory leak in the generated skeleton
1618
16192010-01-01  Thomas E. Dickey  <tom@invisible-island.net>
1620
1621	* package/debian/source/format: scripts from Debian package
1622
16232009-12-31  Thomas E. Dickey  <tom@invisible-island.net>
1624
1625	* config.guess: update to 2009-12-30
1626
1627	* config.sub: update to 2009-12-31
1628
16292009-10-27  Thomas E. Dickey  <tom@invisible-island.net>
1630
1631	* VERSION: 20091027
1632
1633	* output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c:
1634	strict compiler warnings
1635
16362009-10-26  Thomas E. Dickey  <tom@invisible-island.net>
1637
1638	* test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
1639	resync
1640
1641	* main.c, defs.h: introduce some typedefs for portability, etc.
1642
1643	* makefile.in:
1644	don't remove "*.log" in mostlyclean rule since it interferes with regression
1645	script.
1646
1647	* configure: regen
1648
1649	* aclocal.m4: resync with my-autoconf
1650
16512009-08-25  Thomas E. Dickey  <tom@invisible-island.net>
1652
1653	* config.guess, config.sub: update to 2009-08-19
1654
16552009-02-21  Thomas E. Dickey  <tom@invisible-island.net>
1656
1657	* VERSION: bump
1658
1659	* output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
1660
16612008-12-26  Thomas E. Dickey  <tom@invisible-island.net>
1662
1663	* configure: regen with autoconf-2.52 (patched)
1664
16652008-12-25  Thomas E. Dickey  <tom@invisible-island.net>
1666
1667	* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
1668	regenerated
1669
16702008-12-24  Thomas E. Dickey  <tom@invisible-island.net>
1671
1672	* VERSION: bump
1673
1674	* skeleton.c:
1675	remove ifdef-lint from goto yyerrlab, to quiet gcc warning
1676
16772008-11-26  Thomas E. Dickey  <tom@invisible-island.net>
1678
1679	* verbose.c, main.c, defs.h, mkpar.c, reader.c:
1680	completed implementation of "%expect" (report by Perry E. Metzger).
1681	add "%expect-rr", which is (unlike bison) allowable in LALR parsers.
1682
16832008-11-24  Thomas E. Dickey  <tom@invisible-island.net>
1684
1685	* 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:
1686	change indent-style (request by Perry E. Metzger)
1687
16882008-08-27  Thomas E. Dickey  <tom@invisible-island.net>
1689
1690	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
1691	better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
1692
1693	* VERSION: bump
1694
1695	* skeleton.c:
1696	better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
1697
1698	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c:
1699	change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's.
1700
1701	* configure: regen'd
1702
1703	* configure.in: add -Wwrite-strings to warnings
1704
1705	* test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
1706	add YYPARSE_PARAM and YYPARSE_PARAM_TYPE
1707
1708	* skeleton.c:
1709	add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features.
1710
1711	* main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c:
1712	fixes for gcc -Wwrite-strings
1713
1714	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
1715	generate the tables as static-const (this is an interface change)
1716
1717	* output.c: realign columns in start_table()
1718
1719	* output.c:
1720	generate the tables as static-const (this is an interface change)
1721
1722	* output.c: reorder functions to eliminate forward-references
1723
1724	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
1725	remove 'register' keywords
1726
17272008-08-26  Thomas E. Dickey  <tom@invisible-island.net>
1728
1729	* 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:
1730	remove 'register' keywords
1731
17322008-08-25  Thomas E. Dickey  <tom@invisible-island.net>
1733
1734	* test/ftp.tab.c: regen'd
1735
1736	* reader.c:
1737	improve the left-curly fix by testing after blanks, to avoid having a
1738	" {" at the beginning of a line.
1739
1740	* test/error.tab.c, test/grammar.tab.c: regen'd
1741
1742	* output.c:
1743	move the remaining newline-counting into write_XXX functions.
1744
1745	* test/calc.tab.c: regen'd
1746
1747	* output.c:
1748	simplify part of the output_file formatting using new functions, e.g.,
1749	start_int_table(), output_newline().
1750
1751	* reader.c:
1752	modify copy_action() to indent the first character, it if is is left-curly
1753	brace.  That makes the output look more like the original, as well as makes
1754	it simpler to edit (not confuse editors which look for a left-curly in the
1755	first column as if it were the beginning of a function).
1756
1757	* skeleton.c: minor fixes to avoid gcc -Wconversion warnings
1758
1759	* output.c: align the #define's produced for "-p" option
1760
1761	* test/run_test.sh: use the "-p" option for better coverage.
1762
1763	* output.c: simplify output_prefix() with new define_prefixed()
1764
1765	* skeleton.c: include string.h, for memset()
1766	change stack size to unsigned to fix gcc -Wconversion warnings.
1767
1768	* VERSION: bump to 2008/8/25
1769
1770	* makefile.in: add dependency on VERSION file.
1771
17722008-08-24  Thomas E. Dickey  <tom@invisible-island.net>
1773
1774	* VERSION: bump
1775
1776	* lalr.c: improved memory-leak checking by freeing data in includes[]
1777
1778	* test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
1779	update to match skeleton-change
1780
1781	* configure: regen'd
1782
1783	* skeleton.c: Add fix for stack discussed
1784		http://undeadly.org/cgi?action=article&sid=20080708155228
1785	and applied
1786		http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29
1787
1788	* aclocal.m4: resync with my-autoconf (no major changes)
1789
17902008-07-24  Thomas E. Dickey  <tom@invisible-island.net>
1791
1792	* package/pkgsrc/Makefile, package/pkgsrc/distinfo:
1793	scripts from NetBSD pkgsrc, for test-builds
1794
17952008-03-14  Thomas E. Dickey  <tom@invisible-island.net>
1796
1797	* config.sub: update to 2008-03-08
1798
1799	* config.guess: update to 2008-03-12
1800
18012007-05-09  Thomas E. Dickey  <tom@invisible-island.net>
1802
1803	* main.c: close graph, verbose files if opened, on exit.
1804
1805	* main.c:
1806	audit memory leaks - valgrind reported some memory still in use on exit.
1807
1808	* lalr.c, output.c, reader.c, mkpar.c, lr0.c:
1809	add hook for auditing memory leaks
1810
1811	* defs.h: add hooks for auditing memory leaks
1812
1813	* configure: regen'd
1814
1815	* configure.in:
1816	use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind,
1817	--with-dbmalloc and --with-dmalloc
1818
1819	* aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND
1820
1821	* aclocal.m4: improve version-checking in CF_GCC_VERSION
1822	rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro
1823
1824	* VERSION: 2007/5/9
1825
1826	* main.c: file_prefix did not always have a trailing null.
1827
18282007-03-25  Thomas E. Dickey  <tom@invisible-island.net>
1829
1830	* mkdirs.sh: improved version for "make -j"
1831
18322006-12-22  Thomas E. Dickey  <tom@invisible-island.net>
1833
1834	* config.guess: update to 2006/12/22
1835
18362006-12-08  Thomas E. Dickey  <tom@invisible-island.net>
1837
1838	* config.sub: update to 2006/12/08
1839
18402005-08-13  Thomas E. Dickey  <tom@invisible-island.net>
1841
1842	* main.c: add -V to usage message
1843
1844	* makefile.in: remove -t option from ctags
1845
1846	* VERSION: 2005/8/13
1847
18482005-08-13  schmitz
1849
1850	* main.c: Sylvain Schmitz:
1851	modify the '-o' option to work like bison's, which sets the file-prefix.
1852
18532005-08-13  Matt.Kraai
1854
1855	* output.c:
1856	Debian #322858 (don't close union_file, which contained data).
1857	This feature is used in groff.
1858
18592005-08-13  Thomas E. Dickey  <tom@invisible-island.net>
1860
1861	* configure: regenerated
1862
1863	* aclocal.m4: improve checks for Intel compiler warnings
1864
18652005-06-25  Thomas E. Dickey  <tom@invisible-island.net>
1866
1867	* config.sub: update to 2005/6/2
1868
1869	* config.guess: update to 2005/5/27
1870
18712005-05-05  Thomas E. Dickey  <tom@invisible-island.net>
1872
1873	* defs.h: add a fallback for GCC_UNUSED
1874
18752005-05-04  Thomas E. Dickey  <tom@invisible-island.net>
1876
1877	* makefile.in: add "." to include-path to pickup config.h
1878
1879	* reader.c:
1880	apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617.
1881
1882	* output.c:
1883	correct a limit check in pack_vector() - report/analysis by William Evans
1884
1885	* main.c:
1886	exit after printing version.  Otherwise "yacc -V" will exit with an erro
1887	after printing the usage message.
1888
1889	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
1890	regenerated after skeleton-changes
1891
1892	* skeleton.c: replace a few -1's with YYEMPTY
1893
1894	* skeleton.c:
1895	delete yynewerror (no one uses it any more, and it just makes compiler warnings)
1896
1897	* skeleton.c: adapt yygrowstack() and related definitions from FreeBSD
1898
1899	* test/run_test.sh:
1900	filter out lines with YYPATCH, since that will change with each update
1901
1902	* yacc.1: add -V option
1903
1904	* main.c: add -V option to print the version.
1905	simplify option-parsing by moving the duplicate logic for setting flags into
1906	new function setflag().
1907
1908	* skeleton.c:
1909	move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers).
1910	add YYPATCH here so it can be tested by applications.
1911
1912	* defs.h:
1913	add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and
1914	YYPATCH symbols.
1915
1916	* lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c:
1917	reduce externs by making static the procedures that are not referenced outside
1918	the module in which they are defined.
1919
1920	* makefile.in:
1921	the VERSION file holds the patch-date.  Define YYPATCH, so this will be
1922	compiled into the skeleton.
1923
1924	* VERSION: patch-level for byacc
1925
1926	* main.c:
1927	add "-o" to usage message.  It is too long for a single line; rewrite usage()
1928	to show one option per line.
1929
19302005-05-03  Thomas E. Dickey  <tom@invisible-island.net>
1931
1932	* main.c: add -o option, to work with scripts that assume bison.
1933	simplify create_file_names() with a macro.
1934	simplify done() with a macro.
1935	adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by
1936	onintr(), do not flush output via exit(), but use _exit() instead.
1937
1938	* defs.h: remove unnecessary externs for main.c
1939
1940	* yacc.1: add -o option
1941
1942	* graph.c: remove unused parameter
1943
1944	* mkpar.c, defs.h, reader.c:
1945	add support for "%expect", a bison feature from FreeBSD sources
1946
1947	* 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:
1948	indent'd
1949
1950	* configure: regenerated for 2005/5/5
1951
1952	* aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER)
1953
19542005-04-27  schmitz
1955
1956	* defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1:
1957	Sylvain Schmitz <schmitz@i3s.unice.fr>:
1958	add graphical output of the LALR(1) automaton for graphviz,
1959	associated with command-line option `-g'
1960
19612005-04-16  Thomas E. Dickey  <tom@invisible-island.net>
1962
1963	* config.sub: update to 2005/2/10
1964
1965	* config.guess: update to 2005/3/24
1966
19672005-04-13  Thomas E. Dickey  <tom@invisible-island.net>
1968
1969	* package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds
1970
19712005-03-21  Thomas E. Dickey  <tom@invisible-island.net>
1972
1973	* package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds
1974
19752004-03-28  Thomas E. Dickey  <tom@invisible-island.net>
1976
1977	* test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
1978	updates due to adding yyparse() prototype
1979
1980	* configure: RCS_BASE
1981
1982	* configure.in:
1983	add AC_ARG_PROGRAM to make --program-prefix, etc., work.
1984
1985	* makefile.in: first cut of script to support --program-prefix
1986
1987	* configure.in:
1988	reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52
1989
1990	* makefile.in: modify so DESTDIR works
1991
1992	* makefile.in: use EXEEXT and OBJEXT
1993
1994	* configure.in: use CF_PROG_EXT
1995	generate a config.h
1996
1997	* defs.h: make this use the generated config.h
1998
1999	* skeleton.c: add a forward-reference for yyparse()
2000
2001	* aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT
2002
2003	* yacc.1: remove the discussion of TMPDIR since it is obsolete
2004
2005	* skeleton.c: fix a couple of minor compiler-warnings in the skeleton
2006
2007	* defs.h: remove action_file_name, etc., since we use tmpfile() now.
2008
2009	* main.c:
2010	use tmpfile() for opening the working files.  This quiets a warning
2011	advising the use of mkstemp().
2012
2013	* output.c:
2014	Do not close temporary-files here, since they are opened with tmpfile().
2015	Just rewind them, and they're ready to read back the data stored in them.
2016
2017	* test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE
2018
2019	* test/yacc/grammar.output, test/yacc/grammar.tab.h:
2020	reference output for testing
2021
2022	* makefile.in: turn on "make check" rule
2023
2024	* test/calc.output: RCS_BASE
2025
2026	* test/yacc/calc.output: reference output for testing
2027
2028	* test/run_test.sh, test/calc.tab.h: RCS_BASE
2029
2030	* test/yacc/calc.tab.h: reference output for testing
2031
2032	* test/ftp.tab.c: yyparse() is now yyparse(void)
2033
2034	* test/calc.tab.c: RCS_BASE
2035
2036	* test/error.tab.c: yyparse() is now yyparse(void)
2037
2038	* test/README: RCS_BASE
2039
2040	* yacc.1: various typography fixes prompted by Debian #100947
2041
2042	* aclocal.m4, makefile.in, configure.in: RCS_BASE
2043
2044	* README: updated to note that this is not the original
2045
20462004-03-24  Thomas E. Dickey  <tom@invisible-island.net>
2047
2048	* test/grammar.y: RCS_BASE
2049
20502004-02-23  Thomas E. Dickey  <tom@invisible-island.net>
2051
2052	* config.sub: RCS_BASE
2053
20542004-02-17  Thomas E. Dickey  <tom@invisible-island.net>
2055
2056	* config.guess: RCS_BASE
2057
20582003-11-29  Thomas E. Dickey  <tom@invisible-island.net>
2059
2060	* install-sh: improved quoting
2061
20622002-06-29  Thomas E. Dickey  <tom@invisible-island.net>
2063
2064	* mkdirs.sh:
2065	don't use character range, since some locales don't work as expected
2066
20672001-06-22  Thomas E. Dickey  <tom@invisible-island.net>
2068
2069	* install-sh: RCS_BASE
2070
20712000-11-20  Thomas E. Dickey  <tom@invisible-island.net>
2072
2073	* test/calc.y: RCS_BASE
2074
2075	* test/code_calc.y, test/pure_calc.y: copy of calc.y
2076
2077	* vmsbuild.com: original version
2078
20792000-02-23  Thomas E. Dickey  <dickey@invisible-island.net>
2080
2081	* test/RCS, RCS: PERMIT FILE
2082
20832000-02-14  Thomas E. Dickey  <tom@invisible-island.net>
2084
2085	* main.c: fix for VMS port - making pathname for temp-file
2086
2087	* descrip.mms: original version
2088
20892000-02-13  Thomas E. Dickey  <tom@invisible-island.net>
2090
2091	* 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:
2092	ansify
2093
20941999-11-30  Thomas E. Dickey  <tom@invisible-island.net>
2095
2096	* mkdirs.sh: RCS_BASE
2097
20981995-01-01  Thomas E. Dickey  <tom@invisible-island.net>
2099
2100	* config_h.in: RCS_BASE
2101
21021993-12-23  unknown
2103
2104	* README.DOS, main.c: MSDOS-port
2105
21061993-12-22  unknown
2107
2108	* reader.c, defs.h: MSDOS-port
2109
21101993-03-02  unknown
2111
2112	* README: original version
2113
21141993-02-22  unknown
2115
2116	* test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE
2117
21181993-02-22  Thomas E. Dickey  <tom@invisible-island.net>
2119
2120	* test/yacc/error.output, test/yacc/error.tab.h:
2121	reference output for testing
2122
21231993-02-22  unknown
2124
2125	* test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE
2126
2127	* skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES:
2128	original version
2129
21301992-10-12  unknown
2131
2132	* yacc.1: original version
2133
21341992-10-11  unknown
2135
2136	* defs.h: original version
2137
21381991-01-20  unknown
2139
2140	* mkpar.c, verbose.c: original version
2141
21421991-01-14  unknown
2143
2144	* lr0.c, Makefile, Makefile.old: original version
2145
21461990-07-16  unknown
2147
2148	* NEW_FEATURES: original version
2149
21501990-06-03  unknown
2151
2152	* ACKNOWLEDGEMENTS: original version
2153
21541990-02-05  unknown
2155
2156	* symtab.c, lalr.c, error.c: original version
2157
21581990-01-16  Thomas E. Dickey  <tom@invisible-island.net>
2159
2160	* test/code_error.y, test/pure_error.y: RCS_BASE
2161
21621990-01-16  unknown
2163
2164	* test/error.y: RCS_BASE
2165
21661989-11-22  unknown
2167
2168	* NO_WARRANTY: original version
2169
21701989-09-23  unknown
2171
2172	* test/ftp.y: RCS_BASE
2173
2174