aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r--gcc/c-lex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index f2e9d5d1629..a60fbb0937e 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -706,6 +706,7 @@ c_lex (value)
{
case CPP_N_INVALID:
/* cpplib has issued an error. */
+ *value = error_mark_node;
break;
case CPP_N_INTEGER: