From 69ce75dc0debae1aa0f133ae1739b3e9b628b9b4 Mon Sep 17 00:00:00 2001 From: Brendan Kehoe Date: Wed, 22 Jan 1997 16:30:20 -0500 Subject: [PATCH] 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 --- gcc/config/i960/i960.c | 5 +++++ 1 file changed, 5 insertions(+) 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) { -- 2.30.2