From 3a7f07c62d3dd253d63c483ee291d9471f539479 Mon Sep 17 00:00:00 2001 From: Unreal Hoang Date: Sat, 20 Jul 2019 17:41:31 +0900 Subject: add await to syntax, parser for await_expr --- crates/ra_syntax/src/grammar.ron | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/ra_syntax/src') diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index 6c075a700..55494239e 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron @@ -97,6 +97,7 @@ Grammar( "return", "try", "box", + "await" ], contextual_keywords: [ "auto", @@ -200,6 +201,7 @@ Grammar( "INDEX_EXPR", "METHOD_CALL_EXPR", "FIELD_EXPR", + "AWAIT_EXPR", "TRY_EXPR", "CAST_EXPR", -- cgit v1.2.3