Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
6026c19c
Commit
6026c19c
authored
Nov 13, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use FATAL_EXIT_CODE rather than hardcoded 1 for fatal error.
From-SVN: r6079
parent
f7d4a1c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
gcc/bi-lexer.c
+2
-2
gcc/bi-parser.y
+1
-1
No files found.
gcc/bi-lexer.c
View file @
6026c19c
...
...
@@ -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
;
...
...
gcc/bi-parser.y
View file @
6026c19c
...
...
@@ -164,5 +164,5 @@ yyerror (s)
char *s;
{
fprintf (stderr, "syntax error in input\n");
exit (
1
);
exit (
FATAL_EXIT_CODE
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment