mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2026-08-27 00:26:02 -04:00
gas: scrubber handling of string continuation across lines
Apparently forever (according to [available] history) two backslashes have been emitted when, afaict, only one was meant.
This commit is contained in:
parent
a97e7d1eb5
commit
59d681f3a8
1 changed files with 4 additions and 4 deletions
|
|
@ -694,12 +694,12 @@ do_scrub_chars (size_t (*get) (char *, size_t), char *tostart, size_t tolen,
|
|||
ch = GET ();
|
||||
switch (ch)
|
||||
{
|
||||
/* Handle strings broken across lines, by turning '\n' into
|
||||
'\\' and 'n'. */
|
||||
/* Handle strings broken across lines, by turning '\\' followed
|
||||
by '\n' into '\\' (already emitted when state moved to 6) and
|
||||
'n'. */
|
||||
case '\n':
|
||||
UNGET ('n');
|
||||
add_newlines++;
|
||||
PUT ('\\');
|
||||
PUT ('n');
|
||||
continue;
|
||||
|
||||
case EOF:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue