From: Brendan Kehoe Date: Wed, 22 Jan 1997 21:30:20 +0000 (-0500) Subject: i960.c (process_pragma): Call ungetc on the last character that was read by the while... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69ce75dc0debae1aa0f133ae1739b3e9b628b9b4;p=gcc.git 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 --- diff --git a/gcc/config/i960/i960.c b/gcc/config/i960/i960.c index 170d8cdcebb..70e5f208ecc 100644 --- a/gcc/config/i960/i960.c +++ b/gcc/config/i960/i960.c @@ -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) {