diff options
| author | Graydon Hoare <[email protected]> | 2010-07-13 14:23:00 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-13 14:23:00 -0700 |
| commit | 5063f0db96ef4531053d1eb0c8fbc2398a17e4c7 (patch) | |
| tree | a3b0639a18d17ffb839e601ef0a1c8f37e4d6f82 | |
| parent | Doc fix. (diff) | |
| download | rust-5063f0db96ef4531053d1eb0c8fbc2398a17e4c7.tar.xz rust-5063f0db96ef4531053d1eb0c8fbc2398a17e4c7.zip | |
Accept effect-qualified local item declarations.
| -rw-r--r-- | src/boot/fe/item.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/fe/item.ml b/src/boot/fe/item.ml index 130909e2..5270e863 100644 --- a/src/boot/fe/item.ml +++ b/src/boot/fe/item.ml @@ -498,7 +498,7 @@ and parse_stmts (ps:pstate) : Ast.stmt array = expect ps SEMI; spans ps stmts apos (Ast.STMT_join lval) - | MOD | OBJ | TYPE | FN | USE | NATIVE -> + | IO | STATE | UNSAFE | MOD | OBJ | TYPE | FN | USE | NATIVE -> let (ident, item) = ctxt "stmt: decl" parse_mod_item ps in let decl = Ast.DECL_mod_item (ident, item) in let stmts = expand_tags_to_stmts ps item in |