📄 ochangelog
字号:
* src/lex.c (lex): Parse hex escapes properly. Handle \v when filling token_buffer. * 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. * 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 }. * src/reader.c: Fix %% in calls to fatal. * src/reader.c (token_buffer): Just one extern decl, at top level. Declare as pointer. * src/symtab.c (free_symtab): Free type_name fields. Free symtab itself.1991-11-25 Richard Stallman <rms@mole.gnu.ai.mit.edu> * src/bison.simple: Handle alloca for AIX. * Makefile.in (mandir): Compute default using manext.1991-11-02 David J. MacKenzie <djm@wookumz.gnu.ai.mit.edu> * Update all files to GPL version 2.1991-09-06 Richard Stallman <rms@mole.gnu.ai.mit.edu> * src/bison.simple (__yy_bcopy): Use builtin if GCC version 2.1991-08-26 Richard Stallman <rms@mole.gnu.ai.mit.edu> * src/reader.c (parse_assoc_decl): Error if same symbol gets two precs.1991-08-26 David J. MacKenzie <djm@pogo.gnu.ai.mit.edu> * Makefile.in, configure: Only put $< in Makefile if using VPATH, because older makes don't understand it.1991-08-23 David J. MacKenzie <djm@apple-gunkies> * src/conflicts.c [_AIX]: #pragma alloca. * src/reduce.c: Don't define TRUE and FALSE if already defined.1991-08-12 Richard Stallman <rms@mole.gnu.ai.mit.edu> * Makefile.in: Add deps on system.h. (install): Add some deps.1991-08-02 David J. MacKenzie <djm@apple-gunkies> * Makefile.in (dist): Include texinfo.tex. * configure: Create config.status. Remove it and Makefile if interrupted while creating them.1991-08-01 David J. MacKenzie <djm@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.1991-07-31 Richard Stallman <rms@mole.gnu.ai.mit.edu> * src/print.c (print_grammar): Make output prettier. Break lines.1991-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu> * src/print.c (print_grammar): New function. (verbose): Call it instead of printing token names here.1991-07-22 Richard Stallman <rms@mole.gnu.ai.mit.edu> * src/vmsgetargs.c (spec_name_prefix, spec_file_prefix): Define variables.1991-07-10 David J. MacKenzie <djm@wookumz.gnu.ai.mit.edu> * configure, Makefile.in: $(INSTALLPROG) -> $(INSTALL), $(INSTALLTEXT) -> $(INSTALLDATA).1991-07-09 David J. MacKenzie <djm@wookumz.gnu.ai.mit.edu> * src/bison.simple: Don't include malloc.h if __TURBOC__.1991-07-06 David J. MacKenzie <djm@geech.gnu.ai.mit.edu> * Replace Makefile with configure and Makefile.in. Update README with current compilation instructions.1991-07-01 Richard Stallman <rms@mole.gnu.ai.mit.edu> * src/reader.c (reader): Make the output define YYBISON.1991-06-20 David J. MacKenzie <djm@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.1991-05-31 Richard Stallman <rms@mole.gnu.ai.mit.edu> * Makefile (bison.info): New target. (realclean): New target.1991-05-02 Richard Stallman <rms@mole.gnu.ai.mit.edu> * src/bison.simple: Use YYPRINT to print a token, if it's defined.1991-04-29 Richard Stallman <rms@mole.gnu.ai.mit.edu> * src/lalr.c (transpose): Rename R to R_arg. (initialize_LA): Avoid shadowing variable j. * src/reader.c (packsymbols): Avoid shadowing variable i. * src/files.c: Declare exit and perror. * src/machine.h: Define MAXSHORT and MINSHORT for the eta-10.1991-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu> * src/allocate.c (mallocate): Always allocate at least one byte.1991-03-19 Richard Stallman <rms@mole.gnu.ai.mit.edu> * Makefile (dist): Put alloca.c into distribution.1991-03-06 Richard Stallman <rms@mole.ai.mit.edu> * src/print.c (print_actions): Nicer output for final states.1991-02-21 Richard Stallman <rms@mole.ai.mit.edu> * src/output.c (output_rule_data): Break lines in yytline based on hpos.1991-02-07 Richard Stallman <rms@mole.ai.mit.edu> * src/bison.simple (yyparse): Move decl of yylsa before use.1991-01-15 Richard Stallman <rms@mole.ai.mit.edu> * Version 1.14. * src/output.c (output_rule_data): Handle NULL in tags[i].1991-01-11 Richard Stallman <rms@mole.ai.mit.edu> * src/bison.simple: On MSDOS, include malloc.h.1990-12-29 David J. MacKenzie <djm@wookumz.ai.mit.edu> * src/files.c: Use `mallocate' instead of `xmalloc' so no extra decl is needed.1990-12-19 Richard Stallman <rms@mole.ai.mit.edu> * src/reader.c (readgram): Alternate YYSTYPE defn for MSDOS. * src/files.c [MSDOS]: Declare xmalloc.1990-12-13 Richard Stallman <rms@mole.ai.mit.edu> * src/output.c (output_rule_data): Put all symbols in yytname. * src/bison.simple (yyparse): Delete extra fprintf arg when printing a result of reduction.1990-12-10 Richard Stallman <rms@mole.ai.mit.edu> * src/reader.c (packsymbols): Don't declare yylval if pure_parser.1990-10-30 Richard Stallman <rms@mole.ai.mit.edu> * Version 1.12. * src/LR0.c (augment_automaton): Fix bugs adding sp2 to chain of shifts.1990-10-23 Richard Stallman <rms@mole.ai.mit.edu> * src/bison.simple: Don't define alloca if already defined.1990-10-21 Richard Stallman <rms@mole.ai.mit.edu> * src/getopt.c: On VMS, use string.h. * src/main.c (main): Return type int.1990-09-10 Richard Stallman <rms@mole.ai.mit.edu> * src/output.c (output_headers): Output macro defs for -p. * src/reader.c (readgram): Handle consecutive actions. * src/getargs.c (getargs): Rename -a to -p. * src/files.c (openfiles): Change names used for -b.1990-08-27 Richard Stallman <rms@mole.ai.mit.edu> * src/reduce.c (reduce_grammar_tables): Don't map rlhs of disabled rule.1990-08-26 Richard Stallman <rms@mole.ai.mit.edu> * src/closure.c (print_firsts, print_fderives): Use BITISSET to test bits.1990-08-23 Richard Stallman <rms@mole.ai.mit.edu> * src/closure.c (print_firsts): vrowsize => varsetsize. (print_fderives): rrowsize => rulesetsize.1990-08-10 Richard Stallman <rms@sugar-bombs.ai.mit.edu> * src/bison.simple (alloca): Don't define if already defined. (__yy_bcopy): Alternate definition for C++.1990-07-11 David J. MacKenzie <djm@albert.ai.mit.edu> * src/getargs.c (getargs): Mention +yacc in usage message.1990-07-10 Richard Stallman <rms@sugar-bombs.ai.mit.edu> * src/reader.c (parse_token_decl, copy_action): Set value_components_used if appropriate. (readgram): Inhibit output of YYSTYPE definition in that case.1990-06-30 Richard Stallman <rms@sugar-bombs.ai.mit.edu> * 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.1990-06-28 Richard Stallman <rms@sugar-bombs.ai.mit.edu> * src/getargs.c (longopts): Add `yacc'.1990-06-28 David J. MacKenzie <djm@apple-gunkies> * src/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.1990-06-26 Richard Stallman <rms@sugar-bombs.ai.mit.edu> * src/output.c (output): Always call output_gram. * src/bison.simple (yyparse): Print rhs and lhs symbols of reduction rule.1990-06-21 David J. MacKenzie <djm@albert.ai.mit.edu> * 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".1990-06-20 David J. MacKenzie <djm@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. * 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.1990-06-19 Richard Stallman <rms@sugar-bombs.ai.mit.edu> * src/bison.simple: Fix a #line. * Makefile (INSTALL): New parameter. (install): Use that. (CFLAGS): Move definition to top.1990-06-17 Richard Stallman <rms@sugar-bombs.ai.mit.edu> * src/reader.c (parse_type_decl): Ignore semicolon. Remove excess % from error messages.1990-06-16 Richard Stallman <rms@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> * src/getargs.c: Declare spec_file_prefix * src/lex.c (lex): \a is '\007' instead of '007' * src/reader.c: include machine.h * src/files.h: Declare extern spec_name_prefix. Trivial patch from Thorsten Ohl <td12@ddagsi3.bitnet>1990-05-31 Richard Stallman <rms@sugar-bombs.ai.mit.edu> * Version 1.10. * 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.1990-05-30 Richard Stallman <rms@sugar-bombs.ai.mit.edu> * src/bison.simple (YYERROR): Jump to new label; don't print error message. (yyparse): Define label yyerrlab1.1990-05-16 Richard Stallman <rms@sugar-bombs.ai.mit.edu> * src/files.c (openfiles): Support -b. * src/getargs.c (getargs): Likewise. * src/reader.c (readgram): Error if too many symbols. * src/lex.c (lex): Handle \a. Make error msgs more reliable. * src/reader.c (read_declarations): Make error msgs more reliable.1990-05-13 Richard Stallman <rms@sugar-bombs.ai.mit.edu> * Version 1.09. * src/reduce.c (reduce_grammar_tables): Fix backward test.1990-05-12 Richard Stallman <rms@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'.1990-04-30 Richard Stallman <rms@sugar-bombs.ai.mit.edu> * 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.1990-04-23 Richard Stallman <rms@sugar-bombs.ai.mit.edu> * src/bison.simple (yyparse): Mention rule number as well as line number.1990-03-29 Richard Stallman <rms@sugar-bombs.ai.mit.edu> * src/bison.simple (__yy_bcopy): New function. (yyparse): Use that, not bcopy.1990-03-28 Richard Stallman <rms@sugar-bombs.ai.mit.edu> * src/print.c (print_actions): Don't alter i and j spuriously when errp==0.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -