* macro.c (macro_expand_body): Don't prepend macro number with zeroes.
authorCatherine Moore <clm@redhat.com>
Mon, 1 May 2000 14:01:06 +0000 (14:01 +0000)
committerCatherine Moore <clm@redhat.com>
Mon, 1 May 2000 14:01:06 +0000 (14:01 +0000)
gas/ChangeLog
gas/macro.c

index 4b734571d7ea108f29389323d539b7c0cae95c44..d8a9dcd17f3bc4de84ee75b2a712b1ad1f103cbd 100644 (file)
@@ -1,3 +1,7 @@
+Mon May  1 08:54:23 2000  Catherine Moore  <clm@cygnus.com>
+
+       * macro.c (macro_expand_body): Don't prepend macro number with zeroes.
+
 Mon May  1 14:19:39 2000  Denis Chertykov  <denisc@overta.ru>
 
        * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
index 12a757e22389c71ce0953587db18e57bfc9d0c86..df01bc5ca0c43d5015ff1a8ffffa24227aea294a 100644 (file)
@@ -700,7 +700,7 @@ macro_expand_body (in, out, formals, formal_hash, comment_char, locals)
 
              char buffer[10];
              src++;
-             sprintf (buffer, "%05d", macro_number);
+             sprintf (buffer, "%d", macro_number);
              sb_add_string (out, buffer);
            }
          else if (in->ptr[src] == '&')
This page took 0.0323 seconds and 4 git commands to generate.