mirror of
https://github.com/github/codeql.git
synced 2026-05-27 09:31:30 +02:00
unified: Clarify grammar comment
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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: ($) =>
|
||||
|
||||
Reference in New Issue
Block a user