From 2337d88339c10b485d4e121ffabc8d9a89431a82 Mon Sep 17 00:00:00 2001 From: Seo Sanghyeon Date: Mon, 11 Nov 2013 21:53:14 +0900 Subject: Fix path parsing --- src/libsyntax/parse/parser.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/libsyntax/parse/parser.rs') diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index cfb4da87720..ad5da0b9289 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -1470,10 +1470,6 @@ impl Parser { let mut segments = ~[]; loop { // First, parse an identifier. - match *self.token { - token::IDENT(*) => {} - _ => break, - } let identifier = self.parse_ident(); // Next, parse a colon and bounded type parameters, if applicable. -- cgit 1.4.1-3-g733a5