ChangeLog 27 KB

1
  1. Mon May 4 01:23:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Version 1.18. * 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) * reader.c (packsymbols): Handle -p when declaring yylval. Sat Apr 18 18:18:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * 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) * 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) * 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. Sat Mar 21 23:25:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * lex.c (skip_white_space): Handle C++ comments. * 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) * bison.simple (YYPOPSTACK): Fix typo. Sat Feb 29 03:53:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * 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) * bison.1: Document long options as starting with `--', not `+'. Sat Feb 1 00:08:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * getargs.c (getargs): Accept value 0 from getopt_long. Thu Jan 30 23:39:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Makefile.in (mostlyclean): Renamed from `clean'. (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) * 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) * conflicts.c (total_conflicts): Delete unused arg to fprintf. Tue Jan 21 23:17:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu) * Version 1.16. Mon Jan 6 16:50:11 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) * 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. Sun Dec 29 22:25:40 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) * 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) * 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) * getopt.c, getopt1.c, getopt.h: Link them to standard source location. * alloca.c: Likewise. * Makefile.in (dist): Copy those files from current dir. * getargs.c: Update usage message. * 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) * conflicts.c: Use memcpy if ANSI C library. * closure.c (set_fderives): Delete redundant assignment to vrow. * closure.c (print_firsts): Fix bounds and offset checking tags. * closure.c (tags): Declare just once at start of file. * 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. * 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) * 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) * lex.c (lex): Parse hex escapes properly. Handle \v when filling token_buffer. * 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. (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. * 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. Mon Nov 25 23:04:31 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) * 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) * Update all files to GPL version 2. Fri Sep 6 01:51:36 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) * 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) * 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) * 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) * conflicts.c [_AIX]: #pragma alloca. * 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) * 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) * 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) * 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. Wed Jul 31 21:29:47 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) * 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) * 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) * 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) * configure, Makefile.in: $(INSTALLPROG) -> $(INSTALL), $(INSTALLTEXT) -> $(INSTALLDATA). Tue Jul 9 00:53:58 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) * 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) * 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) * 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) * Makefile (MANDIR, MANEXT): Install man page in /usr/local/man/man1/bison.1 by default, instead of /usr/man/manl/bison.l, for consistency with other GNU programs. * Makefile: Rename BINDIR et al. to lowercase to conform to 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) * Makefile (bison.info): New target. (realclean): New target. Thu May 2 16:36:19 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) * 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) * lalr.c (transpose): Rename R to R_arg. (initialize_LA): Avoid shadowing variable j. * reader.c (packsymbols): Avoid shadowing variable i. * files.c: Declare exit and perror. * 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) * 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) * Makefile (dist): Put alloca.c into distribution. Wed Mar 6 17:45:42 1991 Richard Stallman (rms at mole.ai.mit.edu) * print.c (print_actions): Nicer output for final states. Thu Feb 21 20:39:53 1991 Richard Stallman (rms at mole.ai.mit.edu) * 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) * bison.simple (yyparse): Move decl of yylsa before use. Tue Jan 15 23:41:33 1991 Richard Stallman (rms at mole.ai.mit.edu) * Version 1.14. * 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) * bison.simple: On MSDOS, include malloc.h. Sat Dec 29 19:59:55 1990 David J. MacKenzie (djm at wookumz.ai.mit.edu) * 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) * reader.c (readgram): Alternate YYSTYPE defn for MSDOS. * files.c [MSDOS]: Declare xmalloc. Thu Dec 13 12:45:54 1990 Richard Stallman (rms at mole.ai.mit.edu) * output.c (output_rule_data): Put all symbols in yytname. * 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) * 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) * Version 1.12. * 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) * bison.simple: Don't define alloca if already defined. Sun Oct 21 22:10:53 1990 Richard Stallman (rms at mole.ai.mit.edu) * getopt.c: On VMS, use string.h. * main.c (main): Return type int. Mon Sep 10 16:59:01 1990 Richard Stallman (rms at mole.ai.mit.edu) * output.c (output_headers): Output macro defs for -p. * reader.c (readgram): Handle consecutive actions. * getargs.c (getargs): Rename -a to -p. * files.c (openfiles): Change names used for -b. Mon Aug 27 00:30:15 1990 Richard Stallman (rms at mole.ai.mit.edu) * 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) * 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) * 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) * 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) * getargs.c (getargs): Mention +yacc in usage message. Tue Jul 10 17:29:08 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * 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) * 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. Thu Jun 28 12:32:21 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * getargs.c (longopts): Add `yacc'. Thu Jun 28 00:40:21 1990 David J. MacKenzie (djm at apple-gunkies) * getargs.c (getargs): Add long options. * Makefile: Link with getopt1.o and add getopt1.c and getopt.h to 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) * output.c (output): Always call output_gram. * 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) * 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". Wed Jun 20 23:38:34 1990 David J. MacKenzie (djm at albert.ai.mit.edu) * 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. Tue Jun 19 01:15:18 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * 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) * 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) * Version 1.11. * Makefile (install): Ensure installed files readable. Tue Jun 12 12:50:56 EDT 1990 Jay Fenlason (hack@ai.mit.edu) * getargs.c: Declare spec_file_prefix * lex.c (lex): \a is '\007' instead of '007' * reader.c: include machine.h * files.h: Declare extern spec_name_prefix. Trivial patch from Thorsten Ohl (td12@ddagsi3.bitnet) Thu May 31 22:00:16 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * Version 1.10. * 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) * 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) * files.c (openfiles): Support -b. * getargs.c (getargs): Likewise. * 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. Sun May 13 15:03:37 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * Version 1.09. * reduce.c (reduce_grammar_tables): Fix backward test. Sat May 12 21:05:34 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * 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) * reduce.c (reduce_grammar_tables): Set rlhs to -1 for useless rules. * nullable.c (set_nullable): Ignore those rules. * derives.c (set_derives): Likewise. Mon Apr 23 15:16:09 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * 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) * 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) * 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) * bison.simple [__GNUC__]: Use builtin_alloca. Wed Mar 7 21:11:36 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * Makefile (install): Use mergedir.awk to process bison.simple for installation. * 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) * Version 1.08. Mon Feb 26 16:32:21 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) * print.c (print_actions) 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)". Tue Feb 20 14:22:47 EST 1990 Jay Fenlason (hack @ wookumz.ai.mit.edu) * bison.simple: Comment out unused yyresume: label. Fri Feb 9 16:14:34 EST 1990 Jay Fenlason (hack @ wookumz.ai.mit.edu) * 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) * 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) * Version 1.07. Sat Dec 16 15:50:21 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * gram.c (dummy): New function. * 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) * 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) * 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) * Version 1.06. * vmsgetargs.c (getargs): Downcase specified output file name. Fri Oct 13 17:48:14 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * 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) * Version 1.05. * vmsgetargs.h (getargs): Process outfile option. Fri Sep 8 03:05:14 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * Version 1.04. * 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) * 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) * Version 1.03. * files.c (openfiles): Write output into same dir as input, by default. Wed Aug 23 15:03:07 1989 Jay Fenlason (hack at gnu) * Makefile: Include system.h in bison-dist.tar Tue Aug 15 22:30:42 1989 Richard Stallman (rms at hobbes.ai.mit.edu) * version 1.03. * 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) * 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) * allocate.c (xmalloc): New function. Fri Jun 16 23:59:40 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * build.com: Compile and link reduce.c. Fri Jun 9 23:00:54 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * 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) * 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) * 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. (MAXTABLE): Now defined in this file. * 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) * version.c: Version 1.01. Tue Apr 18 12:46:05 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) * 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) * reader.c (packsymbols): Start new symbols after 256. Wed Apr 12 14:09:09 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * 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. Tue Apr 11 19:26:32 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * 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) * 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) * 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. * 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) * 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. * 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) * 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) * 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. Sat Feb 18 08:49:57 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * bison.simple [sparc]: Include alloca.h. Wed Feb 15 06:24:36 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * 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) * bison.simple: Avoid comments on `#line' lines. * 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) * conflicts.c (total_conflicts): if -y, use output syntax POSIX wants. * reduce.c (print_notices): likewise. * 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. * bison.simple: Define YYERROR, YYABORT, YYACCEPT here. * 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 only if not previously defined. Mon Jan 2 11:29:55 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * 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) * reduce.c (print_notices): Typo in message. Sun Dec 11 11:32:07 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * 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) * 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 if it's in V1. Mon Dec 5 14:33:17 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * machine.h (RESETBIT, BITISSET): New macros. (SETBIT, WORDSIZE): Change to use BITS_PER_WORD. * 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). Thu Nov 17 18:33:04 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * conflicts.c: Don't declare alloca if including alloca.h. * bison.cld: Define qualifiers `nolines', `debug'. * vmsgetargs.c (getargs): Handle them. * output.c (output_program): Notice `nolinesflag'. * 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) * 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. Mon Sep 12 16:33:17 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * 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) * 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) * Makefile: New variable LIBS. Alternatives for USG. * conflicts.c [USG]: Define bcopy. * symtab.c [USG]: Include string.h instead of strings.h. * conflicts.c [sparc]: Include alloca.h. Tue Aug 2 08:38:38 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * reader.c (parse_token_decl): Ignore commas. Sat Jun 25 10:29:20 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * 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) * getargs.c (getargs): -t sets debugflag. Eliminate upper case duplicate options. * output.c (output): If debugflag, output `#define YYDEBUG'. Thu May 26 06:04:21 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu) * 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. Tue May 17 12:15:30 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu) * conflicts.c: Declare alloca. * reader.c: Declare realloc. * 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) * bison.simple: Conditionalize most refs to yylsp on YYLSP_NEEDED. * 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) * bison.simple: New variable yynerr counts calls to yyerror. * 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. * reader.c: Delete duplicate decl of symval. * warshall.c (RTC, TC): Cast ptrs to char *, not unsigned, for arith. Local Variables: mode: indented-text left-margin: 8 fill-column: 76 version-control: never End: