about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorDaniel Grunwald <daniel@danielgrunwald.de>2015-01-11 00:14:03 +0100
committerDaniel Grunwald <daniel@danielgrunwald.de>2015-01-11 00:14:03 +0100
commitd0863adf24b316d8ecaca5a1b8866ee5db902313 (patch)
treeef28bce96abf5308f57ca5ad8eb45723af71a943 /src/libstd/sys/unix/stack_overflow.rs
parent099b411e080d302ec0dc5f3aebe53d76c50acfc7 (diff)
downloadrust-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