]> git.saurik.com Git - bison.git/blobdiff - src/reader.c
(AC_PROG_LEX): Use instead of AM_PROG_LEX.
[bison.git] / src / reader.c
index c965fa8a10b88d15663c41065c2d3f7ebbcbf1a7..928a5408046d635d99fde1ef1ccf9f9a47fd3f0c 100644 (file)
@@ -422,7 +422,7 @@ packgram (void)
       rules[ruleno].lhs = p->sym;
       rules[ruleno].rhs = ritem + itemno;
       rules[ruleno].location = p->location;
-      rules[ruleno].useful = TRUE;
+      rules[ruleno].useful = true;
       rules[ruleno].action = p->action;
       rules[ruleno].action_location = p->action_location;
       rules[ruleno].dprec = p->dprec;
@@ -507,8 +507,8 @@ reader (void)
 
   /* If something went wrong during the parsing, don't try to
      continue.  */
-  if (complain_message_count)
-    exit (1);
+  if (complaint_issued)
+    exit (EXIT_FAILURE);
 
   /* Grammar has been read.  Do some checking */
   if (nrules == 0)