diff options
author | Jan Beulich <jbeulich@novell.com> | 2006-02-28 07:57:09 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2006-02-28 07:57:09 +0000 |
commit | 5e8785807d15610c44f97789359d1aa5309a5e94 (patch) | |
tree | f346e338724b20eca8f134ad67c7cd166359e15b /gas/macro.c | |
parent | 40eea0cbb997d0406b0b6ebf123003ace7635478 (diff) | |
download | binutils-redhat-5e8785807d15610c44f97789359d1aa5309a5e94.tar.gz |
gas/
2006-02-28 Jan Beulich <jbeulich@novell.com>
* macro.c (get_any_string): Don't insert quotes for <>-quoted input.
gas/testsuite/
2006-02-28 Jan Beulich <jbeulich@novell.com>
* gas/all/altmacro.s: Adjust.
* gas/all/altmac2.s: Adjust.
Diffstat (limited to 'gas/macro.c')
-rw-r--r-- | gas/macro.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gas/macro.c b/gas/macro.c index 0f3d507d9f..af98bada6a 100644 --- a/gas/macro.c +++ b/gas/macro.c @@ -415,13 +415,12 @@ get_any_string (int idx, sb *in, sb *out) || (in->ptr[idx] == '<' && (macro_alternate || macro_mri)) || (macro_alternate && in->ptr[idx] == '\'')) { - if (macro_alternate && ! macro_strip_at) + if (macro_alternate && ! macro_strip_at && in->ptr[idx] != '<') { /* Keep the quotes. */ - sb_add_char (out, '\"'); - + sb_add_char (out, '"'); idx = getstring (idx, in, out); - sb_add_char (out, '\"'); + sb_add_char (out, '"'); } else { |