Skip to content

Commit

Permalink
Implement escape sequences for heredocs
Browse files Browse the repository at this point in the history
  • Loading branch information
smoeding committed Jun 10, 2024
1 parent 8f025b0 commit f5025e1
Show file tree
Hide file tree
Showing 5 changed files with 4,400 additions and 4,371 deletions.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ module.exports = grammar({
'@(',
$._heredoc_start,
')',
repeat(choice($._heredoc_body, $.interpolation)),
repeat(choice($._heredoc_body, $.interpolation, $.escape_sequence)),
$._heredoc_end,
),

Expand Down
4 changes: 4 additions & 0 deletions src/node-types.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f5025e1

Please sign in to comment.