mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 01:40:39 +08:00
i960.c (process_pragma): Call ungetc on the last character that was read by the while loop...
* i960/i960.c (process_pragma): Call ungetc on the last character that was read by the while loop, to make sure the parser sees it. From-SVN: r13546
This commit is contained in:
parent
888302dbe4
commit
69ce75dc0d
@ -124,6 +124,11 @@ process_pragma (finput, t)
|
||||
}
|
||||
*s = '\0';
|
||||
|
||||
/* We had to read a non-numerical character to get out of the
|
||||
while loop---often a newline. So, we have to put it back to
|
||||
make sure we continue to parse everything properly. */
|
||||
ungetc (c, finput);
|
||||
|
||||
align = atoi (buf);
|
||||
switch (align)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user