aboutsummaryrefslogtreecommitdiff
path: root/gas/gasp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/gasp.c')
-rw-r--r--gas/gasp.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gas/gasp.c b/gas/gasp.c
index 87e55a1..c164412 100644
--- a/gas/gasp.c
+++ b/gas/gasp.c
@@ -1362,6 +1362,18 @@ change_base (idx, in, out)
idx++;
}
}
+ else if (in->ptr[idx] == '"' || in->ptr[idx] == '\'')
+ {
+ char tchar = in->ptr[idx];
+ /* copy entire names through quickly */
+ sb_add_char (out, in->ptr[idx]);
+ idx++;
+ while (idx < in->len && in->ptr[idx] != tchar)
+ {
+ sb_add_char (out, in->ptr[idx]);
+ idx++;
+ }
+ }
else
{
/* nothing special, just pass it through */