Skip to content

Commit

Permalink
style: move terminal in grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonardHd committed Dec 1, 2023
1 parent f4d0a2a commit f658784
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,8 @@ def __init__(self) -> None:
base_grammar = """
?start: ("@" expression_start) | (["@@"] literal_start)
// shared rules
ARRAY_INDEX: "[" /[0-9]+/ "]"
// shared custom basic data type rules:
ARRAY_INDEX: "[" /[0-9]+/ "]"
NULL: "null"
BOOLEAN: "true" | "false"
SINGLE_QUOTED_STRING: "'" /([^']|'')*/ "'"
Expand Down

0 comments on commit f658784

Please sign in to comment.