From 5ba6da2a9b45c6301fbbd3f71df6b76a20da4ffe Mon Sep 17 00:00:00 2001 From: bothner Date: Fri, 19 May 1995 18:19:56 +0000 Subject: [PATCH] * cpplib.c (collect_expansion): Don't escape '@' inside string. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9744 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cpplib.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 6517deb..989c64d 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -1310,7 +1310,10 @@ collect_expansion (pfile, buf, limit, nargs, arglist) break; case '@': - *exp_p++ = c; + /* An '@' in a string or character constant stands for itself, + and does not need to be escaped. */ + if (!expected_delimiter) + *exp_p++ = c; break; case '#': -- 2.7.4