]> git.saurik.com Git - bison.git/commitdiff
Type clashes now generate warnings, not errors, since it
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 30 Nov 2002 09:52:42 +0000 (09:52 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 30 Nov 2002 09:52:42 +0000 (09:52 +0000)
appears that POSIX may allow some grammars with type clashes.

ChangeLog

index d252951207f34e1c04e2384018961d143acb136a..e454950e7c16e2729b5f54e26492a55487fd1868 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2002-11-30  Paul Eggert  <eggert@twinsun.com>
 
+       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.