X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/29620c5d9ca470f7c81a2de14b031798a33e7589..19e251af0f226fcb7b39099468ead1ab18b5e4ea:/OChangeLog?ds=sidebyside diff --git a/OChangeLog b/OChangeLog index 4be8d556..5ae60b92 100644 --- a/OChangeLog +++ b/OChangeLog @@ -1,821 +1,860 @@ 1998-01-04 J.J. van der Heijden - * files.c (openfiles) [_WIN32 && !__CYGWIN32__]: Use TEMP or Temp to - find a temporary directory, if possible. Do not unlink files while - they are open. + * src/files.c (openfiles) [_WIN32 && !__CYGWIN32__]: Use TEMP or + Temp to find a temporary directory, if possible. Do not unlink + files while they are open. 1997-08-25 Richard Stallman - * reader.c (stack_offset;): Change some warni to warns. + * src/reader.c (stack_offset;): Change some warni to warns. - * lex.c (literalchar): Use warns, not warni. + * src/lex.c (literalchar): Use warns, not warni. 1997-06-28 Richard Stallman - * bison.simple: Add a Bison version comment. + * src/bison.simple: Add a Bison version comment. * Makefile.in (bison_version): New variable. (dist): Use that variable. (bison.s1): Substitute the Bison version into bison.simple. - * main.c (fatal, warn, berror): Use program_name. + * src/main.c (fatal, warn, berror): Use program_name. 1997-06-18 Richard Stallman * Makefile.in: new.h renamed to alloc.h. - * *.c: new.h renamed to alloc.h. - - * alloc.h: Renamed from new.h. + * src/*.c: src/new.h renamed to src/alloc.h. + + * src/alloc.h: Renamed from src/new.h. 1997-06-15 Richard Stallman - * main.c (fatal, warn, berror): Make error messages standard. + * src/main.c (fatal, warn, berror): Make error messages standard. (toomany): Improve error message text. 1997-05-24 Richard Stallman - * lex.c (literalchar): Fix the code for escaping \, " and '. + * src/lex.c (literalchar): Fix the code for escaping \, " and '. 1997-05-23 Richard Stallman - * lex.c (lex): Avoid trouble when there are many chars + * src/lex.c (lex): Avoid trouble when there are many chars to discard in a char literal with just several chars in it. 1997-05-17 Richard Stallman - * bison.simple: Use malloc, if using alloca is troublesome. + * src/bison.simple: Use malloc, if using alloca is troublesome. (YYSTACK_USE_ALLOCA): New flag macro. Define it for some systems and compilers. (YYSTACK_ALLOC): New macro. (yyparse): Use YYSTACK_ALLOC to allocate stack. If it was malloc'd, free it. - + 1997-05-02 Richard Stallman - * bison.simple [_AIX]: Don't include malloc.h. + * src/bison.simple [_AIX]: Don't include malloc.h. 1997-04-23 Richard Stallman - * bison.simple (alloca) [__hpux]: Always define as __builtin_alloca. + * src/bison.simple (alloca) [__hpux]: Always define as + __builtin_alloca. 1997-04-22 Richard Stallman - * bison.simple (__yy_memcpy): Declare arg `count' as unsigned int. + * src/bison.simple (__yy_memcpy): Declare arg `count' as unsigned + int. (yyparse): Cast third arg to __yy_memcpy to unsigned int. - * bison.simple (alloca) [__hpux]: Include alloca.h (right for HPUX 10) - instead of declaring alloca (right for HPUX 9). + * src/bison.simple (alloca) [__hpux]: Include alloca.h (right for + HPUX 10) instead of declaring alloca (right for HPUX 9). 1997-01-02 Richard Stallman - * allocate.c [__STDC__ or _MSC_VER]: + * src/allocate.c [__STDC__ or _MSC_VER]: Declare calloc and realloc to return void *. * Makefile.in (dist): Explicitly check for symlinks, and copy them. -Tue Dec 17 21:19:31 1996 Paul Eggert +1996-12-17 Paul Eggert - * bison.simple (yyparse): If __GNUC__ and YYPARSE_PARAM are both - defined, declare yyparse to have a void * argument. + * src/bison.simple (yyparse): If __GNUC__ and YYPARSE_PARAM are + both defined, declare yyparse to have a void * argument. -Tue Dec 17 01:12:08 1996 Richard Stallman +1996-12-17 Richard Stallman - * system.h [_MSC_VER]: Include stdlib.h and process.h. - [_MSC_VER] (getpid): Define as macro--translate it to _getpid. + * src/system.h [_MSC_VER]: Include stdlib.h and process.h. + [_MSC_VER] (getpid): Define as macro--translate it to _getpid. - * reduce.c (nbits): Add some casts. + * src/reduce.c (nbits): Add some casts. - * main.c (main): Return FAILURE as a value. + * src/main.c (main): Return FAILURE as a value. (printable_version): Declare arg as int, not char. - - * files.c [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined. -Mon Dec 16 19:28:01 1996 Richard Stallman + * src/files.c [_MSC_VER] (XPFILE, XPFILE1): Define, if not already + defined. + +1996-12-16 Richard Stallman - * main.c (printable_version): Use type `int' for the arg. + * src/main.c (printable_version): Use type `int' for the arg. -Mon Aug 12 18:16:54 1996 Richard Stallman +1996-08-12 Richard Stallman - * bison.simple: Test _MSDOS as well as _MSDOS_. + * src/bison.simple: Test _MSDOS as well as _MSDOS_. -Wed Jul 31 15:18:38 1996 Richard Stallman +1996-07-31 Richard Stallman - * bison.simple [__sun && __i386]: Include alloca.h. + * src/bison.simple [__sun && __i386]: Include alloca.h. -Tue Jul 30 00:36:43 1996 Richard Stallman +1996-07-30 Richard Stallman - * bison.simple: Test _MSDOS_, not MSDOS. + * src/bison.simple: Test _MSDOS_, not MSDOS. -Sat Jun 1 17:59:56 1996 Richard Stallman +1996-06-01 Richard Stallman * All files: Insert `_' macro around many string constants. - * system.h [HAVE_LOCALE_H]: Include locale.h. + * src/system.h [HAVE_LOCALE_H]: Include locale.h. [! HAVE_LOCALE_H] (setlocale): Define as no-op. [ENABLE_NLS]: Include libintl.h. [ENABLE_NLS] (gettext): Define. [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions. (N_, PACKAGE, LOCALEDIR): New macros. - - * main.c (main): Call setlocale, bindtextdomain and textdomain. + + * src/main.c (main): Call setlocale, bindtextdomain and textdomain. * POTFILES.in: New file. * Makefile.in (allocate.o): Define target explicitly. -Sat Jun 1 08:34:46 1996 Jim Meyering (meyering@na-net.ornl.gov) +1996-06-01 Jim Meyering * Makefile.in (CFLAGS): Set to @CFLAGS@. (LDFLAGS): Set to @LDFLAGS@. (configure): Run autoconf only if preceding `cd' succeeds. - (bison.s1): Redirect output to temporary file then move the - temporary to the target, rather than redirecting directly to bison.s1. + (src/bison.s1): Redirect output to temporary file then move the + temporary to the target, rather than redirecting directly to + src/bison.s1. (clean): Remove config.status and config.log. (distclean): Don't remove config.status here. -Sun May 12 08:34:46 1996 Jim Meyering (meyering@na-net.ornl.gov) +1996-05-12 Jim Meyering - * bison.simple (__yy_memcpy) [__cplusplus]: Reorder declarations + * src/bison.simple (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t. -Sat May 11 15:11:15 1996 Richard Stallman +1996-05-11 Richard Stallman * Version 1.25 released. * Makefile.in (dist): Don't use $(srcdir). - * bison.simple (__yy_memcpy): Really reorder the args, as was + * src/bison.simple (__yy_memcpy): Really reorder the args, as was supposedly done on Feb 14 1995. (yyparse): Calls changed accordingly. -Wed Jan 24 22:56:29 1996 Richard Stallman +1996-01-24 Richard Stallman - * output.c (output_rule_data): Test YYERROR_VERBOSE in the conditional - around the definition of ttyname. + * src/output.c (output_rule_data): Test YYERROR_VERBOSE in the + conditional around the definition of ttyname. -Thu Dec 28 23:27:32 1995 Richard Stallman +1995-12-28 Richard Stallman - * bison.simple: Fix line numbers in #line commands. + * src/bison.simple: Fix line numbers in #line commands. -Sun Dec 24 16:59:44 1995 Richard Stallman +1995-12-24 Richard Stallman - * bison.simple (YYPARSE_PARAM_DECL): In C++, make it always null. + * src/bison.simple (YYPARSE_PARAM_DECL): In C++, make it always + null. (YYPARSE_PARAM_ARG): New macro. (yyparse): Use YYPARSE_PARAM_ARG. -Sun Oct 15 12:44:09 1995 Richard Stallman +1995-10-15 Richard Stallman - * version.c: Version now 1.25. + * src/version.c: Version now 1.25. - * main.c (warn): Set `failure'. + * src/main.c (warn): Set `failure'. -Tue Aug 1 12:30:38 EDT 1995 Wilfred J. Hansen +1995-08-01 Wilfred J. Hansen - * bison.cld, getargs.c, vmsgetargs.c: Added -n, -k, and -raw switches. + * src/bison.cld, src/getargs.c, src/vmsgetargs.c: Added -n, -k, + and -raw switches. (noparserflag, toknumflag, rawtoknumflag): New variables. - - * conflicts.c (resolve_sr_conflict): Remove use of alloca. - * files.c (openfiles, open_extra_files, done): Add faction flag + * src/conflicts.c (resolve_sr_conflict): Remove use of alloca. + + * src/files.c (openfiles, open_extra_files, done): Add faction flag and actfile file. Handle noparserflag. Both for -n switch. - * lex.c: Include getopt.h. Add some extern decls. - (safegetc): New function to deal with EOF gracefully. + * src/lex.c: Include getopt.h. Add some extern decls. + (safegetc): New function to deal with EOF gracefully. (literalchar); new function to deal with reading \ escapes. (lex): Use literalchar. (lex): Implemented "..." tokens. - (literalchar, lex, parse_percent_token): Made tokenbuffer - always contain the token. This includes growing the token + (literalchar, lex, parse_percent_token): Made tokenbuffer + always contain the token. This includes growing the token buffer while reading an integer. (parse_percent_token): Replaced if-else statement with percent_table. - (parse_percent_token): Added % declarations as another - way to specify the flags -n, -l, and -r. Also added hooks for + (parse_percent_token): Added % declarations as another + way to specify the flags -n, -l, and -r. Also added hooks for -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires - major changes to files.c. - (lex) Retain in the incoming stream a character following + major changes to src/files.c. + (lex) Retain in the incoming stream a character following an incorrect '/'. - (skip_white_space, lex): Revised most error messages + (skip_white_space, lex): Revised most error messages and changed fatal to warn to avoid aborting. (percent_table): Added %thong declarations. - * lex.h: Added THONG and NOOP for alias processing. + * src/lex.h: Added THONG and NOOP for alias processing. Added SETOPT for the new code that allows setting options with %flags. - * main.c (main): If reader sees an error, don't process the grammar. + * src/main.c (main): If reader sees an error, don't process the + grammar. (fatals): Updated to not use VARARGS1. (printable_version, int_to_string, warn, warni, warns, warnss) (warnsss): New error reporting functions. Avoid abort for error. - * output.c (output_headers, output_trailers, output, output_gram) + * src/output.c (output_headers, output_trailers, output, output_gram) (output_rule_data): Implement noparserflag variable. Implement toknumflag variable. (output): Call reader_output_yylsp to output LTYPESTR. - * reader.c (reader_output_yylsp): New function. - (readgram): Use `#if 0' around code that accepted %command - inside grammar rules: The documentation doesn't allow it, - and it will fail since the %command processors scan for the next %. - (parse_token_decl): Extended the %token - declaration to allow a multi-character symbol as an alias. + * src/reader.c (reader_output_yylsp): New function. + (readgram): Use `#if 0' around code that accepted %command inside + grammar rules: The documentation doesn't allow it, and it will + fail since the %command processors scan for the next %. + (parse_token_decl): Extended the %token declaration to allow a + multi-character symbol as an alias. (parse_thong_decl): New function. (read_declarations): Added %thong declarations. - (read_declarations): Handle NOOP to deal with allowing - % declarations as another means to specify the flags. + (read_declarations): Handle NOOP to deal with allowing % + declarations as another means to specify the flags. (readgram): Allow %prec prior to semantics embedded in a rule. (skip_to_char, read_declarations, copy_definition) (parse_token_decl, parse_start_decl, parse_type_decl) (parse_assoc_decl, parse_union_decl, parse_expect_decl) (get_type_name, copy_guard, copy_action, readgram) - (get_type, packsymbols): Revised most error messages. - Changed `fatal' to `warnxxx' to avoid aborting for error. - Revised and use multiple warnxxx functions to avoid using VARARGS1. - (read_declarations): Improve the error message for - an invalid character. Do not abort. - (read_declarations, copy_guard, copy_action): Use - printable_version to avoid unprintable characters in printed output. - (parse_expect_decl): Error if argument to %expect exceeds 10 digits. - (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type): - Allow the type of a non-terminal can be given - more than once, as long as all specifications give the same type. - - * reduce.c (reduce_grammar): Revise an error message. + (get_type, packsymbols): Revised most error messages. Changed + `fatal' to `warnxxx' to avoid aborting for error. Revised and use + multiple warnxxx functions to avoid using VARARGS1. + (read_declarations): Improve the error message for an invalid + character. Do not abort. + (read_declarations, copy_guard, copy_action): Use + printable_version to avoid unprintable characters in printed + output. + (parse_expect_decl): Error if argument to %expect exceeds 10 + digits. + (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type): + Allow the type of a non-terminal can be given more than once, as + long as all specifications give the same type. + + * src/reduce.c (reduce_grammar): Revise an error message. (print_notices): Remove final `.' from error message. - * symtab.h (SALIAS): New #define for adding aliases to %token. + * src/symtab.h (SALIAS): New #define for adding aliases to %token. (struct bucket): Added `alias' field. -Wed May 3 03:12:28 1995 Richard Stallman +1995-05-03 Richard Stallman - * bison.simple: Change distribution terms. + * src/bison.simple: Change distribution terms. - * version.c: Version now 1.23. No, 1.24. + * src/version.c: Version now 1.23. No, 1.24. -Thu Feb 23 02:43:21 1995 Richard Stallman +1995-02-23 Richard Stallman - * files.c: Test __VMS_POSIX as well as VMS. + * src/files.c: Test __VMS_POSIX as well as VMS. -Tue Feb 14 11:53:05 1995 Jim Meyering (meyering@comco.com) +1995-02-14 Jim Meyering - * bison.simple (__yy_memcpy): Renamed from __yy_bcopy to avoid + * src/bison.simple (__yy_memcpy): Renamed from __yy_bcopy to avoid confusion. Reverse FROM and TO arguments to be consistent with those of memcpy. -Thu Nov 10 16:33:41 1994 David J. MacKenzie +1994-11-10 David J. MacKenzie * Makefile.in (DISTFILES): Include install-sh, not install.sh. Include NEWS. * configure.in: Update to Autoconf v2 macro names. -Tue Oct 4 22:25:43 1994 David J. MacKenzie (djm@duality.gnu.ai.mit.edu) +1994-10-04 David J. MacKenzie * Makefile.in (prefix, exec_prefix): Let configure set them. -Wed Sep 28 09:55:28 1994 David J. MacKenzie (djm@duality.gnu.ai.mit.edu) +1994-09-28 David J. MacKenzie * Makefile.in: Set datadir to $(prefix)/share. -Tue Jul 12 16:42:43 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1994-07-12 Richard Stallman - * reader.c (reader): Rename undefined-token token to `$undefined.'. + * src/reader.c (reader): Rename undefined-token token to + `$undefined.'. -Thu May 5 14:41:02 1994 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) +1994-05-05 David J. MacKenzie * Makefile.in (DISTFILES): Add install.sh. (install): Remove chmod commands. -Sat Mar 26 15:33:07 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1994-03-26 Richard Stallman - * bison.simple: Fix #line commands. + * src/bison.simple: Fix #line commands. -Thu Mar 24 23:09:07 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1994-03-24 Richard Stallman - * conflicts.c (print_reductions): Increment both fp1 and fp2 + * src/conflicts.c (print_reductions): Increment both fp1 and fp2 while printing reductions in multi-rule case. -Sun Jan 2 15:51:52 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1994-01-02 Richard Stallman * Makefile.in (LDFLAGS): Make it empty by default. (bison): Use CFLAGS. -Sun Nov 21 05:24:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-11-21 Richard Stallman - * bison.simple (YYLEX): Take notice of YYLEX_PARAM. + * src/bison.simple (YYLEX): Take notice of YYLEX_PARAM. -Mon Oct 18 23:52:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-10-18 Richard Stallman - * bison.simple (YYPARSE_PARAM_DECL): Always define this. + * src/bison.simple (YYPARSE_PARAM_DECL): Always define this. -Thu Oct 14 12:19:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-10-14 Richard Stallman - * bison.simple (yyparse): Support YYPARSE_PARAM. + * src/bison.simple (yyparse): Support YYPARSE_PARAM. -Mon Sep 13 18:17:14 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) +1993-09-13 Noah Friedman - * Makefile.in (check): New target. + * Makefile.in (check): New target. -Fri Sep 10 08:10:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-09-10 Richard Stallman - * conflicts.c (alloca): #undef before defining. + * src/conflicts.c (alloca): #undef before defining. - * system.h (bcopy): Don't define if already defined. + * src/system.h (bcopy): Don't define if already defined. -Mon Sep 6 15:32:32 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) +1993-09-06 Noah Friedman - * Version 1.22 released. + * Version 1.22 released. - * mkinstalldirs: New file. + * mkinstalldirs: New file. - * Makefile.in (dist): Use .gz for extension, not .z. - (DISTFILES): New variable. - (dist): Use it instead of explicit file list. - Try to link each file separately, then copy file if ln fails. - (installdirs): Use mkinstalldirs script. + * Makefile.in (dist): Use .gz for extension, not .z. + (DISTFILES): New variable. + (dist): Use it instead of explicit file list. + Try to link each file separately, then copy file if ln fails. + (installdirs): Use mkinstalldirs script. -Thu Jul 29 20:35:02 1993 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) +1993-07-29 David J. MacKenzie * Makefile.in (config.status): Run config.status --recheck, not configure, to get the right args passed. -Sat Jul 24 04:00:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-07-24 Richard Stallman - * bison.simple (yyparse): Init yychar1 to avoid warning. + * src/bison.simple (yyparse): Init yychar1 to avoid warning. -Sun Jul 4 16:05:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-07-04 Richard Stallman - * bison.simple (yyparse): Don't set yyval when yylen is 0. + * src/bison.simple (yyparse): Don't set yyval when yylen is 0. -Sat Jun 26 15:54:04 1993 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) +1993-06-26 David J. MacKenzie - * getargs.c (getargs): Exit after printing the version number. + * src/getargs.c (getargs): Exit after printing the version number. Add --help and -h options. (usage): New function. -Fri Jun 25 15:11:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-06-25 Richard Stallman - * getargs.c (longopts): Allow `output' as an alternative. + * src/getargs.c (longopts): Allow `output' as an alternative. -Wed Jun 16 17:02:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-06-16 Richard Stallman - * bison.simple (yyparse): Conditionalize the entire call to yyoverflow, - not just two arguments in it. + * src/bison.simple (yyparse): Conditionalize the entire call to + yyoverflow, not just two arguments in it. -Thu Jun 3 13:07:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-06-03 Richard Stallman - * bison.simple [__hpux] (alloca): Don't specify arg types. + * src/bison.simple [__hpux] (alloca): Don't specify arg types. -Fri May 7 05:53:17 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) +1993-05-07 Noah Friedman - * Makefile.in (install): Depend on `uninstall' and `installdirs'. - (installdirs): New target. + * Makefile.in (install): Depend on `uninstall' and `installdirs'. + (installdirs): New target. -Wed Apr 28 15:15:15 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) +1993-04-28 Noah Friedman - * reader.c: Remove declaration of atoi. + * src/reader.c: Remove declaration of atoi. -Fri Apr 23 12:29:20 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) +1993-04-23 Noah Friedman - * new.h [!__STDC__] (FREE): Check x != 0. - Make expr to call `free' evaluate to 0. + * src/new.h [!__STDC__] (FREE): Check x != 0. + Make expr to call `free' evaluate to 0. -Tue Apr 20 01:43:44 1993 David J. MacKenzie (djm@kropotkin.gnu.ai.mit.edu) +1993-04-20 David J. MacKenzie - * files.c [MSDOS]: Use xmalloc, not malloc. - * allocate.c (xmalloc): Renamed from mallocate. Remove old wrapper. - * conflicts.c, symtab.c, files.c, LR0.c, new.h: Change callers. - * allocate.c (xrealloc): New function. - * new.h: Declare it. - * lex.c, reader.c: Use it. + * src/files.c [MSDOS]: Use xmalloc, not malloc. + * src/allocate.c (xmalloc): Renamed from mallocate. Remove old + wrapper. + * src/conflicts.c, src/symtab.c, src/files.c, src/LR0.c, + src/new.h: Change callers. + * src/allocate.c (xrealloc): New function. + * src/new.h: Declare it. + * src/lex.c, src/reader.c: Use it. -Sun Apr 18 00:45:56 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) +1993-04-18 Noah Friedman - * Version 1.21 released. + * Version 1.21 released. - * reader.c : Don't declare `realloc'. + * src/reader.c : Don't declare `realloc'. - * Makefile.in (bison.s1): use `rm -f' since it's quieter. - (dist): make gzipped tar file. + * Makefile.in (bison.s1): use `rm -f' since it's quieter. + (dist): make gzipped tar file. -Fri Apr 16 21:24:10 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) +1993-04-16 Noah Friedman - * Makefile.in (Makefile, config.status, configure): New targets. + * Makefile.in (Makefile, config.status, configure): New targets. -Thu Apr 15 15:37:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-04-15 Richard Stallman - * main.c: Don't declare `abort'. + * src/main.c: Don't declare `abort'. - * files.c: Don't declare `exit'. + * src/files.c: Don't declare `exit'. -Thu Apr 15 02:42:38 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) +1993-04-15 Noah Friedman - * configure.in: Add AC_CONST. + * configure.in: Add AC_CONST. -Wed Apr 14 00:51:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-04-14 Richard Stallman * Makefile.in (all): Depend on bison.s1. -Tue Apr 13 14:52:32 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-04-13 Richard Stallman * Version 1.20 released. -Wed Mar 24 21:45:47 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu) +1993-03-24 Richard Stallman - * output.c (output_headers): Rename yynerrs if -p. + * src/output.c (output_headers): Rename yynerrs if -p. -Thu Mar 18 00:02:17 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) +1993-03-18 Noah Friedman - * system.h: Don't try to include stdlib.h unless HAVE_STDLIB_H is - defined. + * src/system.h: Don't try to include stdlib.h unless HAVE_STDLIB_H + is defined. - * configure.in: Check for stdlib.h. + * configure.in: Check for stdlib.h. -Wed Mar 17 14:44:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-03-17 Richard Stallman - * bison.simple [__hpux, not __GNUC__]: Declare alloca. + * src/bison.simple [__hpux, not __GNUC__]: Declare alloca. (yyparse): When printing the expected token types for an error, Avoid negative indexes in yycheck and yytname. -Sat Mar 13 23:31:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-03-13 Richard Stallman * Makefile.in (files.o, .c.o): Put CPPFLAGS and CFLAGS last. -Mon Mar 1 17:49:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-03-01 Richard Stallman - * bison.simple: Test __sgi like __sparc. + * src/bison.simple: Test __sgi like __sparc. -Wed Feb 17 00:04:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-02-17 Richard Stallman - * conflicts.c (resolve_sr_conflict): Add extra parens in alloca call. + * src/conflicts.c (resolve_sr_conflict): Add extra parens in + alloca call. - * bison.simple [__GNUC__] (yyparse): Declare with prototype. + * src/bison.simple [__GNUC__] (yyparse): Declare with prototype. -Fri Jan 15 13:15:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-01-15 Richard Stallman - * conflicts.c (print_reduction): Near end, increment fp2 when mask - recycles. + * src/conflicts.c (print_reduction): Near end, increment fp2 when + mask recycles. -Wed Jan 13 04:15:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-01-13 Richard Stallman * Makefile.in (bison.s1): New target. Modifies bison.simple. (install): Install bison.s1, without changing it. (clean): Delete bison.s1. -Mon Jan 4 20:35:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1993-01-04 Richard Stallman - * reader.c (reader): Put Bison version in comment in output file. + * src/reader.c (reader): Put Bison version in comment in output + file. -Tue Dec 22 19:00:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-12-22 Richard Stallman - * files.c (openfiles): Use .output, not .out, for outfile, + * src/files.c (openfiles): Use .output, not .out, for outfile, regardless of spec_name_prefix. -Tue Dec 15 19:22:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-12-15 Richard Stallman - * output.c (output_gram): Include yyrhs in the same #if as yyprhs. + * src/output.c (output_gram): Include yyrhs in the same #if as + yyprhs. -Tue Dec 15 18:29:16 1992 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) +1992-12-15 Noah Friedman - * output.c (output): output directives checking for __cplusplus as - well as __STDC__ to determine when to define "const" as an empty - token. (Patch from Wolfgang Glunz ) + * src/output.c (output): output directives checking for + __cplusplus as well as __STDC__ to determine when to define + "const" as an empty token. (Patch from Wolfgang Glunz + ) -Tue Dec 8 21:51:23 1992 David J. MacKenzie (djm@kropotkin.gnu.ai.mit.edu) +1992-12-08 David J. MacKenzie - * system.h, conflicts.c: Replace USG with HAVE_STRING_H and - HAVE_MEMORY_H. + * src/system.h, src/conflicts.c: Replace USG with HAVE_STRING_H + and HAVE_MEMORY_H. -Sat Nov 21 00:37:16 1992 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu) +1992-11-21 David J. MacKenzie * Makefile.in: Set and use $(MAKEINFO). -Fri Nov 20 20:45:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-11-20 Richard Stallman - * files.c (done) [MSDOS]: Delete the tmpdefsfile with the rest. + * src/files.c (done) [MSDOS]: Delete the tmpdefsfile with the + rest. -Thu Oct 8 21:55:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-10-08 Richard Stallman * Makefile.in (dist): Put configure.bat in the distribution. -Thu Oct 1 09:16:24 1992 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu) +1992-10-01 David J. MacKenzie - * Makefile.in (install): cd to $(srcdir) before installing info files. + * Makefile.in (install): cd to $(srcdir) before installing info + files. -Wed Sep 30 17:18:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-09-30 Richard Stallman * Makefile.in (files.o): Supply $(DEFS), and $(CPPFLAGS). -Fri Sep 25 18:06:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-09-25 Richard Stallman * Version 1.19 released. - * reader.c (parse_union_decl): Fix ending of C++ comment; + * src/reader.c (parse_union_decl): Fix ending of C++ comment; don't lose the char after the newline. * configure.bat: New file. -Thu Sep 24 16:23:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-09-24 Richard Stallman - * conflicts.c: Check for using alloca.h as getopt.c does. + * src/conflicts.c: Check for using alloca.h as getopt.c does. -Sun Sep 6 08:01:53 1992 Karl Berry (karl@hayley) +1992-09-06 Karl Berry - * files.c (openfiles): open `fdefines' after we have assigned a name - to `tmpdefsfile', and only if `definesflag' is set. - (done): only create the real .tab.h file if `definesflag' is set. - * reader.c (packsymbols): don't close `fdefines' here. + * src/files.c (openfiles): open `fdefines' after we have assigned + a name to `tmpdefsfile', and only if `definesflag' is set. + (done): only create the real .tab.h file if `definesflag' is set. + * src/reader.c (packsymbols): don't close `fdefines' here. -Sat Sep 5 15:02:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-09-05 Richard Stallman - * files.c (openfiles): Open fdefines as temp file, like ftable. + * src/files.c (openfiles): Open fdefines as temp file, like + ftable. (done): Copy temp defines file to real one, like main output file. -Fri Aug 21 12:47:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-08-21 Richard Stallman * Makefile.in (dist): Don't release mergedir.awk (install): Use sed, not awk. Don't depend on mergedir.awk. * mergedir.awk: File effectively deleted. -Wed Jul 29 00:53:25 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-07-29 Richard Stallman - * bison.simple: Test __sparc along with __sparc__. + * src/bison.simple: Test __sparc along with __sparc__. -Sat Jul 11 14:08:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-07-11 Richard Stallman - * lex.c (skip_white_space): Count \n just once at end of c++ comment. + * src/lex.c (skip_white_space): Count \n just once at end of c++ + comment. -Fri Jun 26 00:00:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-06-26 Richard Stallman - * bison.simple: Comment fix; #line command updated. + * src/bison.simple: Comment fix; #line command updated. -Wed Jun 24 15:12:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-06-24 Richard Stallman - * Makefile.in (install): Specify full new file name for the executable. + * Makefile.in (install): Specify full new file name for the + executable. -Mon Jun 22 16:38:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-06-22 Richard Stallman * Makefile.in (dist): Include bison.rnh in distribution. -Sun Jun 21 22:42:13 1992 Eric Youngdale (youngdale@v6550c.nrl.navy.mil) +Sun Jun 21 22:42:13 1992 Eric Youngdale - Clean up rough edges in VMS port of bison, add support for remaining - command line options. + Clean up rough edges in VMS port of bison, add support for + remaining command line options. - * bison.cld: Add /version, /yacc, /file_prefix, and /name_prefix - switches. + * src/bison.cld: Add /version, /yacc, /file_prefix, and + /name_prefix switches. - * build.com: General cleanup: add logic to automatically sense - which C compiler is present; add code to cwd to the directory - that contains bison sources; do not define XPFILE, XPFILE1 - (correct defaults are applied in file.c). + * src/build.com: General cleanup: add logic to automatically sense + which C compiler is present; add code to cwd to the directory that + contains bison sources; do not define XPFILE, XPFILE1 + (correct defaults are applied in src/file.c). - * files.c: Append _tab, not .tab when using /file_prefix under VMS. + * src/files.c: Append _tab, not .tab when using /file_prefix under + VMS. - * system.h: Include string.h instead of strings.h (a la USG). + * src/system.h: Include string.h instead of strings.h (a la USG). - * vmsgetargs.c: Add support for all switches added to bison.cld. + * src/vmsgetargs.c: Add support for all switches added to + src/bison.cld. -Sun Jun 21 15:53:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-06-21 Richard Stallman * Makefile.in (install): Always specify new file name for install. Redirect awk output to temp file and install that. -Wed May 27 22:27:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-05-27 Richard Stallman - * bison.simple (yyparse): Make yybackup and yyerrlab1 always be used. + * src/bison.simple (yyparse): Make yybackup and yyerrlab1 always + be used. -Fri May 22 14:58:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-05-22 Richard Stallman * Makefile.in (dist): Depend on bison.info (bison.info): Delete spurious <. -Sun May 17 21:48:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-05-17 Richard Stallman * Makefile.in (.c.o): New rule. Use $(DEFS) directly. (CFLAGS): Use just -g by default. (CDEBUG): Variable deleted. -Thu May 7 00:03:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-05-07 Richard Stallman - * reader.c (copy_guard): Fix typo skipping comment. + * src/reader.c (copy_guard): Fix typo skipping comment. -Mon May 4 01:23:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-05-04 Richard Stallman * Version 1.18. - * getargs.c (getargs): Change '0' to 0 in case for long options. + * src/getargs.c (getargs): Change '0' to 0 in case for long + options. -Sun Apr 19 10:17:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-04-19 Richard Stallman - * reader.c (packsymbols): Handle -p when declaring yylval. + * src/reader.c (packsymbols): Handle -p when declaring yylval. -Sat Apr 18 18:18:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-04-18 Richard Stallman - * output.c (output_gram): Output #endif properly at end of decl. + * src/output.c (output_gram): Output #endif properly at end of + decl. -Mon Mar 30 01:13:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-03-30 Richard Stallman * Version 1.17. * Makefile.in (clean): Don't delete configuration files or TAGS. (distclean): New target; do delete those. -Sat Mar 28 17:18:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-03-28 Richard Stallman - * output.c (output_gram): Conditionalize yyprhs on YYDEBUG. + * src/output.c (output_gram): Conditionalize yyprhs on YYDEBUG. - * LR0.c (augment_automaton): If copying sp->shifts to insert new - shift, handle case of inserting at end. + * src/LR0.c (augment_automaton): If copying sp->shifts to insert + new shift, handle case of inserting at end. -Sat Mar 21 23:25:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-03-21 Richard Stallman - * lex.c (skip_white_space): Handle C++ comments. - * reader.c (copy_definition, parse_union_decl, copy_guard): + * src/lex.c (skip_white_space): Handle C++ comments. + * src/reader.c (copy_definition, parse_union_decl, copy_guard): (copy_action): Likewise. -Sun Mar 8 01:22:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-03-08 Richard Stallman - * bison.simple (YYPOPSTACK): Fix typo. + * src/bison.simple (YYPOPSTACK): Fix typo. -Sat Feb 29 03:53:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-02-29 Richard Stallman * Makefile.in (install): Install bison.info* files one by one. -Fri Feb 28 19:55:30 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu) +1992-02-28 David J. MacKenzie - * bison.1: Document long options as starting with `--', not `+'. + * src/bison.1: Document long options as starting with `--', not + `+'. -Sat Feb 1 00:08:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-02-01 Richard Stallman - * getargs.c (getargs): Accept value 0 from getopt_long. + * src/getargs.c (getargs): Accept value 0 from getopt_long. -Thu Jan 30 23:39:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-01-30 Richard Stallman * Makefile.in (mostlyclean): Renamed from `clean'. - (clean): Renamed from 'distclean'. Dep on mostlyclean, not realclean. + (clean): Renamed from 'distclean'. Dep on mostlyclean, not + realclean. (realclean): Dep on clean. -Mon Jan 27 21:59:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-01-27 Richard Stallman - * bison.simple: Use malloc, not xmalloc, and handle failure explicitly. + * src/bison.simple: Use malloc, not xmalloc, and handle failure + explicitly. -Sun Jan 26 22:40:04 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-01-26 Richard Stallman - * conflicts.c (total_conflicts): Delete unused arg to fprintf. + * src/conflicts.c (total_conflicts): Delete unused arg to fprintf. -Tue Jan 21 23:17:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) +1992-01-21 Richard Stallman * Version 1.16. -Mon Jan 6 16:50:11 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1992-01-06 Richard Stallman - * Makefile (distclean): Depend on clean, not realclean. Don't rm TAGS. + * Makefile (distclean): Depend on clean, not realclean. Don't rm + TAGS. (realclean): rm TAGS here. - * symtab.c (free_symtab): Don't free the type names. + * src/symtab.c (free_symtab): Don't free the type names. -Sun Dec 29 22:25:40 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1991-12-29 Richard Stallman - * machine.h: MSDOS has 32-bit ints if __GO32__. + * src/machine.h: MSDOS has 32-bit ints if __GO32__. -Wed Dec 25 22:09:07 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) +1991-12-25 David J. MacKenzie - * bison.simple [_AIX]: Indent `#pragma alloca', so old C compilers - don't choke on it. + * src/bison.simple [_AIX]: Indent `#pragma alloca', so old C + compilers don't choke on it. -Mon Dec 23 02:10:16 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1991-12-23 Richard Stallman - * getopt.c, getopt1.c, getopt.h: Link them to standard source location. - * alloca.c: Likewise. + * src/getopt.c, src/getopt1.c, src/getopt.h: Link them to standard + source location. + * src/alloca.c: Likewise. * Makefile.in (dist): Copy those files from current dir. - * getargs.c: Update usage message. + * src/getargs.c: Update usage message. - * LR0.c (augment_automaton): Put new shift in proper order. + * src/LR0.c (augment_automaton): Put new shift in proper order. -Fri Dec 20 18:39:20 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1991-12-20 Richard Stallman - * conflicts.c: Use memcpy if ANSI C library. + * src/conflicts.c: Use memcpy if ANSI C library. - * closure.c (set_fderives): Delete redundant assignment to vrow. + * src/closure.c (set_fderives): Delete redundant assignment to + vrow. - * closure.c (print_firsts): Fix bounds and offset checking tags. + * src/closure.c (print_firsts): Fix bounds and offset checking + tags. - * closure.c (tags): Declare just once at start of file. + * src/closure.c (tags): Declare just once at start of file. - * LR0.c (allocate_itemsets): Eliminate unused var max. + * src/LR0.c (allocate_itemsets): Eliminate unused var max. (augment_automaton): Test sp is non-null. - * lalr.c (initialize_LA): Make the vectors at least 1 element long. + * src/lalr.c (initialize_LA): Make the vectors at least 1 element + long. - * reader.c (readgram): Remove separate YYSTYPE default for MSDOS. + * src/reader.c (readgram): Remove separate YYSTYPE default for + MSDOS. -Wed Dec 18 02:40:32 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1991-12-18 Richard Stallman - * print.c (print_grammar): Don't print disabled rules. + * src/print.c (print_grammar): Don't print disabled rules. -Tue Dec 17 03:48:07 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1991-12-17 Richard Stallman - * lex.c (lex): Parse hex escapes properly. + * src/lex.c (lex): Parse hex escapes properly. Handle \v when filling token_buffer. - * lex.c: Include new.h. + * src/lex.c: Include new.h. (token_buffer): Change to a pointer. (init_lex): Allocate initial buffer. (grow_token_buffer): New function. (lex, parse_percent_token): Use that. - * reader.c (read_declarations): Call open_extra_files just once. - (parse_token_decl): Don't free previous typename value. - Don't increment nvars if symbol is already a nonterminal. + * src/reader.c (read_declarations): Call open_extra_files just + once. + (parse_token_decl): Don't free previous typename value. Don't + increment nvars if symbol is already a nonterminal. (parse_union_decl): Catch unmatched close-brace. (parse_expect_decl): Null-terminate buffer. (copy_guard): Set brace_flag for {, not for }. - * reader.c: Fix %% in calls to fatal. + * src/reader.c: Fix %% in calls to fatal. - * reader.c (token_buffer): Just one extern decl, at top level. + * src/reader.c (token_buffer): Just one extern decl, at top level. Declare as pointer. - * symtab.c (free_symtab): Free type_name fields. Free symtab itself. + * src/symtab.c (free_symtab): Free type_name fields. Free symtab + itself. -Mon Nov 25 23:04:31 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1991-11-25 Richard Stallman - * bison.simple: Handle alloca for AIX. + * src/bison.simple: Handle alloca for AIX. * Makefile.in (mandir): Compute default using manext. -Sat Nov 2 21:39:32 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) +1991-11-02 David J. MacKenzie * Update all files to GPL version 2. -Fri Sep 6 01:51:36 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1991-09-06 Richard Stallman - * bison.simple (__yy_bcopy): Use builtin if GCC version 2. + * src/bison.simple (__yy_bcopy): Use builtin if GCC version 2. -Mon Aug 26 22:09:12 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1991-08-26 Richard Stallman - * reader.c (parse_assoc_decl): Error if same symbol gets two precs. + * src/reader.c (parse_assoc_decl): Error if same symbol gets two + precs. -Mon Aug 26 16:42:09 1991 David J. MacKenzie (djm at pogo.gnu.ai.mit.edu) +1991-08-26 David J. MacKenzie * Makefile.in, configure: Only put $< in Makefile if using VPATH, because older makes don't understand it. -Fri Aug 23 00:05:54 1991 David J. MacKenzie (djm at apple-gunkies) +1991-08-23 David J. MacKenzie - * conflicts.c [_AIX]: #pragma alloca. - * reduce.c: Don't define TRUE and FALSE if already defined. + * src/conflicts.c [_AIX]: #pragma alloca. + * src/reduce.c: Don't define TRUE and FALSE if already defined. -Mon Aug 12 22:49:58 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1991-08-12 Richard Stallman * Makefile.in: Add deps on system.h. (install): Add some deps. -Fri Aug 2 12:19:20 1991 David J. MacKenzie (djm at apple-gunkies) +1991-08-02 David J. MacKenzie * Makefile.in (dist): Include texinfo.tex. * configure: Create config.status. Remove it and Makefile if interrupted while creating them. -Thu Aug 1 23:14:01 1991 David J. MacKenzie (djm at apple-gunkies) +1991-08-01 David J. MacKenzie * configure: Check for +srcdir etc. arg and look for Makefile.in in that directory. Set VPATH if srcdir is not `.'. - * Makefile.in (prefix): Renamed from DESTDIR. + * Makefile.in (prefix): Renamed from DESTDIR. -Wed Jul 31 21:29:47 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1991-07-31 Richard Stallman - * print.c (print_grammar): Make output prettier. Break lines. + * src/print.c (print_grammar): Make output prettier. Break lines. -Tue Jul 30 22:38:01 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1991-07-30 Richard Stallman - * print.c (print_grammar): New function. + * src/print.c (print_grammar): New function. (verbose): Call it instead of printing token names here. -Mon Jul 22 16:39:54 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1991-07-22 Richard Stallman - * vmsgetargs.c (spec_name_prefix, spec_file_prefix): Define variables. + * src/vmsgetargs.c (spec_name_prefix, spec_file_prefix): Define + variables. -Wed Jul 10 01:38:25 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) +1991-07-10 David J. MacKenzie * configure, Makefile.in: $(INSTALLPROG) -> $(INSTALL), $(INSTALLTEXT) -> $(INSTALLDATA). -Tue Jul 9 00:53:58 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) +1991-07-09 David J. MacKenzie - * bison.simple: Don't include malloc.h if __TURBOC__. + * src/bison.simple: Don't include malloc.h if __TURBOC__. -Sat Jul 6 15:18:12 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu) +1991-07-06 David J. MacKenzie - * Replace Makefile with configure and Makefile.in. - Update README with current compilation instructions. + * Replace Makefile with configure and Makefile.in. Update README + with current compilation instructions. -Mon Jul 1 23:12:20 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1991-07-01 Richard Stallman - * reader.c (reader): Make the output define YYBISON. + * src/reader.c (reader): Make the output define YYBISON. -Thu Jun 20 16:52:51 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu) +1991-06-20 David J. MacKenzie * Makefile (MANDIR, MANEXT): Install man page in /usr/local/man/man1/bison.1 by default, instead of @@ -824,607 +863,638 @@ Thu Jun 20 16:52:51 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu) GNU coding standards. (install): Make man page non-executable. -Fri May 31 23:22:13 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1991-05-31 Richard Stallman * Makefile (bison.info): New target. (realclean): New target. -Thu May 2 16:36:19 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1991-05-02 Richard Stallman - * bison.simple: Use YYPRINT to print a token, if it's defined. + * src/bison.simple: Use YYPRINT to print a token, if it's defined. -Mon Apr 29 12:22:55 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1991-04-29 Richard Stallman - * lalr.c (transpose): Rename R to R_arg. + * src/lalr.c (transpose): Rename R to R_arg. (initialize_LA): Avoid shadowing variable j. - * reader.c (packsymbols): Avoid shadowing variable i. + * src/reader.c (packsymbols): Avoid shadowing variable i. - * files.c: Declare exit and perror. + * src/files.c: Declare exit and perror. - * machine.h: Define MAXSHORT and MINSHORT for the eta-10. + * src/machine.h: Define MAXSHORT and MINSHORT for the eta-10. -Tue Apr 2 20:49:12 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1991-04-02 Richard Stallman - * allocate.c (mallocate): Always allocate at least one byte. + * src/allocate.c (mallocate): Always allocate at least one byte. -Tue Mar 19 22:17:19 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) +1991-03-19 Richard Stallman * Makefile (dist): Put alloca.c into distribution. -Wed Mar 6 17:45:42 1991 Richard Stallman (rms at mole.ai.mit.edu) +1991-03-06 Richard Stallman - * print.c (print_actions): Nicer output for final states. + * src/print.c (print_actions): Nicer output for final states. -Thu Feb 21 20:39:53 1991 Richard Stallman (rms at mole.ai.mit.edu) +1991-02-21 Richard Stallman - * output.c (output_rule_data): Break lines in yytline based on hpos. + * src/output.c (output_rule_data): Break lines in yytline based on + hpos. -Thu Feb 7 12:54:36 1991 Richard Stallman (rms at mole.ai.mit.edu) +1991-02-07 Richard Stallman - * bison.simple (yyparse): Move decl of yylsa before use. + * src/bison.simple (yyparse): Move decl of yylsa before use. -Tue Jan 15 23:41:33 1991 Richard Stallman (rms at mole.ai.mit.edu) +1991-01-15 Richard Stallman * Version 1.14. - * output.c (output_rule_data): Handle NULL in tags[i]. + * src/output.c (output_rule_data): Handle NULL in tags[i]. -Fri Jan 11 17:27:24 1991 Richard Stallman (rms at mole.ai.mit.edu) +1991-01-11 Richard Stallman - * bison.simple: On MSDOS, include malloc.h. + * src/bison.simple: On MSDOS, include malloc.h. -Sat Dec 29 19:59:55 1990 David J. MacKenzie (djm at wookumz.ai.mit.edu) +1990-12-29 David J. MacKenzie - * files.c: Use `mallocate' instead of `xmalloc' so no extra decl is - needed. + * src/files.c: Use `mallocate' instead of `xmalloc' so no extra + decl is needed. -Wed Dec 19 18:31:21 1990 Richard Stallman (rms at mole.ai.mit.edu) +1990-12-19 Richard Stallman - * reader.c (readgram): Alternate YYSTYPE defn for MSDOS. - * files.c [MSDOS]: Declare xmalloc. + * src/reader.c (readgram): Alternate YYSTYPE defn for MSDOS. + * src/files.c [MSDOS]: Declare xmalloc. -Thu Dec 13 12:45:54 1990 Richard Stallman (rms at mole.ai.mit.edu) +1990-12-13 Richard Stallman - * output.c (output_rule_data): Put all symbols in yytname. + * src/output.c (output_rule_data): Put all symbols in yytname. - * bison.simple (yyparse): Delete extra fprintf arg + * src/bison.simple (yyparse): Delete extra fprintf arg when printing a result of reduction. -Mon Dec 10 13:55:15 1990 Richard Stallman (rms at mole.ai.mit.edu) +1990-12-10 Richard Stallman - * reader.c (packsymbols): Don't declare yylval if pure_parser. + * src/reader.c (packsymbols): Don't declare yylval if pure_parser. -Tue Oct 30 23:38:09 1990 Richard Stallman (rms at mole.ai.mit.edu) +1990-10-30 Richard Stallman * Version 1.12. - * LR0.c (augment_automaton): Fix bugs adding sp2 to chain of shifts. + * src/LR0.c (augment_automaton): Fix bugs adding sp2 to chain of + shifts. -Tue Oct 23 17:41:49 1990 Richard Stallman (rms at mole.ai.mit.edu) +1990-10-23 Richard Stallman - * bison.simple: Don't define alloca if already defined. + * src/bison.simple: Don't define alloca if already defined. -Sun Oct 21 22:10:53 1990 Richard Stallman (rms at mole.ai.mit.edu) +1990-10-21 Richard Stallman - * getopt.c: On VMS, use string.h. + * src/getopt.c: On VMS, use string.h. - * main.c (main): Return type int. + * src/main.c (main): Return type int. -Mon Sep 10 16:59:01 1990 Richard Stallman (rms at mole.ai.mit.edu) +1990-09-10 Richard Stallman - * output.c (output_headers): Output macro defs for -p. + * src/output.c (output_headers): Output macro defs for -p. - * reader.c (readgram): Handle consecutive actions. + * src/reader.c (readgram): Handle consecutive actions. - * getargs.c (getargs): Rename -a to -p. - * files.c (openfiles): Change names used for -b. + * src/getargs.c (getargs): Rename -a to -p. + * src/files.c (openfiles): Change names used for -b. -Mon Aug 27 00:30:15 1990 Richard Stallman (rms at mole.ai.mit.edu) +1990-08-27 Richard Stallman - * reduce.c (reduce_grammar_tables): Don't map rlhs of disabled rule. + * src/reduce.c (reduce_grammar_tables): Don't map rlhs of disabled + rule. -Sun Aug 26 13:43:32 1990 Richard Stallman (rms at mole.ai.mit.edu) +1990-08-26 Richard Stallman - * closure.c (print_firsts, print_fderives): Use BITISSET to test bits. + * src/closure.c (print_firsts, print_fderives): Use BITISSET to + test bits. -Thu Aug 23 22:13:40 1990 Richard Stallman (rms at mole.ai.mit.edu) +1990-08-23 Richard Stallman - * closure.c (print_firsts): vrowsize => varsetsize. + * src/closure.c (print_firsts): vrowsize => varsetsize. (print_fderives): rrowsize => rulesetsize. -Fri Aug 10 15:32:11 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-08-10 Richard Stallman - * bison.simple (alloca): Don't define if already defined. + * src/bison.simple (alloca): Don't define if already defined. (__yy_bcopy): Alternate definition for C++. -Wed Jul 11 00:46:03 1990 David J. MacKenzie (djm at albert.ai.mit.edu) +1990-07-11 David J. MacKenzie - * getargs.c (getargs): Mention +yacc in usage message. + * src/getargs.c (getargs): Mention +yacc in usage message. -Tue Jul 10 17:29:08 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-07-10 Richard Stallman - * reader.c (parse_token_decl, copy_action): - Set value_components_used if appropriate. + * src/reader.c (parse_token_decl, copy_action): Set + value_components_used if appropriate. (readgram): Inhibit output of YYSTYPE definition in that case. -Sat Jun 30 13:47:57 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-06-30 Richard Stallman - * output.c (output_parser): Define YYPURE if pure, and not otherwise. - Don't define YYIMPURE. - * bison.simple: Adjust conditionals accordingly. - * bison.simple (YYLEX): If locations not in use, don't pass &yylloc. + * src/output.c (output_parser): Define YYPURE if pure, and not + otherwise. Don't define YYIMPURE. + * src/bison.simple: Adjust conditionals accordingly. + * src/bison.simple (YYLEX): If locations not in use, don't pass + &yylloc. -Thu Jun 28 12:32:21 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-06-28 Richard Stallman - * getargs.c (longopts): Add `yacc'. + * src/getargs.c (longopts): Add `yacc'. -Thu Jun 28 00:40:21 1990 David J. MacKenzie (djm at apple-gunkies) +1990-06-28 David J. MacKenzie - * getargs.c (getargs): Add long options. + * src/getargs.c (getargs): Add long options. * Makefile: Link with getopt1.o and add getopt1.c and getopt.h to - dist. + dist. * Move version number and description back into version.c from Makefile and getargs.c. * Makefile (dist): Extract version number from version.c. -Tue Jun 26 13:16:35 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-06-26 Richard Stallman - * output.c (output): Always call output_gram. - * bison.simple (yyparse): Print rhs and lhs symbols of reduction rule. + * src/output.c (output): Always call output_gram. + * src/bison.simple (yyparse): Print rhs and lhs symbols of + reduction rule. -Thu Jun 21 00:15:40 1990 David J. MacKenzie (djm at albert.ai.mit.edu) +1990-06-21 David J. MacKenzie - * main.c: New global var `program_name' to hold argv[0] for error - messages. - * allocate.c, files.c, getargs.c, reader.c: Use `program_name' - in messages instead of hardcoded "bison". + * src/main.c: New global var `program_name' to hold argv[0] for + error messages. + * src/allocate.c, src/files.c, src/getargs.c, src/reader.c: Use + `program_name' in messages instead of hardcoded "bison". -Wed Jun 20 23:38:34 1990 David J. MacKenzie (djm at albert.ai.mit.edu) +1990-06-20 David J. MacKenzie * Makefile: Specify Bison version here. Add rule to pass it to version.c. Encode it in distribution directory and tar file names. - * version.c: Use version number from Makefile. - * getargs.c (getargs): Print additional text that used to be part of - version_string in version.c. Use -V instead of -version to print - Bison version info. Print a usage message and exit if given an - invalid option. + * src/version.c: Use version number from Makefile. + * src/getargs.c (getargs): Print additional text that used to be + part of version_string in version.c. Use -V instead of -version + to print Bison version info. Print a usage message and exit if + given an invalid option. -Tue Jun 19 01:15:18 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-06-19 Richard Stallman - * bison.simple: Fix a #line. + * src/bison.simple: Fix a #line. * Makefile (INSTALL): New parameter. (install): Use that. (CFLAGS): Move definition to top. -Sun Jun 17 17:10:21 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-06-17 Richard Stallman - * reader.c (parse_type_decl): Ignore semicolon. + * src/reader.c (parse_type_decl): Ignore semicolon. Remove excess % from error messages. -Sat Jun 16 19:15:48 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-06-16 Richard Stallman * Version 1.11. * Makefile (install): Ensure installed files readable. -Tue Jun 12 12:50:56 EDT 1990 Jay Fenlason (hack@ai.mit.edu) +Tue Jun 12 12:50:56 EDT 1990 Jay Fenlason - * getargs.c: Declare spec_file_prefix + * src/getargs.c: Declare spec_file_prefix - * lex.c (lex): \a is '\007' instead of '007' + * src/lex.c (lex): \a is '\007' instead of '007' - * reader.c: include machine.h + * src/reader.c: include machine.h - * files.h: Declare extern spec_name_prefix. + * src/files.h: Declare extern spec_name_prefix. - Trivial patch from Thorsten Ohl (td12@ddagsi3.bitnet) + Trivial patch from Thorsten Ohl -Thu May 31 22:00:16 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-05-31 Richard Stallman * Version 1.10. - - * bison.simple (YYBACKUP, YYRECOVERING): New macros. + + * src/bison.simple (YYBACKUP, YYRECOVERING): New macros. (YYINITDEPTH): This is what used to be YYMAXDEPTH. (YYMAXDEPTH): This is what used to be YYMAXLIMIT. If the value is 0, use the default instead. (yyparse): Return 2 on stack overflow. -Wed May 30 21:09:07 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-05-30 Richard Stallman - * bison.simple (YYERROR): Jump to new label; don't print error message. + * src/bison.simple (YYERROR): Jump to new label; don't print error + message. (yyparse): Define label yyerrlab1. -Wed May 16 13:23:58 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-05-16 Richard Stallman - * files.c (openfiles): Support -b. - * getargs.c (getargs): Likewise. + * src/files.c (openfiles): Support -b. + * src/getargs.c (getargs): Likewise. - * reader.c (readgram): Error if too many symbols. + * src/reader.c (readgram): Error if too many symbols. - * lex.c (lex): Handle \a. Make error msgs more reliable. - * reader.c (read_declarations): Make error msgs more reliable. + * src/lex.c (lex): Handle \a. Make error msgs more reliable. + * src/reader.c (read_declarations): Make error msgs more reliable. -Sun May 13 15:03:37 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-05-13 Richard Stallman * Version 1.09. - * reduce.c (reduce_grammar_tables): Fix backward test. + * src/reduce.c (reduce_grammar_tables): Fix backward test. -Sat May 12 21:05:34 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-05-12 Richard Stallman * Makefile (bison-dist.*): Rename targets and files to bison.*. (bison.tar): Make tar file to unpack into subdirectory named `bison'. -Mon Apr 30 03:46:58 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-04-30 Richard Stallman - * reduce.c (reduce_grammar_tables): Set rlhs to -1 for useless rules. - * nullable.c (set_nullable): Ignore those rules. - * derives.c (set_derives): Likewise. + * src/reduce.c (reduce_grammar_tables): Set rlhs to -1 for useless + rules. + * src/nullable.c (set_nullable): Ignore those rules. + * src/derives.c (set_derives): Likewise. -Mon Apr 23 15:16:09 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-04-23 Richard Stallman - * bison.simple (yyparse): Mention rule number as well as line number. + * src/bison.simple (yyparse): Mention rule number as well as line + number. -Thu Mar 29 00:00:43 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-03-29 Richard Stallman - * bison.simple (__yy_bcopy): New function. + * src/bison.simple (__yy_bcopy): New function. (yyparse): Use that, not bcopy. -Wed Mar 28 15:23:51 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-03-28 Richard Stallman - * print.c (print_actions): Don't alter i and j spuriously when errp==0. + * src/print.c (print_actions): Don't alter i and j spuriously when + errp==0. -Mon Mar 12 16:22:18 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) +1990-03-12 Jim Kingdon - * bison.simple [__GNUC__]: Use builtin_alloca. + * src/bison.simple [__GNUC__]: Use builtin_alloca. -Wed Mar 7 21:11:36 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-03-07 Richard Stallman * Makefile (install): Use mergedir.awk to process bison.simple for installation. - * bison.simple (yyparse): New feature to include possible valid + * src/bison.simple (yyparse): New feature to include possible valid tokens in parse error message. -Sat Mar 3 14:10:56 1990 Richard Stallman (rms at geech) +1990-03-03 Richard Stallman * Version 1.08. -Mon Feb 26 16:32:21 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) +1990-02-26 Jim Kingdon - * print.c (print_actions) - conflicts.c (print_reductions): Change "shift %d" to + * src/print.c (print_actions) + * src/conflicts.c (print_reductions): Change "shift %d" to "shift, and go to state %d" and "reduce %d" to "reduce using rule %d" and "goto %d" to "go to state %d". - print.c (print_core): Change "(%d)" to "(rule %d)". + * src/print.c (print_core): Change "(%d)" to "(rule %d)". -Tue Feb 20 14:22:47 EST 1990 Jay Fenlason (hack @ wookumz.ai.mit.edu) +1990-02-20 Jay Fenlason - * bison.simple: Comment out unused yyresume: label. + * src/bison.simple: Comment out unused yyresume: label. -Fri Feb 9 16:14:34 EST 1990 Jay Fenlason (hack @ wookumz.ai.mit.edu) +1990-02-09 Jay Fenlason - * bison.simple : surround all declarations and (remaining) uses of - yyls* and yylloc with #ifdef YYLSP_NEEDED This will significantly - cut down on stack usage, and gets rid of unused-variable msgs from - GCC. + * src/bison.simple : surround all declarations and (remaining) + uses of yyls* and yylloc with #ifdef YYLSP_NEEDED This will + significantly cut down on stack usage, and gets rid of + unused-variable msgs from GCC. -Wed Jan 31 13:06:08 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-01-31 Richard Stallman - * files.c (done) [VMS]: Don't delete files that weren't used. + * src/files.c (done) [VMS]: Don't delete files that weren't used. [VMS]: Let user override XPFILE and XPFILE1. -Wed Jan 3 15:52:28 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1990-01-03 Richard Stallman * Version 1.07. -Sat Dec 16 15:50:21 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-12-16 Richard Stallman - * gram.c (dummy): New function. + * src/gram.c (dummy): New function. - * reader.c (readgram): Detect error if two consec actions. + * src/reader.c (readgram): Detect error if two consec actions. -Wed Nov 15 02:06:08 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-11-15 Richard Stallman - * reduce.c (reduce_grammar_tables): Update rline like other tables. + * src/reduce.c (reduce_grammar_tables): Update rline like other + tables. * Makefile (install): Install the man page. -Sat Nov 11 03:21:58 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-11-11 Richard Stallman - * output.c (output_rule_data): Write #if YYDEBUG around yyrline. + * src/output.c (output_rule_data): Write #if YYDEBUG around yyrline. -Wed Oct 18 13:07:55 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-10-18 Richard Stallman * Version 1.06. - * vmsgetargs.c (getargs): Downcase specified output file name. + * src/vmsgetargs.c (getargs): Downcase specified output file name. -Fri Oct 13 17:48:14 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-10-13 Richard Stallman - * reader.c (readgram): Warn if there is no default to use for $$ - and one is needed. + * src/reader.c (readgram): Warn if there is no default to use for + $$ and one is needed. -Fri Sep 29 12:51:53 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-09-29 Richard Stallman * Version 1.05. - * vmsgetargs.h (getargs): Process outfile option. + * src/vmsgetargs.h (getargs): Process outfile option. -Fri Sep 8 03:05:14 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-09-08 Richard Stallman * Version 1.04. - * reader.c (parse_union_decl): Count newlines even in comments. + * src/reader.c (parse_union_decl): Count newlines even in + comments. -Wed Sep 6 22:03:19 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-09-06 Richard Stallman - * files.c (openfiles): short_base_length was always == base_length. + * src/files.c (openfiles): short_base_length was always == + base_length. -Thu Aug 24 16:55:06 1989 Richard Stallman (rms at apple-gunkies.ai.mit.edu) +1989-08-24 Richard Stallman * Version 1.03. - * files.c (openfiles): Write output into same dir as input, by default. + * src/files.c (openfiles): Write output into same dir as input, by + default. -Wed Aug 23 15:03:07 1989 Jay Fenlason (hack at gnu) +1989-08-23 Jay Fenlason * Makefile: Include system.h in bison-dist.tar -Tue Aug 15 22:30:42 1989 Richard Stallman (rms at hobbes.ai.mit.edu) +1989-08-15 Richard Stallman * version 1.03. - * reader.c (reader): Output LTYPESTR to fdefines + * src/reader.c (reader): Output LTYPESTR to fdefines only after reading the grammar. -Sun Aug 6 16:55:23 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-08-06 Richard Stallman - * reader.c (read_declarations): Put space before comment + * src/reader.c (read_declarations): Put space before comment to avoid bug in Green Hills C compiler. -Mon Jun 19 20:14:01 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-06-19 Richard Stallman - * allocate.c (xmalloc): New function. + * src/allocate.c (xmalloc): New function. -Fri Jun 16 23:59:40 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-06-16 Richard Stallman - * build.com: Compile and link reduce.c. + * src/build.com: Compile and link reduce.c. -Fri Jun 9 23:00:54 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-06-09 Richard Stallman - * reduce.c (reduce_grammar_tables): Adjust start_symbol when #s change. + * src/reduce.c (reduce_grammar_tables): Adjust start_symbol when + #s change. -Sat May 27 17:57:29 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-05-27 Richard Stallman - * reader.c (copy_definition, copy_guard): Don't object to \-newline - inside strings. + * src/reader.c (copy_definition, copy_guard): Don't object to + \-newline inside strings. -Mon May 22 12:30:59 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-05-22 Richard Stallman - * files.c (openfiles): Alternate file names for MSDOS. + * src/files.c (openfiles): Alternate file names for MSDOS. (open_extra_files): Likewise. (done): On MSDOS, unlink temp files here, not in openfiles. - * machine.h (BITS_PER_WORD): 16 on MSDOS. + * src/machine.h (BITS_PER_WORD): 16 on MSDOS. (MAXTABLE): Now defined in this file. - * system.h: New file includes system-dependent headers. + * src/system.h: New file includes system-dependent headers. All relevant .c files include it. -Thu Apr 27 17:00:47 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-04-27 Richard Stallman - * version.c: Version 1.01. + * src/version.c: Version 1.01. -Tue Apr 18 12:46:05 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) +1989-04-18 Randall Smith - * conflicts.c (total_conflicts): Fixed typo in yacc style output; - mention conflicts if > 0. + * src/conflicts.c (total_conflicts): Fixed typo in yacc style + output; mention conflicts if > 0. -Sat Apr 15 17:36:18 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-04-15 Richard Stallman - * reader.c (packsymbols): Start new symbols after 256. + * src/reader.c (packsymbols): Start new symbols after 256. -Wed Apr 12 14:09:09 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-04-12 Richard Stallman - * reader.c (reader): Always assign code 256 to `error' token. + * src/reader.c (reader): Always assign code 256 to `error' token. Always set `translations' to 1 so this code gets handled. - * bison.simple (YYERRCODE): Define it. + * src/bison.simple (YYERRCODE): Define it. -Tue Apr 11 19:26:32 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-04-11 Richard Stallman - * conflicts.c: If GNU C, use builtin alloca. + * src/conflicts.c: If GNU C, use builtin alloca. * Makefile (install): Delete parser files before copying them. -Thu Mar 30 13:51:17 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-03-30 Richard Stallman - * getargs.c (getargs): Turn off checking of name Bison was invoked by. + * src/getargs.c (getargs): Turn off checking of name Bison was + invoked by. * Makefile (dist): Include ChangeLog in distrib. -Thu Mar 23 15:19:41 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu) +1989-03-23 Jay Fenlason - * LR0.c closure.c conflicts.c derives.c files.c getargs.c lalr.c - lex.c main.c nullable.c output.c print.c reader.c reduce.c - symtab.c warshall.c: A first pass at getting gcc -Wall to shut up. - Mostly declared functions as void, etc. + * src/LR0.c src/closure.c src/conflicts.c src/derives.c + src/files.c src/getargs.c src/lalr.c src/lex.c src/main.c + src/nullable.c src/output.c src/print.c src/reader.c src/reduce.c + src/symtab.c src/warshall.c: A first pass at getting gcc -Wall to + shut up. Mostly declared functions as void, etc. - * reduce.c moved 'extern int fixed_outfiles;' into print_notices + * src/reduce.c moved 'extern int fixed_outfiles;' into print_notices where it belongs. -Wed Mar 1 12:33:28 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) +1989-03-01 Randall Smith - * types.h, symtab.h, state.h, new.h, machine.h, lex.h, gram.h, - files.h, closure.c, vmsgetargs.c, warshall.c, symtab.c, reduce.c, - reader.c, print.c, output.c, nullable.c, main.c, lex.c, lalr.c, - gram.c, getargs.c, files.c, derives.c, conflicts.c, allocate.c, - LR0.c, Makefile, bison.simple: Changed copyright notices to be in - accord with the new General Public License. + * src/types.h, src/symtab.h, src/state.h, src/new.h, + src/machine.h, src/lex.h, src/gram.h, src/files.h, src/closure.c, + src/vmsgetargs.c, src/warshall.c, src/symtab.c, src/reduce.c, + src/reader.c, src/print.c, src/output.c, src/nullable.c, + src/main.c, src/lex.c, src/lalr.c, src/gram.c, src/getargs.c, + src/files.c, src/derives.c, src/conflicts.c, src/allocate.c, + src/LR0.c, Makefile, src/bison.simple: Changed copyright notices + to be in accord with the new General Public License. * COPYING: Made a link to the new copying file. -Wed Feb 22 06:18:20 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-02-22 Richard Stallman - * new.h (FREE): Alternate definition for __STDC__ avoids error + * src/new.h (FREE): Alternate definition for __STDC__ avoids error if `free' returns void. -Tue Feb 21 15:03:34 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-02-21 Richard Stallman - * reader.c (read_declarations): Double a `%' in a format string. + * src/reader.c (read_declarations): Double a `%' in a format string. (copy_definition, parse_start_decl, parse_token_decl): Likewise. (parse_type_decl, parse_union_decl, copy_guard, readgram, get_type). (copy_action): change a `fatal' to `fatals'. - * lalr.c (map_goto): Initial high-end of binary search was off by 1. + * src/lalr.c (map_goto): Initial high-end of binary search was off + by 1. -Sat Feb 18 08:49:57 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-02-18 Richard Stallman - * bison.simple [sparc]: Include alloca.h. + * src/bison.simple [sparc]: Include alloca.h. -Wed Feb 15 06:24:36 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-02-15 Richard Stallman - * reader.c (packsymbols): Write decl of yylval into .tab.h file. + * src/reader.c (packsymbols): Write decl of yylval into .tab.h file. -Sat Jan 28 18:19:05 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-01-28 Richard Stallman - * bison.simple: Avoid comments on `#line' lines. + * src/bison.simple: Avoid comments on `#line' lines. - * reader.c (LTYPESTR): Rearrange to avoid whitespace after \-newline. + * src/reader.c (LTYPESTR): Rearrange to avoid whitespace after + \-newline. -Mon Jan 9 18:43:08 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-01-09 Richard Stallman - * conflicts.c (total_conflicts): if -y, use output syntax POSIX wants. - * reduce.c (print_notices): likewise. + * src/conflicts.c (total_conflicts): if -y, use output syntax + POSIX wants. + * src/reduce.c (print_notices): likewise. - * lex.c (lex): Handle \v, and \x hex escapes. + * src/lex.c (lex): Handle \v, and \x hex escapes. - * reader.c (reader): Merge output_ltype into here. - Don't output YYLTYPE definition to .tab.h file - unless the @ construct is used. + * src/reader.c (reader): Merge output_ltype into here. Don't + output YYLTYPE definition to .tab.h file unless the @ construct is + used. - * bison.simple: Define YYERROR, YYABORT, YYACCEPT here. - * reader.c (output_ltype): Don't output them here. + * src/bison.simple: Define YYERROR, YYABORT, YYACCEPT here. + * src/reader.c (output_ltype): Don't output them here. - * bison.simple: YYDEBUG now should be 0 or 1. - * output.c (output): For YYDEBUG, output conditional to define it + * src/bison.simple: YYDEBUG now should be 0 or 1. + * src/output.c (output): For YYDEBUG, output conditional to define it only if not previously defined. -Mon Jan 2 11:29:55 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1989-01-02 Richard Stallman - * bison.simple (yyparse) [YYPURE]: Add local yynerrs. - (yydebug): Declare global, but don't initialize, regardless of YYPURE. + * src/bison.simple (yyparse) [YYPURE]: Add local yynerrs. + (yydebug): Declare global, but don't initialize, regardless of + YYPURE. (yyparse): Don't declare yydebug here. -Thu Dec 22 22:01:22 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1988-12-22 Richard Stallman - * reduce.c (print_notices): Typo in message. + * src/reduce.c (print_notices): Typo in message. -Sun Dec 11 11:32:07 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1988-12-11 Richard Stallman - * output.c (pack_table): Free only nonzero the elts of froms & tos. + * src/output.c (pack_table): Free only nonzero the elts of froms & + tos. -Thu Dec 8 16:26:46 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1988-12-08 Richard Stallman - * gram.c (rprecsym): New vector indicates the %prec symbol for a rule. - * reader.c (packgram): Allocate it and fill it in. - * reduce.c (inaccessable_symbols): Use it to set V1. - * reduce.c (print_results): Don't complain about useless token + * src/gram.c (rprecsym): New vector indicates the %prec symbol for + a rule. + * src/reader.c (packgram): Allocate it and fill it in. + * src/reduce.c (inaccessable_symbols): Use it to set V1. + * src/reduce.c (print_results): Don't complain about useless token if it's in V1. -Mon Dec 5 14:33:17 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1988-12-05 Richard Stallman - * machine.h (RESETBIT, BITISSET): New macros. + * src/machine.h (RESETBIT, BITISSET): New macros. (SETBIT, WORDSIZE): Change to use BITS_PER_WORD. - * reduce.c: New file, by David Bakin. Reduces the grammar. + * src/reduce.c: New file, by David Bakin. Reduces the grammar. * Makefile: Compile it, link it, put it in dist. - * main.c (main): Call reduce_grammar (in reduce.c). + * src/main.c (main): Call reduce_grammar (in reduce.c). -Thu Nov 17 18:33:04 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1988-11-17 Richard Stallman - * conflicts.c: Don't declare alloca if including alloca.h. + * src/conflicts.c: Don't declare alloca if including alloca.h. - * bison.cld: Define qualifiers `nolines', `debug'. - * vmsgetargs.c (getargs): Handle them. + * src/bison.cld: Define qualifiers `nolines', `debug'. + * src/vmsgetargs.c (getargs): Handle them. - * output.c (output_program): Notice `nolinesflag'. + * src/output.c (output_program): Notice `nolinesflag'. - * output.c (output_parser): Simplify logic for -l and #line. + * src/output.c (output_parser): Simplify logic for -l and #line. Avoid writing EOF char into output. -Wed Oct 12 18:00:03 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1988-10-12 Richard Stallman * Implement `-l' option. - * getopt.c: Set flag `nolinesflag'. - * reader.c (copy_definition, parse_union_decl, copy_guard, copy_action) - Obey that flag; don't generate #line. - * output.c (output_parser): Discard #line's when copying the parser. + * src/getopt.c: Set flag `nolinesflag'. + * src/reader.c (copy_definition, parse_union_decl, copy_guard, + copy_action) Obey that flag; don't generate #line. + * src/output.c (output_parser): Discard #line's when copying the + parser. -Mon Sep 12 16:33:17 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1988-09-12 Richard Stallman - * reader.c (copy_guard): Fix brace-counting for brace-surrounded guard. + * src/reader.c (copy_guard): Fix brace-counting for + brace-surrounded guard. -Thu Sep 8 20:09:53 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1988-09-08 Richard Stallman - * bison.simple: Correct number in #line command. + * src/bison.simple: Correct number in #line command. (yyparse): Call YYABORT instead of YYERROR, due to last change in output_ltype. -Mon Sep 5 14:55:30 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1988-09-05 Richard Stallman * Makefile: New variable LIBS. Alternatives for USG. - * conflicts.c [USG]: Define bcopy. - * symtab.c [USG]: Include string.h instead of strings.h. + * src/conflicts.c [USG]: Define bcopy. + * src/symtab.c [USG]: Include string.h instead of strings.h. - * conflicts.c [sparc]: Include alloca.h. + * src/conflicts.c [sparc]: Include alloca.h. -Tue Aug 2 08:38:38 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1988-08-02 Richard Stallman - * reader.c (parse_token_decl): Ignore commas. + * src/reader.c (parse_token_decl): Ignore commas. -Sat Jun 25 10:29:20 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1988-06-25 Richard Stallman - * reader.c (output_ltype): Make YYERROR yacc-compatible (like YYFAIL). + * src/reader.c (output_ltype): Make YYERROR yacc-compatible (like + YYFAIL). -Fri Jun 24 11:25:11 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) +1988-06-24 Richard Stallman - * getargs.c (getargs): -t sets debugflag. + * src/getargs.c (getargs): -t sets debugflag. Eliminate upper case duplicate options. - * output.c (output): If debugflag, output `#define YYDEBUG'. + * src/output.c (output): If debugflag, output `#define YYDEBUG'. -Thu May 26 06:04:21 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu) +1988-05-26 Richard Stallman - * allocate.c (mallocate): New name for `allocate' (which loses in VMS). - Calls changed in LR0.c, conflicts.c, symtab.c, new.h. + * src/allocate.c (mallocate): New name for `allocate' (which loses + in VMS). Calls changed in LR0.c, conflicts.c, symtab.c, new.h. - * getargs.c (getargs): If argv[0] is "yacc", set fixed_outfiles. + * src/getargs.c (getargs): If argv[0] is "yacc", set fixed_outfiles. -Tue May 17 12:15:30 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu) +1988-05-17 Richard Stallman - * conflicts.c: Declare alloca. - * reader.c: Declare realloc. - * warshall.c (TC): Fix one arithmetic op that was omitted last time. + * src/conflicts.c: Declare alloca. + * src/reader.c: Declare realloc. + * src/warshall.c (TC): Fix one arithmetic op that was omitted last + time. -Thu May 5 14:36:03 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu) +1988-05-05 Richard Stallman - * bison.simple: Conditionalize most refs to yylsp on YYLSP_NEEDED. - * reader.c (copy_guard, copy_action): Notice if `@' is used. + * src/bison.simple: Conditionalize most refs to yylsp on + YYLSP_NEEDED. + * src/reader.c (copy_guard, copy_action): Notice if `@' is used. (reader): If it was, output `#define YYLSP_NEEDED'. -Mon Apr 18 04:54:32 1988 Richard Stallman (rms at rice-krispies.ai.mit.edu) +1988-04-18 Richard Stallman - * bison.simple: New variable yynerr counts calls to yyerror. + * src/bison.simple: New variable yynerr counts calls to yyerror. - * lex.c (lex, case '='): Update lineno when skipping a newline. + * src/lex.c (lex, case '='): Update lineno when skipping a newline. - * reader.c (parse_expect_decl): ungetc the char that ends the number; - don't read any further. This handles multi-line comments right - and avoids incorrect lineno. + * src/reader.c (parse_expect_decl): ungetc the char that ends the + number; don't read any further. This handles multi-line comments + right and avoids incorrect lineno. - * reader.c: Delete duplicate decl of symval. + * src/reader.c: Delete duplicate decl of symval. - * warshall.c (RTC, TC): Cast ptrs to char *, not unsigned, for arith. + * src/warshall.c (RTC, TC): Cast ptrs to char *, not unsigned, for + arith.