diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-24 20:03:57 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-24 20:03:57 +0000 |
commit | b1280514cabcf5e782a078e4034ca1af6ea48ee8 (patch) | |
tree | fa1856ed3c0f3b53ff1a4cafc1fbd79f60892a66 /gcc/cppmacro.c | |
parent | 0dd62afedaced59bde05548d58f86c74efce1130 (diff) | |
download | gcc-b1280514cabcf5e782a078e4034ca1af6ea48ee8.tar.gz |
* cpplex.c (cpp_token_len): Tighten up.
(cpp_token_as_text): Need extra byte now.
* cpplib.c (glue_header_name): Need extra 2 bytes.
* cppmacro.c (cpp_macro_definition): Need extra byte.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66049 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r-- | gcc/cppmacro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c index b0b10ae92d7..f77f6b36837 100644 --- a/gcc/cppmacro.c +++ b/gcc/cppmacro.c @@ -1715,7 +1715,7 @@ cpp_macro_definition (pfile, node) if (token->type == CPP_MACRO_ARG) len += NODE_LEN (macro->params[token->val.arg_no - 1]); else - len += cpp_token_len (token); /* Includes room for ' '. */ + len += cpp_token_len (token) + 1; /* Includes room for ' '. */ if (token->flags & STRINGIFY_ARG) len++; /* "#" */ if (token->flags & PASTE_LEFT) |