projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1f1fa9
)
* app.c (do_scrub_chars): Add PUT (ch) and ch = GET ()
author
Jakub Jelinek
<jakub@redhat.com>
Mon, 24 Nov 2003 09:24:39 +0000
(09:24 +0000)
committer
Jakub Jelinek
<jakub@redhat.com>
Mon, 24 Nov 2003 09:24:39 +0000
(09:24 +0000)
when transitioning from states 14 or 15 to 0 or 1.
gas/ChangeLog
patch
|
blob
|
history
gas/app.c
patch
|
blob
|
history
diff --git
a/gas/ChangeLog
b/gas/ChangeLog
index 70d4121ee2cd10657d19346a95a31723a3f44c85..7a713e7bb16e230de47213e272c7efa2b67c5f3c 100644
(file)
--- 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.
diff --git
a/gas/app.c
b/gas/app.c
index 1524947dbd540472ecd167c8e06a6218cb2de8cf..1dbc49a8cd894f79667966a7ce47314874d6e914 100644
(file)
--- 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);