]> git.saurik.com Git - bison.git/commitdiff
(main): Return FAILURE as a value.
authorRichard M. Stallman <rms@gnu.org>
Thu, 2 Jan 1997 06:59:56 +0000 (06:59 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 2 Jan 1997 06:59:56 +0000 (06:59 +0000)
(printable_version): Declare arg as int, not char.

src/main.c

index d14b6c460ff1b99a60998024e6ebc3ce1d4d229d..3ef6683ecaf58d0478efeb3a24deb9ec32c768db 100644 (file)
@@ -90,6 +90,7 @@ main(argc, argv)
   /* output the tables and the parser to ftable.  In file output. */
   output();
   done(failure);
+  return failure;
 }
 \f
 /* functions to report errors which prevent a parser from being generated */
@@ -100,7 +101,7 @@ main(argc, argv)
 
 char *
 printable_version(c)
-     char c;
+     int c;
 {
   static char buf[10];
   if (c < ' ' || c >= '\177')