diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-10-21 14:11:24 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-10-21 14:24:14 +0200 |
| commit | 71147024962318033ade76ba741d1ecc1dfae3ce (patch) | |
| tree | 42b750199d41f59916ac0542aa141fb254bd9be0 /src/rt/rust_cc.cpp | |
| parent | 0ce40f60e79598c198851154cc978375ed5e7747 (diff) | |
| download | rust-71147024962318033ade76ba741d1ecc1dfae3ce.tar.gz rust-71147024962318033ade76ba741d1ecc1dfae3ce.zip | |
Change the way block calls are parsed, mark them as block-calls.
This makes it possible to omit the semicolon after the block, and will cause the pretty-printer to properly print such calls (if pretty-printing of blocks wasn't so broken). Block calls (with the block outside of the parentheses) can now only occur at statement level, and their value can not be used. When calling a block-style function that returns a useful value, the block must be put insde the parentheses. Issue #1054
Diffstat (limited to 'src/rt/rust_cc.cpp')
0 files changed, 0 insertions, 0 deletions
