diff options
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index b0008af..05d3d87 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -1328,7 +1328,7 @@ _cpp_parse_assertion (pfile, answerp) /* Prefix '#' to get it out of macro namespace. */ sym[0] = '#'; memcpy (sym + 1, predicate->val.name.text, len); - return cpp_lookup (pfile, sym, len); + return cpp_lookup (pfile, sym, len + 1); error: FREE_ANSWER (answer); |