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