@willbooster/tree-sitter-ruby 3.0.6 → 3.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/grammar.js +3 -1
- package/package.json +1 -1
- package/tree-sitter-ruby.wasm +0 -0
- package/tree-sitter.json +1 -1
package/grammar.js
CHANGED
|
@@ -87,9 +87,10 @@ module.exports = grammar({
|
|
|
87
87
|
$._uninterpreted,
|
|
88
88
|
$._not_parenthesized,
|
|
89
89
|
$._lambda_brace,
|
|
90
|
+
$._heredoc_literal_resume,
|
|
90
91
|
],
|
|
91
92
|
|
|
92
|
-
extras: ($) => [$.comment, $.heredoc_body, /\s/, /\\\r?\n/],
|
|
93
|
+
extras: ($) => [$.comment, $.heredoc_body, $._heredoc_literal_resume, /\s/, /\\\r?\n/],
|
|
93
94
|
|
|
94
95
|
word: ($) => $.identifier,
|
|
95
96
|
|
|
@@ -1621,6 +1622,7 @@ module.exports = grammar({
|
|
|
1621
1622
|
seq(
|
|
1622
1623
|
'\\',
|
|
1623
1624
|
choice(
|
|
1625
|
+
/\r\n/,
|
|
1624
1626
|
/[^ux0-7]/, // single character
|
|
1625
1627
|
/x[0-9a-fA-F]{1,2}/, // hex code
|
|
1626
1628
|
/[0-7]{1,3}/, // octal
|
package/package.json
CHANGED
package/tree-sitter-ruby.wasm
CHANGED
|
Binary file
|