aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r--gcc/cpplib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index 9ffa4a1..43a3bfa 100644
--- a/gcc/cpplib.c
+++ b/gcc/cpplib.c
@@ -2447,7 +2447,6 @@ cpp_get_token (pfile)
case '\"':
case '\'':
- string:
parse_string (pfile, c);
pfile->only_seen_white = 0;
return c == '\'' ? CPP_CHAR : CPP_STRING;
@@ -2600,7 +2599,9 @@ cpp_get_token (pfile)
{
CPP_PUTC (pfile, c);
c = GETC ();
- goto string;
+ parse_string (pfile, c);
+ pfile->only_seen_white = 0;
+ return c == '\'' ? CPP_WCHAR : CPP_WSTRING;
}
goto letter;