Skip to content

Commit b5d39ea

Browse files
ribru17clason
authored andcommitted
1 parent 0f41593 commit b5d39ea

File tree

3 files changed

+333
-330
lines changed

3 files changed

+333
-330
lines changed

grammar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ module.exports = grammar({
7474
optional($.string_content),
7575
'"',
7676
),
77-
string_content: $ => repeat1(choice(token.immediate(prec(PREC.STRING, /[^"\\]+/)), $.escape_sequence)),
77+
string_content: $ => repeat1(choice(token.immediate(prec(PREC.STRING, /[^"\\\n]+/)), $.escape_sequence)),
7878
parameters: $ => repeat1(choice($.capture, $.string, $._node_identifier)),
7979
comment: _ => token(prec(PREC.COMMENT, seq(";", /.*/))),
8080
list: $ => seq("[", repeat1($.definition), "]", quantifier($), captures($)),

src/grammar.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)