mirror of
https://github.com/ruby/ruby.git
synced 2025-08-26 14:34:39 +02:00
parent
1b392ba7c6
commit
63ea77916a
2 changed files with 2 additions and 2 deletions
|
@ -1689,6 +1689,8 @@ module Prism
|
|||
builder.string_compose(token(node.opening_loc), children, closing)
|
||||
elsif node.opening == "?"
|
||||
builder.character([node.unescaped, srange(node.location)])
|
||||
elsif node.opening&.start_with?("%") && node.unescaped.empty?
|
||||
builder.string_compose(token(node.opening_loc), [], token(node.closing_loc))
|
||||
else
|
||||
content_lines = node.content.lines
|
||||
unescaped_lines = node.unescaped.lines
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue