mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 20:44:20 +00:00
This can get triggered even if the list of statements only contains a single statement. This is necessary to properly support compiling ```ruby defined? (;a) defined? (a;) ``` as "expression". Previously these were parsed as statements lists with single statements in them. https://github.com/ruby/prism/commit/b63b5d67a9
43 lines
169 B
Plaintext
43 lines
169 B
Plaintext
"foo
|
||
bar"
|
||
|
||
"foo
|
||
#{bar}"
|
||
|
||
"fo
|
||
o" "ba
|
||
r"
|
||
|
||
"
|
||
foo\
|
||
"
|
||
|
||
"
|
||
foo\\
|
||
"
|
||
|
||
"
|
||
foo\\\
|
||
"
|
||
|
||
"
|
||
foo\\\\
|
||
"
|
||
|
||
"
|
||
foo\\\\\
|
||
"
|
||
|
||
"
|
||
foo\
|
||
b\nar
|
||
#{}
|
||
"
|
||
|
||
"foo
|
||
\n#{}bar\n\n#{}
|
||
a\nb\n#{}\nc\n"
|
||
|
||
"
|
||
’"
|