lex.c (real_yylex): Don't use getc directly.

Thu Aug 21 22:25:46 1997  J"orn Rennecke <amylaar@cygnus.co.uk>

	* lex.c (real_yylex): Don't use getc directly.

From-SVN: r14876
This commit is contained in:
J"orn Rennecke 1997-08-21 22:34:19 +00:00 committed by Jason Merrill
parent f1e182826e
commit 8975416cfb
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
Thu Aug 21 22:25:46 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
* lex.c (real_yylex): Don't use getc directly.
Wed Aug 20 17:25:08 1997 Jason Merrill <jason@yorick.cygnus.com>
* call.c (is_subseq): Don't try to be clever.

View File

@ -3141,7 +3141,7 @@ real_yylex ()
p = extend_token_buffer (p);
*p++ = c;
c = getc (finput);
c = getch ();
}
if (linemode && c == '\n')
@ -3652,7 +3652,7 @@ real_yylex ()
p = extend_token_buffer (p);
*p++ = c;
*p = 0;
c = getc (finput);
c = getch ();
}
/* The second argument, machine_mode, of REAL_VALUE_ATOF
@ -3760,7 +3760,7 @@ real_yylex ()
if (p >= token_buffer + maxtoken - 3)
p = extend_token_buffer (p);
*p++ = c;
c = getc (finput);
c = getch ();
}
/* If the constant is not long long and it won't fit in an