Skip to content

Commit 2592542

Browse files
committed
start module expr with await
1 parent 851a973 commit 2592542

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

res_syntax/src/res_grammar.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ let isFunctorArgStart = function
215215
| _ -> false
216216

217217
let isModExprStart = function
218-
| Token.At | Percent | Uident _ | Lbrace | Lparen | Lident "unpack" -> true
218+
| Token.At | Percent | Uident _ | Lbrace | Lparen | Lident "unpack" | Await ->
219+
true
219220
| _ -> false
220221

221222
let isRecordRowStart = function

0 commit comments

Comments
 (0)