* app.c (do_scrub_chars): Do not UNGET an EOF value.
This commit is contained in:
parent
0f0a5e5880
commit
83bd74026c
|
@ -1,3 +1,7 @@
|
|||
2008-06-04 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* app.c (do_scrub_chars): Do not UNGET an EOF value.
|
||||
|
||||
2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/tc-i386.c (set_sse_check): New.
|
||||
|
|
|
@ -832,7 +832,8 @@ do_scrub_chars (int (*get) (char *, int), char *tostart, int tolen)
|
|||
/* Only keep this white if there's no white *after* the
|
||||
colon. */
|
||||
ch2 = GET ();
|
||||
UNGET (ch2);
|
||||
if (ch2 != EOF)
|
||||
UNGET (ch2);
|
||||
if (!IS_WHITESPACE (ch2))
|
||||
{
|
||||
state = 9;
|
||||
|
@ -1116,7 +1117,8 @@ do_scrub_chars (int (*get) (char *, int), char *tostart, int tolen)
|
|||
#ifdef DOUBLEBAR_PARALLEL
|
||||
case LEX_IS_DOUBLEBAR_1ST:
|
||||
ch2 = GET ();
|
||||
UNGET (ch2);
|
||||
if (ch2 != EOF)
|
||||
UNGET (ch2);
|
||||
if (ch2 != '|')
|
||||
goto de_fault;
|
||||
|
||||
|
|
Loading…
Reference in New Issue