about summary refs log tree commit diff
path: root/src/comp/syntax/parse
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2011-07-28 02:32:27 -0400
committerJosh Matthews <josh@joshmatthews.net>2011-07-28 02:33:24 -0400
commitf0e29c92aa55a40c8aff2194cc1f602f5f6db5df (patch)
tree7b458b6373bddf8b6e3d23e837c87716d720d581 /src/comp/syntax/parse
parentc141718952a97fa89433d5ff7c5ee17eeebd0081 (diff)
downloadrust-f0e29c92aa55a40c8aff2194cc1f602f5f6db5df.tar.gz
rust-f0e29c92aa55a40c8aff2194cc1f602f5f6db5df.zip
:: is allowed to start an expression. Close #762.
Diffstat (limited to 'src/comp/syntax/parse')
-rw-r--r--src/comp/syntax/parse/token.rs1
1 files changed, 1 insertions, 0 deletions
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 }
     }
 }