diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 1999-04-14 09:40:56 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 1999-04-14 09:40:56 +0000 |
commit | 34ca9541e706330f52d63cb1fde4adaf65c1775e (patch) | |
tree | 5c0f7e812107a4a1edffd2adab583d43d11252a1 /gcc/cppexp.c | |
parent | 42ebbb0a1d80d913a908b73aecf718e98f08cac4 (diff) | |
download | gcc-34ca9541e706330f52d63cb1fde4adaf65c1775e.zip gcc-34ca9541e706330f52d63cb1fde4adaf65c1775e.tar.gz gcc-34ca9541e706330f52d63cb1fde4adaf65c1775e.tar.bz2 |
cpperror.c, [...]: Never call abort.
1999-04-14 12:37 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* cpperror.c, cppexp.c, cpplib.c: Never call abort.
* cpphash.c: Only call abort when we detect corruption of the
malloc arena.
* cppmain.c: Don't define fatal or fancy_abort.
From-SVN: r26442
Diffstat (limited to 'gcc/cppexp.c')
-rw-r--r-- | gcc/cppexp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c index 24e7c231..aef6d19 100644 --- a/gcc/cppexp.c +++ b/gcc/cppexp.c @@ -721,7 +721,8 @@ cpp_parse_expr (pfile) switch (op.op) { case NAME: - abort (); + cpp_fatal (pfile, "internal error: cpp_lex returns a NAME"); + goto syntax_error; case INT: case CHAR: top->value = op.value; top->unsignedp = op.unsignedp; |