Project

General

Profile

« Previous | Next » 

Revision 0cda3ac4

Added by mdalessio (Mike Dalessio) almost 2 years ago

[ruby/yarp] fix: handling escaped whitespace in a %w list

Introduces a new flavor of unescaping, YP_UNESCAPE_WHITESPACE, which
is the same as MINIMAL but also unescapes whitespace.

Note that a spanning_heredoc.txt fixture test is updated to be less
wrong, but YARP's behavior doesn't yet fully match Ruby in this case.

Fixes https://github.com/ruby/yarp/pull/1505

https://github.com/ruby/yarp/commit/0af69bdeb1