mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 16:53:02 +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 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')
|
||||||
|
|||||||
Reference in New Issue
Block a user