rustc: Fix parsing of `ret &EXPR`

The parser didn't think that `&` could start an expression.
This commit is contained in:
Patrick Walton 2012-03-23 16:15:58 -07:00
parent 7592dae949
commit cba007e6c8
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ pure fn can_begin_expr(t: token) -> bool {
NOT { true }
BINOP(MINUS) { true }
BINOP(STAR) { true }
BINOP(AND) { true }
MOD_SEP { true }
_ { false }
}