mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
(main): Return FAILURE as a value.
(printable_version): Declare arg as int, not char.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user