From f0e29c92aa55a40c8aff2194cc1f602f5f6db5df Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Thu, 28 Jul 2011 02:32:27 -0400 Subject: :: is allowed to start an expression. Close #762. --- src/comp/syntax/parse/token.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/comp') diff --git a/src/comp/syntax/parse/token.rs b/src/comp/syntax/parse/token.rs index 35bd1f1494a..b9faac40dc3 100644 --- a/src/comp/syntax/parse/token.rs +++ b/src/comp/syntax/parse/token.rs @@ -201,6 +201,7 @@ pred can_begin_expr(t: token) -> bool { NOT. { true } BINOP(MINUS.) { true } BINOP(STAR.) { true } + MOD_SEP. { true } _ { false } } } -- cgit 1.4.1-3-g733a5