1 2011-09-08 Thomas E. Dickey <tom@invisible-island.net>
3 * package/debian/changelog, package/byacc.spec, VERSION: bump
6 fix some more interaction between -i and -d flags to ensure YYERRCODE
7 and YYSTYPE are declared, tested with cproto.
9 2011-09-07 Thomas E. Dickey <tom@invisible-island.net>
11 * yacc.1: document "-i" option.
13 * package/debian/changelog, package/byacc.spec, VERSION: bump
15 * output.c: fix an interaction between -i and -d
17 * 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:
18 regen - changes for "-i" option move the global/impure variables near the
19 macros that may add a prefix, etc.
21 * skeleton.c, output.c, defs.h: changes to support "-i" option.
23 2011-09-06 Thomas E. Dickey <tom@invisible-island.net>
25 * reader.c: pass explicit file-pointer to write_section()
28 add "-i" option, to generate interface-file (suggested by Denis M. Wilson)
30 2011-09-05 Thomas E. Dickey <tom@invisible-island.net>
35 resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC)
36 and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks)
38 * defs.h, error.c, reader.c:
39 add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson)
41 2011-04-01 Thomas E. Dickey <tom@invisible-island.net>
43 * config.sub: 2011-04-01
45 2011-02-02 Thomas E. Dickey <tom@invisible-island.net>
47 * config.guess: 2011-01-01
49 2010-12-29 Thomas E. Dickey <tom@invisible-island.net>
52 add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas)
55 mark all of the error-functions as non-returning (report by Christos Zoulas)
57 * 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:
61 use only realloc() rather than realloc+malloc, agree that systems needing this
62 are very rare (prompted by NetBSD change).
64 * test/ftp.tab.c: regen
66 2010-12-29 Christos.Zoulas
69 improve example, which was stuck in 19XX and assumed file sizes were longs.
71 2010-12-29 Thomas E. Dickey <tom@invisible-island.net>
73 * 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:
76 * 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:
77 use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror
80 remove explicit prototype for yylex() via YYLEX_DECL() macro, since that
81 would prevent declaring yylex() static (request by Christos Zoulas).
83 * test/calc2.tab.c, test/calc3.tab.c: regen
85 2010-12-29 Christos.Zoulas
87 * output.c: correct definition for YYERROR_DECL()
89 2010-12-29 Thomas E. Dickey <tom@invisible-island.net>
91 * package/debian/changelog, package/byacc.spec, VERSION: bump
93 2010-12-26 Thomas E. Dickey <tom@invisible-island.net>
96 change return-type of allocate() to avoid warnings of alignment problems
98 * main.c: Solaris declares chmod() in <sys/stat.h>
102 * main.c: ifdef'd use of fcntl.h
104 * configure.in: add configure checks for fcntl.h, atexit and mkstemp
106 * main.c: for cases where mkstemp() is not available, use tempnam/open
108 * aclocal.m4: add CF_MKSTEMP
111 improve quoting, deprecate ${name-value} in favor of standard ${name:-value}
113 2010-12-25 Thomas E. Dickey <tom@invisible-island.net>
116 start revising use of tmpfile(), to make this work with MinGW. Start by
117 implementing a mkstemp() alternative - noting that mkstemp() also is broken
120 * package/debian/changelog, package/byacc.spec, VERSION: bump
122 2010-11-27 Thomas E. Dickey <tom@invisible-island.net>
124 * package/byacc.spec, package/debian/changelog, VERSION: bump
126 * test/calc2.tab.c, test/calc3.tab.c: regen
129 corrected use of %parse-param value in yyerror(); it doesn't use &yylval
130 (report by Clifford Yapp)
132 2010-11-26 Thomas E. Dickey <tom@invisible-island.net>
137 correct line-numbering when "-r" option is used; the 'outline' variable
138 should only be incremented when writing to the code-file.
140 * test/code_calc.code.c, test/code_error.code.c: regen
144 * yacc.1: comment on -b option vs -r
146 * 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:
150 improve on YYERROR_DECL(), adding dummy params which can be used for the
151 actual function declaration. Also add YYERROR_CALL(). The two macros
152 simplify maintaining sets of grammars which may/may not be pure.
154 * 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:
157 * output.c: generate yyerror() calls in output.c
158 This is for compatibility with bison, which passes the yylval to yyerror
159 when the %parse-param feature is used.
161 * skeleton.c, defs.h: generate yyerror() calls in output.c
163 * output.c: simplified a little, using putc_code() and putl_code()
165 * test/calc1.tab.h: regen
168 improve ifdef for YYSTYPE union declaration (report by Clifford Yapp)
171 accept underscore as a replacement for dash in command names, e.g.,
172 "%pure_parser" vs "%pure-parser".
174 * test/calc1.tab.c: regen
176 * output.c, reader.c:
177 also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp)
179 * package/debian/changelog, package/byacc.spec, VERSION: bump
181 2010-11-24 Thomas E. Dickey <tom@invisible-island.net>
183 * main.c, defs.h, symtab.c, error.c: reduce global variables
185 * package/debian/changelog, package/byacc.spec, VERSION: bump
188 amend fix for Redhat #112617 to still call default_action_warning() for
189 empty rules (report by Bruce Cran).
191 2010-11-22 Thomas E. Dickey <tom@invisible-island.net>
194 add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp).
196 * test/calc1.tab.c: regen
198 * test/calc1.y: cleanup compiler warnings
200 * test/grammar.y: add "%expect"
202 * test/calc1.tab.h: regen
204 * test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE
206 * test/calc2.tab.c, test/calc3.tab.c: regen
209 advanced example from Steve Johnson's paper, uses unions
211 * test/calc3.y, test/calc2.y: init 'base', so examples can run
213 * test/ftp.tab.c, test/ftp.y: tweaks to compile with g++
215 * output.c: compensate for fix in reader.c
218 add/use putc_both() and puts_both(), incidentally fixing a place where
219 a union copied to the union_file may be missing the end of the last line.
221 * package/debian/changelog, package/byacc.spec, VERSION: bump
223 2010-09-28 Thomas E. Dickey <tom@invisible-island.net>
225 * config.guess: 2010-09-24
227 2010-09-10 Thomas E. Dickey <tom@invisible-island.net>
229 * config.sub: 2010-09-11
231 2010-06-10 Thomas E. Dickey <tom@invisible-island.net>
233 * yacc.1, package/debian/changelog, package/byacc.spec, VERSION:
236 2010-06-09 Thomas E. Dickey <tom@invisible-island.net>
238 * reader.c: free declarations in leak-testing code.
240 * main.c: close code_file if -r option used, for leak-testing
243 improve %lex-param / %parse-param implementation by allowing for arrays to
244 be passed as parameters, e.g., "int regs[26]".
246 * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h, test/calc2.tab.c, test/calc2.y, test/calc2.tab.h, test/calc2.output:
250 improve %lex-param / %parse-param implementation by allowing for arrays to
251 be passed as parameters, e.g., "int regs[26]".
253 * test/calc.tab.c, test/calc.y:
254 test-cases and reference files for %lex-param / %parse-param
256 * makefile.in: add docs-rule, for html/pdf/txt form of manpage
260 * aclocal.m4: add CF_XOPEN_SOURCE, etc.
263 use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89
265 * 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:
266 fix warnings from clang --analyze
268 2010-06-08 Thomas E. Dickey <tom@invisible-island.net>
270 * output.c: fix to build with c89, etc.
272 * reader.c: gcc warning
274 * 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:
275 modified test-cases to allow them to compile, to validate pure-parser changes.
276 updated reference files to match.
279 move call for output_stype() earlier since it is used in pure-parser declarations
281 * test/grammar.tab.c, test/grammar.y:
282 modified test-cases to allow them to compile, to validate pure-parser changes.
283 updated reference files to match.
285 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
288 * yacc.1: document %lex-param and %parse-param
290 * test/run_lint.sh, test/run_make.sh: RCS_BASE
293 further modify to allow build-directory to be in a different location by
294 passing this directory's location as a parameter to the script.
297 add check_make and check_lint rules to help validate the generated files
298 in the test-directory
300 2010-06-07 Thomas E. Dickey <tom@invisible-island.net>
302 * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE
305 provide for testing -r and -P options by checking if the ".y" filename
306 begins with "code_" or "pure_", respectively.
308 * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h, test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h, test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h, test/code_calc.output, test/code_error.output:
311 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen
314 changes to support running "make check" in a separate build-tree
316 * main.c: add "-P" to usage message
318 * reader.c: use UCH() macro to hide casts.
320 2010-06-07 Andres.Mejia
322 * main.c, output.c, reader.c, defs.h, skeleton.c:
323 Fix the output order of the generated parse code file. This allows for
324 the use of YYPARSE_PARAM, by having the output that checks for
325 YYPARSE_PARAM to be defined come after the C code block in the
326 definitions section of a yacc file.
328 Implement support for YYLEX_PARAM, similar to bison. This is useful for
329 support for building reentrant lexers with flex.
331 Fix a compatibility issue with bison's pure-parser option. Bison
332 defines yylex as sending at least one parameter, &yylval, as the first
333 parameter and doesn't seem to have an easy way to remove that parameter.
334 This on the other hand is rather convenient to support saving to yylval
335 from flex when building reentrant lexers and parsers.
337 Add support for the %parse-param and %lex-param directives used in
338 bison. This change bears some similarity to NetBSD's changes to byacc
339 at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html
341 Bison allows for POSIX yacc emulation via a yacc directive in the yacc
342 file, and also via a command line switch. Implement this feature as a
343 no-op for byacc, since byacc is designed to be POSIX yacc compatible
344 anyway. This allows for better compatibility with yacc sources written
347 2010-06-07 Thomas E. Dickey <tom@invisible-island.net>
349 * VERSION: bump to 2010/06/07
351 2010-06-06 Thomas E. Dickey <tom@invisible-island.net>
353 * test/calc.tab.c, configure: regen
356 move #include's down into the generated code, to allow user-defined code
357 to override feature definitions, particularly with stdlib.h (request by
360 * lr0.c, error.c, reader.c, defs.h:
361 strict gcc 3.4.6 warnings on 64-bit platform
363 * aclocal.m4, configure.in: add check for lint
365 * makefile.in: add lint rule
367 * defs.h, closure.c, lr0.c, warshall.c, main.c:
368 fix gcc warnings, mostly for 64-bit platform
371 add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc
373 * makefile.in: add etags/TAGS if available
375 * configure.in: add configure check for actual ctags and etags programs
377 * package/debian/copyright: add copyright notices for non-PD files
379 * package/debian/changelog:
380 incorporated scripts in upstream to use for test-builds
382 * makefile.in: drop mkdirs.sh, just use "mkdir -p"
384 * AUTHORS: nicknames for some contributors (see CHANGES for details)
386 * package/byacc.spec: RPM file for byacc
388 * VERSION: bump to 2010/06/06
390 * aclocal.m4: add copyright notice, from "my-autoconf" macros
391 http://invisible-island.net/autoconf/autoconf.html
393 * package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS:
396 * aclocal.m4: resync with my-autoconf. summary of changes:
397 a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter
398 b) CF_DISABLE_ECHO, change indent-convention for substituted makefile
399 c) CF_GCC_VERSION, ignore stderr
400 d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc
402 2010-04-20 Thomas E. Dickey <tom@invisible-island.net>
404 * 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:
405 scripts from Debian package
407 2010-02-16 Thomas E. Dickey <tom@invisible-island.net>
409 * yacc.1: document -P and bison-extensions
411 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
414 * output.c: implement %pure-parser
417 implement %pure-parser, like bison. To help with this, changed the stack
418 variables, putting them into a struct.
420 * reader.c: implement %pure-parser
422 * defs.h: modified skeleton to support %pure-parser feature
424 * main.c: add -P option to set %pure-parser
427 make -r and -p options work together. The -r option splits the generated
428 parser into code/table files; for this case we cannot use static data.
429 Also, we have to repeat the #define's used for prefix (-p) as well as the
430 redeclaration of yyparse(). Finally, allow any of the prefixed names to
431 be overridden, e.g., by passing a -D option to the compiler. Make that
432 a little more readable by putting a blank line before each chunk.
434 * defs.h: add definitions for %pure-parser
437 put blank line before/after the redeclaration of yyparse()
439 * output.c: allow for other program redefining yylex()
442 split-off xdecls[] array, to move declaration of yyparse() after #define's
444 * defs.h: split-out xdecls[]
450 * aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS
453 resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes.
455 2010-02-16 Ostap.Cherkashi
457 * skeleton.c: fix a memory leak in the generated skeleton
459 2010-01-01 Thomas E. Dickey <tom@invisible-island.net>
461 * package/debian/source/format: scripts from Debian package
463 2009-12-31 Thomas E. Dickey <tom@invisible-island.net>
465 * config.guess: 2009-12-30
467 * config.sub: 2009-12-31
469 2009-10-27 Thomas E. Dickey <tom@invisible-island.net>
473 * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c:
474 strict compiler warnings
476 2009-10-26 Thomas E. Dickey <tom@invisible-island.net>
478 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
481 * main.c, defs.h: introduce some typedefs for portability, etc.
484 don't remove "*.log" in mostlyclean rule since it interferes with regression
489 * aclocal.m4: resync with my-autoconf
491 2009-08-25 Thomas E. Dickey <tom@invisible-island.net>
493 * config.guess, config.sub: 2009-08-19
495 2009-02-21 Thomas E. Dickey <tom@invisible-island.net>
499 * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
501 2008-12-26 Thomas E. Dickey <tom@invisible-island.net>
503 * configure: regen with autoconf-2.52 (patched)
505 2008-12-25 Thomas E. Dickey <tom@invisible-island.net>
507 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
510 2008-12-24 Thomas E. Dickey <tom@invisible-island.net>
515 remove ifdef-lint from goto yyerrlab, to quiet gcc warning
517 2008-11-26 Thomas E. Dickey <tom@invisible-island.net>
519 * verbose.c, main.c, defs.h, mkpar.c, reader.c:
520 completed implementation of "%expect" (report by Perry E. Metzger).
521 add "%expect-rr", which is (unlike bison) allowable in LALR parsers.
523 2008-11-24 Thomas E. Dickey <tom@invisible-island.net>
525 * 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:
526 change indent-style (request by Perry E. Metzger)
528 2008-08-27 Thomas E. Dickey <tom@invisible-island.net>
530 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
531 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
536 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
538 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c:
539 change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's.
543 * configure.in: add -Wwrite-strings to warnings
545 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
546 add YYPARSE_PARAM and YYPARSE_PARAM_TYPE
549 add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features.
551 * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c:
552 fixes for gcc -Wwrite-strings
554 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
555 generate the tables as static-const (this is an interface change)
557 * output.c: realign columns in start_table()
560 generate the tables as static-const (this is an interface change)
562 * output.c: reorder functions to eliminate forward-references
564 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
565 remove 'register' keywords
567 2008-08-26 Thomas E. Dickey <tom@invisible-island.net>
569 * 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:
570 remove 'register' keywords
572 2008-08-25 Thomas E. Dickey <tom@invisible-island.net>
574 * test/ftp.tab.c: regen'd
577 improve the left-curly fix by testing after blanks, to avoid having a
578 " {" at the beginning of a line.
580 * test/error.tab.c, test/grammar.tab.c: regen'd
583 move the remaining newline-counting into write_XXX functions.
585 * test/calc.tab.c: regen'd
588 simplify part of the output_file formatting using new functions, e.g.,
589 start_int_table(), output_newline().
592 modify copy_action() to indent the first character, it if is is left-curly
593 brace. That makes the output look more like the original, as well as makes
594 it simpler to edit (not confuse editors which look for a left-curly in the
595 first column as if it were the beginning of a function).
597 * skeleton.c: minor fixes to avoid gcc -Wconversion warnings
599 * output.c: align the #define's produced for "-p" option
601 * test/run_test.sh: use the "-p" option for better coverage.
603 * output.c: simplify output_prefix() with new define_prefixed()
605 * skeleton.c: include string.h, for memset()
606 change stack size to unsigned to fix gcc -Wconversion warnings.
608 * VERSION: bump to 2008/8/25
610 * makefile.in: add dependency on VERSION file.
612 2008-08-24 Thomas E. Dickey <tom@invisible-island.net>
616 * lalr.c: improved memory-leak checking by freeing data in includes[]
618 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
619 update to match skeleton-change
623 * skeleton.c: Add fix for stack discussed
624 http://undeadly.org/cgi?action=article&sid=20080708155228
626 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29
628 * aclocal.m4: resync with my-autoconf (no major changes)
630 2008-07-24 Thomas E. Dickey <tom@invisible-island.net>
632 * package/pkgsrc/Makefile, package/pkgsrc/distinfo:
633 scripts from NetBSD pkgsrc, for test-builds
635 2008-03-14 Thomas E. Dickey <tom@invisible-island.net>
637 * config.sub: update to 2008-03-08
639 * config.guess: update to 2008-03-12
641 2007-05-09 Thomas E. Dickey <tom@invisible-island.net>
643 * main.c: close graph, verbose files if opened, on exit.
646 audit memory leaks - valgrind reported some memory still in use on exit.
648 * lalr.c, output.c, reader.c, mkpar.c, lr0.c:
649 add hook for auditing memory leaks
651 * defs.h: add hooks for auditing memory leaks
656 use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind,
657 --with-dbmalloc and --with-dmalloc
659 * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND
661 * aclocal.m4: improve version-checking in CF_GCC_VERSION
662 rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro
666 * main.c: file_prefix did not always have a trailing null.
668 2007-03-25 Thomas E. Dickey <tom@invisible-island.net>
670 * mkdirs.sh: improved version for "make -j"
672 2006-12-22 Thomas E. Dickey <tom@invisible-island.net>
674 * config.guess: 2006/12/22
676 2006-12-08 Thomas E. Dickey <tom@invisible-island.net>
678 * config.sub: 2006/12/08
680 2005-08-13 Thomas E. Dickey <tom@invisible-island.net>
682 * main.c: add -V to usage message
684 * makefile.in: remove -t option from ctags
690 * main.c: Sylvain Schmitz:
691 modify the '-o' option to work like bison's, which sets the file-prefix.
693 2005-08-13 Matt.Kraai
696 Debian #322858 (don't close union_file, which contained data).
697 This feature is used in groff.
699 2005-08-13 Thomas E. Dickey <tom@invisible-island.net>
701 * configure: regenerated
703 * aclocal.m4: improve checks for Intel compiler warnings
705 2005-06-25 Thomas E. Dickey <tom@invisible-island.net>
707 * config.sub: 2005/6/2
709 * config.guess: 2005/5/27
711 2005-05-05 Thomas E. Dickey <tom@invisible-island.net>
713 * defs.h: add a fallback for GCC_UNUSED
715 2005-05-04 Thomas E. Dickey <tom@invisible-island.net>
717 * makefile.in: add "." to include-path to pickup config.h
720 apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617.
723 correct a limit check in pack_vector() - report/analysis by William Evans
726 exit after printing version. Otherwise "yacc -V" will exit with an erro
727 after printing the usage message.
729 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
730 regenerated after skeleton-changes
732 * skeleton.c: replace a few -1's with YYEMPTY
735 delete yynewerror (no one uses it any more, and it just makes compiler warnings)
737 * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD
740 filter out lines with YYPATCH, since that will change with each update
742 * yacc.1: add -V option
744 * main.c: add -V option to print the version.
745 simplify option-parsing by moving the duplicate logic for setting flags into
746 new function setflag().
749 move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers).
750 add YYPATCH here so it can be tested by applications.
753 add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and
756 * lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c:
757 reduce externs by making static the procedures that are not referenced outside
758 the module in which they are defined.
761 the VERSION file holds the patch-date. Define YYPATCH, so this will be
762 compiled into the skeleton.
764 * VERSION: patch-level for byacc
767 add "-o" to usage message. It is too long for a single line; rewrite usage()
768 to show one option per line.
770 2005-05-03 Thomas E. Dickey <tom@invisible-island.net>
772 * main.c: add -o option, to work with scripts that assume bison.
773 simplify create_file_names() with a macro.
774 simplify done() with a macro.
775 adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by
776 onintr(), do not flush output via exit(), but use _exit() instead.
778 * defs.h: remove unnecessary externs for main.c
780 * yacc.1: add -o option
782 * graph.c: remove unused parameter
784 * mkpar.c, defs.h, reader.c:
785 add support for "%expect", a bison feature from FreeBSD sources
787 * 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:
790 * configure: regenerated for 2005/5/5
792 * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER)
796 * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1:
797 Sylvain Schmitz <schmitz@i3s.unice.fr>:
798 add graphical output of the LALR(1) automaton for graphviz,
799 associated with command-line option `-g'
801 2005-04-16 Thomas E. Dickey <tom@invisible-island.net>
803 * config.sub: 2005/2/10
805 * config.guess: 2005/3/24
807 2005-04-13 Thomas E. Dickey <tom@invisible-island.net>
809 * package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds
811 2005-03-21 Thomas E. Dickey <tom@invisible-island.net>
813 * package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds
815 2004-03-28 Thomas E. Dickey <tom@invisible-island.net>
817 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
818 updates due to adding yyparse() prototype
820 * configure: RCS_BASE
823 add AC_ARG_PROGRAM to make --program-prefix, etc., work.
825 * makefile.in: first cut of script to support --program-prefix
828 reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52
830 * makefile.in: modify so DESTDIR works
832 * makefile.in: use EXEEXT and OBJEXT
834 * configure.in: use CF_PROG_EXT
837 * defs.h: make this use the generated config.h
839 * skeleton.c: add a forward-reference for yyparse()
841 * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT
843 * yacc.1: remove the discussion of TMPDIR since it is obsolete
845 * skeleton.c: fix a couple of minor compiler-warnings in the skeleton
847 * defs.h: remove action_file_name, etc., since we use tmpfile() now.
850 use tmpfile() for opening the working files. This quiets a warning
851 advising the use of mkstemp().
854 Do not close temporary-files here, since they are opened with tmpfile().
855 Just rewind them, and they're ready to read back the data stored in them.
857 * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE
859 * makefile.in: turn on "make check" rule
861 * test/calc.output, test/run_test.sh, test/calc.tab.h: RCS_BASE
863 * test/ftp.tab.c: yyparse() is now yyparse(void)
865 * test/calc.tab.c: RCS_BASE
867 * test/error.tab.c: yyparse() is now yyparse(void)
869 * test/README: RCS_BASE
871 * yacc.1: various typography fixes prompted by Debian #100947
873 * aclocal.m4, makefile.in, configure.in: RCS_BASE
875 * README: updated to note that this is not the original
877 2004-03-24 Thomas E. Dickey <tom@invisible-island.net>
879 * test/grammar.y: RCS_BASE
881 2004-02-23 Thomas E. Dickey <tom@invisible-island.net>
883 * config.sub: RCS_BASE
885 2004-02-17 Thomas E. Dickey <tom@invisible-island.net>
887 * config.guess: RCS_BASE
889 2003-11-29 Thomas E. Dickey <tom@invisible-island.net>
891 * install-sh: improved quoting
893 2002-06-29 Thomas E. Dickey <tom@invisible-island.net>
896 don't use character range, since some locales don't work as expected
898 2001-06-22 Thomas E. Dickey <tom@invisible-island.net>
900 * install-sh: RCS_BASE
902 2000-11-20 Thomas E. Dickey <tom@invisible-island.net>
904 * test/calc.y: RCS_BASE
906 * test/code_calc.y, test/pure_calc.y: copy of calc.y
908 * vmsbuild.com: original version
910 2000-02-23 Thomas E. Dickey <dickey@invisible-island.net>
912 * test/RCS, RCS: PERMIT FILE
914 2000-02-14 Thomas E. Dickey <tom@invisible-island.net>
916 * main.c: fix for VMS port - making pathname for temp-file
918 * descrip.mms: original version
920 2000-02-13 Thomas E. Dickey <tom@invisible-island.net>
922 * 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:
925 1999-11-30 Thomas E. Dickey <tom@invisible-island.net>
927 * mkdirs.sh: RCS_BASE
929 1995-01-01 Thomas E. Dickey <tom@invisible-island.net>
931 * config_h.in: RCS_BASE
935 * README.DOS, main.c: MSDOS-port
939 * reader.c, defs.h: MSDOS-port
943 * README: original version
947 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h, test/error.output, test/error.tab.c, test/error.tab.h:
950 * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES:
955 * yacc.1: original version
959 * defs.h: original version
963 * mkpar.c, verbose.c: original version
967 * lr0.c, Makefile, Makefile.old: original version
971 * NEW_FEATURES: original version
975 * ACKNOWLEDGEMENTS: original version
979 * symtab.c, lalr.c, error.c: original version
981 1990-01-16 Thomas E. Dickey <tom@invisible-island.net>
983 * test/code_error.y, test/pure_error.y: RCS_BASE
987 * test/error.y: RCS_BASE
991 * NO_WARRANTY: original version
995 * test/ftp.y: RCS_BASE