aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-11-13 09:00:21 +0000
committerRichard Stallman <rms@gnu.org>1993-11-13 09:00:21 +0000
commit6026c19c421f68b112c57494c704749c4a94de62 (patch)
treeed92d3498c3ddc3b88293c7a001cb8f4ecce1760 /gcc
parentf7d4a1c989525862b819f4b3c13e67dfda147c3b (diff)
downloadgcc-6026c19c421f68b112c57494c704749c4a94de62.zip
gcc-6026c19c421f68b112c57494c704749c4a94de62.tar.gz
gcc-6026c19c421f68b112c57494c704749c4a94de62.tar.bz2
Use FATAL_EXIT_CODE rather than hardcoded 1 for fatal error.
From-SVN: r6079
Diffstat (limited to 'gcc')
-rw-r--r--gcc/bi-lexer.c4
-rw-r--r--gcc/bi-parser.y2
2 files changed, 3 insertions, 3 deletions
diff --git a/gcc/bi-lexer.c b/gcc/bi-lexer.c
index d631fb6..0766b5f 100644
--- a/gcc/bi-lexer.c
+++ b/gcc/bi-lexer.c
@@ -38,7 +38,7 @@ xmalloc (nbytes)
if (!tmp)
{
fprintf (stderr, "can't allocate %d bytes (out of virtual memory)\n", nbytes);
- exit (1);
+ exit (FATAL_EXIT_CODE);
}
return tmp;
@@ -60,7 +60,7 @@ xrealloc (block, nbytes)
if (!tmp)
{
fprintf (stderr, "can't reallocate %d bytes (out of virtual memory)\n", nbytes);
- exit (1);
+ exit (FATAL_EXIT_CODE);
}
return tmp;
diff --git a/gcc/bi-parser.y b/gcc/bi-parser.y
index 5e5df8f..5b3be52 100644
--- a/gcc/bi-parser.y
+++ b/gcc/bi-parser.y
@@ -164,5 +164,5 @@ yyerror (s)
char *s;
{
fprintf (stderr, "syntax error in input\n");
- exit (1);
+ exit (FATAL_EXIT_CODE);
}