about summary refs log tree commit diff
path: root/src/rt/rust_cc.cpp
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-10-21 14:55:54 +0200
committerMarijn Haverbeke <marijnh@gmail.com>2011-10-21 14:55:54 +0200
commitb0a72ee06a5ac28e18b8a549132eda23e32856c9 (patch)
tree7955960f725deb2660d53967714417dc62f95550 /src/rt/rust_cc.cpp
parent3b5b93221e1bf35b48dc5fd040f0086892704ca5 (diff)
downloadrust-b0a72ee06a5ac28e18b8a549132eda23e32856c9.tar.gz
rust-b0a72ee06a5ac28e18b8a549132eda23e32856c9.zip
Be more careful when parsing block calls
Previously, the parser would try to interpret this as a block call:

    if true {} // No semicolon
    {|i, am, a, block|};

Which, though unlikely, might come up in practice.
Diffstat (limited to 'src/rt/rust_cc.cpp')
0 files changed, 0 insertions, 0 deletions