aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r--gcc/cpplex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c
index 11a88e1..182ab25 100644
--- a/gcc/cpplex.c
+++ b/gcc/cpplex.c
@@ -532,7 +532,7 @@ _cpp_scan_line (pfile, list)
if (list->tokens_used >= list->tokens_cap)
expand_token_space (list);
if (list->name_used + len >= list->name_cap)
- auto_expand_name_space (list);
+ expand_name_space (list, list->name_used + len + 1 - list->name_cap);
if (type == CPP_MACRO)
type = CPP_NAME;