diff options
author | Jan Beulich <jbeulich@suse.com> | 2024-06-28 08:17:41 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2024-06-28 08:17:41 +0200 |
commit | f63d85cc78e73e7df93e6eedc953a08b713cfa43 (patch) | |
tree | d93e7adca84caa51c2fbd57e2742c71b524822a1 /gas/read.c | |
parent | 685dcd295af6ed52154ce44fbe5d8cc58f2f1a51 (diff) | |
download | binutils-f63d85cc78e73e7df93e6eedc953a08b713cfa43.zip binutils-f63d85cc78e73e7df93e6eedc953a08b713cfa43.tar.gz binutils-f63d85cc78e73e7df93e6eedc953a08b713cfa43.tar.bz2 |
gas: .irp/.irpc are macro-like
... for the purposes of get_line_sb() and _find_end_of_line(): They
support \@ just like macros do, and hence the special casing there also
needs applying.
Diffstat (limited to 'gas/read.c')
-rw-r--r-- | gas/read.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -262,7 +262,7 @@ static int hex_float (int, char *); static segT get_known_segmented_expression (expressionS * expP); static void pobegin (void); static void poend (void); -static size_t get_non_macro_line_sb (sb *); +static size_t get_macro_line_sb (sb *); static void generate_file_debug (void); static char *_find_end_of_line (char *, int, int, int); @@ -2402,7 +2402,7 @@ s_irp (int irpc) sb_new (&out); - err = expand_irp (irpc, 0, &s, &out, get_non_macro_line_sb); + err = expand_irp (irpc, 0, &s, &out, get_macro_line_sb); if (err != NULL) as_bad_where (file, line, "%s", err); |