1 2009-10-27 Thomas Dickey <tom@crayon>
5 * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c:
6 strict compiler warnings
8 2009-10-26 Thomas Dickey <tom@crayon>
10 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
13 * main.c, defs.h: introduce some typedefs for portability, etc.
16 don't remove "*.log" in mostlyclean rule since it interferes with regression
21 * aclocal.m4: resync with my-autoconf
23 2009-08-25 Thomas Dickey <tom@crayon>
25 * config.guess, config.sub: 2009-08-19
27 2009-02-21 Thomas Dickey <tom@crayon>
31 * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
33 2008-12-26 Thomas Dickey <tom@crayon>
35 * configure: regen with autoconf-2.52 (patched)
37 2008-12-25 Thomas Dickey <tom@crayon>
39 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
42 2008-12-24 Thomas Dickey <tom@crayon>
47 remove ifdef-lint from goto yyerrlab, to quiet gcc warning
49 2008-11-26 Thomas Dickey <tom@crayon>
51 * verbose.c, main.c, defs.h, mkpar.c, reader.c:
52 completed implementation of "%expect" (report by Perry E. Metzger).
53 add "%expect-rr", which is (unlike bison) allowable in LALR parsers.
55 2008-11-24 Thomas Dickey <tom@crayon>
57 * 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:
58 change indent-style (request by Perry E. Metzger)
60 2008-08-27 Thomas Dickey <tom@crayon>
62 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
63 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
68 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
70 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c:
71 change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's.
75 * configure.in: add -Wwrite-strings to warnings
77 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
78 add YYPARSE_PARAM and YYPARSE_PARAM_TYPE
81 add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features.
83 * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c:
84 fixes for gcc -Wwrite-strings
86 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
87 generate the tables as static-const (this is an interface change)
89 * output.c: realign columns in start_table()
92 generate the tables as static-const (this is an interface change)
94 * output.c: reorder functions to eliminate forward-references
96 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
97 remove 'register' keywords
99 2008-08-26 Thomas Dickey <tom@crayon>
101 * 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:
102 remove 'register' keywords
104 2008-08-25 Thomas Dickey <tom@crayon>
106 * test/ftp.tab.c: regen'd
109 improve the left-curly fix by testing after blanks, to avoid having a
110 " {" at the beginning of a line.
112 * test/error.tab.c, test/grammar.tab.c: regen'd
115 move the remaining newline-counting into write_XXX functions.
117 * test/calc.tab.c: regen'd
120 simplify part of the output_file formatting using new functions, e.g.,
121 start_int_table(), output_newline().
124 modify copy_action() to indent the first character, it if is is left-curly
125 brace. That makes the output look more like the original, as well as makes
126 it simpler to edit (not confuse editors which look for a left-curly in the
127 first column as if it were the beginning of a function).
129 * skeleton.c: minor fixes to avoid gcc -Wconversion warnings
131 * output.c: align the #define's produced for "-p" option
133 * test/run_test.sh: use the "-p" option for better coverage.
135 * output.c: simplify output_prefix() with new define_prefixed()
137 * skeleton.c: include string.h, for memset()
138 change stack size to unsigned to fix gcc -Wconversion warnings.
140 * VERSION: bump to 2008/8/25
142 * makefile.in: add dependency on VERSION file.
144 2008-08-24 Thomas Dickey <tom@crayon>
148 * lalr.c: improved memory-leak checking by freeing data in includes[]
150 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
151 update to match skeleton-change
155 * skeleton.c: Add fix for stack discussed
156 http://undeadly.org/cgi?action=article&sid=20080708155228
158 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29
160 * aclocal.m4: resync with my-autoconf (no major changes)
162 2008-03-14 Thomas Dickey <tom@crayon>
164 * config.sub: update to 2008-03-08
166 * config.guess: update to 2008-03-12
168 2007-05-09 Thomas Dickey <tom@crayon>
170 * main.c: close graph, verbose files if opened, on exit.
173 audit memory leaks - valgrind reported some memory still in use on exit.
175 * lalr.c, output.c, reader.c, mkpar.c, lr0.c:
176 add hook for auditing memory leaks
178 * defs.h: add hooks for auditing memory leaks
183 use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind,
184 --with-dbmalloc and --with-dmalloc
186 * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND
188 * aclocal.m4: improve version-checking in CF_GCC_VERSION
189 rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro
193 * main.c: file_prefix did not always have a trailing null.
195 2007-03-25 Thomas Dickey <tom@crayon>
197 * mkdirs.sh: improved version for "make -j"
199 2006-12-22 Thomas Dickey <tom@crayon>
201 * config.guess: 2006/12/22
203 2006-12-08 Thomas Dickey <tom@crayon>
205 * config.sub: 2006/12/08
207 2005-08-13 Thomas Dickey <tom@crayon>
209 * main.c: add -V to usage message
211 * makefile.in: remove -t option from ctags
217 * main.c: Sylvain Schmitz:
218 modify the '-o' option to work like bison's, which sets the file-prefix.
220 2005-08-13 Matt.Kraai
223 Debian #322858 (don't close union_file, which contained data).
224 This feature is used in groff.
226 2005-08-13 Thomas Dickey <tom@crayon>
228 * configure: regenerated
230 * aclocal.m4: improve checks for Intel compiler warnings
232 2005-06-25 Thomas Dickey <tom@crayon>
234 * config.sub: 2005/6/2
236 * config.guess: 2005/5/27
238 2005-05-05 Thomas Dickey <tom@crayon>
240 * defs.h: add a fallback for GCC_UNUSED
242 2005-05-04 Thomas Dickey <tom@crayon>
244 * makefile.in: add "." to include-path to pickup config.h
247 apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617.
250 correct a limit check in pack_vector() - report/analysis by William Evans
253 exit after printing version. Otherwise "yacc -V" will exit with an erro
254 after printing the usage message.
256 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
257 regenerated after skeleton-changes
259 * skeleton.c: replace a few -1's with YYEMPTY
262 delete yynewerror (no one uses it any more, and it just makes compiler warnings)
264 * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD
267 filter out lines with YYPATCH, since that will change with each update
269 * yacc.1: add -V option
271 * main.c: add -V option to print the version.
272 simplify option-parsing by moving the duplicate logic for setting flags into
273 new function setflag().
276 move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers).
277 add YYPATCH here so it can be tested by applications.
280 add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and
283 * lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c:
284 reduce externs by making static the procedures that are not referenced outside
285 the module in which they are defined.
288 the VERSION file holds the patch-date. Define YYPATCH, so this will be
289 compiled into the skeleton.
294 add "-o" to usage message. It is too long for a single line; rewrite usage()
295 to show one option per line.
297 2005-05-03 Thomas Dickey <tom@crayon>
299 * main.c: add -o option, to work with scripts that assume bison.
300 simplify create_file_names() with a macro.
301 simplify done() with a macro.
302 adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by
303 onintr(), do not flush output via exit(), but use _exit() instead.
305 * defs.h: remove unnecessary externs for main.c
307 * yacc.1: add -o option
309 * graph.c: remove unused parameter
311 * mkpar.c, defs.h, reader.c:
312 add support for "%expect", a bison feature from FreeBSD sources
314 * 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:
317 * configure: regenerated for 2005/5/5
319 * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER)
323 * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1:
324 Sylvain Schmitz <schmitz@i3s.unice.fr>:
325 add graphical output of the LALR(1) automaton for graphviz,
326 associated with command-line option `-g'
328 2005-04-16 Thomas Dickey <tom@crayon>
330 * config.sub: 2005/2/10
332 * config.guess: 2005/3/24
334 2004-03-28 Thomas Dickey <tom@crayon>
336 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
337 updates due to adding yyparse() prototype
339 * configure: RCS_BASE
342 add AC_ARG_PROGRAM to make --program-prefix, etc., work.
344 * makefile.in: first cut of script to support --program-prefix
347 reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52
349 * makefile.in: modify so DESTDIR works
351 * makefile.in: use EXEEXT and OBJEXT
353 * configure.in: use CF_PROG_EXT
356 * defs.h: make this use the generated config.h
358 * skeleton.c: add a forward-reference for yyparse()
360 * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT
362 * yacc.1: remove the discussion of TMPDIR since it is obsolete
364 * skeleton.c: fix a couple of minor compiler-warnings in the skeleton
366 * defs.h: remove action_file_name, etc., since we use tmpfile() now.
369 use tmpfile() for opening the working files. This quiets a warning
370 advising the use of mkstemp().
373 Do not close temporary-files here, since they are opened with tmpfile().
374 Just rewind them, and they're ready to read back the data stored in them.
376 * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE
378 * makefile.in: turn on "make check" rule
380 * test/calc.output, test/run_test.sh, test/calc.tab.h: RCS_BASE
382 * test/ftp.tab.c: yyparse() is now yyparse(void)
384 * test/calc.tab.c: RCS_BASE
386 * test/error.tab.c: yyparse() is now yyparse(void)
388 * test/README: RCS_BASE
390 * yacc.1: various typography fixes prompted by Debian #100947
392 * aclocal.m4, makefile.in, configure.in: RCS_BASE
394 * README: updated to note that this is not the original
396 2004-03-24 Thomas Dickey <tom@crayon>
398 * test/grammar.y: RCS_BASE
400 2004-02-23 Thomas Dickey <tom@crayon>
402 * config.sub: RCS_BASE
404 2004-02-17 Thomas Dickey <tom@crayon>
406 * config.guess: RCS_BASE
408 2003-11-29 Thomas Dickey <tom@crayon>
410 * install-sh: improved quoting
412 2002-06-29 Thomas Dickey <tom@crayon>
415 don't use character range, since some locales don't work as expected
417 2001-06-22 Thomas Dickey <tom@crayon>
419 * install-sh: RCS_BASE
421 2000-11-20 Thomas Dickey <tom@crayon>
423 * test/calc.y: RCS_BASE
425 * vmsbuild.com: original version
429 * test/RCS, RCS: PERMIT FILE
431 2000-02-14 Thomas Dickey <tom@crayon>
433 * main.c: fix for VMS port - making pathname for temp-file
435 * descrip.mms: original version
437 2000-02-13 Thomas Dickey <tom@crayon>
439 * 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:
442 1999-11-30 Thomas Dickey <tom@crayon>
444 * mkdirs.sh: RCS_BASE
446 1995-01-01 Thomas Dickey <tom@crayon>
448 * config_h.in: RCS_BASE
452 * README.DOS, main.c: MSDOS-port
456 * reader.c, defs.h: MSDOS-port
460 * README: original version
464 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h, test/error.output, test/error.tab.c, test/error.tab.h:
467 * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES:
472 * yacc.1: original version
476 * defs.h: original version
480 * mkpar.c, verbose.c: original version
484 * lr0.c, Makefile, Makefile.old: original version
488 * NEW_FEATURES: original version
492 * ACKNOWLEDGEMENTS: original version
496 * symtab.c, lalr.c, error.c: original version
500 * test/error.y: RCS_BASE
504 * NO_WARRANTY: original version
508 * test/ftp.y: RCS_BASE