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
This commit is contained in:
Mark Mitchell 2000-04-18 18:52:16 +00:00 committed by Mark Mitchell
parent cd89c29664
commit cbccf5e803
3 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-04-18 Mark Mitchell <mark@codesourcery.com>
* cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
mark is active.
Tue Apr 18 14:16:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* c-decl.c (mark_binding_level): Use 'for' instead of `while'.

View File

@ -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;
}

View File

@ -0,0 +1,7 @@
// Build don't link:
#define x \
y
int; // ERROR - invalid declaration