aboutsummaryrefslogtreecommitdiff
path: root/gas/app.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2003-11-24 09:24:39 +0000
committerJakub Jelinek <jakub@redhat.com>2003-11-24 09:24:39 +0000
commit70b911ad67b47c978693f4c9e12fb2b0c75a6fea (patch)
tree06abf138cc6d081af4169ccbf50ee23f3747fab2 /gas/app.c
parentb1f1fa963c3c1e6deb8e8cf0651ce993e2b94a3c (diff)
downloadfsf-binutils-gdb-70b911ad67b47c978693f4c9e12fb2b0c75a6fea.zip
fsf-binutils-gdb-70b911ad67b47c978693f4c9e12fb2b0c75a6fea.tar.gz
fsf-binutils-gdb-70b911ad67b47c978693f4c9e12fb2b0c75a6fea.tar.bz2
* app.c (do_scrub_chars): Add PUT (ch) and ch = GET ()
when transitioning from states 14 or 15 to 0 or 1.
Diffstat (limited to 'gas/app.c')
-rw-r--r--gas/app.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gas/app.c b/gas/app.c
index 1524947..1dbc49a 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);