Skip to content

Commit 511c1b7

Browse files
Delete rudementary tuple definition in the grammar.
1 parent d0624ca commit 511c1b7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

hcl2/hcl2.lark

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ int_lit : DECIMAL+
4646
DECIMAL : "0".."9"
4747
EXP_MARK : ("e" | "E") ("+" | "-")?
4848

49-
// tuple : "[" (new_line_or_comment? expression (new_line_or_comment? "," new_line_or_comment? expression)* new_line_or_comment? ","?)? new_line_or_comment? "]"
5049
tuple : "[" (new_line_or_comment* expression new_line_or_comment* ",")* (new_line_or_comment* expression)? new_line_or_comment* "]"
5150
object : "{" new_line_or_comment? (object_elem (new_line_and_or_comma object_elem )* new_line_and_or_comma?)? "}"
5251
object_elem : (identifier | expression) ("=" | ":") expression

0 commit comments

Comments
 (0)