Skip to content

Fix parser translator with trailing backslash in %W /%I array#3584

Merged
kddnewton merged 1 commit intoruby:mainfrom
Earlopain:parser-translator-%W-trailing-backslash
Jun 30, 2025
Merged

Fix parser translator with trailing backslash in %W /%I array#3584
kddnewton merged 1 commit intoruby:mainfrom
Earlopain:parser-translator-%W-trailing-backslash

Conversation

@Earlopain
Copy link
Collaborator

https://docs.ruby-lang.org/en/master/syntax/literals_rdoc.html#label-25w+and+-25W-3A+String-Array+Literals

%W allow escape sequences described in Escape Sequences. However the continuation line is not usable because it is interpreted as the escaped newline described above.

https://docs.ruby-lang.org/en/master/syntax/literals_rdoc.html#label-25w+and+-25W-3A+String-Array+Literals
> %W allow escape sequences described in Escape Sequences. However the continuation line <newline> is not usable because it is interpreted as the escaped newline described above.
@kddnewton kddnewton merged commit 09d9ac3 into ruby:main Jun 30, 2025
56 checks passed
@Earlopain Earlopain deleted the parser-translator-%W-trailing-backslash branch October 3, 2025 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants