rustc: Fix parsing of `ret &EXPR`
The parser didn't think that `&` could start an expression.
This commit is contained in:
parent
7592dae949
commit
cba007e6c8
|
@ -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 }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue