Skip to content

Commit

Permalink
lex.c (real_yylex): Don't use getc directly.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
J"orn Rennecke authored and Jason Merrill committed Aug 21, 1997
1 parent f1e1828 commit 8975416
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions gcc/cp/ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 3 additions & 3 deletions gcc/cp/lex.c
Original file line number Diff line number Diff line change
Expand Up @@ -3141,7 +3141,7 @@ real_yylex ()
p = extend_token_buffer (p);

*p++ = c;
c = getc (finput);
c = getch ();
}

if (linemode && c == '\n')
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8975416

Please sign in to comment.