diff options
author | Unreal Hoang <[email protected]> | 2019-07-20 09:41:31 +0100 |
---|---|---|
committer | Unreal Hoang <[email protected]> | 2019-07-20 09:41:31 +0100 |
commit | 3a7f07c62d3dd253d63c483ee291d9471f539479 (patch) | |
tree | 7a717bb2a51489b4e1bc50895bff45f1e217f15c /crates/ra_syntax/src | |
parent | e18f8495d6569f4fc0b7457b65a1d199cf7b5974 (diff) |
add await to syntax, parser for await_expr
Diffstat (limited to 'crates/ra_syntax/src')
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 2 |
1 files changed, 2 insertions, 0 deletions
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( | |||
97 | "return", | 97 | "return", |
98 | "try", | 98 | "try", |
99 | "box", | 99 | "box", |
100 | "await" | ||
100 | ], | 101 | ], |
101 | contextual_keywords: [ | 102 | contextual_keywords: [ |
102 | "auto", | 103 | "auto", |
@@ -200,6 +201,7 @@ Grammar( | |||
200 | "INDEX_EXPR", | 201 | "INDEX_EXPR", |
201 | "METHOD_CALL_EXPR", | 202 | "METHOD_CALL_EXPR", |
202 | "FIELD_EXPR", | 203 | "FIELD_EXPR", |
204 | "AWAIT_EXPR", | ||
203 | "TRY_EXPR", | 205 | "TRY_EXPR", |
204 | "CAST_EXPR", | 206 | "CAST_EXPR", |
205 | 207 | ||