Commit a2baccf6 by Per Bothner

* cpplib.c (collect_expansion): Don't escape '@' inside string.

From-SVN: r9744
parent 71f0026f
......@@ -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 '#':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment