fix: allow empty string literals

This commit is contained in:
Michael Hoffmann
2022-06-02 19:14:44 +02:00
parent 8a13647a4d
commit a87b709739
7 changed files with 9557 additions and 9499 deletions

View File

@@ -108,7 +108,7 @@ module.exports = grammar({
string_lit: $ => prec(PREC.string_lit, seq(
$.quoted_template_start,
$.template_literal,
optional($.template_literal),
$.quoted_template_end,
)),