diff --git a/src/main.c b/src/main.c index d14b6c46..3ef6683e 100644 --- a/src/main.c +++ b/src/main.c @@ -90,6 +90,7 @@ main(argc, argv) /* output the tables and the parser to ftable. In file output. */ output(); done(failure); + return failure; } /* 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')