⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changelog

📁 Bison 是替代yacc的语法解析器. Bison能生成可以分析文本文件结构的程序.
💻
📖 第 1 页 / 共 3 页
字号:
	* 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.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -