about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorcgswords <cameronswords@gmail.com>2016-07-19 13:00:45 -0700
committercgswords <cameronswords@gmail.com>2016-07-19 16:05:44 -0700
commit536c3157955b76297ff667087807ffe463b48018 (patch)
tree0adb329d65351837834a198080ef86c78d0b2887 /src/libsyntax/parse
parentbbfcb471db0799a7d92d62e66cf44bbd68051675 (diff)
downloadrust-536c3157955b76297ff667087807ffe463b48018.tar.gz
rust-536c3157955b76297ff667087807ffe463b48018.zip
Introduced `NoDelim` and modified the compiler to support it.
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/token.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index f0a6f8edeec..6fdc9b714d3 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -48,6 +48,8 @@ pub enum DelimToken {
     Bracket,
     /// A curly brace: `{` or `}`
     Brace,
+    /// An empty delimiter
+    NoDelim,
 }
 
 #[derive(Clone, RustcEncodable, RustcDecodable, PartialEq, Eq, Hash, Debug, Copy)]