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:
parent
f1e182826e
commit
8975416cfb
2 changed files with 7 additions and 3 deletions
|
@ -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>
|
Wed Aug 20 17:25:08 1997 Jason Merrill <jason@yorick.cygnus.com>
|
||||||
|
|
||||||
* call.c (is_subseq): Don't try to be clever.
|
* call.c (is_subseq): Don't try to be clever.
|
||||||
|
|
|
@ -3141,7 +3141,7 @@ real_yylex ()
|
||||||
p = extend_token_buffer (p);
|
p = extend_token_buffer (p);
|
||||||
|
|
||||||
*p++ = c;
|
*p++ = c;
|
||||||
c = getc (finput);
|
c = getch ();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (linemode && c == '\n')
|
if (linemode && c == '\n')
|
||||||
|
@ -3652,7 +3652,7 @@ real_yylex ()
|
||||||
p = extend_token_buffer (p);
|
p = extend_token_buffer (p);
|
||||||
*p++ = c;
|
*p++ = c;
|
||||||
*p = 0;
|
*p = 0;
|
||||||
c = getc (finput);
|
c = getch ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The second argument, machine_mode, of REAL_VALUE_ATOF
|
/* The second argument, machine_mode, of REAL_VALUE_ATOF
|
||||||
|
@ -3760,7 +3760,7 @@ real_yylex ()
|
||||||
if (p >= token_buffer + maxtoken - 3)
|
if (p >= token_buffer + maxtoken - 3)
|
||||||
p = extend_token_buffer (p);
|
p = extend_token_buffer (p);
|
||||||
*p++ = c;
|
*p++ = c;
|
||||||
c = getc (finput);
|
c = getch ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If the constant is not long long and it won't fit in an
|
/* If the constant is not long long and it won't fit in an
|
||||||
|
|
Loading…
Add table
Reference in a new issue