From 5ac9f5cdc7a88dcb9545d2e150780c8edee83b06 Mon Sep 17 00:00:00 2001 From: Unreal Hoang Date: Sat, 20 Jul 2019 19:35:49 +0900 Subject: add await expr to ast --- crates/ra_syntax/src/grammar.ron | 2 ++ 1 file changed, 2 insertions(+) (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 55494239e..817dedfbf 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron @@ -477,6 +477,7 @@ Grammar( ), "IndexExpr": (), "FieldExpr": (options: ["Expr", "NameRef"]), + "AwaitExpr": (options: ["Expr"]), "TryExpr": (options: ["Expr"]), "CastExpr": (options: ["Expr", "TypeRef"]), "RefExpr": (options: ["Expr"]), @@ -508,6 +509,7 @@ Grammar( "IndexExpr", "MethodCallExpr", "FieldExpr", + "AwaitExpr", "TryExpr", "TryBlockExpr", "CastExpr", -- cgit v1.2.3