aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplex.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2000-04-18 18:52:16 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-04-18 18:52:16 +0000
commitcbccf5e80325d6d1289675160e858f2d89662a21 (patch)
tree95c9d554751159dc13f0e6b7122735d8425be229 /gcc/cpplex.c
parentcd89c2966486a807d1c9b5ff6ed6403bbf61e320 (diff)
downloadgcc-cbccf5e80325d6d1289675160e858f2d89662a21.zip
gcc-cbccf5e80325d6d1289675160e858f2d89662a21.tar.gz
gcc-cbccf5e80325d6d1289675160e858f2d89662a21.tar.bz2
cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the mark is active.
* cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the mark is active. From-SVN: r33228
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r--gcc/cpplex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c
index 1340b9c..06bee99 100644
--- a/gcc/cpplex.c
+++ b/gcc/cpplex.c
@@ -1218,7 +1218,8 @@ _cpp_lex_token (pfile)
else
{
/* Backslash newline is ignored. */
- CPP_BUMP_LINE (pfile);
+ if (!ACTIVE_MARK_P (pfile))
+ CPP_BUMP_LINE (pfile);
goto get_next;
}