X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/88510f9c07fd43c1bb35ee0d727aaa8b6d892d2d..022fb98e856ed59afec5c8ee4b1b0e6ee56a8504:/ChangeLog diff --git a/ChangeLog b/ChangeLog index 04346a98..e454950e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,31 @@ +2002-11-30 Paul Eggert + + Type clashes now generate warnings, not errors, since it + appears that POSIX may allow some grammars with type clashes. + * src/reader.c (grammar_current_rule_check): Warn about + type clashes instead of complaining. + * tests/input.at (Type Clashes): Expect warnings, not complaints. + + Add Yacc library, since POSIX requires it. + * doc/bison.texinfo (Yacc Library): New node. Regenerate top menu. + * lib/Makefile.am (lib_LIBRARIES, liby_a_SOURCES): New macros. + * lib/main.c, lib/yyerror.c: New files. + + gram_error can be static; it need not be extern. + * src/reader.h (gram_error): Remove decl. + * src/parse-gram.y (gram_error): Now static. Add static decl. + (print_token_value): Omit parameter names from forward decl, + for consistency. + 2002-11-29 Paul Eggert + * doc/bison.texinfo: Emphasize that yylex and yyerror must + be declared before being used. E.g., one should typically + declare them in the prologue. Use GNU coding style in examples. + Put "const" consistently after the type it modifies. Mention + that C99 supports "inline". Mention that yyerror traditionally + returns "int". + %parse-param and %lex-param now take just one argument, the declaration; the argument name is deduced from the declaration.