1 2020-03-30 Thomas E. Dickey <dickey@invisible-island.net>
3 * package/debian/copyright: bump
5 * test/yacc/grammar.tab.c, test/btyacc/grammar.tab.c, test/grammar.y, reader.c:
6 typo found with codespell
8 * yacc.1: fixes noted in the original report, overlooked in followup
10 2020-03-30 Bjarni.Ingi.Gislason
12 * yacc.1: typography/spelling fixes - Debian #955175
14 2020-03-30 Thomas E. Dickey <dickey@invisible-island.net>
16 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
19 2020-03-10 Thomas E. Dickey <dickey@invisible-island.net>
24 resync with my-autoconf, mostly fixes for compiler-warnings
26 * configure.in: use macro to suppress X-dependency from newer macros
28 2019-12-20 Thomas E. Dickey <dickey@invisible-island.net>
30 * config.guess: 2019-12-21
32 2019-11-25 Tom.Shields
35 fix an inconsistency between the getopt and non-getopt configuration.
36 In the former, getopt always used "yacc", not the name of the executable.
38 2019-11-25 Thomas E. Dickey <dickey@invisible-island.net>
41 suppress bison's -Wyacc warning, which is not useful.
43 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
46 2019-11-19 Thomas E. Dickey <dickey@invisible-island.net>
48 * yacc.1: new version of manpage
50 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
53 * yacc.1: document %code
55 * 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:
59 amend updates for 'outline' when processing "%code" in code-file
62 modify output_code_lines() to show begin/end block comments which were in
63 reader.c, and to generate a #line for the code-file.
66 modify copy_code() to allow for multiple %code directives for a given
67 section, recording the input line-number for each directive as a #line
68 in the resulting string. remove the block start/end comments, since those
69 will be done for a whole section in output.c
71 * mstring.c, defs.h: add msrenew()
73 * 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:
76 2019-11-18 Thomas E. Dickey <dickey@invisible-island.net>
78 * 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:
81 2019-11-04 Michael.Forney
83 * defs.h: add missing "extern" for new variable "code_lines"
85 2019-11-03 Thomas E. Dickey <dickey@invisible-island.net>
87 * main.c: build-fix for MinGW cross-compiling
89 * output.c, reader.c: gcc-warnings
91 * output.c: check validity of text_file before rewind
92 remove redundant check of iflag
94 * main.c: fix memory-leak reported by clang
96 * mkpar.c: guard against a null-reference reported by clang (unlikely)
98 * reader.c: fix two coverity warnings:
99 a) resource leak on malloc-failure
100 b) possible null-pointer dereference on parse-error
102 * test/btyacc/err_inherit4.tab.h, test/btyacc/btyacc_demo.tab.h: regen
104 * defs.h: use enum's to simplify recent change
107 enable mstring() in regular byacc, since Zoulas' change relies upon it
109 2019-11-03 Christos.Zoulas
111 * defs.h, reader.c, output.c: add support for bison's "%code" feature
112 also fix a small bug: declare YYLTYPE externally when producing locations
114 2019-11-03 Thomas E. Dickey <dickey@invisible-island.net>
116 * 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:
120 there's no standard wording for the options-errors from getopt;
121 filter that to "error message" in the test reference files.
124 provide for using getopt(), to accommodate a case where developers have
125 relied upon non-POSIX behavior.
128 getopt's messages do not print the full pathname of yacc in some cases;
129 adjust the sed-script which changes those to "YACC"
133 * config_h.in: regen, using autoheader-252
135 * configure.in: add configure check for getopt
140 resync with my-autoconf adds a fix which accommodates a difference in
141 warning options between gcc/clang when --enable-warnings is not set.
143 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
146 2019-09-11 Thomas E. Dickey <dickey@invisible-island.net>
148 * config.guess, config.sub: 2019-09-10
150 2019-06-17 Thomas E. Dickey <dickey@invisible-island.net>
152 * 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:
155 * test/run_test.sh: test "-H" rather than "-D"
157 2019-06-16 Thomas E. Dickey <dickey@invisible-island.net>
160 change "-D" option to "-H" (discussion with Ethan Sommer)
162 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
165 * test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c:
168 * test/run_test.sh: in test_defines, save the ".c" file too
170 * test/yacc/defines3.calc.c, test/yacc/defines2.calc.c, test/yacc/defines1.calc.c:
174 output of test_defines should be a header ".h", not ".c"
176 * 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:
179 * main.c: however, a subsequent -d cancels -D
181 * test/yacc/defines1.calc.h, test/yacc/defines3.calc.h: RCS_BASE
183 * main.c: -D option implies -d
185 * 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:
188 * yacc.1: align macro definitions with my other manpages
190 * test/run_test.sh: add test for -D after -d or -b options
192 * 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:
195 * 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:
199 add a test for stdin "-" vs end-options "--", and correct a redirection
200 of stderr in test_flags
202 * 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:
205 * 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:
208 * main.c: add -D option, to specify filename vs y.tab.h for -d
210 * defs.h: add dflag2, for -D option
212 * yacc.1: document -D option
214 * config_h.in: updated with autoheader-252
218 * package/debian/copyright: bump
220 * aclocal.m4: add CF_GETOPT_HEADER
222 * aclocal.m4: Improved autoconf macros:
224 putting preprocessor flags in CFLAGS also is a nuisance, which can be
225 addressed in the same way.
227 factor out workaround for XTSTRINGDEFINES as CF_CONST_X_STRING
229 The check for _DEFAULT_SOURCE should apply to "recent" Cygwin (since early 2016),
230 and except for "NEWLIB" vs "GLIBC" in the test, acts the same if I pretend
231 that "newlib" is the GNU C library. Without this, the check falls through
232 to the _XOPEN_SOURCE test, which breaks the pseudoterminal checks for xterm.
234 add/use CF_POSIX_VISIBLE
235 + CF_TRY_XOPEN_SOURCE
238 use sed to work around non-POSIX tail utility
241 add/use CF_POSIX_VISIBLE
243 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
246 2019-06-10 Thomas E. Dickey <dickey@invisible-island.net>
248 * config.guess: 2019-06-10
250 2019-05-22 Thomas E. Dickey <dickey@invisible-island.net>
252 * config.sub: 2019-05-22
254 2018-06-09 Thomas E. Dickey <dickey@invisible-island.net>
256 * yacc.1: minor typographical fixes
258 * 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:
261 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
264 2018-06-09 Tom.Shields
267 add casts to fix g++ (clang++) compile errors in the backtracking skeleton
268 due to assignment of ‘void *’ to another pointer type.
270 2018-05-25 Thomas E. Dickey <dickey@invisible-island.net>
273 check if this is bison 3+ before adding options to suppress warnings
275 * package/byacc.spec: build-fix for Mageia 6
277 * package/byacc.spec: add btyacc package
279 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
282 * package/debian/control: add a package for btyacc
284 * package/debian/rules: generate a package for btyacc
286 2018-05-24 Thomas E. Dickey <dickey@invisible-island.net>
288 * 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:
291 * btyaccpar.skel: fix typo
293 2018-05-21 Thomas E. Dickey <dickey@invisible-island.net>
296 ignore case for "%" directives to skip with old-yacc, and add %token-table
301 2018-05-21 Christos.Zoulas
304 improve compatibility with bison by changing the YYLLOC_DEFAULT macro to use
305 YYRHSLOC() macro, and adjusting the array indices of yyerror_loc_range[] for
308 2018-05-10 Thomas E. Dickey <dickey@invisible-island.net>
311 add a fallback definition for YYDEBUG to the -i externs file.
313 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
315 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
318 2018-05-09 Thomas E. Dickey <dickey@invisible-island.net>
322 * aclocal.m4: resync with my-autoconf
324 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
327 * 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:
330 * btyaccpar.skel: apply Guy Harris' changes here as well
332 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
334 * output.c: correct/improve fallback prototype for yylex()
336 * test/btyacc/rename_debug.i, test/yacc/rename_debug.i: regen
338 2018-05-08 Thomas E. Dickey <dickey@invisible-island.net>
340 * test/btyacc/grammar.tab.c, test/yacc/grammar.tab.c: regen
343 quiet some warnings from gcc 7 when doing "make check_make"
345 * package/debian/watch, package/pkgsrc/Makefile: update ftp-url
347 * test/btyacc/ok_syntax1.tab.h, test/btyacc/btyacc_calc1.tab.h: regen
350 provide yylex() declaration for simple case (request by "Mutiny")
352 * 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:
355 * VERSION, package/byacc.spec, package/debian/changelog, package/debian/copyright, package/mingw-byacc.spec, package/pkgsrc/Makefile:
358 2018-05-06 Guy.Harris
360 * yaccpar.skel: two fixes:
361 1) define yydebug only if YYDEBUG is defined and
362 2) make yynerrs a parser-local variable if the parser is reentrant.
364 2018-02-24 Guy.Harris
366 * output.c: do not emit "extern YYSTYPE yylval;" for pure parsers
368 2018-02-05 Thomas E. Dickey <dickey@invisible-island.net>
370 * config.sub: 2018-01-15
372 * config.guess: 2018-01-26
374 2017-12-04 erik.b.andersen
376 * main.c: A proper path for temporary files is needed by byacc under
377 Windows commandline, otherwise there's a risk of empty files.
378 The TEMP environment variable is always defined in Windows.
380 * defs.h: The noreturn attribute needs to be specified before function
381 to be portable among compilers (gcc, clang, msvc).
383 2017-12-04 Thomas E. Dickey <dickey@invisible-island.net>
385 * reader.c: adapted fix by Erik B:
386 a) increase the length of name[] to account for a trailing null
387 b) note that calling syntax_error() from get_number() does not return
389 2017-09-14 Tom.Shields
393 2017-07-09 Thomas E. Dickey <dickey@invisible-island.net>
395 * package/byacc.spec, package/mingw-byacc.spec:
396 use predefined "configure"
398 * reader.c: remove unused assignment
400 * package/debian/rules: use dpkg-buildflags
404 * aclocal.m4: resync with my-autoconf
406 * reader.c, output.c, defs.h:
407 add/use IS_NAME1() and IS_NAME2() to reduce clutter
409 * reader.c, output.c, defs.h:
410 guard against sign-extension in ctype-macros
412 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
415 * reader.c: check for numeric overflow in get_number()
418 correct limit-checks for input filename and line-number, in case no valid
419 filename and/or number was found.
421 2017-04-30 Thomas E. Dickey <dickey@invisible-island.net>
423 * 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:
424 fix another uninitialized variable warning in "make check_make" for btyacc
426 * 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:
427 fix some compiler warnings for "make check_make" by adding section init_vars,
428 which initializes the body_vars for pure-parser configuration.
430 2017-04-30 Tom.Shields
433 use YY_NO_LEAKS set in configure --with-no-leaks, in the generated code
435 2017-04-30 Julien.Ramseier
437 * main.c, test/yacc/big_l.output:
438 fix typo in unsupported-flag warning message
440 2017-04-30 Thomas E. Dickey <dickey@invisible-island.net>
442 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
445 2017-04-29 Thomas E. Dickey <dickey@invisible-island.net>
447 * config.sub: 2017-04-02
449 2017-03-18 Thomas E. Dickey <dickey@invisible-island.net>
451 * config.sub: 2017-02-07
453 * config.guess: 2017-03-05
455 2017-02-01 Thomas E. Dickey <dickey@invisible-island.net>
457 * 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:
460 * package/debian/copyright: update copyright
462 * reader.c, defs.h, main.c:
463 avoid using regex.h since some low-end platforms do not have this
465 * test/expr.oxout.y: RCS_BASE
469 * aclocal.m4: quiet a strict gcc warning in CF_MKSTEMP
471 2017-02-01 Tom.Shields
473 * main.c, reader.c, defs.h:
474 process #line directives, like bison and flex
476 2017-02-01 Thomas E. Dickey <dickey@invisible-island.net>
478 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
481 2016-12-31 Thomas E. Dickey <dickey@invisible-island.net>
483 * config.guess, config.sub: 2017-01-01
485 2016-12-02 Thomas E. Dickey <dickey@invisible-island.net>
487 * 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:
490 * btyaccpar.skel: changes from NetBSD
491 + use YYINT rather than short in btyaccpar.skel
492 (some of this had already been done by Tom Shields)
493 + remove some casts of malloc/realloc
495 * yaccpar.c, yaccpar.skel, output.c: changes from NetBSD
496 - Add some more bison stuff to make the mesa/gallium parser work:
497 %initial-action (add missing source struct member in location)
498 %debug (unimplemented)
499 %error-verbose (unimplemented)
501 This changes some existing code:
502 + yylloc is now a pointer, so
503 + the first parameter to YYERROR_DECL() is a pointer
504 + struct YYLTYPE now has a "source" field
506 * test/btyacc/btyacc_demo.tab.h, test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c, test/btyacc/err_inherit4.tab.h:
509 * btyaccpar.c, btyaccpar.skel, reader.c: changes from NetBSD
510 - Add some more bison stuff to make the mesa/gallium parser work:
511 %initial-action (add missing source struct member in location)
512 %debug (unimplemented)
513 %error-verbose (unimplemented)
515 This changes some existing code:
516 + yylloc is now a pointer, so
517 + the first parameter to YYERROR_DECL() is a pointer
518 + struct YYLTYPE now has a "source" field
521 fix from NetBSD: correct off-by-one when adding a null in copy_param()
523 * reader.c: adapted from NetBSD
524 - Convert *most* error fingerprints to:
525 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
526 +unterminated_arglist(const struct ainfo *a)
527 - Cast new <ctype.h> args to unsigned char
529 * defs.h: changes from NetBSD
530 - Add some more bison stuff to make the mesa/gallium parser work:
531 %initial-action (add missing source struct member in location)
532 %debug (unimplemented)
533 %error-verbose (unimplemented)
535 This changes some existing code:
536 + yylloc is now a pointer, so
537 + the first parameter to YYERROR_DECL() is a pointer
538 + struct YYLTYPE now has a "source" field
540 * defs.h: adapted from NetBSD
541 - Convert *most* error fingerprints to:
542 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
543 +unterminated_arglist(const struct ainfo *a)
544 - Cast new <ctype.h> args to unsigned char
546 * main.c: changes from NetBSD
547 - Add some more bison stuff to make the mesa/gallium parser work:
548 %initial-action (add missing source struct member in location)
549 %debug (unimplemented)
550 %error-verbose (unimplemented)
552 This changes some existing code:
553 + yylloc is now a pointer, so
554 + the first parameter to YYERROR_DECL() is a pointer
555 + struct YYLTYPE now has a "source" field
557 * error.c: adapted from NetBSD
558 - Convert *most* error fingerprints to:
559 -unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
560 +unterminated_arglist(const struct ainfo *a)
561 - Cast new <ctype.h> args to unsigned char
563 * mstring.c: adapted change from NetBSD to add casts for ctype macros
565 * test/btyacc/btyacc_demo.tab.h, test/btyacc/err_inherit4.tab.h: regen
567 * output.c: reorder to eliminate a forward-reference
569 2016-12-02 Tom.Shields
572 modify output to enable compilation of a lexer generated by flex (using
573 "%option bison-bridge" and "%option bison-locations") to be used with a parser
574 generated by b(t)yacc (using directives "%locations" and "%pure-parser").
576 2016-12-02 Thomas E. Dickey <dickey@invisible-island.net>
580 * aclocal.m4: Improved autoconf macros
582 + improve split between compiler and options, prompted by report where user
583 had "ccache" before the compiler
584 + leave non-preprocessor options in "$CC" (but still copy them to "$CFLAGS"
585 since that's where they should be)
587 + recent glibc (Debian 2.23-4 for example) has misordered ifdef/checks for new
588 symbol _DEFAULT_SOURCE, producing warning messages when only _GNU_SOURCE is
589 defined. Add a followup check to define _DEFAULT_SOURCE.
591 + add "uclinux" to list of Linux's (patch by Yann E. Morin)
592 + use _GNU_SOURCE for cygwin headers
593 + build-fixes for OS/2
595 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
598 2016-11-20 Thomas E. Dickey <dickey@invisible-island.net>
600 * config.sub: 2016-11-19
602 * config.guess: 2016-10-02
604 2016-06-06 Thomas E. Dickey <dickey@invisible-island.net>
608 * aclocal.m4: improved autoconf macros:
609 CF_CC_ENV_FLAGS - don't limit the check to -I, -U and -D options, since the
610 added options can include various compiler options before and after
611 preprocessor options.
612 CF_PROG_LINT - add cpplint to programs to use; drop ad hoc tdlint and alint.
614 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
622 adjust whitespace so that generated skeleton will follow the same format
625 * mkpar.c, verbose.c, lr0.c, reader.c, error.c, output.c: indented
627 * reader.c: fix two compiler warnings
629 * 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:
632 2016-06-06 Tom.Shields
634 * btyaccpar.skel, yaccpar.skel:
635 small fix for an edge case of initialized data in Chris Dodd's btyacc changes:
636 "Avoid crash when input pops up an Action error at the first token"
638 2016-06-01 Thomas E. Dickey <dickey@invisible-island.net>
640 * 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:
643 2016-06-01 Tom.Shields
645 * btyaccpar.skel, defs.h, error.c, output.c, reader.c, test/code_calc.y, test/err_inherit4.y, test/run_make.sh, yaccpar.skel:
646 fixes for issues in btyacc (report by Francis Andre):
648 + correction to the placement of the #line directive for a %union specification
650 + recovery of a set of casts originally added into btyaccpar.c rather than into
651 btyaccpar.skel, and so are lost whenever building from scratch
653 + Chris Dodd's btyacc improved handling of inherited attributes to eliminate
654 implicit empty copy rules that are not necessary, and thereby avoiding the
655 introduction of extra parsing ambiguity
657 + Chris Dodd's added support for @-N syntax to reference inherited position
660 + correction to bad interaction between %token-table and YYDEBUG, where YYDEBUG
661 was required to be defined in order to compile the generated code
663 + correction to yyname[] access in code included with YYDEBUG defined for
664 single character symbols not recognized (e.g., input containing '&' character
665 where grammar doesn't define that as a symbol) - map to existing
666 "illegal-symbol" entry in byname[]
668 + fixes to test/run_make.sh: skip test-err_* files; in the bison test phase
669 skip additional files that contain features not supported by bison and
670 inhibit new bison warning messages
672 + minor changes to btyaccpar.skel & yaccpar.skel so they are more similar in
673 their commonality; makes it easier to maintain the pair of files using
676 + changes to a couple of test cases for coverage of #3, #4 and #5 above
678 2016-06-01 Thomas E. Dickey <dickey@invisible-island.net>
680 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
683 2016-03-24 Thomas E. Dickey <dickey@invisible-island.net>
685 * reader.c: unused variable
687 * package/pkgsrc/Makefile, package/debian/copyright: bump
689 2016-03-24 Jung-uk.Kim
692 correct logic for finding output suffix in the "-o" option, which matched
693 the first occurrence of ".c" in the name in 2005-08-13 changes rather than
694 at the end of the filename (patch by Jung-uk Kim)
696 2016-03-24 Thomas E. Dickey <dickey@invisible-island.net>
699 update CF_WITH_MAN2HTML to use configured shell rather than /bin/sh
701 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
704 2016-01-25 Thomas E. Dickey <dickey@invisible-island.net>
706 * config.guess, config.sub: 2016-01-01
708 2015-07-10 Thomas E. Dickey <dickey@invisible-island.net>
710 * lr0.c: fix a duplicate-free in the leak-checking
712 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
716 make cache-size clearer (prompted by discussion with Pedro Giffuni,
720 make relationship with format/size clearer (prompted by discussion
721 with Pedro Giffuni, Oliver Pinter)
723 2015-07-05 Thomas E. Dickey <dickey@invisible-island.net>
727 * package/pkgsrc/Makefile, package/mingw-byacc.spec, package/debian/copyright, package/debian/changelog, package/byacc.spec, VERSION:
730 * aclocal.m4: resync with my-autoconf
731 add configure option --with-man2html
733 * makefile.in: add configure options --with-man2html
735 * configure.in: add configure option --with-man2html
737 2015-05-02 Thomas E. Dickey <dickey@invisible-island.net>
739 * config.guess: 2015-03-04
741 * config.sub: 2015-03-08
743 2014-11-28 Thomas E. Dickey <dickey@invisible-island.net>
745 * lr0.c: coverity #39181: memory leak
747 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
750 2014-11-13 Jouk.Jansen
753 I sucessfully compiled byacc on my OpenVMS systems. However, I had to update
754 the descrip.mms to include some extra c-source files and some dependenxcies
755 so that it also works when the distribution is located on an ODS5 disk.
757 The patched descrip.mms file can be found at:
758 http://nchrem.tnw.tudelft.nl/openvms/software2.html#BYACC
760 Please feel free to insert the file in your distribution.
765 2014-10-06 Thomas E. Dickey <dickey@invisible-island.net>
767 * package/debian/source/format:
768 change to native format to work around regression in Debian packaging.
770 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
776 correct parameter for umask - for very old mkstemp's - and use type mode_t
777 to quiet compiler warning
779 * configure.in: add configure check for mode_t
782 better fix for get_line, by ensuring there is enough space to null-terminate
783 its result (prompted by discussion with Craig Rodrigues).
785 2014-10-05 Thomas E. Dickey <dickey@invisible-island.net>
788 make change to umask before calling mkstemp, as suggested in Coverity #56902
791 adjust logic in copy_action to avoid potential null-pointer dereference
795 adjust logic to avoid potential null-pointer dereference in compile_args
798 * reader.c: eliminate strcpy into fixed-size buffer (Coverity #63408)
800 * yacc.1: document changes made with respect to %parse-param
803 add parameters from %parse-param to destructor. The order of the parameters
804 is intentionally inconsistent with yyparse/yyerror, for "compatibility" with
807 * test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c:
811 use puts_param_types/puts_param_names to output lex_param data.
813 * 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:
816 * btyaccpar.c: add casts, change types to fix strict compiler warnings
818 * 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:
821 * output.c: gcc-warning
823 * test/btyacc/code_calc.tab.c, test/btyacc/code_error.tab.c: regen
825 * output.c: fix limit when merging real/workaround tables
828 for btyacc, it is possible to have no conflicts - but in that case, the
829 "ctable" was not generated at all, while the skeleton uses the table.
830 The most straightforward (workaround) is generating a dummy table which
833 * test/btyacc_destroy3.y, test/btyacc_destroy2.y, test/btyacc_destroy1.y:
834 fix "make check_make"
836 * 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:
840 trim blanks from interim value in copy_param() to handle special case when
841 a space precedes a comma.
844 use two new functions, puts_param_types and puts_param_names, to improve
845 format of the parse_param list (by trimming space after "*") as well as
846 correcting the output of the comma-separated names (only the last name
849 * test/btyacc/ok_syntax1.tab.c, test/btyacc/btyacc_destroy3.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c:
853 modify copy_param() to handle resulting comma-separated list. Before, it
854 only expected a single parameter.
856 2014-10-04 Thomas E. Dickey <dickey@invisible-island.net>
858 * reader.c: split-out save_param() from copy_param()
860 * reader.c: trim_blanks() did not always convert spaces - fix.
862 * reader.c: fix some minor regressions with error-reporting
864 * aclocal.m4: update CF_XOPEN_SOURCE for Unixware change from lynx
866 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
870 modify copy_param() to accept multiple parameters, each in curly braces like
871 recent bison, as well as honoring bison's undocumented feature to accept the
872 parameters as a comma-separated list.
874 * 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:
877 2014-10-03 Thomas E. Dickey <dickey@invisible-island.net>
879 * 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:
882 2014-10-02 Thomas E. Dickey <dickey@invisible-island.net>
884 * main.c, reader.c, defs.h:
885 use calloc in get_line() when allocating line to ensure it is fully initialized,
886 fixes a later uninitialized value in copy_param() (FreeBSD #193499).
888 2014-09-17 Thomas E. Dickey <dickey@invisible-island.net>
890 * closure.c, lalr.c, output.c, defs.h:
891 rephrase odd addressing to fix Coverity #48848, #38950, #38860, not actually
894 2014-09-01 Thomas E. Dickey <dickey@invisible-island.net>
896 * config.sub: update to 2014-07-28
898 2014-07-27 Thomas E. Dickey <dickey@invisible-island.net>
902 * aclocal.m4: modified to support port to Minix3.2
904 * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
907 2014-07-15 Thomas E. Dickey <dickey@invisible-island.net>
909 * aclocal.m4: resync with my-autoconf (no change to configure script)
911 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
915 make top-level "make check" work again, by adding another step to filtering
918 2014-07-14 Thomas E. Dickey <dickey@invisible-island.net>
920 * test/run_test.sh: changes from Garrett Cooper's patch:
921 a) ensure that the script returns an error-code if there are differences
922 b) escape "." character in left side of sed expression for $YACC
923 c) ensure that $ifBTYACC has a value
925 * 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:
926 regen (reminder by Garrett Cooper)
928 2014-07-14 Garrett.Cooper
930 * 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:
933 2014-05-27 Tom.Shields
935 * main.c: remove obsolete -D option from usage message
937 2014-05-27 Thomas E. Dickey <dickey@invisible-island.net>
939 * 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:
942 2014-04-22 Thomas E. Dickey <dickey@invisible-island.net>
945 use vsnprintf() to ensure that msprintf's buffer is large enough.
947 * main.c, defs.h: add mstring_leaks()
951 * output.c: fix a complementary warning
953 * mstring.c: introduce vsnprintf
955 * configure.in, config_h.in: add check for vsnprintf
957 * output.c: quiet a type-conversion warning
959 * mstring.c: fix a potential memory leak on ENOMEM
960 quiet a couple of type-conversion warnings
962 * defs.h: add/use GCC_PRINTFLIKE for msprintf()
964 2014-04-22 Tom.Shields
967 drop "NOTES-btyacc-Changes" and "NOTES-btyacc-Disposition", merging relevant
968 content into README.BTYACC
970 2014-04-22 Thomas E. Dickey <dickey@invisible-island.net>
972 * package/pkgsrc/Makefile, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec:
975 2014-04-19 Thomas E. Dickey <dickey@invisible-island.net>
977 * config.sub: 2014-04-03
979 * config.guess: 2014-03-23
981 2014-04-09 Rick.Spates
983 * main.c, defs.h: patch to allow DEBUG build with WIN32 system
985 2014-04-09 Thomas E. Dickey <dickey@invisible-island.net>
987 * output.c, reader.c: gcc warnings
989 * reader.c: fix const-cast warnings
991 * 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:
992 fix a few clang --analyze warnings; one was a case where output_ctable emitted
993 an empty table (which should be an error).
995 * reader.c: appease clang --analyze
997 * defs.h: mark two functions as no-return.
999 * package/debian/changelog: reason for release
1001 * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
1004 * makefile.in: use $LINT_OPTS from environment via configure script
1006 * 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:
1007 tweaks to make generated files from ok_syntax1.y compile with check_make rule
1009 * 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:
1010 reference output for testing
1013 retain the renaming done for code_debug.y so that check_make will work.
1015 * test/yacc/rename_debug.error, test/yacc/rename_debug.h, test/yacc/rename_debug.i, test/yacc/rename_debug.output:
1016 reference output for testing
1018 * test/btyacc/ok_syntax1.error: RCS_BASE
1020 * 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:
1024 clarify relationship of btyacc features to default configuration.
1026 2014-04-08 Thomas E. Dickey <dickey@invisible-island.net>
1028 * 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:
1029 reference output for testing
1031 * test/ok_syntax1.y: RCS_BASE
1033 * test/yacc/ok_syntax1.error: reference output for testing
1035 * 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:
1036 exercise -L/-B options
1038 * 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:
1039 use a better renaming of the YYPATCH definition (none of the test-cases rely
1040 upon it, but redefinition in the "make check_make" rule is a problem).
1042 * 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:
1043 undid temporary reordering in reader() by Tom Shields to align with byacc outputs
1045 * test/run_test.sh: remove a repeated test-case
1047 * mstring.c: minor reformatting to make coverage analysis simpler
1049 2014-04-07 Thomas E. Dickey <dickey@invisible-island.net>
1051 * test/run_test.sh: tidy
1053 * 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:
1054 reference output for testing
1057 add special checks for flags which depend on writable/existing files
1059 * 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:
1060 reference output for testing
1063 change CREATE_FILE_NAMES() to use local function rather than inline code,
1064 to simplify coverage analysis.
1066 * 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:
1067 reference output for testing
1069 * test/err_syntax27.y: testcase for missing_brace()
1071 * error.c: ifdef'd non-btyacc function
1073 * lr0.c: ifdef'd debug-code
1075 * yaccpar.skel: use YYINT's to replace short's as in btyaccpar.skel
1077 * 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:
1078 2010/11/26 simplification of output.c using putc_code() and putl_code()
1079 omitted an adjustment of the #line value used for code-file. Fix that.
1080 Also, amend 2005/05/04 change to run_test.sh to retain a dummy line for
1081 YYPATCH #define's to make test-outputs easier to compare #line's (report
1084 2014-04-06 Thomas E. Dickey <dickey@invisible-island.net>
1086 * reader.c: fix for valgrind
1087 (the calloc's are intentional - valgrind reported use of uninitialized memory)
1089 * lr0.c, output.c: fix for valgrind
1091 * 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:
1094 * test/yacc/code_debug.c, test/yacc/code_debug.h:
1095 exercise the -i option
1097 * test/yacc/code_debug.i: reference output for testing
1099 * test/run_test.sh: exercise the -i option
1101 * test/yacc/code_debug.c: reference output for testing
1103 * test/run_test.sh: exercise the "-o" option
1105 * test/yacc/code_debug.error, test/yacc/code_debug.h, test/yacc/code_debug.output:
1106 reference output for testing
1108 * output.c: don't call exit() without giving a chance to cleanup.
1110 * mstring.c: ifdef'd functions not used in byacc
1112 * btyaccpar.c: generated from btyaccpar.skel
1114 * yaccpar.c: generated from yaccpar.skel
1117 change the generated-by comment to show which version of this script (and
1118 which version of the given skeleton file) were used to produce the C-file.
1123 add rules to generate byacc and btyacc parser skeleton files independently
1125 * aclocal.m4: CF_PROG_AWK - add to byacc's configure script
1127 cleanup the -no-gcc option which was leftover from testing - prcs does
1128 not build with this option.
1130 protect $2 from substitution, for luit's "$(manext)"
1132 for Solaris (tested with gcc/g++ 3.4.3 on Solaris 10 and gcc/g++ 4.5.2
1133 on Solaris 11), suppress the followup check for defining _XOPEN_SOURCE
1134 because it is not needed, as well as because g++ 4.7.3 (no package,
1135 used in Sage for Solaris 10) has some unspecified header breakage which
1136 is triggered by the duplicate definition.
1139 modify so skeleton-source is determined by configure options rather than by
1140 having developer rename yaccpar.skel.old to yaccpar.skel
1142 * descrip.mms: rename skeleton
1145 fwiw, renamed the skeleton for consistency with makefile
1147 * skel2c, skeleton.c: resync skeleton and its generating files
1150 renamed yaccpar.skel.old to yaccpar.skel, to allow using makefile suffix rules
1152 * yaccpar.skel.old: resync skeleton and its generating files
1154 * test/run_make.sh: improve cleanup after error recovery
1156 * 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:
1157 use improvement from Tom Shield's btyacc changes, getting rid of special cases for generating two yyerror calls in skeleton
1159 * output.c: simplify output_yyerror_decl()
1161 * 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:
1162 add second "const" to string-table declarations, from Tom Shield's btyacc changes
1164 * 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:
1165 discard unnecessary call on write_code_lineno() from Tom Shield's changes
1167 * 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:
1168 use YYINT typedef from Tom Shield's btyacc changes to replace explicit "short"
1170 * test/yacc/code_calc.code.c, test/yacc/code_error.code.c, output.c:
1171 use fix from Tom Shield's btyacc changes: remove redundant extern-declaration for YYPARSE_DECL()
1173 * 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:
1174 discard unnecessary call on write_code_lineno() from Tom Shield's changes
1176 * 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:
1177 use fix from Tom Shield's btyacc changes: prefix-definitions went to the
1178 output (.tab.c) file in a case where they should have gone to the code
1179 (.code.c) file. Remove now-redundant call to output_prefix().
1181 * main.c: do the same for help-message
1183 * main.c: use OUTPUT_SUFFIX symbol in an overlooked case
1186 modify to avoid use of VPATH, which has no standard implementation
1188 2014-04-05 Thomas E. Dickey <dickey@invisible-island.net>
1190 * 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:
1191 discard a change which merged CountLines() with explicit comparisons against
1192 code_file because that adds extra to the #line values
1194 * 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:
1195 add Tom Shield's change to allow definition of YYSTYPE_IS_DECLARED symbol to
1196 override fallback typedef for YYSTYPE when that symbol is undefined
1198 * 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:
1199 minor tweak to coding style - use parenthesis for "defined" operator's parameter
1201 * 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:
1202 regen to make YYMAXTOKEN and YYUNDFTOKEN adjacent
1204 * 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:
1205 regen after adding the YYUNDFTOKEN symbol
1208 integrate Tom Shield's btyacc changes which introduce the YYUNDFTOKEN symbol
1209 (I changed order of output to keep this adjacent to YYMAXTOKEN)
1212 merge all but one small change from Tom Shield's btyacc changes - that
1213 changes the order of code-file in the tests.
1215 * test/btyacc/btyacc_demo.tab.c: regen
1217 * test/btyacc_demo.y: fix prototypes
1219 2014-04-04 Thomas E. Dickey <dickey@invisible-island.net>
1221 * reader.c, defs.h, main.c:
1222 more merging of Tom Shield's btyacc changes. In the merge, I moved the
1223 symbol_pval inside the btyacc ifdef's and added some more btyacc ifdefs
1225 2014-04-03 Thomas E. Dickey <dickey@invisible-island.net>
1228 merge-in 3/4 of btyacc's changes, deferring those which change test-outputs.
1229 Tom Shield's changes split-out copy_string() and copy_comment() functions
1230 to simplify some logic, as well as adding btyacc-only chunks
1232 * makefile.in: build mstring.o, needed for changes in reader.c
1235 merge-in all of btyacc's changes which do not change byacc's test-output.
1236 Some of the merge uses ifdef-changes which I applied to ongoing resync,
1237 e.g., the introduction of PER_STATE.
1239 2014-04-02 Thomas E. Dickey <dickey@invisible-island.net>
1241 * test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c: regen
1243 * output.c: fix typo
1245 * output.c, reader.c:
1246 merge in some chunks of reader and output files which do not affect byacc tests
1248 * test/yacc/calc2.tab.c, test/yacc/calc3.tab.c: regen
1250 * 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:
1251 incorporate YYENOMEM and YYEOF symbols from btyacc
1253 * output.c: merge chunk from btyacc changes for header-guards
1255 * btyaccpar.skel: RCS_BASE
1257 * yaccpar.skel: comment-out yysccsid[], for FreeBSD build-issues
1258 remove GCC_UNUSED to reduce name-pollution as well as being simpler
1261 move a btyacc symbol outside ifdef to work around current state of merge
1264 add USE_HEADER_GUARDS to defer whether to modify byacc's header-output
1267 do not try to compile files used for testing syntax-errors, since they are
1268 likely to be incomplete
1270 2014-04-02 Tom.Shields
1272 * main.c: changes for btyacc
1274 2014-04-01 Thomas E. Dickey <dickey@invisible-island.net>
1277 integrate change by Tom Shields to use bsearch rather than successive
1280 * defs.h: typedef __compar_fn_t is unnecessary
1282 * 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:
1283 omit the GCC_UNUSED, as noted by Tom Shields not really essential
1285 2014-04-01 Tom.Shields
1287 * verbose.c: changes for btyacc, ifdef'd
1289 2014-04-01 Thomas E. Dickey <dickey@invisible-island.net>
1291 * mkpar.c: eliminate most of the ifdef's using macros
1293 2014-04-01 Tom.Shields
1295 * mkpar.c: merge btyacc changes (ifdef'd - no change to byacc)
1298 new functions used for reporting errors from the btyacc configuration
1299 (I reordered some, and ifdef'd the new ones -TD)
1301 2014-03-31 Thomas E. Dickey <dickey@invisible-island.net>
1303 * test/btyacc/code_calc.code.c, test/btyacc/code_error.code.c:
1304 omit the GCC_UNUSED, as noted by Tom Shields not really essential
1306 * 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:
1309 2014-03-29 Thomas E. Dickey <dickey@invisible-island.net>
1311 * 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:
1312 comment-out yysccsid in the banner because it produces unnecessary compiler
1313 warnings. The suggested alternative (using #pragma ident) in the preceding
1314 comment is also obsolete; remove that comment (request by Gleb Smirnoff).
1317 for yacc, ignore the inherit testcases, since they are btyacc-specific
1319 2014-03-28 Thomas E. Dickey <dickey@invisible-island.net>
1321 * 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:
1322 reference output for testing
1324 * test/run_lint.sh, test/run_make.sh, test/run_test.sh:
1325 moving #define's out of makefile broke check for yacc vs btyacc (fix)
1327 2014-03-28 Tom.Shields
1329 * 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:
1330 reference output for testing
1332 * defs.h: new functions/variables for btyacc
1333 (I reordered and ifdef'd -TD)
1335 * test/inherit0.y, test/inherit1.y: testcase for btyacc
1337 2014-03-27 Tom.Shields
1339 * test/err_inherit5.y, test/err_inherit4.y, test/err_inherit3.y, test/err_inherit2.y, test/err_inherit1.y, test/inherit2.y:
1342 2014-03-25 Tom.Shields
1344 * symtab.c: extra initialization needed for btyacc
1347 * yacc.1: document -L/-B features from btyacc
1349 2014-03-25 Thomas E. Dickey <dickey@invisible-island.net>
1356 modified new options to act like those in my other configure-scripts, e.g.,
1357 showing what option is being tested, and the resulting value. Put the
1358 definitions in config.h rather than in the makefile.
1360 2014-03-25 Tom.Shields
1362 * makefile.in: add/use LINTFLAGS variable
1363 make all of the objects (not just skeleton) rebuild if makefile changes
1364 modify check-rule to reflect updates to run_test.sh vs subdirectory
1366 * mstring.c: byacc-btyacc-20140323
1368 2014-03-25 Thomas E. Dickey <dickey@invisible-island.net>
1370 * test/btyacc/RCS, test/yacc/RCS: PERMIT FILE
1372 * config_h.in: updated with autoheader-252
1374 2014-03-25 Tom.Shields
1376 * README.BTYACC: byacc-btyacc-20140323
1378 2014-03-24 Tom.Shields
1380 * 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:
1381 reference output for testing
1383 2014-03-24 Thomas E. Dickey <dickey@invisible-island.net>
1385 * defs.h: fix compiler warnings due to mputc()
1387 2014-03-23 Tom.Shields
1389 * test/btyacc_demo.y: testcase for btyacc
1391 * test/btyacc/varsyntax_calc1.error, test/btyacc/varsyntax_calc1.output, test/btyacc/varsyntax_calc1.tab.c, test/btyacc/varsyntax_calc1.tab.h:
1392 reference output for testing
1394 * test/varsyntax_calc1.y, test/btyacc_calc1.y: testcase for btyacc
1396 2014-03-23 Thomas E. Dickey <dickey@invisible-island.net>
1398 * 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:
1399 reference output for testing
1401 * test/err_syntax26.y: testcase for missing_brace()
1403 * 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:
1404 reference output for testing
1406 * test/err_syntax25.y: testcase for over_unionized()
1408 * 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:
1409 reference output for testing
1411 * test/err_syntax24.y: testcase for default_action_warning()
1413 2014-03-23 Tom.Shields
1415 * 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:
1416 reference output for testing
1418 2014-03-23 Thomas E. Dickey <dickey@invisible-island.net>
1420 * 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:
1421 reference output for testing
1423 * test/err_syntax23.y: testcase for untyped_lhs()
1425 2014-03-23 Tom.Shields
1428 move test-outputs into subdirectories to keep btyacc/yacc results separate
1430 2014-03-23 Thomas E. Dickey <dickey@invisible-island.net>
1432 * 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:
1433 reference output for testing
1435 * test/err_syntax22.y: testcase for untyped_rhs()
1437 * 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:
1438 reference output for testing
1440 * test/err_syntax20.y: testcase for undefined_symbol_warning()
1442 * test/err_syntax21.y: testcase for unknown_rhs()
1444 * 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:
1445 reference output for testing
1447 * test/err_syntax19.y: testcase for dollar_error()
1449 * 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:
1450 reference output for testing
1452 * test/err_syntax18.y: testcase for dollar_warning()
1454 * 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:
1455 reference output for testing
1457 * test/err_syntax17.y: testcase for unterminated_action()
1459 2014-03-22 Thomas E. Dickey <dickey@invisible-island.net>
1461 * 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:
1462 reference output for testing
1464 * test/err_syntax16.y: testcase for terminal_lhs()
1466 * 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:
1467 reference output for testing
1469 * test/err_syntax15.y: testcase for no_grammar()
1471 * 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:
1472 reference output for testing
1474 * test/err_syntax14.y:
1475 testcase for restarted_warning() and undefined_goal()
1477 * 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:
1478 reference output for testing
1480 * test/err_syntax13.y: testcase for terminal_start()
1482 * 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:
1483 reference output for testing
1485 * test/err_syntax12.y: testcase for revalued_warning()
1487 * 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:
1488 reference output for testing
1490 * test/err_syntax11.y: testcase for reprec_warning()
1492 * 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:
1493 reference output for testing
1495 * test/err_syntax10.y: testcase for retyped_warning()
1497 2014-03-21 Thomas E. Dickey <dickey@invisible-island.net>
1499 * 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:
1500 reference output for testing
1502 * test/err_syntax9.y: testcase for tokenized_start()
1504 * 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:
1505 reference output for testing
1507 * test/err_syntax8a.y, test/err_syntax8.y: testcase for used_reserved()
1509 * 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:
1510 reference output for testing
1512 * test/err_syntax7b.y, test/err_syntax7a.y, test/err_syntax7.y:
1513 testcase for illegal_character()
1515 * 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:
1516 reference output for testing
1518 * test/err_syntax6.y: testcase for illegal_tag()
1520 * 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:
1521 reference output for testing
1523 * test/err_syntax5.y: testcase for unterminated_union()
1525 * 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:
1526 reference output for testing
1528 * test/err_syntax4.y: testcase for unterminated_text()
1530 * 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:
1531 reference output for testing
1533 * test/err_syntax3.y: testcase for unterminated_string()
1535 * 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:
1536 reference output for testing
1538 * test/err_syntax2.y: testcase for unterminated_comment()
1540 * test/err_syntax1.error, test/yacc/err_syntax1.error:
1541 reference output for testing
1543 * test/err_syntax1.y:
1544 test-case with syntax error (and nonprinting character)
1546 * 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:
1547 reference output for testing
1550 save stderr to reference files, to capture shift/reduce messages as well
1551 as syntax-error messages
1553 * 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:
1554 reference output for testing
1556 * test/run_test.sh: generate a ".dot" file for the grammar file
1558 * test/grammar.dot: RCS_BASE
1560 * test/yacc/grammar.dot: reference output for testing
1562 2014-03-19 Tom.Shields
1564 * output.c: rename MAXSHORT to MAXYYINT
1566 2014-03-18 Tom.Shields
1568 * yaccpar.skel: skeleton with btyacc additions
1570 * NOTES-btyacc-Changes: byacc-btyacc-20140323
1572 * test/btyacc/btyacc_calc1.output, test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_calc1.tab.h:
1573 reference output for testing
1576 move test-outputs into subdirectories to keep btyacc/yacc results separate
1578 * 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:
1579 reference output for testing
1582 several changes to help decouple the use of 'short' as the type of value
1583 used in yacc parsers.
1585 * NOTES-btyacc-Disposition: byacc-btyacc-20140323
1587 2014-03-17 Tom.Shields
1589 * skel2c, yaccpar.skel, yaccpar.skel.old: RCS_BASE
1592 move test-outputs into subdirectories to keep btyacc/yacc results separate
1594 * configure.in: add --with-max-table-size and --enable-btyacc options
1596 2014-03-16 Tom.Shields
1598 * main.c: use Value_t rather than short
1600 2014-03-11 Tom.Shields
1602 * test/empty.y: testcase for btyacc
1604 2014-03-10 Tom.Shields
1606 * test/calc3.y, test/calc2.y: fix unused-variable warning
1608 2014-02-18 Tom.Shields
1610 * lr0.c, graph.c: use Value_t rather than short
1612 * closure.c: use Value_t rather than short
1613 ifdef'd forward-reference prototypes to match ifdef'ing of the actual functions
1615 * lalr.c: rename MAXSHORT to MAXYYINT
1617 2014-01-01 Thomas E. Dickey <dickey@invisible-island.net>
1619 * yacc.1: document %token-table, improve presentation of double-quotes
1621 * VERSION, package/byacc.spec, package/debian/changelog: bump
1623 * 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:
1624 reference output for testing
1626 * 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:
1629 * output.c, skeleton.c:
1630 amend the last change so that yytname is #define'd as needed rather than
1631 permanent - to avoid breaking cproto for instance.
1633 2014-01-01 Christos.Zoulas
1635 * output.c, defs.h, main.c, reader.c, skeleton.c:
1636 changes to build ntpd using byacc:
1637 - rename yyname[] to yytname[]
1638 - add YYTRANSLATE() macro
1639 - recognize bison's %token-table declaration
1641 2014-01-01 Thomas E. Dickey <dickey@invisible-island.net>
1645 * yacc.1: s/EE/XE/ to work around groff bug on Debian 6
1647 * makefile.in: use CF_MAKE_DOCS
1649 * aclocal.m4: add CF_MAKE_DOCS
1651 * configure.in: use CF_MAKE_DOCS
1653 2013-12-26 Thomas E. Dickey <dickey@invisible-island.net>
1655 * config.guess: 2013-11-29
1657 2013-11-19 Thomas E. Dickey <dickey@invisible-island.net>
1659 * aclocal.m4: resync with my-autoconf (fixes for clang and mingw)
1661 2013-10-25 Thomas E. Dickey <dickey@invisible-island.net>
1663 * config.sub: 2013-10-01
1665 2013-09-25 Thomas E. Dickey <dickey@invisible-island.net>
1667 * reader.c: fix two loop-limits found by clang 3.3 --analyze
1672 tweaks to CF_MIXEDCASE_FILENAMES and CF_XOPEN_SOURCE for msys from ncurses
1674 * package/mingw-byacc.spec: RCS_BASE
1676 * 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:
1680 Increase default stack-size to match FreeBSD version noted as from
1681 "BSD 4.4 Lite Usr.bin Sources". See
1683 http://svnweb.freebsd.org/base/vendor/CSRG/dist/usr.bin/yacc/
1684 http://svnweb.freebsd.org/base/head/usr.bin/yacc/
1685 http://svnweb.freebsd.org/base/vendor/byacc/
1687 The original 1.9 sources (on which I based development) used 500 for
1688 stacksize; the BSD Lite sources (a year or two later) used 10000.
1690 This is a change to default values; the YYMAXDEPTH and YYSTACKSIZE
1691 symbols have "always" been overridable by applications, but rarely
1692 needed to do this. RedHat began using the FreeBSD source in 2000,
1693 and switched to this source in 2007 using the 20050813 snapshot.
1695 RedHat #743343 misattributed the change in default stacksize to
1696 a regression in byacc, but did not report the issue upstream.
1698 * package/debian/changelog, VERSION, package/byacc.spec: bump
1700 2013-09-07 Thomas E. Dickey <dickey@invisible-island.net>
1702 * config.sub: update to 2013-09-15
1704 * config.guess: update to 2013-06-10
1706 2013-03-04 Thomas E. Dickey <dickey@invisible-island.net>
1708 * package/debian/changelog, VERSION, package/byacc.spec: bump
1711 adapt tweak from Dave Becket to work around long-ago breakage in "new" autoconf.
1714 fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton).
1715 also while testing that, found a case where the union_file is unused; added
1716 a check for address that.
1718 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen
1720 * test/ftp.y: fix most compiler warnings for "make check_make"
1722 * test/calc1.tab.c: regen
1724 * test/calc1.y: fix most compiler warnings for "make check_make"
1726 * 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:
1729 * skeleton.c: quiet a gcc conversion-warning in yygrowstack()
1734 another fix for CF_GCC_VERSION to handle Debian's modification of gcc message.
1736 2013-02-10 Thomas E. Dickey <dickey@invisible-island.net>
1738 * config.sub, config.guess: update to 2013-02-04
1740 2012-10-03 Thomas E. Dickey <dickey@invisible-island.net>
1742 * package/debian/changelog, package/byacc.spec, VERSION: bump
1746 * configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC
1749 moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc)
1750 the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor.
1752 * aclocal.m4, configure.in:
1753 Arian's change dropped my check for misused $CC variable - restore that with
1754 alternate macro CF_PROG_CC.
1756 2012-10-03 Adrian.Bunk
1759 suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since
1760 they are not needed.
1762 2012-10-03 Thomas E. Dickey <dickey@invisible-island.net>
1765 split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in
1766 Adrian's suggested changes.
1769 CF_CLANG_COMPILER - check if the given compiler is really clang.
1772 add check for clang to CF_GCC_WARNINGS. modify CF_GCC_WARNINGS to work around
1773 old gcc warning: ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1
1774 on my Sarge system (versus 3.3.5 for the normal gcc). The 2.8.1's
1775 pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work
1776 around by excluding that check for pre-3.x compilers.
1779 modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions
1780 provided by this macro. use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather
1781 than appending to confdefs.h, since long-ago concern about the ability to
1782 pass-through parameterized macros appears to be not a problem, testing with
1785 2012-10-03 Adrian.Bunk
1788 add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by
1789 autoheader, updated macros:
1793 CF_MIXEDCASE_FILENAMES
1796 2012-10-03 Thomas E. Dickey <dickey@invisible-island.net>
1799 move existence-check for mkstemp out of the AC_TRY_RUN, to help with
1802 2012-10-02 Thomas E. Dickey <dickey@invisible-island.net>
1805 Adrian Bunk request - replace this with the output from autoheader
1807 2012-09-29 Adrian.Bunk
1810 suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no
1811 check is needed anymore for standard C compilers), drop AC_CONST (same
1812 reason), modify AC_OUTPUT to rely upon template generated by autoheader.
1813 bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT
1814 as being obsolete with autoconf 2.52x
1816 * configure.in, main.c: drop check for atexit, because it is standard C
1818 * makefile.in: add assignment for datarootdir variable.
1820 2012-05-26 Thomas E. Dickey <dickey@invisible-island.net>
1822 * package/debian/changelog, package/byacc.spec, VERSION: bump
1825 some versions of gcc may warn that bp is not set in mark_symbol, e.g.,
1826 if GCC_NORETURN is not handled; appease the compiler.
1829 use the declared types Assoc_t and Value_t in some places where compiler only
1830 cared about char versus short.
1833 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
1837 add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD
1838 packagers to build without configure script. Also remove duplicate declaration
1839 of pure_parser variable (prompted by patch by Baptiste Daroussin).
1841 Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and
1845 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
1848 2012-05-25 Thomas E. Dickey <dickey@invisible-island.net>
1850 * output.c, main.c, verbose.c, mkpar.c, lr0.c:
1851 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
1854 2012-01-15 Thomas E. Dickey <dickey@invisible-island.net>
1856 * package/debian/copyright: bump
1858 * test/run_make.sh: workaround for breakage due to GNU make 3.82
1861 tested with Solaris 10 (bison 1.875) and added scripting to exercise
1862 the /usr/ccs/bin/yacc executable
1864 * test/grammar.tab.c: regen
1866 * test/grammar.y: modify to also build with Solaris yacc
1868 * VERSION, package/debian/changelog, package/byacc.spec: bump
1870 * test/yacc/calc1.output: reference output for testing
1872 * test/calc1.output, test/calc1.tab.c: regen
1875 undo the change made to appease bison, since it was only a warning.
1877 * test/pure_calc.tab.c, test/pure_error.tab.c: regen
1879 * test/run_make.sh: another fix for running from top-level directory
1882 ensure that check_make rule depends on having byacc built.
1884 * test/run_make.sh: fixes for building from parent directory
1886 * test/pure_error.y, test/pure_calc.y: bison-fixes
1888 * 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:
1891 * test/code_debug.y: RCS_BASE
1893 * test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y:
1894 byacc already declares yyerror
1896 * test/pure_error.y, test/pure_calc.y:
1897 modified to help make the files build with bison
1900 supply a "%pure-parser" directive when bison needs it.
1902 * test/code_calc.code.c: regen
1904 * test/code_calc.y: modified to help make the files build with bison
1907 in testing, found that %expect did not work as documented for bison.
1908 do not recommend it for portable code.
1910 * test/run_make.sh: workaround breakage in bison's %expect directive
1912 * test/grammar.y: modified to help make the files build with bison
1914 * test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen
1916 * test/calc1.y: quiet a spurious warning from bison 2.3
1918 * test/calc1.tab.c: regen
1920 * test/calc1.y: modified to help make the files build with bison
1922 * yacc.1: comment on "-y" and "-P" options.
1924 * yacc.1: comment on portability
1926 * 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:
1929 * test/ftp.y: modified to help make the files build with bison
1930 (bison's "-y" option is of no use in providing "yacc" compatibility)
1932 * test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
1935 * test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, test/quote_calc4.y, test/quote_calc3.y:
1936 modified to help make the files build with bison
1938 * test/calc.tab.c: regen
1940 * test/calc.y: modified to help make the files build with bison
1942 * test/error.tab.c: regen
1944 * test/error.y: modified to help make the files build with bison
1946 * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen
1949 check for older bisons which (2.3 for instance) do not support pure parsers
1951 * test/code_error.y, test/calc3.y, test/calc2.y:
1952 modified to help make the files build with bison
1954 * test/run_test.sh: use $opt2 in filenames of the generated files
1956 * 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:
1959 2012-01-14 Thomas E. Dickey <dickey@invisible-island.net>
1961 * 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:
1964 * output.c: Several changes:
1965 a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex.
1966 b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL,
1967 using YYLEX_PARAM_TYPE and YYLEX_PARAM.
1968 c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL,
1969 to help with redefinitions.
1971 * test/pure_calc.tab.c:
1972 modified to help make the files build with bison
1975 start work on followup, to check if the generated files build with bison.
1977 * test/pure_calc.y, test/pure_error.tab.c:
1978 modified to help make the files build with bison
1980 * test/calc3.tab.c: regen
1982 * 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:
1985 * 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:
1986 reference output for testing
1988 * test/run_test.sh: generate/test with "-s" option applied.
1990 2012-01-13 Thomas E. Dickey <dickey@invisible-island.net>
1992 * package/debian/changelog, package/byacc.spec, VERSION: bump
1994 * yacc.1: improve documentation of -s option
1996 * yacc.1: note that yacc ignores -y
1998 * main.c: add -s option to usage message.
2000 * test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h:
2003 * test/yacc/quote_calc3.output, test/yacc/quote_calc4.output, test/yacc/quote_calc4.tab.h:
2004 reference output for testing
2006 * test/quote_calc3.y, test/quote_calc.tab.h: RCS_BASE
2008 * test/yacc/quote_calc.tab.h: reference output for testing
2010 * 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:
2013 * test/yacc/quote_calc.output, test/yacc/quote_calc2.output, test/yacc/quote_calc2.tab.h, test/yacc/quote_calc3.tab.h:
2014 reference output for testing
2016 * test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: RCS_BASE
2020 * aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE
2022 2011-12-19 Thomas E. Dickey <dickey@invisible-island.net>
2024 * package/debian/changelog, package/byacc.spec, VERSION: bump
2026 * yacc.1, output.c, main.c, defs.h:
2027 add "-s" option to suppress generating #define's based on string contents
2028 in a %token statement. For instance
2029 %token EQLS "Equals"
2033 Simply suppressing the second #define makes the behavior closer to yacc.
2034 (report by Paulo Andrade).
2036 2011-09-08 Thomas E. Dickey <dickey@invisible-island.net>
2038 * package/debian/changelog, package/byacc.spec, VERSION: bump
2041 fix some more interaction between -i and -d flags to ensure YYERRCODE
2042 and YYSTYPE are declared, tested with cproto.
2044 2011-09-07 Thomas E. Dickey <dickey@invisible-island.net>
2046 * yacc.1: document "-i" option.
2048 * package/debian/changelog, package/byacc.spec, VERSION: bump
2050 * output.c: fix an interaction between -i and -d
2052 * 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:
2053 regen - changes for "-i" option move the global/impure variables near the
2054 macros that may add a prefix, etc.
2056 * skeleton.c, output.c, defs.h: changes to support "-i" option.
2058 2011-09-06 Thomas E. Dickey <dickey@invisible-island.net>
2060 * reader.c: pass explicit file-pointer to write_section()
2063 add "-i" option, to generate interface-file (suggested by Denis M. Wilson)
2065 2011-09-05 Thomas E. Dickey <dickey@invisible-island.net>
2070 resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC)
2071 and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks)
2073 * defs.h, error.c, reader.c:
2074 add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson)
2076 2011-04-01 Thomas E. Dickey <dickey@invisible-island.net>
2078 * config.sub: update to 2011-04-01
2080 2011-02-02 Thomas E. Dickey <dickey@invisible-island.net>
2082 * config.guess: update to 2011-01-01
2084 2010-12-29 Thomas E. Dickey <dickey@invisible-island.net>
2086 * defs.h, skeleton.c:
2087 add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas)
2090 mark all of the error-functions as non-returning (report by Christos Zoulas)
2092 * 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:
2096 use only realloc() rather than realloc+malloc, agree that systems needing this
2097 are very rare (prompted by NetBSD change).
2099 * test/ftp.tab.c: regen
2101 2010-12-29 Christos.Zoulas
2104 improve example, which was stuck in 19XX and assumed file sizes were longs.
2106 2010-12-29 Thomas E. Dickey <dickey@invisible-island.net>
2108 * 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:
2111 * 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:
2112 use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror
2115 remove explicit prototype for yylex() via YYLEX_DECL() macro, since that
2116 would prevent declaring yylex() static (request by Christos Zoulas).
2118 * test/calc2.tab.c, test/calc3.tab.c: regen
2120 2010-12-29 Christos.Zoulas
2122 * output.c: correct definition for YYERROR_DECL()
2124 2010-12-29 Thomas E. Dickey <dickey@invisible-island.net>
2126 * package/debian/changelog, package/byacc.spec, VERSION: bump
2128 2010-12-26 Thomas E. Dickey <dickey@invisible-island.net>
2131 change return-type of allocate() to avoid warnings of alignment problems
2133 * main.c: Solaris declares chmod() in <sys/stat.h>
2137 * main.c: ifdef'd use of fcntl.h
2139 * configure.in: add configure checks for fcntl.h, atexit and mkstemp
2141 * main.c: for cases where mkstemp() is not available, use tempnam/open
2143 * aclocal.m4: add CF_MKSTEMP
2146 improve quoting, deprecate ${name-value} in favor of standard ${name:-value}
2148 2010-12-25 Thomas E. Dickey <dickey@invisible-island.net>
2151 start revising use of tmpfile(), to make this work with MinGW. Start by
2152 implementing a mkstemp() alternative - noting that mkstemp() also is broken
2155 * package/debian/changelog, package/byacc.spec, VERSION: bump
2157 2010-11-27 Thomas E. Dickey <dickey@invisible-island.net>
2159 * package/byacc.spec, package/debian/changelog, VERSION: bump
2161 * test/calc2.tab.c, test/calc3.tab.c: regen
2164 corrected use of %parse-param value in yyerror(); it doesn't use &yylval
2165 (report by Clifford Yapp)
2167 2010-11-26 Thomas E. Dickey <dickey@invisible-island.net>
2172 correct line-numbering when "-r" option is used; the 'outline' variable
2173 should only be incremented when writing to the code-file.
2175 * test/code_calc.code.c, test/code_error.code.c: regen
2179 * yacc.1: comment on -b option vs -r
2181 * 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:
2185 improve on YYERROR_DECL(), adding dummy params which can be used for the
2186 actual function declaration. Also add YYERROR_CALL(). The two macros
2187 simplify maintaining sets of grammars which may/may not be pure.
2189 * 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:
2192 * output.c: generate yyerror() calls in output.c
2193 This is for compatibility with bison, which passes the yylval to yyerror
2194 when the %parse-param feature is used.
2196 * skeleton.c, defs.h: generate yyerror() calls in output.c
2198 * output.c: simplified a little, using putc_code() and putl_code()
2200 * test/yacc/calc1.tab.h: reference output for testing
2202 * test/calc1.tab.h: regen
2205 improve ifdef for YYSTYPE union declaration (report by Clifford Yapp)
2208 accept underscore as a replacement for dash in command names, e.g.,
2209 "%pure_parser" vs "%pure-parser".
2211 * test/calc1.tab.c: regen
2213 * output.c, reader.c:
2214 also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp)
2216 * package/debian/changelog, package/byacc.spec, VERSION: bump
2218 2010-11-24 Thomas E. Dickey <dickey@invisible-island.net>
2220 * main.c, defs.h, symtab.c, error.c: reduce global variables
2222 * package/debian/changelog, package/byacc.spec, VERSION: bump
2225 amend fix for Redhat #112617 to still call default_action_warning() for
2226 empty rules (report by Bruce Cran).
2228 2010-11-22 Thomas E. Dickey <dickey@invisible-island.net>
2231 add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp).
2233 * test/calc1.tab.c: regen
2235 * test/calc1.y: cleanup compiler warnings
2237 * test/grammar.y: add "%expect"
2239 * test/calc1.tab.h: regen
2241 * test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE
2243 * test/calc2.tab.c, test/calc3.tab.c: regen
2246 advanced example from Steve Johnson's paper, uses unions
2248 * test/calc3.y, test/calc2.y: init 'base', so examples can run
2250 * test/ftp.tab.c, test/ftp.y: tweaks to compile with g++
2252 * output.c: compensate for fix in reader.c
2255 add/use putc_both() and puts_both(), incidentally fixing a place where
2256 a union copied to the union_file may be missing the end of the last line.
2258 * package/debian/changelog, package/byacc.spec, VERSION: bump
2260 2010-09-28 Thomas E. Dickey <dickey@invisible-island.net>
2262 * config.guess: update to 2010-09-24
2264 2010-09-10 Thomas E. Dickey <dickey@invisible-island.net>
2266 * config.sub: update to 2010-09-11
2268 2010-06-10 Thomas E. Dickey <dickey@invisible-island.net>
2270 * yacc.1, package/debian/changelog, package/byacc.spec, VERSION:
2273 2010-06-09 Thomas E. Dickey <dickey@invisible-island.net>
2275 * reader.c: free declarations in leak-testing code.
2277 * main.c: close code_file if -r option used, for leak-testing
2280 improve %lex-param / %parse-param implementation by allowing for arrays to
2281 be passed as parameters, e.g., "int regs[26]".
2283 * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h:
2286 * test/yacc/calc3.output, test/yacc/calc3.tab.h:
2287 reference output for testing
2289 * test/calc2.tab.c, test/calc2.y, test/calc2.tab.h: RCS_BASE
2291 * test/yacc/calc2.tab.h: reference output for testing
2293 * test/calc2.output: RCS_BASE
2295 * test/yacc/calc2.output: reference output for testing
2298 improve %lex-param / %parse-param implementation by allowing for arrays to
2299 be passed as parameters, e.g., "int regs[26]".
2301 * test/calc.tab.c, test/calc.y:
2302 test-cases and reference files for %lex-param / %parse-param
2304 * makefile.in: add docs-rule, for html/pdf/txt form of manpage
2308 * aclocal.m4: add CF_XOPEN_SOURCE, etc.
2311 use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89
2313 * 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:
2314 fix warnings from clang --analyze
2316 2010-06-08 Thomas E. Dickey <dickey@invisible-island.net>
2318 * output.c: fix to build with c89, etc.
2320 * reader.c: gcc warning
2322 * 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:
2323 modified test-cases to allow them to compile, to validate pure-parser changes.
2324 updated reference files to match.
2327 move call for output_stype() earlier since it is used in pure-parser declarations
2329 * test/grammar.tab.c, test/grammar.y:
2330 modified test-cases to allow them to compile, to validate pure-parser changes.
2331 updated reference files to match.
2333 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2336 * yacc.1: document %lex-param and %parse-param
2338 * test/run_lint.sh, test/run_make.sh: RCS_BASE
2341 further modify to allow build-directory to be in a different location by
2342 passing this directory's location as a parameter to the script.
2345 add check_make and check_lint rules to help validate the generated files
2346 in the test-directory
2348 2010-06-07 Thomas E. Dickey <dickey@invisible-island.net>
2350 * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE
2353 provide for testing -r and -P options by checking if the ".y" filename
2354 begins with "code_" or "pure_", respectively.
2356 * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h:
2359 * test/yacc/code_error.tab.h: reference output for testing
2361 * test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h:
2364 * test/yacc/code_calc.tab.h: reference output for testing
2366 * test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h:
2369 * test/yacc/pure_calc.output, test/yacc/pure_calc.tab.h, test/yacc/pure_error.output, test/yacc/pure_error.tab.h:
2370 reference output for testing
2372 * test/code_calc.output, test/code_error.output: RCS_BASE
2374 * test/yacc/code_calc.output, test/yacc/code_error.output:
2375 reference output for testing
2377 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen
2380 changes to support running "make check" in a separate build-tree
2382 * main.c: add "-P" to usage message
2384 * reader.c: use UCH() macro to hide casts.
2386 2010-06-07 Andres.Mejia
2388 * main.c, output.c, reader.c, defs.h, skeleton.c:
2389 Fix the output order of the generated parse code file. This allows for
2390 the use of YYPARSE_PARAM, by having the output that checks for
2391 YYPARSE_PARAM to be defined come after the C code block in the
2392 definitions section of a yacc file.
2394 Implement support for YYLEX_PARAM, similar to bison. This is useful for
2395 support for building reentrant lexers with flex.
2397 Fix a compatibility issue with bison's pure-parser option. Bison
2398 defines yylex as sending at least one parameter, &yylval, as the first
2399 parameter and doesn't seem to have an easy way to remove that parameter.
2400 This on the other hand is rather convenient to support saving to yylval
2401 from flex when building reentrant lexers and parsers.
2403 Add support for the %parse-param and %lex-param directives used in
2404 bison. This change bears some similarity to NetBSD's changes to byacc
2405 at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html
2407 Bison allows for POSIX yacc emulation via a yacc directive in the yacc
2408 file, and also via a command line switch. Implement this feature as a
2409 no-op for byacc, since byacc is designed to be POSIX yacc compatible
2410 anyway. This allows for better compatibility with yacc sources written
2413 2010-06-07 Thomas E. Dickey <dickey@invisible-island.net>
2415 * VERSION: bump to 2010/06/07
2417 2010-06-06 Thomas E. Dickey <dickey@invisible-island.net>
2419 * test/calc.tab.c, configure: regen
2422 move #include's down into the generated code, to allow user-defined code
2423 to override feature definitions, particularly with stdlib.h (request by
2426 * lr0.c, error.c, reader.c, defs.h:
2427 strict gcc 3.4.6 warnings on 64-bit platform
2429 * aclocal.m4, configure.in: add check for lint
2431 * makefile.in: add lint rule
2433 * defs.h, closure.c, lr0.c, warshall.c, main.c:
2434 fix gcc warnings, mostly for 64-bit platform
2437 add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc
2439 * makefile.in: add etags/TAGS if available
2441 * configure.in: add configure check for actual ctags and etags programs
2443 * package/debian/copyright: add copyright notices for non-PD files
2445 * package/debian/changelog:
2446 incorporated scripts in upstream to use for test-builds
2448 * makefile.in: drop mkdirs.sh, just use "mkdir -p"
2450 * AUTHORS: nicknames for some contributors (see CHANGES for details)
2452 * package/byacc.spec: RPM file for byacc
2454 * VERSION: bump to 2010/06/06
2456 * aclocal.m4: add copyright notice, from "my-autoconf" macros
2457 http://invisible-island.net/autoconf/autoconf.html
2459 * package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS:
2462 * aclocal.m4: resync with my-autoconf. summary of changes:
2463 a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter
2464 b) CF_DISABLE_ECHO, change indent-convention for substituted makefile
2465 c) CF_GCC_VERSION, ignore stderr
2466 d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc
2468 2010-04-20 Thomas E. Dickey <dickey@invisible-island.net>
2470 * 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:
2471 scripts from Debian package
2473 2010-02-16 Thomas E. Dickey <dickey@invisible-island.net>
2475 * yacc.1: document -P and bison-extensions
2477 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
2480 * output.c: implement %pure-parser
2483 implement %pure-parser, like bison. To help with this, changed the stack
2484 variables, putting them into a struct.
2486 * reader.c: implement %pure-parser
2488 * defs.h: modified skeleton to support %pure-parser feature
2490 * main.c: add -P option to set %pure-parser
2493 make -r and -p options work together. The -r option splits the generated
2494 parser into code/table files; for this case we cannot use static data.
2495 Also, we have to repeat the #define's used for prefix (-p) as well as the
2496 redeclaration of yyparse(). Finally, allow any of the prefixed names to
2497 be overridden, e.g., by passing a -D option to the compiler. Make that
2498 a little more readable by putting a blank line before each chunk.
2500 * defs.h: add definitions for %pure-parser
2503 put blank line before/after the redeclaration of yyparse()
2505 * output.c: allow for other program redefining yylex()
2508 split-off xdecls[] array, to move declaration of yyparse() after #define's
2510 * defs.h: split-out xdecls[]
2516 * aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS
2519 resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes.
2521 2010-02-16 Ostap.Cherkashi
2523 * skeleton.c: fix a memory leak in the generated skeleton
2525 2010-01-01 Thomas E. Dickey <dickey@invisible-island.net>
2527 * package/debian/source/format: scripts from Debian package
2529 2009-12-31 Thomas E. Dickey <dickey@invisible-island.net>
2531 * config.guess: update to 2009-12-30
2533 * config.sub: update to 2009-12-31
2535 2009-10-27 Thomas E. Dickey <dickey@invisible-island.net>
2539 * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c:
2540 strict compiler warnings
2542 2009-10-26 Thomas E. Dickey <dickey@invisible-island.net>
2544 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
2547 * main.c, defs.h: introduce some typedefs for portability, etc.
2550 don't remove "*.log" in mostlyclean rule since it interferes with regression
2555 * aclocal.m4: resync with my-autoconf
2557 2009-08-25 Thomas E. Dickey <dickey@invisible-island.net>
2559 * config.guess, config.sub: update to 2009-08-19
2561 2009-02-21 Thomas E. Dickey <dickey@invisible-island.net>
2565 * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
2567 2008-12-26 Thomas E. Dickey <dickey@invisible-island.net>
2569 * configure: regen with autoconf-2.52 (patched)
2571 2008-12-25 Thomas E. Dickey <dickey@invisible-island.net>
2573 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
2576 2008-12-24 Thomas E. Dickey <dickey@invisible-island.net>
2581 remove ifdef-lint from goto yyerrlab, to quiet gcc warning
2583 2008-11-26 Thomas E. Dickey <dickey@invisible-island.net>
2585 * verbose.c, main.c, defs.h, mkpar.c, reader.c:
2586 completed implementation of "%expect" (report by Perry E. Metzger).
2587 add "%expect-rr", which is (unlike bison) allowable in LALR parsers.
2589 2008-11-24 Thomas E. Dickey <dickey@invisible-island.net>
2591 * 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:
2592 change indent-style (request by Perry E. Metzger)
2594 2008-08-27 Thomas E. Dickey <dickey@invisible-island.net>
2596 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2597 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
2602 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
2604 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c:
2605 change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's.
2607 * configure: regen'd
2609 * configure.in: add -Wwrite-strings to warnings
2611 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
2612 add YYPARSE_PARAM and YYPARSE_PARAM_TYPE
2615 add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features.
2617 * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c:
2618 fixes for gcc -Wwrite-strings
2620 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2621 generate the tables as static-const (this is an interface change)
2623 * output.c: realign columns in start_table()
2626 generate the tables as static-const (this is an interface change)
2628 * output.c: reorder functions to eliminate forward-references
2630 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2631 remove 'register' keywords
2633 2008-08-26 Thomas E. Dickey <dickey@invisible-island.net>
2635 * 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:
2636 remove 'register' keywords
2638 2008-08-25 Thomas E. Dickey <dickey@invisible-island.net>
2640 * test/ftp.tab.c: regen'd
2643 improve the left-curly fix by testing after blanks, to avoid having a
2644 " {" at the beginning of a line.
2646 * test/error.tab.c, test/grammar.tab.c: regen'd
2649 move the remaining newline-counting into write_XXX functions.
2651 * test/calc.tab.c: regen'd
2654 simplify part of the output_file formatting using new functions, e.g.,
2655 start_int_table(), output_newline().
2658 modify copy_action() to indent the first character, it if is is left-curly
2659 brace. That makes the output look more like the original, as well as makes
2660 it simpler to edit (not confuse editors which look for a left-curly in the
2661 first column as if it were the beginning of a function).
2663 * skeleton.c: minor fixes to avoid gcc -Wconversion warnings
2665 * output.c: align the #define's produced for "-p" option
2667 * test/run_test.sh: use the "-p" option for better coverage.
2669 * output.c: simplify output_prefix() with new define_prefixed()
2671 * skeleton.c: include string.h, for memset()
2672 change stack size to unsigned to fix gcc -Wconversion warnings.
2674 * VERSION: bump to 2008/8/25
2676 * makefile.in: add dependency on VERSION file.
2678 2008-08-24 Thomas E. Dickey <dickey@invisible-island.net>
2682 * lalr.c: improved memory-leak checking by freeing data in includes[]
2684 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
2685 update to match skeleton-change
2687 * configure: regen'd
2689 * skeleton.c: Add fix for stack discussed
2690 http://undeadly.org/cgi?action=article&sid=20080708155228
2692 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29
2694 * aclocal.m4: resync with my-autoconf (no major changes)
2696 2008-07-24 Thomas E. Dickey <dickey@invisible-island.net>
2698 * package/pkgsrc/Makefile, package/pkgsrc/distinfo:
2699 scripts from NetBSD pkgsrc, for test-builds
2701 2008-03-14 Thomas E. Dickey <dickey@invisible-island.net>
2703 * config.sub: update to 2008-03-08
2705 * config.guess: update to 2008-03-12
2707 2007-05-09 Thomas E. Dickey <dickey@invisible-island.net>
2709 * main.c: close graph, verbose files if opened, on exit.
2712 audit memory leaks - valgrind reported some memory still in use on exit.
2714 * lalr.c, output.c, reader.c, mkpar.c, lr0.c:
2715 add hook for auditing memory leaks
2717 * defs.h: add hooks for auditing memory leaks
2719 * configure: regen'd
2722 use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind,
2723 --with-dbmalloc and --with-dmalloc
2725 * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND
2727 * aclocal.m4: improve version-checking in CF_GCC_VERSION
2728 rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro
2732 * main.c: file_prefix did not always have a trailing null.
2734 2007-03-25 Thomas E. Dickey <dickey@invisible-island.net>
2736 * mkdirs.sh: improved version for "make -j"
2738 2006-12-22 Thomas E. Dickey <dickey@invisible-island.net>
2740 * config.guess: update to 2006/12/22
2742 2006-12-08 Thomas E. Dickey <dickey@invisible-island.net>
2744 * config.sub: update to 2006/12/08
2746 2005-08-13 Thomas E. Dickey <dickey@invisible-island.net>
2748 * main.c: add -V to usage message
2750 * makefile.in: remove -t option from ctags
2752 * VERSION: 2005/8/13
2756 * main.c: Sylvain Schmitz:
2757 modify the '-o' option to work like bison's, which sets the file-prefix.
2759 2005-08-13 Matt.Kraai
2762 Debian #322858 (don't close union_file, which contained data).
2763 This feature is used in groff.
2765 2005-08-13 Thomas E. Dickey <dickey@invisible-island.net>
2767 * configure: regenerated
2769 * aclocal.m4: improve checks for Intel compiler warnings
2771 2005-06-25 Thomas E. Dickey <dickey@invisible-island.net>
2773 * config.sub: update to 2005/6/2
2775 * config.guess: update to 2005/5/27
2777 2005-05-05 Thomas E. Dickey <dickey@invisible-island.net>
2779 * defs.h: add a fallback for GCC_UNUSED
2781 2005-05-04 Thomas E. Dickey <dickey@invisible-island.net>
2783 * makefile.in: add "." to include-path to pickup config.h
2786 apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617.
2789 correct a limit check in pack_vector() - report/analysis by William Evans
2792 exit after printing version. Otherwise "yacc -V" will exit with an erro
2793 after printing the usage message.
2795 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2796 regenerated after skeleton-changes
2798 * skeleton.c: replace a few -1's with YYEMPTY
2801 delete yynewerror (no one uses it any more, and it just makes compiler warnings)
2803 * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD
2806 filter out lines with YYPATCH, since that will change with each update
2808 * yacc.1: add -V option
2810 * main.c: add -V option to print the version.
2811 simplify option-parsing by moving the duplicate logic for setting flags into
2812 new function setflag().
2815 move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers).
2816 add YYPATCH here so it can be tested by applications.
2819 add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and
2822 * lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c:
2823 reduce externs by making static the procedures that are not referenced outside
2824 the module in which they are defined.
2827 the VERSION file holds the patch-date. Define YYPATCH, so this will be
2828 compiled into the skeleton.
2830 * VERSION: patch-level for byacc
2833 add "-o" to usage message. It is too long for a single line; rewrite usage()
2834 to show one option per line.
2836 2005-05-03 Thomas E. Dickey <dickey@invisible-island.net>
2838 * main.c: add -o option, to work with scripts that assume bison.
2839 simplify create_file_names() with a macro.
2840 simplify done() with a macro.
2841 adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by
2842 onintr(), do not flush output via exit(), but use _exit() instead.
2844 * defs.h: remove unnecessary externs for main.c
2846 * yacc.1: add -o option
2848 * graph.c: remove unused parameter
2850 * mkpar.c, defs.h, reader.c:
2851 add support for "%expect", a bison feature from FreeBSD sources
2853 * 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:
2856 * configure: regenerated for 2005/5/5
2858 * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER)
2862 * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1:
2863 Sylvain Schmitz <schmitz@i3s.unice.fr>:
2864 add graphical output of the LALR(1) automaton for graphviz,
2865 associated with command-line option `-g'
2867 2005-04-16 Thomas E. Dickey <dickey@invisible-island.net>
2869 * config.sub: update to 2005/2/10
2871 * config.guess: update to 2005/3/24
2873 2005-04-13 Thomas E. Dickey <dickey@invisible-island.net>
2875 * package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds
2877 2005-03-21 Thomas E. Dickey <dickey@invisible-island.net>
2879 * package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds
2881 2004-03-28 Thomas E. Dickey <dickey@invisible-island.net>
2883 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
2884 updates due to adding yyparse() prototype
2886 * configure: RCS_BASE
2889 add AC_ARG_PROGRAM to make --program-prefix, etc., work.
2891 * makefile.in: first cut of script to support --program-prefix
2894 reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52
2896 * makefile.in: modify so DESTDIR works
2898 * makefile.in: use EXEEXT and OBJEXT
2900 * configure.in: use CF_PROG_EXT
2903 * defs.h: make this use the generated config.h
2905 * skeleton.c: add a forward-reference for yyparse()
2907 * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT
2909 * yacc.1: remove the discussion of TMPDIR since it is obsolete
2911 * skeleton.c: fix a couple of minor compiler-warnings in the skeleton
2913 * defs.h: remove action_file_name, etc., since we use tmpfile() now.
2916 use tmpfile() for opening the working files. This quiets a warning
2917 advising the use of mkstemp().
2920 Do not close temporary-files here, since they are opened with tmpfile().
2921 Just rewind them, and they're ready to read back the data stored in them.
2923 * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE
2925 * test/yacc/grammar.output, test/yacc/grammar.tab.h:
2926 reference output for testing
2928 * makefile.in: turn on "make check" rule
2930 * test/calc.output: RCS_BASE
2932 * test/yacc/calc.output: reference output for testing
2934 * test/run_test.sh, test/calc.tab.h: RCS_BASE
2936 * test/yacc/calc.tab.h: reference output for testing
2938 * test/ftp.tab.c: yyparse() is now yyparse(void)
2940 * test/calc.tab.c: RCS_BASE
2942 * test/error.tab.c: yyparse() is now yyparse(void)
2944 * test/README: RCS_BASE
2946 * yacc.1: various typography fixes prompted by Debian #100947
2948 * aclocal.m4, makefile.in, configure.in: RCS_BASE
2950 * README: updated to note that this is not the original
2952 2004-03-24 Thomas E. Dickey <dickey@invisible-island.net>
2954 * test/grammar.y: RCS_BASE
2956 2004-02-23 Thomas E. Dickey <dickey@invisible-island.net>
2958 * config.sub: RCS_BASE
2960 2004-02-17 Thomas E. Dickey <dickey@invisible-island.net>
2962 * config.guess: RCS_BASE
2964 2003-11-29 Thomas E. Dickey <dickey@invisible-island.net>
2966 * install-sh: improved quoting
2968 2002-06-29 Thomas E. Dickey <dickey@invisible-island.net>
2971 don't use character range, since some locales don't work as expected
2973 2001-06-22 Thomas E. Dickey <dickey@clark.net>
2975 * install-sh: RCS_BASE
2977 2000-11-20 Thomas E. Dickey <dickey@clark.net>
2979 * test/calc.y: RCS_BASE
2981 * test/code_calc.y, test/pure_calc.y: copy of calc.y
2983 * vmsbuild.com: original version
2985 2000-02-23 Thomas E. Dickey <dickey@clark.net>
2987 * test/RCS, RCS: PERMIT FILE
2989 2000-02-14 Thomas E. Dickey <dickey@clark.net>
2991 * main.c: fix for VMS port - making pathname for temp-file
2993 * descrip.mms: original version
2995 2000-02-13 Thomas E. Dickey <dickey@clark.net>
2997 * 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:
3000 1999-11-30 Thomas E. Dickey <dickey@clark.net>
3002 * mkdirs.sh: RCS_BASE
3004 1995-01-01 Thomas E. Dickey <dickey@clark.net>
3006 * config_h.in: RCS_BASE
3010 * README.DOS, main.c: MSDOS-port
3014 * reader.c, defs.h: MSDOS-port
3018 * README: original version
3022 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: RCS_BASE
3024 1993-02-22 dickey@software.org
3026 * test/yacc/error.output, test/yacc/error.tab.h:
3027 reference output for testing
3031 * test/error.output, test/error.tab.c, test/error.tab.h: RCS_BASE
3033 * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES:
3038 * yacc.1: original version
3042 * defs.h: original version
3046 * mkpar.c, verbose.c: original version
3050 * lr0.c, Makefile, Makefile.old: original version
3054 * NEW_FEATURES: original version
3058 * ACKNOWLEDGEMENTS: original version
3062 * symtab.c, lalr.c, error.c: original version
3064 1990-01-16 dickey@software.org
3066 * test/code_error.y, test/pure_error.y: RCS_BASE
3070 * test/error.y: RCS_BASE
3074 * NO_WARRANTY: original version
3078 * test/ftp.y: RCS_BASE