Support loop as argument

This commit is contained in:
kjeremy 2019-09-20 16:35:29 -04:00
parent 07bbe57fef
commit fef7fcf5a9
3 changed files with 65 additions and 0 deletions

View file

@ -54,6 +54,7 @@ pub(super) const ATOM_EXPR_FIRST: TokenSet =
LIFETIME,
ASYNC_KW,
TRY_KW,
LOOP_KW
]);
const EXPR_RECOVERY_SET: TokenSet = token_set![LET_KW];