Commit 69ce75dc by Brendan Kehoe

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
parent 888302db
...@@ -124,6 +124,11 @@ process_pragma (finput, t) ...@@ -124,6 +124,11 @@ process_pragma (finput, t)
} }
*s = '\0'; *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); align = atoi (buf);
switch (align) switch (align)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment