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