From 70b911ad67b47c978693f4c9e12fb2b0c75a6fea Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 24 Nov 2003 09:24:39 +0000 Subject: [PATCH] * app.c (do_scrub_chars): Add PUT (ch) and ch = GET () when transitioning from states 14 or 15 to 0 or 1. --- gas/ChangeLog | 5 +++++ gas/app.c | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 70d4121ee2c..7a713e7bb16 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2003-11-24 Jakub Jelinek + + * app.c (do_scrub_chars): Add PUT (ch) and ch = GET () + when transitioning from states 14 or 15 to 0 or 1. + 2003-11-23 Kazu Hirata * hash.c: Convert to ISO-C. diff --git a/gas/app.c b/gas/app.c index 1524947dbd5..1dbc49a8cd8 100644 --- a/gas/app.c +++ b/gas/app.c @@ -684,7 +684,11 @@ do_scrub_chars (int (*get) (char *, int), char *tostart, int tolen) else if (state == 14 || state == 15) { if (ch == ')') - state -= 14; + { + state -= 14; + PUT (ch); + ch = GET (); + } else { PUT (ch); -- 2.30.2