* macro.c (sub_actual): Don't lose string if it turns out that

&string wasn't an arg.
This commit is contained in:
Alan Modra 2003-06-02 15:03:20 +00:00
parent 92991082e9
commit c1ed1235d7
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2003-06-02 Alan Modra <amodra@bigpond.net.au>
* macro.c (sub_actual): Don't lose string if it turns out that
&string wasn't an arg.
2003-05-31 Richard Henderson <rth@redhat.com> 2003-05-31 Richard Henderson <rth@redhat.com>
* dw2gencfi.c (output_fde): Use fix_new to emit pc-relative reloc. * dw2gencfi.c (output_fde): Use fix_new to emit pc-relative reloc.

View file

@ -637,6 +637,7 @@ sub_actual (start, in, t, formal_hash, kind, out, copyifnotthere)
{ {
/* Doing this permits people to use & in macro bodies. */ /* Doing this permits people to use & in macro bodies. */
sb_add_char (out, '&'); sb_add_char (out, '&');
sb_add_sb (out, t);
} }
else if (copyifnotthere) else if (copyifnotthere)
{ {