about summary refs log tree commit diff
path: root/src/rt/rust_kernel.h
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2011-07-13 15:00:59 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2011-07-13 15:00:59 -0700
commit5e1a6dac4409ba2f584fb41d0759e6c79ec8a8c4 (patch)
tree94f411bec7c364cf41e6361e6e93d0df33dd3b49 /src/rt/rust_kernel.h
parent0c913e63d926fc8cf1dd06260546b16f5aa90402 (diff)
downloadrust-5e1a6dac4409ba2f584fb41d0759e6c79ec8a8c4.tar.gz
rust-5e1a6dac4409ba2f584fb41d0759e6c79ec8a8c4.zip
Parse nullary ret correctly
ret is similar to fail: if not followed by an expression, it
should be parsed as a ret without an argument. The old version would
fail if ret was followed by a close paren (for example). Fixed it.

Closes #676.
Diffstat (limited to 'src/rt/rust_kernel.h')
0 files changed, 0 insertions, 0 deletions