diff options
| author | Daniel Grunwald <daniel@danielgrunwald.de> | 2015-01-11 00:14:03 +0100 |
|---|---|---|
| committer | Daniel Grunwald <daniel@danielgrunwald.de> | 2015-01-11 00:14:03 +0100 |
| commit | d0863adf24b316d8ecaca5a1b8866ee5db902313 (patch) | |
| tree | ef28bce96abf5308f57ca5ad8eb45723af71a943 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 099b411e080d302ec0dc5f3aebe53d76c50acfc7 (diff) | |
| download | rust-d0863adf24b316d8ecaca5a1b8866ee5db902313.tar.gz rust-d0863adf24b316d8ecaca5a1b8866ee5db902313.zip | |
Update Token::can_begin_expr() to make it consistent with the grammar:
* add Token::AndAnd (double borrow)
* add Token::DotDot (range notation)
* remove Token::Pound and Token::At
Fixes a syntax error when parsing "fn f() -> RangeTo<i32> { return ..1; }".
Also, remove "fn_expr_lookahead".
It's from the fn~ days and seems to no longer be necessary.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
