projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71f0026
)
* cpplib.c (collect_expansion): Don't escape '@' inside string.
author
Per Bothner
<bothner@gcc.gnu.org>
Fri, 19 May 1995 18:19:56 +0000
(11:19 -0700)
committer
Per Bothner
<bothner@gcc.gnu.org>
Fri, 19 May 1995 18:19:56 +0000
(11:19 -0700)
From-SVN: r9744
gcc/cpplib.c
patch
|
blob
|
history
diff --git
a/gcc/cpplib.c
b/gcc/cpplib.c
index
6517deb
..
989c64d
100644
(file)
--- 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 '#':