aboutsummaryrefslogtreecommitdiff
path: root/gcc/scan-decls.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/scan-decls.c')
-rw-r--r--gcc/scan-decls.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/gcc/scan-decls.c b/gcc/scan-decls.c
index 336ced7..2fe570e 100644
--- a/gcc/scan-decls.c
+++ b/gcc/scan-decls.c
@@ -111,13 +111,10 @@ scan_decls (pfile, argc, argv)
brace_nesting++;
goto new_statement;
}
+
if (token.type == CPP_EOF)
- {
- if (cpp_pop_buffer (pfile) == 0)
- return 0;
+ return 0;
- goto new_statement;
- }
if (token.type == CPP_SEMICOLON)
goto new_statement;
if (token.type != CPP_NAME)
@@ -148,9 +145,7 @@ scan_decls (pfile, argc, argv)
goto new_statement;
case CPP_EOF:
- if (cpp_pop_buffer (pfile) == 0)
- return 0;
- break;
+ return 0;
case CPP_OPEN_PAREN:
/* Looks like this is the start of a formal parameter list. */