diff options
author | Jakub Jelinek <jakub@redhat.com> | 2003-11-24 09:24:39 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2003-11-24 09:24:39 +0000 |
commit | 70b911ad67b47c978693f4c9e12fb2b0c75a6fea (patch) | |
tree | 06abf138cc6d081af4169ccbf50ee23f3747fab2 | |
parent | b1f1fa963c3c1e6deb8e8cf0651ce993e2b94a3c (diff) | |
download | gdb-70b911ad67b47c978693f4c9e12fb2b0c75a6fea.zip gdb-70b911ad67b47c978693f4c9e12fb2b0c75a6fea.tar.gz 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.
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/app.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 70d4121..7a713e7 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2003-11-24 Jakub Jelinek <jakub@redhat.com> + + * 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 <kazu@cs.umass.edu> * hash.c: Convert to ISO-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); |