Add 'do' expressions

This commit is contained in:
Brian Anderson 2012-06-18 17:42:09 -07:00
parent ee9e5b9d20
commit 1ec5a5c635
18 changed files with 91 additions and 8 deletions

View file

@ -318,6 +318,8 @@ enum expr_ {
// easily type this (a function returning nil on the inside but bool on
// the outside).
expr_loop_body(@expr),
// Like expr_loop_body but for 'do' blocks
expr_do_body(@expr),
expr_block(blk),
/*