(main): Return FAILURE as a value.

(printable_version): Declare arg as int, not char.
This commit is contained in:
Richard M. Stallman
1997-01-02 06:59:56 +00:00
parent 6a5705cfe8
commit 42f95d63c2

View File

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