summaryrefslogtreecommitdiffstats
path: root/gcc/cpptrad.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-02 22:33:38 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-02 22:33:38 +0000
commite3905c417c729df1d42b6e94acf45effa3044127 (patch)
tree7ab539a90ee483860f9ad0ca078bf615173ee548 /gcc/cpptrad.c
parented9cd839cd3c91ce9d733716865bf9cb471faaec (diff)
downloadppe42-gcc-e3905c417c729df1d42b6e94acf45effa3044127.tar.gz
ppe42-gcc-e3905c417c729df1d42b6e94acf45effa3044127.zip
* cpptrad.c: Update comment.
testsuite: * gcc.dg/cpp/trad/directive.c: Add test. * gcc.dg/cpp/trad/macroargs.c: Add test. * gcc.dg/cpp/trad/recurse-3.c: Add tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55196 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpptrad.c')
-rw-r--r--gcc/cpptrad.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cpptrad.c b/gcc/cpptrad.c
index 4ae1e9c7cb0..915dceb24f7 100644
--- a/gcc/cpptrad.c
+++ b/gcc/cpptrad.c
@@ -491,7 +491,8 @@ scan_out_logical_line (pfile, macro)
if ((lex_state == ls_fun_open || lex_state == ls_fun_close)
&& !pfile->state.in_directive)
{
- /* Newlines in arguments become a space. */
+ /* Newlines in arguments become a space, but we don't
+ clear any in-progress quote. */
if (lex_state == ls_fun_close)
out[-1] = ' ';
continue;
OpenPOWER on IntegriCloud