aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1998-06-29 15:40:49 -0600
committerJeff Law <law@gcc.gnu.org>1998-06-29 15:40:49 -0600
commit9ec36da574f8272705a3ead59bbd289f23793429 (patch)
tree1ec056a51ca5f7af70d48889aab8bbf9c1f9d9aa /gcc/c-lex.c
parentad2c71b764c066471608c85695392c7fb49c7bc7 (diff)
downloadgcc-9ec36da574f8272705a3ead59bbd289f23793429.zip
gcc-9ec36da574f8272705a3ead59bbd289f23793429.tar.gz
gcc-9ec36da574f8272705a3ead59bbd289f23793429.tar.bz2
* Merge from gcc2 June 9, 1998 snapshot. See ChangeLog.13 for
details. From-SVN: r20808
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r--gcc/c-lex.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index adc70fa..c33ade5 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -544,6 +544,11 @@ check_newline ()
token = yylex ();
if (token != IDENTIFIER)
goto skipline;
+ if (nextchar >= 0)
+ c = nextchar, nextchar = -1;
+ else
+ c = GETC ();
+ ungetc (c, finput);
if (HANDLE_PRAGMA (finput, yylval.ttype))
{
c = GETC ();