aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpptrad.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2002-07-02 22:33:38 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-07-02 22:33:38 +0000
commit0879540b3daea61f92dfc224046f36fbe837785c (patch)
tree7ab539a90ee483860f9ad0ca078bf615173ee548 /gcc/cpptrad.c
parentba57a9c052405d4a7912498bdb00a8be346a514e (diff)
downloadgcc-0879540b3daea61f92dfc224046f36fbe837785c.zip
gcc-0879540b3daea61f92dfc224046f36fbe837785c.tar.gz
gcc-0879540b3daea61f92dfc224046f36fbe837785c.tar.bz2
cpptrad.c: Update comment.
* 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. From-SVN: r55196
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 4ae1e9c..915dceb 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;