aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-03-15 14:58:05 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-03-15 14:58:05 +0000
commit4061927e10148290f821a3bce1b20870bf01534a (patch)
tree90ada99fa34cb8aa61f36ccd10309a0676eb96de /gas
parent0b1cf022c8646c5065eed31d3b2889d7a679f88c (diff)
downloadgdb-4061927e10148290f821a3bce1b20870bf01534a.zip
gdb-4061927e10148290f821a3bce1b20870bf01534a.tar.gz
gdb-4061927e10148290f821a3bce1b20870bf01534a.tar.bz2
2007-03-15 Alexandre Oliva <aoliva@redhat.com>
PR gas/4184 * app.c (do_scrub_chars): PUT after setting states.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/app.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 1cc7e94..da20b24 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-15 Alexandre Oliva <aoliva@redhat.com>
+
+ PR gas/4184
+ * app.c (do_scrub_chars): PUT after setting states.
+
2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".
diff --git a/gas/app.c b/gas/app.c
index dc08f83..d230859 100644
--- a/gas/app.c
+++ b/gas/app.c
@@ -510,11 +510,10 @@ do_scrub_chars (int (*get) (char *, int), char *tostart, int tolen)
ch = GET ();
if (ch == '"')
{
- PUT (' ');
- PUT (ch);
quotechar = ch;
state = 5;
old_state = 3;
+ PUT (ch);
}
else
{