Find a file
Tim Chevalier 046c25dbc0 Handle fail as an argument; parse fail expressions unambiguously
An expression like:

foo(1, fail, 2)

was failing to parse, because the parser was interpreting the comma
as the start of an expression that was an argument to fail, rather
than recognizing that the fail here has no arguments

Fixed this by using can_begin_expr to determine whether the next
token after a fail token suggests that this is a nullary fail or a
unary fail.

In addition, when translating calls, check before translating each
argument that the block still isn't terminated. This has the effect
that if an argument list includes fail, the back-end won't keep trying
to generate code for successive arguments and trip the !*terminated
assertion.
2011-07-03 11:51:47 -07:00
doc Clarify docs about claim 2011-06-28 17:50:06 -07:00
mk Partially restore the fuzzer crate's build rules 2011-07-01 10:43:21 -07:00
src Handle fail as an argument; parse fail expressions unambiguously 2011-07-03 11:51:47 -07:00
.gitignore Ignore files generated by Doxygen. 2011-06-01 10:37:48 -07:00
AUTHORS.txt Add Rob Arnold to AUTHORS.txt 2011-07-02 00:08:29 -07:00
configure Some work on reviving the mingw-cross build. Not working yet. 2011-06-27 11:53:28 -07:00
LICENSE.txt Update copyrights for completeness. 2011-05-03 12:10:03 -07:00
Makefile.in Partially restore the fuzzer crate's build rules 2011-07-01 10:43:21 -07:00
README Update README to point to github, test email notification. 2010-06-23 21:11:10 -07:00

This is a compiler and suite of associated libraries and documentation for the
Rust programming language.

See LICENSE.txt for terms of copyright and redistribution.

See http://github.com/graydon/rust for current development page.