mirror of
https://github.com/github/codeql.git
synced 2026-05-14 03:09:26 +02:00
unified: More miscellaneous field additions
This commit is contained in:
@@ -1818,7 +1818,7 @@ module.exports = grammar({
|
||||
),
|
||||
// The Swift compiler no longer accepts these, but some very old code still uses it.
|
||||
deprecated_operator_declaration_body: ($) =>
|
||||
seq("{", repeat(choice($.simple_identifier, $._basic_literal)), "}"),
|
||||
seq("{", repeat(field("entry", choice($.simple_identifier, $._basic_literal))), "}"),
|
||||
precedence_group_declaration: ($) =>
|
||||
seq(
|
||||
"precedencegroup",
|
||||
|
||||
@@ -229,7 +229,7 @@ named:
|
||||
body: function_body
|
||||
modifiers?: modifiers
|
||||
deprecated_operator_declaration_body:
|
||||
$children*: [bin_literal, boolean_literal, hex_literal, integer_literal, line_string_literal, multi_line_string_literal, oct_literal, raw_string_literal, real_literal, regex_literal, simple_identifier]
|
||||
entry*: [bin_literal, boolean_literal, hex_literal, integer_literal, line_string_literal, multi_line_string_literal, "nil", oct_literal, raw_string_literal, real_literal, regex_literal, simple_identifier]
|
||||
diagnostic:
|
||||
dictionary_literal:
|
||||
key*: expression
|
||||
|
||||
Reference in New Issue
Block a user