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 | 90bf68da4a5f1032ea04bfe5bfccb874ae897825 (patch) | |
tree | 06697ad3693dbc271509d3ccf40bf3913b1fd96b /gas | |
parent | 71b6545fa9a8ceec439b018bea811c2979476448 (diff) | |
download | binutils-redhat-90bf68da4a5f1032ea04bfe5bfccb874ae897825.tar.gz |
* 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')
-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 70d4121ee2..7a713e7bb1 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); |