unified: Clarify grammar comment

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Taus
2026-05-26 16:19:02 +02:00
committed by GitHub
parent dd9c066c61
commit fbc861e7a4

View File

@@ -272,8 +272,8 @@ module.exports = grammar({
comment: ($) => token(prec(PRECS.comment, seq("//", /.*/))),
// Named wrapper for the unnamed `_multiline_comment` external token, so
// that multi-line comments still appear in the AST (e.g. as extras between
// top-level statements) without bleeding into class_body's $children when
// used as a class member separator.
// top-level statements) without being extracted as class body members when
// used only to separate those members.
multiline_comment: ($) => $._multiline_comment,
// Identifiers
simple_identifier: ($) =>