]> git.saurik.com Git - bison.git/commitdiff
* data/glr.c (YYASSERT): New macro.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 26 Jul 2003 14:14:15 +0000 (14:14 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 26 Jul 2003 14:14:15 +0000 (14:14 +0000)
ChangeLog

index e5d3f62a591110da2eccdb675654ae689b7cf808..ab578c2641a276a299f9b852aaed14b7ace64f6c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-07-26  Paul Eggert  <eggert@twinsun.com>
+
+       * data/glr.c (YYASSERT): New macro.
+       (yyfillin, yydoAction, yyglrReduce, yysplitStack,
+       yyresolveStates, yyprocessOneStack):
+       Use `YYASSERT (FOO);' rather than `if (! (FOO)) abort ();'.
+       Derived from a suggestion by Frank Heckenbach.
+       
 2003-07-25  Paul Eggert  <eggert@twinsun.com>
 
        * data/glr.c (yyglrReduce): Don't use C89 string concatenation,