diff --git a/grammar.js b/grammar.js index 8c20be6..4ecfed6 100644 --- a/grammar.js +++ b/grammar.js @@ -495,7 +495,7 @@ module.exports = grammar({ _triple_quoted_string: ($) => seq( field("quoted_start", '"""'), - optional(alias($._triple_quoted_string_contents, $.quoted_contents)), + optional(alias($._triple_quoted_string_contents, $.quoted_content)), field("quoted_end", '"""') ), diff --git a/test/corpus/sigils.txt b/test/corpus/sigils.txt index 7941f93..669ac77 100644 --- a/test/corpus/sigils.txt +++ b/test/corpus/sigils.txt @@ -62,4 +62,4 @@ All contents are verbatim, even this: ~r"abc\d+"i. (source (sigil (sigil_prefix) - (quoted_contents))) + (quoted_content))) diff --git a/test/corpus/terms.txt b/test/corpus/terms.txt index a352e7e..190bed9 100644 --- a/test/corpus/terms.txt +++ b/test/corpus/terms.txt @@ -48,9 +48,9 @@ Hello "world" (source (string - (quoted_contents)) + (quoted_content)) (string - (quoted_contents))) + (quoted_content))) ================================================================================ atoms