From 6efda8f6cefdd69c3bae892eb168971a465d2a8b Mon Sep 17 00:00:00 2001 From: Hirokazu Hata Date: Sun, 13 Jan 2019 20:52:25 +0900 Subject: Update TUPLE_EXPR grammar --- crates/ra_syntax/src/grammar.ron | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crates/ra_syntax/src/grammar.ron') diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index bac62fa04..dfd88bd10 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron @@ -357,7 +357,9 @@ Grammar( enum: ["FnDef", "TypeDef", "ConstDef"] ), - "TupleExpr": (), + "TupleExpr": ( + collections: [["exprs", "Expr"]] + ), "ArrayExpr": (), "ParenExpr": (options: ["Expr"]), "PathExpr": (options: ["Path"]), -- cgit v1.2.3