1 2020-09-10 Thomas E. Dickey <dickey@invisible-island.net>
5 * reader.c, output.c: cppcheck -- reduce scope
7 * defs.h: update to 2.0
9 * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.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/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/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-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/rename_debug.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c, test/btyacc/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/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/defines1.calc.c, test/yacc/defines2.calc.c, test/yacc/defines3.calc.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_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/expr.oxout.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-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c, test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c, test/yacc/varsyntax_calc1.tab.c:
13 improve loop which skips backward through a (possibly nested) sequence of
16 * reader.c: simplify a check to quiet a bogus cppcheck-warning
20 * reader.c: add a note about a bogus cppcheck warning
25 always check for gcc attributes, to work around defect in clang's imitation
28 * reader.c: cppcheck -- scope reduction
29 cppcheck -- eliminate bogus returns after no-return functions
31 * verbose.c, output.c, mkpar.c, main.c, warshall.c, lr0.c, lalr.c, graph.c, closure.c:
32 cppcheck -- scope reduction
34 * package/debian/compat: quiet compatibility-warning
36 * yacc.1: use "ASCII" for dashes which are part of proper names
40 * configure.in: switch to --enable-warnings, for consistency
43 resync with my-autoconf, for compiler-warning fixes with macOS
45 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
48 2020-06-28 Thomas E. Dickey <dickey@invisible-island.net>
50 * config.sub: 2020/06/28
52 2020-06-14 Thomas E. Dickey <dickey@invisible-island.net>
54 * config.guess: 2020/04/26
56 2020-03-30 Thomas E. Dickey <dickey@invisible-island.net>
58 * package/debian/copyright: bump
60 * test/yacc/grammar.tab.c, test/btyacc/grammar.tab.c, test/grammar.y, reader.c:
61 typo found with codespell
63 * yacc.1: fixes noted in the original report, overlooked in followup
65 2020-03-30 Bjarni.Ingi.Gislason
67 * yacc.1: typography/spelling fixes - Debian #955175
69 2020-03-30 Thomas E. Dickey <dickey@invisible-island.net>
71 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
74 2020-03-10 Thomas E. Dickey <dickey@invisible-island.net>
79 resync with my-autoconf, mostly fixes for compiler-warnings
81 * configure.in: use macro to suppress X-dependency from newer macros
83 2019-12-20 Thomas E. Dickey <dickey@invisible-island.net>
85 * config.guess: 2019-12-21
87 2019-11-25 Tom.Shields
90 fix an inconsistency between the getopt and non-getopt configuration.
91 In the former, getopt always used "yacc", not the name of the executable.
93 2019-11-25 Thomas E. Dickey <dickey@invisible-island.net>
96 suppress bison's -Wyacc warning, which is not useful.
98 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
101 2019-11-19 Thomas E. Dickey <dickey@invisible-island.net>
103 * yacc.1: new version of manpage
105 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
108 * yacc.1: document %code
110 * test/btyacc/calc_code_all.error, test/btyacc/calc_code_all.output, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_all.tab.h, test/btyacc/calc_code_default.error, test/btyacc/calc_code_default.output, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_default.tab.h, test/btyacc/calc_code_imports.error, test/btyacc/calc_code_imports.output, test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_imports.tab.h, test/btyacc/calc_code_provides.error, test/btyacc/calc_code_provides.output, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_provides.tab.h, test/btyacc/calc_code_requires.error, test/btyacc/calc_code_requires.output, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_requires.tab.h, test/btyacc/calc_code_top.error, test/btyacc/calc_code_top.output, test/btyacc/calc_code_top.tab.c, test/btyacc/calc_code_top.tab.h, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_all.tab.h, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_provides.tab.h, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_requires.tab.h, test/yacc/calc_code_top.tab.c:
114 amend updates for 'outline' when processing "%code" in code-file
117 modify output_code_lines() to show begin/end block comments which were in
118 reader.c, and to generate a #line for the code-file.
121 modify copy_code() to allow for multiple %code directives for a given
122 section, recording the input line-number for each directive as a #line
123 in the resulting string. remove the block start/end comments, since those
124 will be done for a whole section in output.c
126 * mstring.c, defs.h: add msrenew()
128 * test/yacc/calc_code_all.error, test/yacc/calc_code_all.output, test/yacc/calc_code_default.error, test/yacc/calc_code_default.output, test/yacc/calc_code_default.tab.h, test/yacc/calc_code_imports.error, test/yacc/calc_code_imports.output, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_imports.tab.h, test/yacc/calc_code_provides.error, test/yacc/calc_code_provides.output, test/yacc/calc_code_requires.error, test/yacc/calc_code_requires.output, test/yacc/calc_code_top.error, test/yacc/calc_code_top.output, test/yacc/calc_code_top.tab.h:
131 2019-11-18 Thomas E. Dickey <dickey@invisible-island.net>
133 * test/calc_code_imports.y, test/calc_code_all.y, test/calc_code_default.y, test/calc_code_top.y, test/calc_code_provides.y, test/calc_code_requires.y:
136 2019-11-04 Michael.Forney
138 * defs.h: add missing "extern" for new variable "code_lines"
140 2019-11-03 Thomas E. Dickey <dickey@invisible-island.net>
142 * main.c: build-fix for MinGW cross-compiling
144 * output.c, reader.c: gcc-warnings
146 * output.c: check validity of text_file before rewind
147 remove redundant check of iflag
149 * main.c: fix memory-leak reported by clang
151 * mkpar.c: guard against a null-reference reported by clang (unlikely)
153 * reader.c: fix two coverity warnings:
154 a) resource leak on malloc-failure
155 b) possible null-pointer dereference on parse-error
157 * test/btyacc/err_inherit4.tab.h, test/btyacc/btyacc_demo.tab.h: regen
159 * defs.h: use enum's to simplify recent change
162 enable mstring() in regular byacc, since Zoulas' change relies upon it
164 2019-11-03 Christos.Zoulas
166 * defs.h, reader.c, output.c: add support for bison's "%code" feature
167 also fix a small bug: declare YYLTYPE externally when producing locations
169 2019-11-03 Thomas E. Dickey <dickey@invisible-island.net>
171 * test/btyacc/help.error, test/btyacc/no_b_opt.error, test/btyacc/no_output2.error, test/btyacc/no_p_opt.error, test/yacc/help.error, test/yacc/no_b_opt.error, test/yacc/no_output2.error, test/yacc/no_p_opt.error:
175 there's no standard wording for the options-errors from getopt;
176 filter that to "error message" in the test reference files.
179 provide for using getopt(), to accommodate a case where developers have
180 relied upon non-POSIX behavior.
183 getopt's messages do not print the full pathname of yacc in some cases;
184 adjust the sed-script which changes those to "YACC"
188 * config_h.in: regen, using autoheader-252
190 * configure.in: add configure check for getopt
195 resync with my-autoconf adds a fix which accommodates a difference in
196 warning options between gcc/clang when --enable-warnings is not set.
198 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
201 2019-09-11 Thomas E. Dickey <dickey@invisible-island.net>
203 * config.guess, config.sub: 2019-09-10
205 2019-06-17 Thomas E. Dickey <dickey@invisible-island.net>
207 * test/btyacc/big_b.error, test/btyacc/big_l.error, test/btyacc/help.error, test/btyacc/no_b_opt.error, test/btyacc/no_output2.error, test/btyacc/no_p_opt.error, test/btyacc/nostdin.error, test/yacc/big_b.error, test/yacc/big_l.error, test/yacc/help.error, test/yacc/no_b_opt.error, test/yacc/no_output2.error, test/yacc/no_p_opt.error, test/yacc/nostdin.error:
210 * test/run_test.sh: test "-H" rather than "-D"
212 2019-06-16 Thomas E. Dickey <dickey@invisible-island.net>
215 change "-D" option to "-H" (discussion with Ethan Sommer)
217 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
220 * test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c:
223 * test/run_test.sh: in test_defines, save the ".c" file too
225 * test/yacc/defines3.calc.c, test/yacc/defines2.calc.c, test/yacc/defines1.calc.c:
229 output of test_defines should be a header ".h", not ".c"
231 * test/btyacc/defines1.calc.h, test/btyacc/defines1.error, test/btyacc/defines1.output, test/btyacc/defines2.calc.h, test/btyacc/defines2.error, test/btyacc/defines2.output, test/btyacc/defines3.calc.h, test/btyacc/defines3.error, test/btyacc/defines3.output:
234 * main.c: however, a subsequent -d cancels -D
236 * test/yacc/defines1.calc.h, test/yacc/defines3.calc.h: RCS_BASE
238 * main.c: -D option implies -d
240 * test/yacc/defines1.error, test/yacc/defines1.output, test/yacc/defines2.calc.h, test/yacc/defines2.error, test/yacc/defines2.output, test/yacc/defines3.error, test/yacc/defines3.output:
243 * yacc.1: align macro definitions with my other manpages
245 * test/run_test.sh: add test for -D after -d or -b options
247 * test/btyacc/stdin1.calc.c, test/btyacc/stdin1.error, test/btyacc/stdin1.output, test/btyacc/stdin2.calc.c, test/btyacc/stdin2.error, test/btyacc/stdin2.output:
250 * test/btyacc/big_b.error, test/btyacc/big_b.output, test/btyacc/big_l.error, test/btyacc/big_l.output, test/btyacc/help.error, test/btyacc/help.output, test/btyacc/no_b_opt.error, test/btyacc/no_b_opt.output, test/btyacc/no_b_opt1.error, test/btyacc/no_b_opt1.output, test/btyacc/no_code_c.error, test/btyacc/no_code_c.output, test/btyacc/no_defines.error, test/btyacc/no_defines.output, test/btyacc/no_graph.error, test/btyacc/no_graph.output, test/btyacc/no_include.error, test/btyacc/no_include.output, test/btyacc/no_opts.error, test/btyacc/no_opts.output, test/btyacc/no_output.error, test/btyacc/no_output.output, test/btyacc/no_output1.error, test/btyacc/no_output1.output, test/btyacc/no_output2.error, test/btyacc/no_output2.output, test/btyacc/no_p_opt.error, test/btyacc/no_p_opt.output, test/btyacc/no_p_opt1.error, test/btyacc/no_p_opt1.output, test/btyacc/no_verbose.error, test/btyacc/no_verbose.output, test/btyacc/nostdin.error, test/btyacc/nostdin.output, test/yacc/big_b.error, test/yacc/big_b.output, test/yacc/big_l.error, test/yacc/big_l.output, 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:
254 add a test for stdin "-" vs end-options "--", and correct a redirection
255 of stderr in test_flags
257 * test/yacc/stdin2.output, test/yacc/stdin2.calc.c, test/yacc/stdin1.calc.c, test/yacc/stdin1.error, test/yacc/stdin1.output, test/yacc/stdin2.error:
260 * 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, 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:
263 * main.c: add -D option, to specify filename vs y.tab.h for -d
265 * defs.h: add dflag2, for -D option
267 * yacc.1: document -D option
269 * config_h.in: updated with autoheader-252
273 * package/debian/copyright: bump
275 * aclocal.m4: add CF_GETOPT_HEADER
277 * aclocal.m4: Improved autoconf macros:
279 putting preprocessor flags in CFLAGS also is a nuisance, which can be
280 addressed in the same way.
282 factor out workaround for XTSTRINGDEFINES as CF_CONST_X_STRING
284 The check for _DEFAULT_SOURCE should apply to "recent" Cygwin (since early 2016),
285 and except for "NEWLIB" vs "GLIBC" in the test, acts the same if I pretend
286 that "newlib" is the GNU C library. Without this, the check falls through
287 to the _XOPEN_SOURCE test, which breaks the pseudoterminal checks for xterm.
289 add/use CF_POSIX_VISIBLE
290 + CF_TRY_XOPEN_SOURCE
293 use sed to work around non-POSIX tail utility
296 add/use CF_POSIX_VISIBLE
298 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
301 2019-06-10 Thomas E. Dickey <dickey@invisible-island.net>
303 * config.guess: 2019-06-10
305 2019-05-22 Thomas E. Dickey <dickey@invisible-island.net>
307 * config.sub: 2019-05-22
309 2018-06-09 Thomas E. Dickey <dickey@invisible-island.net>
311 * yacc.1: minor typographical fixes
313 * test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-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/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/rename_debug.c, btyaccpar.c:
316 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
319 2018-06-09 Tom.Shields
322 add casts to fix g++ (clang++) compile errors in the backtracking skeleton
323 due to assignment of ‘void *’ to another pointer type.
325 2018-05-25 Thomas E. Dickey <dickey@invisible-island.net>
328 check if this is bison 3+ before adding options to suppress warnings
330 * package/byacc.spec: build-fix for Mageia 6
332 * package/byacc.spec: add btyacc package
334 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
337 * package/debian/control: add a package for btyacc
339 * package/debian/rules: generate a package for btyacc
341 2018-05-24 Thomas E. Dickey <dickey@invisible-island.net>
343 * 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/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, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, btyaccpar.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/rename_debug.c:
346 * btyaccpar.skel: fix typo
348 2018-05-21 Thomas E. Dickey <dickey@invisible-island.net>
351 ignore case for "%" directives to skip with old-yacc, and add %token-table
356 2018-05-21 Christos.Zoulas
359 improve compatibility with bison by changing the YYLLOC_DEFAULT macro to use
360 YYRHSLOC() macro, and adjusting the array indices of yyerror_loc_range[] for
363 2018-05-10 Thomas E. Dickey <dickey@invisible-island.net>
366 add a fallback definition for YYDEBUG to the -i externs file.
368 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
370 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
373 2018-05-09 Thomas E. Dickey <dickey@invisible-island.net>
377 * aclocal.m4: resync with my-autoconf
379 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
382 * test/btyacc/rename_debug.i, btyaccpar.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-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/rename_debug.c, test/btyacc/varsyntax_calc1.tab.c:
385 * btyaccpar.skel: apply Guy Harris' changes here as well
387 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
389 * output.c: correct/improve fallback prototype for yylex()
391 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
393 2018-05-08 Thomas E. Dickey <dickey@invisible-island.net>
395 * test/btyacc/grammar.tab.c, test/yacc/grammar.tab.c: regen
398 quiet some warnings from gcc 7 when doing "make check_make"
400 * package/debian/watch, package/pkgsrc/Makefile: update ftp-url
402 * test/btyacc/ok_syntax1.tab.h, test/btyacc/btyacc_calc1.tab.h: regen
405 provide yylex() declaration for simple case (request by "Mutiny")
407 * test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/ok_syntax1.tab.h, 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_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/rename_debug.c, test/yacc/rename_debug.i, yaccpar.c:
410 * VERSION, package/byacc.spec, package/debian/changelog, package/debian/copyright, package/mingw-byacc.spec, package/pkgsrc/Makefile:
413 2018-05-06 Guy.Harris
415 * yaccpar.skel: two fixes:
416 1) define yydebug only if YYDEBUG is defined and
417 2) make yynerrs a parser-local variable if the parser is reentrant.
419 2018-02-24 Guy.Harris
421 * output.c: do not emit "extern YYSTYPE yylval;" for pure parsers
423 2018-02-05 Thomas E. Dickey <dickey@invisible-island.net>
425 * config.sub: 2018-01-15
427 * config.guess: 2018-01-26
429 2017-12-04 erik.b.andersen
431 * main.c: A proper path for temporary files is needed by byacc under
432 Windows commandline, otherwise there's a risk of empty files.
433 The TEMP environment variable is always defined in Windows.
435 * defs.h: The noreturn attribute needs to be specified before function
436 to be portable among compilers (gcc, clang, msvc).
438 2017-12-04 Thomas E. Dickey <dickey@invisible-island.net>
440 * reader.c: adapted fix by Erik B:
441 a) increase the length of name[] to account for a trailing null
442 b) note that calling syntax_error() from get_number() does not return
444 2017-09-14 Tom.Shields
448 2017-07-09 Thomas E. Dickey <dickey@invisible-island.net>
450 * package/byacc.spec, package/mingw-byacc.spec:
451 use predefined "configure"
453 * reader.c: remove unused assignment
455 * package/debian/rules: use dpkg-buildflags
459 * aclocal.m4: resync with my-autoconf
461 * reader.c, output.c, defs.h:
462 add/use IS_NAME1() and IS_NAME2() to reduce clutter
464 * reader.c, output.c, defs.h:
465 guard against sign-extension in ctype-macros
467 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
470 * reader.c: check for numeric overflow in get_number()
473 correct limit-checks for input filename and line-number, in case no valid
474 filename and/or number was found.
476 2017-04-30 Thomas E. Dickey <dickey@invisible-island.net>
478 * test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c, btyaccpar.c, btyaccpar.skel:
479 fix another uninitialized variable warning in "make check_make" for btyacc
481 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/calc3.tab.c, btyaccpar.c, btyaccpar.skel, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/calc3.tab.c, yaccpar.c, defs.h, yaccpar.skel, output.c:
482 fix some compiler warnings for "make check_make" by adding section init_vars,
483 which initializes the body_vars for pure-parser configuration.
485 2017-04-30 Tom.Shields
488 use YY_NO_LEAKS set in configure --with-no-leaks, in the generated code
490 2017-04-30 Julien.Ramseier
492 * main.c, test/yacc/big_l.output:
493 fix typo in unsupported-flag warning message
495 2017-04-30 Thomas E. Dickey <dickey@invisible-island.net>
497 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
500 2017-04-29 Thomas E. Dickey <dickey@invisible-island.net>
502 * config.sub: 2017-04-02
504 2017-03-18 Thomas E. Dickey <dickey@invisible-island.net>
506 * config.sub: 2017-02-07
508 * config.guess: 2017-03-05
510 2017-02-01 Thomas E. Dickey <dickey@invisible-island.net>
512 * test/btyacc/expr.oxout.error, test/btyacc/expr.oxout.output, test/btyacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.h, test/yacc/expr.oxout.error, test/yacc/expr.oxout.output, test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h:
515 * package/debian/copyright: update copyright
517 * reader.c, defs.h, main.c:
518 avoid using regex.h since some low-end platforms do not have this
520 * test/expr.oxout.y: RCS_BASE
524 * aclocal.m4: quiet a strict gcc warning in CF_MKSTEMP
526 2017-02-01 Tom.Shields
528 * main.c, reader.c, defs.h:
529 process #line directives, like bison and flex
531 2017-02-01 Thomas E. Dickey <dickey@invisible-island.net>
533 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
536 2016-12-31 Thomas E. Dickey <dickey@invisible-island.net>
538 * config.guess, config.sub: 2017-01-01
540 2016-12-02 Thomas E. Dickey <dickey@invisible-island.net>
542 * test/btyacc/quote_calc4-s.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/rename_debug.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, btyaccpar.c:
545 * btyaccpar.skel: changes from NetBSD
546 + use YYINT rather than short in btyaccpar.skel
547 (some of this had already been done by Tom Shields)
548 + remove some casts of malloc/realloc
550 * yaccpar.c, yaccpar.skel, output.c: changes from NetBSD
551 - Add some more bison stuff to make the mesa/gallium parser work:
552 %initial-action (add missing source struct member in location)
553 %debug (unimplemented)
554 %error-verbose (unimplemented)
556 This changes some existing code:
557 + yylloc is now a pointer, so
558 + the first parameter to YYERROR_DECL() is a pointer
559 + struct YYLTYPE now has a "source" field
561 * test/btyacc/btyacc_demo.tab.h, test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c, test/btyacc/err_inherit4.tab.h:
564 * btyaccpar.c, btyaccpar.skel, reader.c: changes from NetBSD
565 - Add some more bison stuff to make the mesa/gallium parser work:
566 %initial-action (add missing source struct member in location)
567 %debug (unimplemented)
568 %error-verbose (unimplemented)
570 This changes some existing code:
571 + yylloc is now a pointer, so
572 + the first parameter to YYERROR_DECL() is a pointer
573 + struct YYLTYPE now has a "source" field
576 fix from NetBSD: correct off-by-one when adding a null in copy_param()
578 * reader.c: adapted from NetBSD
579 - Convert *most* error fingerprints to:
580 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
581 +unterminated_arglist(const struct ainfo *a)
582 - Cast new <ctype.h> args to unsigned char
584 * defs.h: changes from NetBSD
585 - Add some more bison stuff to make the mesa/gallium parser work:
586 %initial-action (add missing source struct member in location)
587 %debug (unimplemented)
588 %error-verbose (unimplemented)
590 This changes some existing code:
591 + yylloc is now a pointer, so
592 + the first parameter to YYERROR_DECL() is a pointer
593 + struct YYLTYPE now has a "source" field
595 * defs.h: adapted from NetBSD
596 - Convert *most* error fingerprints to:
597 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
598 +unterminated_arglist(const struct ainfo *a)
599 - Cast new <ctype.h> args to unsigned char
601 * main.c: changes from NetBSD
602 - Add some more bison stuff to make the mesa/gallium parser work:
603 %initial-action (add missing source struct member in location)
604 %debug (unimplemented)
605 %error-verbose (unimplemented)
607 This changes some existing code:
608 + yylloc is now a pointer, so
609 + the first parameter to YYERROR_DECL() is a pointer
610 + struct YYLTYPE now has a "source" field
612 * error.c: adapted from NetBSD
613 - Convert *most* error fingerprints to:
614 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
615 +unterminated_arglist(const struct ainfo *a)
616 - Cast new <ctype.h> args to unsigned char
618 * mstring.c: adapted change from NetBSD to add casts for ctype macros
620 * test/btyacc/btyacc_demo.tab.h, test/btyacc/err_inherit4.tab.h: regen
622 * output.c: reorder to eliminate a forward-reference
624 2016-12-02 Tom.Shields
627 modify output to enable compilation of a lexer generated by flex (using
628 "%option bison-bridge" and "%option bison-locations") to be used with a parser
629 generated by b(t)yacc (using directives "%locations" and "%pure-parser").
631 2016-12-02 Thomas E. Dickey <dickey@invisible-island.net>
635 * aclocal.m4: Improved autoconf macros
637 + improve split between compiler and options, prompted by report where user
638 had "ccache" before the compiler
639 + leave non-preprocessor options in "$CC" (but still copy them to "$CFLAGS"
640 since that's where they should be)
642 + recent glibc (Debian 2.23-4 for example) has misordered ifdef/checks for new
643 symbol _DEFAULT_SOURCE, producing warning messages when only _GNU_SOURCE is
644 defined. Add a followup check to define _DEFAULT_SOURCE.
646 + add "uclinux" to list of Linux's (patch by Yann E. Morin)
647 + use _GNU_SOURCE for cygwin headers
648 + build-fixes for OS/2
650 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
653 2016-11-20 Thomas E. Dickey <dickey@invisible-island.net>
655 * config.sub: 2016-11-19
657 * config.guess: 2016-10-02
659 2016-06-06 Thomas E. Dickey <dickey@invisible-island.net>
663 * aclocal.m4: improved autoconf macros:
664 CF_CC_ENV_FLAGS - don't limit the check to -I, -U and -D options, since the
665 added options can include various compiler options before and after
666 preprocessor options.
667 CF_PROG_LINT - add cpplint to programs to use; drop ad hoc tdlint and alint.
669 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
677 adjust whitespace so that generated skeleton will follow the same format
680 * mkpar.c, verbose.c, lr0.c, reader.c, error.c, output.c: indented
682 * reader.c: fix two compiler warnings
684 * test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/rename_debug.c, btyaccpar.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/rename_debug.c, yaccpar.c:
687 2016-06-06 Tom.Shields
689 * btyaccpar.skel, yaccpar.skel:
690 small fix for an edge case of initialized data in Chris Dodd's btyacc changes:
691 "Avoid crash when input pops up an Action error at the first token"
693 2016-06-01 Thomas E. Dickey <dickey@invisible-island.net>
695 * test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc3-s.tab.c, test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/varsyntax_calc1.tab.c, test/yacc/err_syntax18.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax24.error, test/yacc/error.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/code_calc.code.c, test/yacc/code_calc.tab.c, test/yacc/code_calc.tab.h, test/yacc/code_error.code.c, test/yacc/empty.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, test/yacc/rename_debug.c, yaccpar.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.error, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.output, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.error, test/btyacc/btyacc_demo.output, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_calc.tab.c, test/btyacc/code_calc.tab.h, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.output, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.output, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/rename_debug.c, btyaccpar.c:
698 2016-06-01 Tom.Shields
700 * btyaccpar.skel, defs.h, error.c, output.c, reader.c, test/code_calc.y, test/err_inherit4.y, test/run_make.sh, yaccpar.skel:
701 fixes for issues in btyacc (report by Francis Andre):
703 + correction to the placement of the #line directive for a %union specification
705 + recovery of a set of casts originally added into btyaccpar.c rather than into
706 btyaccpar.skel, and so are lost whenever building from scratch
708 + Chris Dodd's btyacc improved handling of inherited attributes to eliminate
709 implicit empty copy rules that are not necessary, and thereby avoiding the
710 introduction of extra parsing ambiguity
712 + Chris Dodd's added support for @-N syntax to reference inherited position
715 + correction to bad interaction between %token-table and YYDEBUG, where YYDEBUG
716 was required to be defined in order to compile the generated code
718 + correction to yyname[] access in code included with YYDEBUG defined for
719 single character symbols not recognized (e.g., input containing '&' character
720 where grammar doesn't define that as a symbol) - map to existing
721 "illegal-symbol" entry in byname[]
723 + fixes to test/run_make.sh: skip test-err_* files; in the bison test phase
724 skip additional files that contain features not supported by bison and
725 inhibit new bison warning messages
727 + minor changes to btyaccpar.skel & yaccpar.skel so they are more similar in
728 their commonality; makes it easier to maintain the pair of files using
731 + changes to a couple of test cases for coverage of #3, #4 and #5 above
733 2016-06-01 Thomas E. Dickey <dickey@invisible-island.net>
735 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
738 2016-03-24 Thomas E. Dickey <dickey@invisible-island.net>
740 * reader.c: unused variable
742 * package/pkgsrc/Makefile, package/debian/copyright: bump
744 2016-03-24 Jung-uk.Kim
747 correct logic for finding output suffix in the "-o" option, which matched
748 the first occurrence of ".c" in the name in 2005-08-13 changes rather than
749 at the end of the filename (patch by Jung-uk Kim)
751 2016-03-24 Thomas E. Dickey <dickey@invisible-island.net>
754 update CF_WITH_MAN2HTML to use configured shell rather than /bin/sh
756 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
759 2016-01-25 Thomas E. Dickey <dickey@invisible-island.net>
761 * config.guess, config.sub: 2016-01-01
763 2015-07-10 Thomas E. Dickey <dickey@invisible-island.net>
765 * lr0.c: fix a duplicate-free in the leak-checking
767 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
771 make cache-size clearer (prompted by discussion with Pedro Giffuni,
775 make relationship with format/size clearer (prompted by discussion
776 with Pedro Giffuni, Oliver Pinter)
778 2015-07-05 Thomas E. Dickey <dickey@invisible-island.net>
782 * package/pkgsrc/Makefile, package/mingw-byacc.spec, package/debian/copyright, package/debian/changelog, package/byacc.spec, VERSION:
785 * aclocal.m4: resync with my-autoconf
786 add configure option --with-man2html
788 * makefile.in: add configure options --with-man2html
790 * configure.in: add configure option --with-man2html
792 2015-05-02 Thomas E. Dickey <dickey@invisible-island.net>
794 * config.guess: 2015-03-04
796 * config.sub: 2015-03-08
798 2014-11-28 Thomas E. Dickey <dickey@invisible-island.net>
800 * lr0.c: coverity #39181: memory leak
802 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
805 2014-11-13 Jouk.Jansen
808 I sucessfully compiled byacc on my OpenVMS systems. However, I had to update
809 the descrip.mms to include some extra c-source files and some dependenxcies
810 so that it also works when the distribution is located on an ODS5 disk.
812 The patched descrip.mms file can be found at:
813 http://nchrem.tnw.tudelft.nl/openvms/software2.html#BYACC
815 Please feel free to insert the file in your distribution.
820 2014-10-06 Thomas E. Dickey <dickey@invisible-island.net>
822 * package/debian/source/format:
823 change to native format to work around regression in Debian packaging.
825 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
831 correct parameter for umask - for very old mkstemp's - and use type mode_t
832 to quiet compiler warning
834 * configure.in: add configure check for mode_t
837 better fix for get_line, by ensuring there is enough space to null-terminate
838 its result (prompted by discussion with Craig Rodrigues).
840 2014-10-05 Thomas E. Dickey <dickey@invisible-island.net>
843 make change to umask before calling mkstemp, as suggested in Coverity #56902
846 adjust logic in copy_action to avoid potential null-pointer dereference
850 adjust logic to avoid potential null-pointer dereference in compile_args
853 * reader.c: eliminate strcpy into fixed-size buffer (Coverity #63408)
855 * yacc.1: document changes made with respect to %parse-param
858 add parameters from %parse-param to destructor. The order of the parameters
859 is intentionally inconsistent with yyparse/yyerror, for "compatibility" with
862 * test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c:
866 use puts_param_types/puts_param_names to output lex_param data.
868 * test/btyacc/ok_syntax1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/rename_debug.c:
871 * btyaccpar.c: add casts, change types to fix strict compiler warnings
873 * test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax21.tab.c, test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, test/btyacc/err_inherit1.tab.c, test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c:
876 * output.c: gcc-warning
878 * test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c: regen
880 * output.c: fix limit when merging real/workaround tables
883 for btyacc, it is possible to have no conflicts - but in that case, the
884 "ctable" was not generated at all, while the skeleton uses the table.
885 The most straightforward (workaround) is generating a dummy table which
888 * test/btyacc_destroy3.y, test/btyacc_destroy2.y, test/btyacc_destroy1.y:
889 fix "make check_make"
891 * test/yacc/calc3.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/calc2.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c:
895 trim blanks from interim value in copy_param() to handle special case when
896 a space precedes a comma.
899 use two new functions, puts_param_types and puts_param_names, to improve
900 format of the parse_param list (by trimming space after "*") as well as
901 correcting the output of the comma-separated names (only the last name
904 * test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c:
908 modify copy_param() to handle resulting comma-separated list. Before, it
909 only expected a single parameter.
911 2014-10-04 Thomas E. Dickey <dickey@invisible-island.net>
913 * reader.c: split-out save_param() from copy_param()
915 * reader.c: trim_blanks() did not always convert spaces - fix.
917 * reader.c: fix some minor regressions with error-reporting
919 * aclocal.m4: update CF_XOPEN_SOURCE for Unixware change from lynx
921 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
925 modify copy_param() to accept multiple parameters, each in curly braces like
926 recent bison, as well as honoring bison's undocumented feature to accept the
927 parameters as a comma-separated list.
929 * test/btyacc/btyacc_destroy3.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.error, test/btyacc/btyacc_destroy3.output, test/btyacc/btyacc_destroy3.tab.h, test/btyacc/btyacc_destroy2.error, test/btyacc/btyacc_destroy2.output, test/btyacc/btyacc_destroy2.tab.h:
932 2014-10-03 Thomas E. Dickey <dickey@invisible-island.net>
934 * test/btyacc/btyacc_demo2.error, test/btyacc/btyacc_demo2.output, test/btyacc/btyacc_demo2.tab.c, test/btyacc/btyacc_demo2.tab.h, test/btyacc/btyacc_destroy1.error, test/btyacc/btyacc_destroy1.output, test/btyacc/btyacc_destroy1.tab.h, test/btyacc_destroy3.y, test/btyacc_destroy1.y, test/btyacc_destroy2.y:
937 2014-10-02 Thomas E. Dickey <dickey@invisible-island.net>
939 * main.c, reader.c, defs.h:
940 use calloc in get_line() when allocating line to ensure it is fully initialized,
941 fixes a later uninitialized value in copy_param() (FreeBSD #193499).
943 2014-09-17 Thomas E. Dickey <dickey@invisible-island.net>
945 * closure.c, lalr.c, output.c, defs.h:
946 rephrase odd addressing to fix Coverity #48848, #38950, #38860, not actually
949 2014-09-01 Thomas E. Dickey <dickey@invisible-island.net>
951 * config.sub: update to 2014-07-28
953 2014-07-27 Thomas E. Dickey <dickey@invisible-island.net>
957 * aclocal.m4: modified to support port to Minix3.2
959 * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
962 2014-07-15 Thomas E. Dickey <dickey@invisible-island.net>
964 * aclocal.m4: resync with my-autoconf (no change to configure script)
966 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
970 make top-level "make check" work again, by adding another step to filtering
973 2014-07-14 Thomas E. Dickey <dickey@invisible-island.net>
975 * test/run_test.sh: changes from Garrett Cooper's patch:
976 a) ensure that the script returns an error-code if there are differences
977 b) escape "." character in left side of sed expression for $YACC
978 c) ensure that $ifBTYACC has a value
980 * 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:
981 regen (reminder by Garrett Cooper)
983 2014-07-14 Garrett.Cooper
985 * 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:
988 2014-05-27 Tom.Shields
990 * main.c: remove obsolete -D option from usage message
992 2014-05-27 Thomas E. Dickey <dickey@invisible-island.net>
994 * 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:
997 2014-04-22 Thomas E. Dickey <dickey@invisible-island.net>
1000 use vsnprintf() to ensure that msprintf's buffer is large enough.
1002 * main.c, defs.h: add mstring_leaks()
1006 * output.c: fix a complementary warning
1008 * mstring.c: introduce vsnprintf
1010 * configure.in, config_h.in: add check for vsnprintf
1012 * output.c: quiet a type-conversion warning
1014 * mstring.c: fix a potential memory leak on ENOMEM
1015 quiet a couple of type-conversion warnings
1017 * defs.h: add/use GCC_PRINTFLIKE for msprintf()
1019 2014-04-22 Tom.Shields
1022 drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant
1023 content into README.BTYACC
1025 2014-04-22 Thomas E. Dickey <dickey@invisible-island.net>
1027 * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
1030 2014-04-19 Thomas E. Dickey <dickey@invisible-island.net>
1032 * config.sub: 2014-04-03
1034 * config.guess: 2014-03-23
1036 2014-04-09 Rick.Spates
1038 * main.c, defs.h: patch to allow DEBUG build with WIN32 system
1040 2014-04-09 Thomas E. Dickey <dickey@invisible-island.net>
1042 * output.c, reader.c: gcc warnings
1044 * reader.c: fix const-cast warnings
1046 * 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:
1047 fix a few clang --analyze warnings; one was a case where output_ctable emitted
1048 an empty table (which should be an error).
1050 * reader.c: appease clang --analyze
1052 * defs.h: mark two functions as no-return.
1054 * package/debian/changelog: reason for release
1056 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1059 * makefile.in: use $LINT_OPTS from environment via configure script
1061 * 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:
1062 tweaks to make generated files from ok_syntax1.y compile with check_make rule
1064 * 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:
1065 reference output for testing
1068 retain the renaming done for code_debug.y so that check_make will work.
1070 * test/yacc/rename_debug.error, test/yacc/rename_debug.h, test/yacc/rename_debug.i, test/yacc/rename_debug.output:
1071 reference output for testing
1073 * test/btyacc/ok_syntax1.error: RCS_BASE
1075 * 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:
1079 clarify relationship of btyacc features to default configuration.
1081 2014-04-08 Thomas E. Dickey <dickey@invisible-island.net>
1083 * 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:
1084 reference output for testing
1086 * test/ok_syntax1.y: RCS_BASE
1088 * test/yacc/ok_syntax1.error: reference output for testing
1090 * 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:
1091 exercise -L/-B options
1093 * 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:
1094 use a better renaming of the YYPATCH definition (none of the test-cases rely
1095 upon it, but redefinition in the "make check_make" rule is a problem).
1097 * 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:
1098 undid temporary reordering in reader() by Tom Shields to align with byacc outputs
1100 * test/run_test.sh: remove a repeated test-case
1102 * mstring.c: minor reformatting to make coverage analysis simpler
1104 2014-04-07 Thomas E. Dickey <dickey@invisible-island.net>
1106 * test/run_test.sh: tidy
1108 * 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:
1109 reference output for testing
1112 add special checks for flags which depend on writable/existing files
1114 * 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:
1115 reference output for testing
1118 change CREATE_FILE_NAMES() to use local function rather than inline code,
1119 to simplify coverage analysis.
1121 * 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:
1122 reference output for testing
1124 * test/err_syntax27.y: testcase for missing_brace()
1126 * error.c: ifdef'd non-btyacc function
1128 * lr0.c: ifdef'd debug-code
1130 * yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel
1132 * 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:
1133 2010/11/26 simplification of output.c using putc_code() and putl_code()
1134 omitted an adjustment of the #line value used for code-file. Fix that.
1135 Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for
1136 YYPATCH #define's to make test-outputs easier to compare #line's (report
1139 2014-04-06 Thomas E. Dickey <dickey@invisible-island.net>
1141 * reader.c: fix for valgrind
1142 (the calloc's are intentional - valgrind reported use of uninitialized memory)
1144 * lr0.c, output.c: fix for valgrind
1146 * 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:
1149 * test/yacc/code_debug.c, test/yacc/code_debug.h:
1150 exercise the -i option
1152 * test/yacc/code_debug.i: reference output for testing
1154 * test/run_test.sh: exercise the -i option
1156 * test/yacc/code_debug.c: reference output for testing
1158 * test/run_test.sh: exercise the "-o" option
1160 * test/yacc/code_debug.error, test/yacc/code_debug.h, test/yacc/code_debug.output:
1161 reference output for testing
1163 * output.c: don't call exit() without giving a chance to cleanup.
1165 * mstring.c: ifdef'd functions not used in byacc
1167 * btyaccpar.c: generated from btyaccpar.skel
1169 * yaccpar.c: generated from yaccpar.skel
1172 change the generated-by comment to show which version of this script (and
1173 which version of the given skeleton file) were used to produce the C-file.
1178 add rules to generate byacc and btyacc parser skeleton files independently
1180 * aclocal.m4: CF_PROG_AWK - add to byacc's configure script
1182 cleanup the -no-gcc option which was leftover from testing - prcs does
1183 not build with this option.
1185 protect $2 from substitution, for luit's "$(manext)"
1187 for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2
1188 on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE
1189 because it is not needed, as well as because g++ 4.7.3 (no package,
1190 used in Sage for Solaris 10) has some unspecified header breakage which
1191 is triggered by the duplicate definition.
1194 modify so skeleton-source is determined by configure options rather than by
1195 having developer rename yaccpar.skel.old to yaccpar.skel
1197 * descrip.mms: rename skeleton
1200 fwiw, renamed the skeleton for consistency with makefile
1202 * skel2c, skeleton.c: resync skeleton and its generating files
1205 renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules
1207 * yaccpar.skel.old: resync skeleton and its generating files
1209 * test/run_make.sh: improve cleanup after error recovery
1211 * 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:
1212 use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton
1214 * output.c: simplify output_yyerror_decl()
1216 * 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:
1217 add second "const" to string-table declarations, from Tom Shield's btyacc changes
1219 * 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:
1220 discard unnecessary call on write_code_lineno() from Tom Shield's changes
1222 * 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:
1223 use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short"
1225 * test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c:
1226 use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL()
1228 * 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:
1229 discard unnecessary call on write_code_lineno() from Tom Shield's changes
1231 * 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:
1232 use fix from Tom Shield's btyacc changes: prefix-definitions went to the
1233 output (.tab.c) file in a case where they should have gone to the code
1234 (.code.c) file. Remove now-redundant call to output_prefix().
1236 * main.c: do the same for help-message
1238 * main.c: use OUTPUT_SUFFIX symbol in an overlooked case
1241 modify to avoid use of VPATH, which has no standard implementation
1243 2014-04-05 Thomas E. Dickey <dickey@invisible-island.net>
1245 * 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:
1246 discard a change which merged CountLines() with explicit comparisons against
1247 code_file because that adds extra to the #line values
1249 * 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:
1250 add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to
1251 override fallback typedef for YYSTYPE when that symbol is undefined
1253 * 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:
1254 minor tweak to coding style - use parenthesis for "defined" operator's parameter
1256 * 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:
1257 regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent
1259 * 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:
1260 regen after adding the YYUNDFTOKEN symbol
1263 integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol
1264 (I changed order of output to keep this adjacent to YYMAXTOKEN)
1267 merge all but one small change from Tom Shield's btyacc changes - that
1268 changes the order of code-file in the tests.
1270 * test/btyacc/btyacc_demo.tab.c: regen
1272 * test/btyacc_demo.y: fix prototypes
1274 2014-04-04 Thomas E. Dickey <dickey@invisible-island.net>
1276 * reader.c, defs.h, main.c:
1277 more merging of Tom Shield's btyacc changes. In the merge, I moved the
1278 symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs
1280 2014-04-03 Thomas E. Dickey <dickey@invisible-island.net>
1283 merge-in 3/4 of btyacc's changes, deferring those which change test-outputs.
1284 Tom Shield's changes split-out copy_string() and copy_comment() functions
1285 to simplify some logic, as well as adding btyacc-only chunks
1287 * makefile.in: build mstring.o, needed for changes in reader.c
1290 merge-in all of btyacc's changes which do not change byacc's test-output.
1291 Some of the merge uses ifdef-changes which I applied to ongoing resync,
1292 e.g., the introduction of PER_STATE.
1294 2014-04-02 Thomas E. Dickey <dickey@invisible-island.net>
1296 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen
1298 * output.c: fix typo
1300 * output.c, reader.c:
1301 merge in some chunks of reader and output files which do not affect byacc tests
1303 * test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen
1305 * 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:
1306 incorporate YYENOMEM and YYEOF symbols from btyacc
1308 * output.c: merge chunk from btyacc changes for header-guards
1310 * btyaccpar.skel: RCS_BASE
1312 * yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues
1313 remove GCC_UNUSED to reduce name-pollution as well as being simpler
1316 move a btyacc symbol outside ifdef to work around current state of merge
1319 add USE_HEADER_GUARDS to defer whether to modify byacc's header-output
1322 do not try to compile files used for testing syntax-errors, since they are
1323 likely to be incomplete
1325 2014-04-02 Tom.Shields
1327 * main.c: changes for btyacc
1329 2014-04-01 Thomas E. Dickey <dickey@invisible-island.net>
1332 integrate change by Tom Shields to use bsearch rather than successive
1335 * defs.h: typedef __compar_fn_t is unnecessary
1337 * 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:
1338 omit the GCC_UNUSED, as noted by Tom Shields not really essential
1340 2014-04-01 Tom.Shields
1342 * verbose.c: changes for btyacc, ifdef'd
1344 2014-04-01 Thomas E. Dickey <dickey@invisible-island.net>
1346 * mkpar.c: eliminate most of the ifdef's using macros
1348 2014-04-01 Tom.Shields
1350 * mkpar.c: merge btyacc changes (ifdef'd - no change to byacc)
1353 new functions used for reporting errors from the btyacc configuration
1354 (I reordered some, and ifdef'd the new ones -TD)
1356 2014-03-31 Thomas E. Dickey <dickey@invisible-island.net>
1358 * test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c:
1359 omit the GCC_UNUSED, as noted by Tom Shields not really essential
1361 * 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:
1364 2014-03-29 Thomas E. Dickey <dickey@invisible-island.net>
1366 * 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:
1367 comment-out yysccsid in the banner because it produces unnecessary compiler
1368 warnings. The suggested alternative (using #pragma ident) in the preceding
1369 comment is also obsolete; remove that comment (request by Gleb Smirnoff).
1372 for yacc, ignore the inherit testcases, since they are btyacc-specific
1374 2014-03-28 Thomas E. Dickey <dickey@invisible-island.net>
1376 * 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:
1377 reference output for testing
1379 * test/run_lint.sh, test/run_make.sh, test/run_test.sh:
1380 moving #define's out of makefile broke check for yacc vs btyacc (fix)
1382 2014-03-28 Tom.Shields
1384 * 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:
1385 reference output for testing
1387 * defs.h: new functions/variables for btyacc
1388 (I reordered and ifdef'd -TD)
1390 * test/inherit0.y, test/inherit1.y: testcase for btyacc
1392 2014-03-27 Tom.Shields
1394 * test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y, test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y:
1397 2014-03-25 Tom.Shields
1399 * symtab.c: extra initialization needed for btyacc
1402 * yacc.1: document -L/-B features from btyacc
1404 2014-03-25 Thomas E. Dickey <dickey@invisible-island.net>
1411 modified new options to act like those in my other configure-scripts, e.g.,
1412 showing what option is being tested, and the resulting value. Put the
1413 definitions in config.h rather than in the makefile.
1415 2014-03-25 Tom.Shields
1417 * makefile.in: add/use LINTFLAGS variable
1418 make all of the objects (not just skeleton) rebuild if makefile changes
1419 modify check-rule to reflect updates to run_test.sh vs subdirectory
1421 * mstring.c: byacc-btyacc-20140323
1423 2014-03-25 Thomas E. Dickey <dickey@invisible-island.net>
1425 * test/btyacc/RCS, test/yacc/RCS: PERMIT FILE
1427 * config_h.in: updated with autoheader-252
1429 2014-03-25 Tom.Shields
1431 * README.BTYACC: byacc-btyacc-20140323
1433 2014-03-24 Tom.Shields
1435 * 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:
1436 reference output for testing
1438 2014-03-24 Thomas E. Dickey <dickey@invisible-island.net>
1440 * defs.h: fix compiler warnings due to mputc()
1442 2014-03-23 Tom.Shields
1444 * test/btyacc_demo.y: testcase for btyacc
1446 * test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h:
1447 reference output for testing
1449 * test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc
1451 2014-03-23 Thomas E. Dickey <dickey@invisible-island.net>
1453 * 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:
1454 reference output for testing
1456 * test/err_syntax26.y: testcase for missing_brace()
1458 * 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:
1459 reference output for testing
1461 * test/err_syntax25.y: testcase for over_unionized()
1463 * 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:
1464 reference output for testing
1466 * test/err_syntax24.y: testcase for default_action_warning()
1468 2014-03-23 Tom.Shields
1470 * 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:
1471 reference output for testing
1473 2014-03-23 Thomas E. Dickey <dickey@invisible-island.net>
1475 * 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:
1476 reference output for testing
1478 * test/err_syntax23.y: testcase for untyped_lhs()
1480 2014-03-23 Tom.Shields
1483 move test-outputs into subdirectories to keep btyacc/yacc results separate
1485 2014-03-23 Thomas E. Dickey <dickey@invisible-island.net>
1487 * 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:
1488 reference output for testing
1490 * test/err_syntax22.y: testcase for untyped_rhs()
1492 * 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:
1493 reference output for testing
1495 * test/err_syntax20.y: testcase for undefined_symbol_warning()
1497 * test/err_syntax21.y: testcase for unknown_rhs()
1499 * 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:
1500 reference output for testing
1502 * test/err_syntax19.y: testcase for dollar_error()
1504 * 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:
1505 reference output for testing
1507 * test/err_syntax18.y: testcase for dollar_warning()
1509 * 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:
1510 reference output for testing
1512 * test/err_syntax17.y: testcase for unterminated_action()
1514 2014-03-22 Thomas E. Dickey <dickey@invisible-island.net>
1516 * 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:
1517 reference output for testing
1519 * test/err_syntax16.y: testcase for terminal_lhs()
1521 * 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:
1522 reference output for testing
1524 * test/err_syntax15.y: testcase for no_grammar()
1526 * 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:
1527 reference output for testing
1529 * test/err_syntax14.y:
1530 testcase for restarted_warning() and undefined_goal()
1532 * 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:
1533 reference output for testing
1535 * test/err_syntax13.y: testcase for terminal_start()
1537 * 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:
1538 reference output for testing
1540 * test/err_syntax12.y: testcase for revalued_warning()
1542 * 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:
1543 reference output for testing
1545 * test/err_syntax11.y: testcase for reprec_warning()
1547 * 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:
1548 reference output for testing
1550 * test/err_syntax10.y: testcase for retyped_warning()
1552 2014-03-21 Thomas E. Dickey <dickey@invisible-island.net>
1554 * 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:
1555 reference output for testing
1557 * test/err_syntax9.y: testcase for tokenized_start()
1559 * 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:
1560 reference output for testing
1562 * test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved()
1564 * 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:
1565 reference output for testing
1567 * test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y:
1568 testcase for illegal_character()
1570 * 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:
1571 reference output for testing
1573 * test/err_syntax6.y: testcase for illegal_tag()
1575 * 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:
1576 reference output for testing
1578 * test/err_syntax5.y: testcase for unterminated_union()
1580 * 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:
1581 reference output for testing
1583 * test/err_syntax4.y: testcase for unterminated_text()
1585 * 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:
1586 reference output for testing
1588 * test/err_syntax3.y: testcase for unterminated_string()
1590 * 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:
1591 reference output for testing
1593 * test/err_syntax2.y: testcase for unterminated_comment()
1595 * test/err_syntax1.error, test/yacc/err_syntax1.error:
1596 reference output for testing
1598 * test/err_syntax1.y:
1599 test-case with syntax error (and nonprinting character)
1601 * 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:
1602 reference output for testing
1605 save stderr to reference files, to capture shift/reduce messages as well
1606 as syntax-error messages
1608 * 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:
1609 reference output for testing
1611 * test/run_test.sh: generate a ".dot" file for the grammar file
1613 * test/grammar.dot: RCS_BASE
1615 * test/yacc/grammar.dot: reference output for testing
1617 2014-03-19 Tom.Shields
1619 * output.c: rename MAXSHORT to MAXYYINT
1621 2014-03-18 Tom.Shields
1623 * yaccpar.skel: skeleton with btyacc additions
1625 * NOTES-btyacc-Changes: byacc-btyacc-20140323
1627 * test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h:
1628 reference output for testing
1631 move test-outputs into subdirectories to keep btyacc/yacc results separate
1633 * 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:
1634 reference output for testing
1637 several changes to help decouple the use of 'short' as the type of value
1638 used in yacc parsers.
1640 * NOTES-btyacc-Disposition: byacc-btyacc-20140323
1642 2014-03-17 Tom.Shields
1644 * skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE
1647 move test-outputs into subdirectories to keep btyacc/yacc results separate
1649 * configure.in: add --with-max-table-size and --enable-btyacc options
1651 2014-03-16 Tom.Shields
1653 * main.c: use Value_t rather than short
1655 2014-03-11 Tom.Shields
1657 * test/empty.y: testcase for btyacc
1659 2014-03-10 Tom.Shields
1661 * test/calc3.y, test/calc2.y: fix unused-variable warning
1663 2014-02-18 Tom.Shields
1665 * lr0.c, graph.c: use Value_t rather than short
1667 * closure.c: use Value_t rather than short
1668 ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions
1670 * lalr.c: rename MAXSHORT to MAXYYINT
1672 2014-01-01 Thomas E. Dickey <dickey@invisible-island.net>
1674 * yacc.1: document %token-table, improve presentation of double-quotes
1676 * VERSION, package/byacc.spec, package/debian/changelog: bump
1678 * 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:
1679 reference output for testing
1681 * 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:
1684 * output.c, skeleton.c:
1685 amend the last change so that yytname is #define'd as needed rather than
1686 permanent - to avoid breaking cproto for instance.
1688 2014-01-01 Christos.Zoulas
1690 * output.c, defs.h, main.c, reader.c, skeleton.c:
1691 changes to build ntpd using byacc:
1692 - rename yyname[] to yytname[]
1693 - add YYTRANSLATE() macro
1694 - recognize bison's %token-table declaration
1696 2014-01-01 Thomas E. Dickey <dickey@invisible-island.net>
1700 * yacc.1: s/EE/XE/ to work around groff bug on Debian 6
1702 * makefile.in: use CF_MAKE_DOCS
1704 * aclocal.m4: add CF_MAKE_DOCS
1706 * configure.in: use CF_MAKE_DOCS
1708 2013-12-26 Thomas E. Dickey <dickey@invisible-island.net>
1710 * config.guess: 2013-11-29
1712 2013-11-19 Thomas E. Dickey <dickey@invisible-island.net>
1714 * aclocal.m4: resync with my-autoconf (fixes for clang and mingw)
1716 2013-10-25 Thomas E. Dickey <dickey@invisible-island.net>
1718 * config.sub: 2013-10-01
1720 2013-09-25 Thomas E. Dickey <dickey@invisible-island.net>
1722 * reader.c: fix two loop-limits found by clang 3.3 --analyze
1727 tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses
1729 * package/mingw-byacc.spec: RCS_BASE
1731 * 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:
1735 Increase default stack-size to match FreeBSD version noted as from
1736 "BSD 4.4 Lite Usr.bin Sources". See
1738 http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/
1739 http://svnweb.freebsd.org/base/head/usr.bin/yacc/
1740 http://svnweb.freebsd.org/base/vendor/byacc/
1742 The original 1.9 sources (on which I based development) used 500 for
1743 stacksize; the BSD Lite sources (a year or two later) used 10000.
1745 This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE
1746 symbols have "always" been overridable by applications, but rarely
1747 needed to do this. RedHat began using the FreeBSD source in 2000,
1748 and switched to this source in 2007 using the 20050813 snapshot.
1750 RedHat #743343 misattributed the change in default stacksize to
1751 a regression in byacc, but did not report the issue upstream.
1753 * package/debian/changelog, VERSION, package/byacc.spec: bump
1755 2013-09-07 Thomas E. Dickey <dickey@invisible-island.net>
1757 * config.sub: update to 2013-09-15
1759 * config.guess: update to 2013-06-10
1761 2013-03-04 Thomas E. Dickey <dickey@invisible-island.net>
1763 * package/debian/changelog, VERSION, package/byacc.spec: bump
1766 adapt tweak from Dave Beckett to work around long-ago breakage in "new" autoconf.
1769 fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton).
1770 also while testing that, found a case where the union_file is unused; added
1771 a check for address that.
1773 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen
1775 * test/ftp.y: fix most compiler warnings for "make check_make"
1777 * test/calc1.tab.c: regen
1779 * test/calc1.y: fix most compiler warnings for "make check_make"
1781 * 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:
1784 * skeleton.c: quiet a gcc conversion-warning in yygrowstack()
1789 another fix for CF_GCC_VERSION to handle Debian's modification of gcc message.
1791 2013-02-10 Thomas E. Dickey <dickey@invisible-island.net>
1793 * config.sub, config.guess: update to 2013-02-04
1795 2012-10-03 Thomas E. Dickey <dickey@invisible-island.net>
1797 * package/debian/changelog, package/byacc.spec, VERSION: bump
1801 * configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC
1804 moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc)
1805 the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor.
1807 * aclocal.m4, configure.in:
1808 Arian's change dropped my check for misused $CC variable - restore that with
1809 alternate macro CF_PROG_CC.
1811 2012-10-03 Adrian.Bunk
1814 suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since
1815 they are not needed.
1817 2012-10-03 Thomas E. Dickey <dickey@invisible-island.net>
1820 split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in
1821 Adrian's suggested changes.
1824 CF_CLANG_COMPILER - check if the given compiler is really clang.
1827 add check for clang to CF_GCC_WARNINGS. modify CF_GCC_WARNINGS to work around
1828 old gcc warning: ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1
1829 on my Sarge system (versus 3.3.5 for the normal gcc). The 2.8.1's
1830 pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work
1831 around by excluding that check for pre-3.x compilers.
1834 modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions
1835 provided by this macro. use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather
1836 than appending to confdefs.h, since long-ago concern about the ability to
1837 pass-through parameterized macros appears to be not a problem, testing with
1840 2012-10-03 Adrian.Bunk
1843 add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by
1844 autoheader, updated macros:
1848 CF_MIXEDCASE_FILENAMES
1851 2012-10-03 Thomas E. Dickey <dickey@invisible-island.net>
1854 move existence-check for mkstemp out of the AC_TRY_RUN, to help with
1857 2012-10-02 Thomas E. Dickey <dickey@invisible-island.net>
1860 Adrian Bunk request - replace this with the output from autoheader
1862 2012-09-29 Adrian.Bunk
1865 suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no
1866 check is needed anymore for standard C compilers), drop AC_CONST (same
1867 reason), modify AC_OUTPUT to rely upon template generated by autoheader.
1868 bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT
1869 as being obsolete with autoconf 2.52x
1871 * configure.in, main.c: drop check for atexit, because it is standard C
1873 * makefile.in: add assignment for datarootdir variable.
1875 2012-05-26 Thomas E. Dickey <dickey@invisible-island.net>
1877 * package/debian/changelog, package/byacc.spec, VERSION: bump
1880 some versions of gcc may warn that bp is not set in mark_symbol, e.g.,
1881 if GCC_NORETURN is not handled; appease the compiler.
1884 use the declared types Assoc_t and Value_t in some places where compiler only
1885 cared about char versus short.
1888 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
1892 add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD
1893 packagers to build without configure script. Also remove duplicate declaration
1894 of pure_parser variable (prompted by patch by Baptiste Daroussin).
1896 Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and
1900 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
1903 2012-05-25 Thomas E. Dickey <dickey@invisible-island.net>
1905 * output.c, main.c, verbose.c, mkpar.c, lr0.c:
1906 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
1909 2012-01-15 Thomas E. Dickey <dickey@invisible-island.net>
1911 * package/debian/copyright: bump
1913 * test/run_make.sh: workaround for breakage due to GNU make 3.82
1916 tested with Solaris 10 (bison 1.875) and added scripting to exercise
1917 the /usr/ccs/bin/yacc executable
1919 * test/grammar.tab.c: regen
1921 * test/grammar.y: modify to also build with Solaris yacc
1923 * VERSION, package/debian/changelog, package/byacc.spec: bump
1925 * test/yacc/calc1.output: reference output for testing
1927 * test/calc1.output, test/calc1.tab.c: regen
1930 undo the change made to appease bison, since it was only a warning.
1932 * test/pure_calc.tab.c, test/pure_error.tab.c: regen
1934 * test/run_make.sh: another fix for running from top-level directory
1937 ensure that check_make rule depends on having byacc built.
1939 * test/run_make.sh: fixes for building from parent directory
1941 * test/pure_error.y, test/pure_calc.y: bison-fixes
1943 * 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:
1946 * test/code_debug.y: RCS_BASE
1948 * test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y:
1949 byacc already declares yyerror
1951 * test/pure_error.y, test/pure_calc.y:
1952 modified to help make the files build with bison
1955 supply a "%pure-parser" directive when bison needs it.
1957 * test/code_calc.code.c: regen
1959 * test/code_calc.y: modified to help make the files build with bison
1962 in testing, found that %expect did not work as documented for bison.
1963 do not recommend it for portable code.
1965 * test/run_make.sh: workaround breakage in bison's %expect directive
1967 * test/grammar.y: modified to help make the files build with bison
1969 * test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen
1971 * test/calc1.y: quiet a spurious warning from bison 2.3
1973 * test/calc1.tab.c: regen
1975 * test/calc1.y: modified to help make the files build with bison
1977 * yacc.1: comment on "-y" and "-P" options.
1979 * yacc.1: comment on portability
1981 * 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:
1984 * test/ftp.y: modified to help make the files build with bison
1985 (bison's "-y" option is of no use in providing "yacc" compatibility)
1987 * test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
1990 * test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, test/quote_calc4.y, test/quote_calc3.y:
1991 modified to help make the files build with bison
1993 * test/calc.tab.c: regen
1995 * test/calc.y: modified to help make the files build with bison
1997 * test/error.tab.c: regen
1999 * test/error.y: modified to help make the files build with bison
2001 * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen
2004 check for older bisons which (2.3 for instance) do not support pure parsers
2006 * test/code_error.y, test/calc3.y, test/calc2.y:
2007 modified to help make the files build with bison
2009 * test/run_test.sh: use $opt2 in filenames of the generated files
2011 * 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:
2014 2012-01-14 Thomas E. Dickey <dickey@invisible-island.net>
2016 * 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:
2019 * output.c: Several changes:
2020 a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex.
2021 b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL,
2022 using YYLEX_PARAM_TYPE and YYLEX_PARAM.
2023 c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL,
2024 to help with redefinitions.
2026 * test/pure_calc.tab.c:
2027 modified to help make the files build with bison
2030 start work on followup, to check if the generated files build with bison.
2032 * test/pure_calc.y, test/pure_error.tab.c:
2033 modified to help make the files build with bison
2035 * test/calc3.tab.c: regen
2037 * 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:
2040 * 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:
2041 reference output for testing
2043 * test/run_test.sh: generate/test with "-s" option applied.
2045 2012-01-13 Thomas E. Dickey <dickey@invisible-island.net>
2047 * package/debian/changelog, package/byacc.spec, VERSION: bump
2049 * yacc.1: improve documentation of -s option
2051 * yacc.1: note that yacc ignores -y
2053 * main.c: add -s option to usage message.
2055 * test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h:
2058 * test/yacc/quote_calc3.output, test/yacc/quote_calc4.output, test/yacc/quote_calc4.tab.h:
2059 reference output for testing
2061 * test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE
2063 * test/yacc/quote_calc.tab.h: reference output for testing
2065 * 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:
2068 * test/yacc/quote_calc.output, test/yacc/quote_calc2.output, test/yacc/quote_calc2.tab.h, test/yacc/quote_calc3.tab.h:
2069 reference output for testing
2071 * test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE
2075 * aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE
2077 2011-12-19 Thomas E. Dickey <dickey@invisible-island.net>
2079 * package/debian/changelog, package/byacc.spec, VERSION: bump
2081 * yacc.1, output.c, main.c, defs.h:
2082 add "-s" option to suppress generating #define's based on string contents
2083 in a %token statement. For instance
2084 %token EQLS "Equals"
2088 Simply suppressing the second #define makes the behavior closer to yacc.
2089 (report by Paulo Andrade).
2091 2011-09-08 Thomas E. Dickey <dickey@invisible-island.net>
2093 * package/debian/changelog, package/byacc.spec, VERSION: bump
2096 fix some more interaction between -i and -d flags to ensure YYERRCODE
2097 and YYSTYPE are declared, tested with cproto.
2099 2011-09-07 Thomas E. Dickey <dickey@invisible-island.net>
2101 * yacc.1: document "-i" option.
2103 * package/debian/changelog, package/byacc.spec, VERSION: bump
2105 * output.c: fix an interaction between -i and -d
2107 * 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:
2108 regen - changes for "-i" option move the global/impure variables near the
2109 macros that may add a prefix, etc.
2111 * skeleton.c, output.c, defs.h: changes to support "-i" option.
2113 2011-09-06 Thomas E. Dickey <dickey@invisible-island.net>
2115 * reader.c: pass explicit file-pointer to write_section()
2118 add "-i" option, to generate interface-file (suggested by Denis M. Wilson)
2120 2011-09-05 Thomas E. Dickey <dickey@invisible-island.net>
2125 resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC)
2126 and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks)
2128 * defs.h, error.c, reader.c:
2129 add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson)
2131 2011-04-01 Thomas E. Dickey <dickey@invisible-island.net>
2133 * config.sub: update to 2011-04-01
2135 2011-02-02 Thomas E. Dickey <dickey@invisible-island.net>
2137 * config.guess: update to 2011-01-01
2139 2010-12-29 Thomas E. Dickey <dickey@invisible-island.net>
2141 * defs.h, skeleton.c:
2142 add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas)
2145 mark all of the error-functions as non-returning (report by Christos Zoulas)
2147 * 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:
2151 use only realloc() rather than realloc+malloc, agree that systems needing this
2152 are very rare (prompted by NetBSD change).
2154 * test/ftp.tab.c: regen
2156 2010-12-29 Christos.Zoulas
2159 improve example, which was stuck in 19XX and assumed file sizes were longs.
2161 2010-12-29 Thomas E. Dickey <dickey@invisible-island.net>
2163 * 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:
2166 * 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:
2167 use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror
2170 remove explicit prototype for yylex() via YYLEX_DECL() macro, since that
2171 would prevent declaring yylex() static (request by Christos Zoulas).
2173 * test/calc2.tab.c, test/calc3.tab.c: regen
2175 2010-12-29 Christos.Zoulas
2177 * output.c: correct definition for YYERROR_DECL()
2179 2010-12-29 Thomas E. Dickey <dickey@invisible-island.net>
2181 * package/debian/changelog, package/byacc.spec, VERSION: bump
2183 2010-12-26 Thomas E. Dickey <dickey@invisible-island.net>
2186 change return-type of allocate() to avoid warnings of alignment problems
2188 * main.c: Solaris declares chmod() in <sys/stat.h>
2192 * main.c: ifdef'd use of fcntl.h
2194 * configure.in: add configure checks for fcntl.h, atexit and mkstemp
2196 * main.c: for cases where mkstemp() is not available, use tempnam/open
2198 * aclocal.m4: add CF_MKSTEMP
2201 improve quoting, deprecate ${name-value} in favor of standard ${name:-value}
2203 2010-12-25 Thomas E. Dickey <dickey@invisible-island.net>
2206 start revising use of tmpfile(), to make this work with MinGW. Start by
2207 implementing a mkstemp() alternative - noting that mkstemp() also is broken
2210 * package/debian/changelog, package/byacc.spec, VERSION: bump
2212 2010-11-27 Thomas E. Dickey <dickey@invisible-island.net>
2214 * package/byacc.spec, package/debian/changelog, VERSION: bump
2216 * test/calc2.tab.c, test/calc3.tab.c: regen
2219 corrected use of %parse-param value in yyerror(); it doesn't use &yylval
2220 (report by Clifford Yapp)
2222 2010-11-26 Thomas E. Dickey <dickey@invisible-island.net>
2227 correct line-numbering when "-r" option is used; the 'outline' variable
2228 should only be incremented when writing to the code-file.
2230 * test/code_calc.code.c, test/code_error.code.c: regen
2234 * yacc.1: comment on -b option vs -r
2236 * 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:
2240 improve on YYERROR_DECL(), adding dummy params which can be used for the
2241 actual function declaration. Also add YYERROR_CALL(). The two macros
2242 simplify maintaining sets of grammars which may/may not be pure.
2244 * 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:
2247 * output.c: generate yyerror() calls in output.c
2248 This is for compatibility with bison, which passes the yylval to yyerror
2249 when the %parse-param feature is used.
2251 * skeleton.c, defs.h: generate yyerror() calls in output.c
2253 * output.c: simplified a little, using putc_code() and putl_code()
2255 * test/yacc/calc1.tab.h: reference output for testing
2257 * test/calc1.tab.h: regen
2260 improve ifdef for YYSTYPE union declaration (report by Clifford Yapp)
2263 accept underscore as a replacement for dash in command names, e.g.,
2264 "%pure_parser" vs "%pure-parser".
2266 * test/calc1.tab.c: regen
2268 * output.c, reader.c:
2269 also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp)
2271 * package/debian/changelog, package/byacc.spec, VERSION: bump
2273 2010-11-24 Thomas E. Dickey <dickey@invisible-island.net>
2275 * main.c, defs.h, symtab.c, error.c: reduce global variables
2277 * package/debian/changelog, package/byacc.spec, VERSION: bump
2280 amend fix for Redhat #112617 to still call default_action_warning() for
2281 empty rules (report by Bruce Cran).
2283 2010-11-22 Thomas E. Dickey <dickey@invisible-island.net>
2286 add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp).
2288 * test/calc1.tab.c: regen
2290 * test/calc1.y: cleanup compiler warnings
2292 * test/grammar.y: add "%expect"
2294 * test/calc1.tab.h: regen
2296 * test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE
2298 * test/calc2.tab.c, test/calc3.tab.c: regen
2301 advanced example from Steve Johnson's paper, uses unions
2303 * test/calc3.y, test/calc2.y: init 'base', so examples can run
2305 * test/ftp.tab.c, test/ftp.y: tweaks to compile with g++
2307 * output.c: compensate for fix in reader.c
2310 add/use putc_both() and puts_both(), incidentally fixing a place where
2311 a union copied to the union_file may be missing the end of the last line.
2313 * package/debian/changelog, package/byacc.spec, VERSION: bump
2315 2010-09-28 Thomas E. Dickey <dickey@invisible-island.net>
2317 * config.guess: update to 2010-09-24
2319 2010-09-10 Thomas E. Dickey <dickey@invisible-island.net>
2321 * config.sub: update to 2010-09-11
2323 2010-06-10 Thomas E. Dickey <dickey@invisible-island.net>
2325 * yacc.1, package/debian/changelog, package/byacc.spec, VERSION:
2328 2010-06-09 Thomas E. Dickey <dickey@invisible-island.net>
2330 * reader.c: free declarations in leak-testing code.
2332 * main.c: close code_file if -r option used, for leak-testing
2335 improve %lex-param / %parse-param implementation by allowing for arrays to
2336 be passed as parameters, e.g., "int regs[26]".
2338 * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h:
2341 * test/yacc/calc3.output, test/yacc/calc3.tab.h:
2342 reference output for testing
2344 * test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE
2346 * test/yacc/calc2.tab.h: reference output for testing
2348 * test/calc2.output: RCS_BASE
2350 * test/yacc/calc2.output: reference output for testing
2353 improve %lex-param / %parse-param implementation by allowing for arrays to
2354 be passed as parameters, e.g., "int regs[26]".
2356 * test/calc.tab.c, test/calc.y:
2357 test-cases and reference files for %lex-param / %parse-param
2359 * makefile.in: add docs-rule, for html/pdf/txt form of manpage
2363 * aclocal.m4: add CF_XOPEN_SOURCE, etc.
2366 use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89
2368 * 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:
2369 fix warnings from clang --analyze
2371 2010-06-08 Thomas E. Dickey <dickey@invisible-island.net>
2373 * output.c: fix to build with c89, etc.
2375 * reader.c: gcc warning
2377 * 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:
2378 modified test-cases to allow them to compile, to validate pure-parser changes.
2379 updated reference files to match.
2382 move call for output_stype() earlier since it is used in pure-parser declarations
2384 * test/grammar.tab.c, test/grammar.y:
2385 modified test-cases to allow them to compile, to validate pure-parser changes.
2386 updated reference files to match.
2388 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2391 * yacc.1: document %lex-param and %parse-param
2393 * test/run_lint.sh, test/run_make.sh: RCS_BASE
2396 further modify to allow build-directory to be in a different location by
2397 passing this directory's location as a parameter to the script.
2400 add check_make and check_lint rules to help validate the generated files
2401 in the test-directory
2403 2010-06-07 Thomas E. Dickey <dickey@invisible-island.net>
2405 * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE
2408 provide for testing -r and -P options by checking if the ".y" filename
2409 begins with "code_" or "pure_", respectively.
2411 * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h:
2414 * test/yacc/code_error.tab.h: reference output for testing
2416 * test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h:
2419 * test/yacc/code_calc.tab.h: reference output for testing
2421 * test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h:
2424 * test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h, test/yacc/pure_error.output, test/yacc/pure_error.tab.h:
2425 reference output for testing
2427 * test/code_calc.output, test/code_error.output: RCS_BASE
2429 * test/yacc/code_calc.output, test/yacc/code_error.output:
2430 reference output for testing
2432 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen
2435 changes to support running "make check" in a separate build-tree
2437 * main.c: add "-P" to usage message
2439 * reader.c: use UCH() macro to hide casts.
2441 2010-06-07 Andres.Mejia
2443 * main.c, output.c, reader.c, defs.h, skeleton.c:
2444 Fix the output order of the generated parse code file. This allows for
2445 the use of YYPARSE_PARAM, by having the output that checks for
2446 YYPARSE_PARAM to be defined come after the C code block in the
2447 definitions section of a yacc file.
2449 Implement support for YYLEX_PARAM, similar to bison. This is useful for
2450 support for building reentrant lexers with flex.
2452 Fix a compatibility issue with bison's pure-parser option. Bison
2453 defines yylex as sending at least one parameter, &yylval, as the first
2454 parameter and doesn't seem to have an easy way to remove that parameter.
2455 This on the other hand is rather convenient to support saving to yylval
2456 from flex when building reentrant lexers and parsers.
2458 Add support for the %parse-param and %lex-param directives used in
2459 bison. This change bears some similarity to NetBSD's changes to byacc
2460 at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html
2462 Bison allows for POSIX yacc emulation via a yacc directive in the yacc
2463 file, and also via a command line switch. Implement this feature as a
2464 no-op for byacc, since byacc is designed to be POSIX yacc compatible
2465 anyway. This allows for better compatibility with yacc sources written
2468 2010-06-07 Thomas E. Dickey <dickey@invisible-island.net>
2470 * VERSION: bump to 2010/06/07
2472 2010-06-06 Thomas E. Dickey <dickey@invisible-island.net>
2474 * test/calc.tab.c, configure: regen
2477 move #include's down into the generated code, to allow user-defined code
2478 to override feature definitions, particularly with stdlib.h (request by
2481 * lr0.c, error.c, reader.c, defs.h:
2482 strict gcc 3.4.6 warnings on 64-bit platform
2484 * aclocal.m4, configure.in: add check for lint
2486 * makefile.in: add lint rule
2488 * defs.h, closure.c, lr0.c, warshall.c, main.c:
2489 fix gcc warnings, mostly for 64-bit platform
2492 add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc
2494 * makefile.in: add etags/TAGS if available
2496 * configure.in: add configure check for actual ctags and etags programs
2498 * package/debian/copyright: add copyright notices for non-PD files
2500 * package/debian/changelog:
2501 incorporated scripts in upstream to use for test-builds
2503 * makefile.in: drop mkdirs.sh, just use "mkdir -p"
2505 * AUTHORS: nicknames for some contributors (see CHANGES for details)
2507 * package/byacc.spec: RPM file for byacc
2509 * VERSION: bump to 2010/06/06
2511 * aclocal.m4: add copyright notice, from "my-autoconf" macros
2512 http://invisible-island.net/autoconf/autoconf.html
2514 * package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS:
2517 * aclocal.m4: resync with my-autoconf. summary of changes:
2518 a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter
2519 b) CF_DISABLE_ECHO, change indent-convention for substituted makefile
2520 c) CF_GCC_VERSION, ignore stderr
2521 d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc
2523 2010-04-20 Thomas E. Dickey <dickey@invisible-island.net>
2525 * 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:
2526 scripts from Debian package
2528 2010-02-16 Thomas E. Dickey <dickey@invisible-island.net>
2530 * yacc.1: document -P and bison-extensions
2532 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
2535 * output.c: implement %pure-parser
2538 implement %pure-parser, like bison. To help with this, changed the stack
2539 variables, putting them into a struct.
2541 * reader.c: implement %pure-parser
2543 * defs.h: modified skeleton to support %pure-parser feature
2545 * main.c: add -P option to set %pure-parser
2548 make -r and -p options work together. The -r option splits the generated
2549 parser into code/table files; for this case we cannot use static data.
2550 Also, we have to repeat the #define's used for prefix (-p) as well as the
2551 redeclaration of yyparse(). Finally, allow any of the prefixed names to
2552 be overridden, e.g., by passing a -D option to the compiler. Make that
2553 a little more readable by putting a blank line before each chunk.
2555 * defs.h: add definitions for %pure-parser
2558 put blank line before/after the redeclaration of yyparse()
2560 * output.c: allow for other program redefining yylex()
2563 split-off xdecls[] array, to move declaration of yyparse() after #define's
2565 * defs.h: split-out xdecls[]
2571 * aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS
2574 resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes.
2576 2010-02-16 Ostap.Cherkashi
2578 * skeleton.c: fix a memory leak in the generated skeleton
2580 2010-01-01 Thomas E. Dickey <dickey@invisible-island.net>
2582 * package/debian/source/format: scripts from Debian package
2584 2009-12-31 Thomas E. Dickey <dickey@invisible-island.net>
2586 * config.guess: update to 2009-12-30
2588 * config.sub: update to 2009-12-31
2590 2009-10-27 Thomas E. Dickey <dickey@invisible-island.net>
2594 * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c:
2595 strict compiler warnings
2597 2009-10-26 Thomas E. Dickey <dickey@invisible-island.net>
2599 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
2602 * main.c, defs.h: introduce some typedefs for portability, etc.
2605 don't remove "*.log" in mostlyclean rule since it interferes with regression
2610 * aclocal.m4: resync with my-autoconf
2612 2009-08-25 Thomas E. Dickey <dickey@invisible-island.net>
2614 * config.guess, config.sub: update to 2009-08-19
2616 2009-02-21 Thomas E. Dickey <dickey@invisible-island.net>
2620 * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
2622 2008-12-26 Thomas E. Dickey <dickey@invisible-island.net>
2624 * configure: regen with autoconf-2.52 (patched)
2626 2008-12-25 Thomas E. Dickey <dickey@invisible-island.net>
2628 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
2631 2008-12-24 Thomas E. Dickey <dickey@invisible-island.net>
2636 remove ifdef-lint from goto yyerrlab, to quiet gcc warning
2638 2008-11-26 Thomas E. Dickey <dickey@invisible-island.net>
2640 * verbose.c, main.c, defs.h, mkpar.c, reader.c:
2641 completed implementation of "%expect" (report by Perry E. Metzger).
2642 add "%expect-rr", which is (unlike bison) allowable in LALR parsers.
2644 2008-11-24 Thomas E. Dickey <dickey@invisible-island.net>
2646 * 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:
2647 change indent-style (request by Perry E. Metzger)
2649 2008-08-27 Thomas E. Dickey <dickey@invisible-island.net>
2651 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2652 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
2657 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
2659 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c:
2660 change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's.
2662 * configure: regen'd
2664 * configure.in: add -Wwrite-strings to warnings
2666 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
2667 add YYPARSE_PARAM and YYPARSE_PARAM_TYPE
2670 add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features.
2672 * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c:
2673 fixes for gcc -Wwrite-strings
2675 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2676 generate the tables as static-const (this is an interface change)
2678 * output.c: realign columns in start_table()
2681 generate the tables as static-const (this is an interface change)
2683 * output.c: reorder functions to eliminate forward-references
2685 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2686 remove 'register' keywords
2688 2008-08-26 Thomas E. Dickey <dickey@invisible-island.net>
2690 * 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:
2691 remove 'register' keywords
2693 2008-08-25 Thomas E. Dickey <dickey@invisible-island.net>
2695 * test/ftp.tab.c: regen'd
2698 improve the left-curly fix by testing after blanks, to avoid having a
2699 " {" at the beginning of a line.
2701 * test/error.tab.c, test/grammar.tab.c: regen'd
2704 move the remaining newline-counting into write_XXX functions.
2706 * test/calc.tab.c: regen'd
2709 simplify part of the output_file formatting using new functions, e.g.,
2710 start_int_table(), output_newline().
2713 modify copy_action() to indent the first character, it if is is left-curly
2714 brace. That makes the output look more like the original, as well as makes
2715 it simpler to edit (not confuse editors which look for a left-curly in the
2716 first column as if it were the beginning of a function).
2718 * skeleton.c: minor fixes to avoid gcc -Wconversion warnings
2720 * output.c: align the #define's produced for "-p" option
2722 * test/run_test.sh: use the "-p" option for better coverage.
2724 * output.c: simplify output_prefix() with new define_prefixed()
2726 * skeleton.c: include string.h, for memset()
2727 change stack size to unsigned to fix gcc -Wconversion warnings.
2729 * VERSION: bump to 2008/8/25
2731 * makefile.in: add dependency on VERSION file.
2733 2008-08-24 Thomas E. Dickey <dickey@invisible-island.net>
2737 * lalr.c: improved memory-leak checking by freeing data in includes[]
2739 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
2740 update to match skeleton-change
2742 * configure: regen'd
2744 * skeleton.c: Add fix for stack discussed
2745 http://undeadly.org/cgi?action=article&sid=20080708155228
2747 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29
2749 * aclocal.m4: resync with my-autoconf (no major changes)
2751 2008-07-24 Thomas E. Dickey <dickey@invisible-island.net>
2753 * package/pkgsrc/Makefile, package/pkgsrc/distinfo:
2754 scripts from NetBSD pkgsrc, for test-builds
2756 2008-03-14 Thomas E. Dickey <dickey@invisible-island.net>
2758 * config.sub: update to 2008-03-08
2760 * config.guess: update to 2008-03-12
2762 2007-05-09 Thomas E. Dickey <dickey@invisible-island.net>
2764 * main.c: close graph, verbose files if opened, on exit.
2767 audit memory leaks - valgrind reported some memory still in use on exit.
2769 * lalr.c, output.c, reader.c, mkpar.c, lr0.c:
2770 add hook for auditing memory leaks
2772 * defs.h: add hooks for auditing memory leaks
2774 * configure: regen'd
2777 use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind,
2778 --with-dbmalloc and --with-dmalloc
2780 * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND
2782 * aclocal.m4: improve version-checking in CF_GCC_VERSION
2783 rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro
2787 * main.c: file_prefix did not always have a trailing null.
2789 2007-03-25 Thomas E. Dickey <dickey@invisible-island.net>
2791 * mkdirs.sh: improved version for "make -j"
2793 2006-12-22 Thomas E. Dickey <dickey@invisible-island.net>
2795 * config.guess: update to 2006/12/22
2797 2006-12-08 Thomas E. Dickey <dickey@invisible-island.net>
2799 * config.sub: update to 2006/12/08
2801 2005-08-13 Thomas E. Dickey <dickey@invisible-island.net>
2803 * main.c: add -V to usage message
2805 * makefile.in: remove -t option from ctags
2807 * VERSION: 2005/8/13
2811 * main.c: Sylvain Schmitz:
2812 modify the '-o' option to work like bison's, which sets the file-prefix.
2814 2005-08-13 Matt.Kraai
2817 Debian #322858 (don't close union_file, which contained data).
2818 This feature is used in groff.
2820 2005-08-13 Thomas E. Dickey <dickey@invisible-island.net>
2822 * configure: regenerated
2824 * aclocal.m4: improve checks for Intel compiler warnings
2826 2005-06-25 Thomas E. Dickey <dickey@invisible-island.net>
2828 * config.sub: update to 2005/6/2
2830 * config.guess: update to 2005/5/27
2832 2005-05-05 Thomas E. Dickey <dickey@invisible-island.net>
2834 * defs.h: add a fallback for GCC_UNUSED
2836 2005-05-04 Thomas E. Dickey <dickey@invisible-island.net>
2838 * makefile.in: add "." to include-path to pickup config.h
2841 apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617.
2844 correct a limit check in pack_vector() - report/analysis by William Evans
2847 exit after printing version. Otherwise "yacc -V" will exit with an erro
2848 after printing the usage message.
2850 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2851 regenerated after skeleton-changes
2853 * skeleton.c: replace a few -1's with YYEMPTY
2856 delete yynewerror (no one uses it any more, and it just makes compiler warnings)
2858 * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD
2861 filter out lines with YYPATCH, since that will change with each update
2863 * yacc.1: add -V option
2865 * main.c: add -V option to print the version.
2866 simplify option-parsing by moving the duplicate logic for setting flags into
2867 new function setflag().
2870 move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers).
2871 add YYPATCH here so it can be tested by applications.
2874 add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and
2877 * lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c:
2878 reduce externs by making static the procedures that are not referenced outside
2879 the module in which they are defined.
2882 the VERSION file holds the patch-date. Define YYPATCH, so this will be
2883 compiled into the skeleton.
2885 * VERSION: patch-level for byacc
2888 add "-o" to usage message. It is too long for a single line; rewrite usage()
2889 to show one option per line.
2891 2005-05-03 Thomas E. Dickey <dickey@invisible-island.net>
2893 * main.c: add -o option, to work with scripts that assume bison.
2894 simplify create_file_names() with a macro.
2895 simplify done() with a macro.
2896 adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by
2897 onintr(), do not flush output via exit(), but use _exit() instead.
2899 * defs.h: remove unnecessary externs for main.c
2901 * yacc.1: add -o option
2903 * graph.c: remove unused parameter
2905 * mkpar.c, defs.h, reader.c:
2906 add support for "%expect", a bison feature from FreeBSD sources
2908 * 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:
2911 * configure: regenerated for 2005/5/5
2913 * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER)
2917 * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1:
2918 Sylvain Schmitz <schmitz@i3s.unice.fr>:
2919 add graphical output of the LALR(1) automaton for graphviz,
2920 associated with command-line option `-g'
2922 2005-04-16 Thomas E. Dickey <dickey@invisible-island.net>
2924 * config.sub: update to 2005/2/10
2926 * config.guess: update to 2005/3/24
2928 2005-04-13 Thomas E. Dickey <dickey@invisible-island.net>
2930 * package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds
2932 2005-03-21 Thomas E. Dickey <dickey@invisible-island.net>
2934 * package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds
2936 2004-03-28 Thomas E. Dickey <dickey@invisible-island.net>
2938 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2939 updates due to adding yyparse() prototype
2941 * configure: RCS_BASE
2944 add AC_ARG_PROGRAM to make --program-prefix, etc., work.
2946 * makefile.in: first cut of script to support --program-prefix
2949 reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52
2951 * makefile.in: modify so DESTDIR works
2953 * makefile.in: use EXEEXT and OBJEXT
2955 * configure.in: use CF_PROG_EXT
2958 * defs.h: make this use the generated config.h
2960 * skeleton.c: add a forward-reference for yyparse()
2962 * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT
2964 * yacc.1: remove the discussion of TMPDIR since it is obsolete
2966 * skeleton.c: fix a couple of minor compiler-warnings in the skeleton
2968 * defs.h: remove action_file_name, etc., since we use tmpfile() now.
2971 use tmpfile() for opening the working files. This quiets a warning
2972 advising the use of mkstemp().
2975 Do not close temporary-files here, since they are opened with tmpfile().
2976 Just rewind them, and they're ready to read back the data stored in them.
2978 * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE
2980 * test/yacc/grammar.output, test/yacc/grammar.tab.h:
2981 reference output for testing
2983 * makefile.in: turn on "make check" rule
2985 * test/calc.output: RCS_BASE
2987 * test/yacc/calc.output: reference output for testing
2989 * test/run_test.sh, test/calc.tab.h: RCS_BASE
2991 * test/yacc/calc.tab.h: reference output for testing
2993 * test/ftp.tab.c: yyparse() is now yyparse(void)
2995 * test/calc.tab.c: RCS_BASE
2997 * test/error.tab.c: yyparse() is now yyparse(void)
2999 * test/README: RCS_BASE
3001 * yacc.1: various typography fixes prompted by Debian #100947
3003 * aclocal.m4, makefile.in, configure.in: RCS_BASE
3005 * README: updated to note that this is not the original
3007 2004-03-24 Thomas E. Dickey <dickey@invisible-island.net>
3009 * test/grammar.y: RCS_BASE
3011 2004-02-23 Thomas E. Dickey <dickey@invisible-island.net>
3013 * config.sub: RCS_BASE
3015 2004-02-17 Thomas E. Dickey <dickey@invisible-island.net>
3017 * config.guess: RCS_BASE
3019 2003-11-29 Thomas E. Dickey <dickey@invisible-island.net>
3021 * install-sh: improved quoting
3023 2002-06-29 Thomas E. Dickey <dickey@invisible-island.net>
3026 don't use character range, since some locales don't work as expected
3028 2001-06-22 Thomas E. Dickey <dickey@clark.net>
3030 * install-sh: RCS_BASE
3032 2000-11-20 Thomas E. Dickey <dickey@clark.net>
3034 * test/calc.y: RCS_BASE
3036 * test/code_calc.y, test/pure_calc.y: copy of calc.y
3038 * vmsbuild.com: original version
3040 2000-02-23 Thomas E. Dickey <dickey@clark.net>
3042 * test/RCS, RCS: PERMIT FILE
3044 2000-02-14 Thomas E. Dickey <dickey@clark.net>
3046 * main.c: fix for VMS port - making pathname for temp-file
3048 * descrip.mms: original version
3050 2000-02-13 Thomas E. Dickey <dickey@clark.net>
3052 * 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:
3055 1999-11-30 Thomas E. Dickey <dickey@clark.net>
3057 * mkdirs.sh: RCS_BASE
3059 1995-01-01 Thomas E. Dickey <dickey@clark.net>
3061 * config_h.in: RCS_BASE
3065 * README.DOS, main.c: MSDOS-port
3069 * reader.c, defs.h: MSDOS-port
3073 * README: original version
3077 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE
3079 1993-02-22 dickey@software.org
3081 * test/yacc/error.output, test/yacc/error.tab.h:
3082 reference output for testing
3086 * test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE
3088 * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES:
3093 * yacc.1: original version
3097 * defs.h: original version
3101 * mkpar.c, verbose.c: original version
3105 * lr0.c, Makefile, Makefile.old: original version
3109 * NEW_FEATURES: original version
3113 * ACKNOWLEDGEMENTS: original version
3117 * symtab.c, lalr.c, error.c: original version
3119 1990-01-16 dickey@software.org
3121 * test/code_error.y, test/pure_error.y: RCS_BASE
3125 * test/error.y: RCS_BASE
3129 * NO_WARRANTY: original version
3133 * test/ftp.y: RCS_BASE