aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppexp.c')
-rw-r--r--gcc/cppexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppexp.c b/gcc/cppexp.c
index 50a1351..3179099 100644
--- a/gcc/cppexp.c
+++ b/gcc/cppexp.c
@@ -274,7 +274,7 @@ parse_charconst (pfile, start, end)
while (ptr < end)
{
c = *ptr++;
- if (c == '\'' || c == '\0')
+ if (c == '\'')
break;
else if (c == '\\')
{