diff options
author | Zack Weinberg <zackw@stanford.edu> | 2001-05-11 17:03:02 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2001-05-11 17:03:02 +0000 |
commit | fecd6201e6051a32f6645dcb3138526a2e6b0100 (patch) | |
tree | e90d5520b9c1823e81bce2ff5b7c937da9575bc8 /gcc/scan-decls.c | |
parent | e7288e1888fc8dba0c8aa8376c30014e1012f6ad (diff) | |
download | gcc-fecd6201e6051a32f6645dcb3138526a2e6b0100.tar.gz |
Makefile.in: Exterminate all references to assert.h.
* Makefile.in: Exterminate all references to assert.h.
* cross-make: Likewise.
* assert.h: Delete.
* configure.in: Correct commentary.
* configure: Regenerate.
* po/POTFILES.in: Remove assert.h.
* libgcc-std.ver, libgcc2.c, libgcc2.h, sys-protos.h:
Remove __eprintf.
* config/t-freebsd, config/t-linux, config/t-linux-aout,
config/t-netbsd, config/t-rtems, config/x-linux,
config/i386/t-beos, config/mcore/t-mcore, config/mcore/t-mcore-pe:
No need to override INSTALL_ASSERT_H.
* fixinc/fixinc.dgux, fixinc/fixinc.interix, fixinc/fixinc.ptx,
fixinc/fixinc.svr4, fixinc/fixinc.winnt, fixinc/fixinc.wrap,
fixinc/fixincl.sh: Don't install assert.h into objdir/include.
From-SVN: r41972
Diffstat (limited to 'gcc/scan-decls.c')
-rw-r--r-- | gcc/scan-decls.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/scan-decls.c b/gcc/scan-decls.c index 55f10abb8d6..336ced71889 100644 --- a/gcc/scan-decls.c +++ b/gcc/scan-decls.c @@ -187,8 +187,12 @@ scan_decls (pfile, argc, argv) skip_to_closing_brace (pfile); goto new_statement; } - if (token.type == CPP_SEMICOLON) - goto new_statement; + + /* skip a possible __attribute__ or throw expression after the + parameter list */ + while (token.type != CPP_SEMICOLON && token.type != CPP_EOF) + cpp_get_token (pfile, &token); + goto new_statement; } break; case CPP_NAME: |