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