* macro.c (macro_expand_body): Don't prepend macro number with zeroes.

This commit is contained in:
Catherine Moore 2000-05-01 14:01:06 +00:00
parent df13624506
commit a298424885
2 changed files with 5 additions and 1 deletions

View 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> Mon May 1 14:19:39 2000 Denis Chertykov <denisc@overta.ru>
* config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places. * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.

View File

@ -700,7 +700,7 @@ macro_expand_body (in, out, formals, formal_hash, comment_char, locals)
char buffer[10]; char buffer[10];
src++; src++;
sprintf (buffer, "%05d", macro_number); sprintf (buffer, "%d", macro_number);
sb_add_string (out, buffer); sb_add_string (out, buffer);
} }
else if (in->ptr[src] == '&') else if (in->ptr[src] == '&')