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
35e93fb4
Commit
35e93fb4
authored
Jun 07, 1996
by
Per Bothner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fix-header.c (read_scan_file): Use CPP_FATAL_ERRORS.
From-SVN: r12210
parent
6c8e6d0c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
gcc/fix-header.c
+6
-2
No files found.
gcc/fix-header.c
View file @
35e93fb4
...
@@ -84,6 +84,10 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
...
@@ -84,6 +84,10 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
extern
void
cpp_fatal
();
extern
void
cpp_fatal
();
#if !__STDC__ && !defined(const)
#define const
/* nothing */
#endif
sstring
buf
;
sstring
buf
;
int
verbose
=
0
;
int
verbose
=
0
;
...
@@ -602,9 +606,9 @@ read_scan_file (in_fname, argc, argv)
...
@@ -602,9 +606,9 @@ read_scan_file (in_fname, argc, argv)
scan_in
.
data
=
&
scan_options
;
scan_in
.
data
=
&
scan_options
;
cpp_options_init
(
&
scan_options
);
cpp_options_init
(
&
scan_options
);
i
=
cpp_handle_options
(
&
scan_in
,
argc
,
argv
);
i
=
cpp_handle_options
(
&
scan_in
,
argc
,
argv
);
if
(
i
<
argc
&&
scan_in
.
errors
<
CPP_FATAL_LIMIT
)
if
(
i
<
argc
&&
!
CPP_FATAL_ERRORS
(
&
scan_in
)
)
cpp_fatal
(
&
scan_in
,
"Invalid option `%s'"
,
argv
[
i
]);
cpp_fatal
(
&
scan_in
,
"Invalid option `%s'"
,
argv
[
i
]);
if
(
scan_in
.
errors
>=
CPP_FATAL_LIMIT
)
if
(
CPP_FATAL_ERRORS
(
&
scan_in
)
)
exit
(
FATAL_EXIT_CODE
);
exit
(
FATAL_EXIT_CODE
);
if
(
!
cpp_start_read
(
&
scan_in
,
in_fname
))
if
(
!
cpp_start_read
(
&
scan_in
,
in_fname
))
...
...
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