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 1cc7e94..da20b24 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 dc08f83..d230859 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
                {