aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppexp.c')
-rw-r--r--gcc/cppexp.c3
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;