Skip to content

Commit f5025e1

Browse files
committed
Implement escape sequences for heredocs
1 parent 8f025b0 commit f5025e1

File tree

5 files changed

+4400
-4371
lines changed

5 files changed

+4400
-4371
lines changed

grammar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ module.exports = grammar({
613613
'@(',
614614
$._heredoc_start,
615615
')',
616-
repeat(choice($._heredoc_body, $.interpolation)),
616+
repeat(choice($._heredoc_body, $.interpolation, $.escape_sequence)),
617617
$._heredoc_end,
618618
),
619619

src/node-types.json

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)