about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-07-09 14:47:45 -0700
committerGraydon Hoare <graydon@mozilla.com>2012-07-09 14:47:45 -0700
commit638036fe55ff6f0325efa595c4c37317bdc0281a (patch)
tree882c3b11d59920dc0f152f8afeb4cfc1019e6f08 /src/libsyntax/parse/parser.rs
parentf210deae3d522281ca3d85cb6f82dca742abd6e7 (diff)
downloadrust-638036fe55ff6f0325efa595c4c37317bdc0281a.tar.gz
rust-638036fe55ff6f0325efa595c4c37317bdc0281a.zip
Remove 'cont' from parser/lexer.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 6a166591887..7d36216aa9b 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -1007,8 +1007,7 @@ class parser {
         } else if self.eat_keyword("break") {
             ex = expr_break;
             hi = self.span.hi;
-        } else if self.eat_keyword("cont") ||
-            self.eat_keyword("again") {
+        } else if self.eat_keyword("again") {
             ex = expr_again;
             hi = self.span.hi;
         } else if self.eat_keyword("copy") {