2007-03-15 Alexandre Oliva <aoliva@redhat.com>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 15 Mar 2007 14:58:05 +0000 (14:58 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 15 Mar 2007 14:58:05 +0000 (14:58 +0000)
PR gas/4184
* app.c (do_scrub_chars): PUT after setting states.

gas/ChangeLog
gas/app.c

index 1cc7e94a01e440d3a8c373afc1854f3ddf278089..da20b24033e34221dc02344f52949d7cf2d54087 100644 (file)
@@ -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".
index dc08f8352355f879a121c90ceacc5498be56c631..d2308596dc4e1c227a88fd83053957c7c97828c2 100644 (file)
--- 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
                {