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