summary refs log tree commit diff
path: root/src/comp/syntax/parse
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-01-19 19:29:21 -0800
committerGraydon Hoare <graydon@mozilla.com>2012-01-19 19:29:21 -0800
commit7b1a8f0a911ac3b22ece888440758b70542d77b7 (patch)
treec99302652b4bcc41ac9f097ba6eee5fea30756de /src/comp/syntax/parse
parenta23f188bdbff224337ca6bdcd164bb924d273eb5 (diff)
downloadrust-7b1a8f0a911ac3b22ece888440758b70542d77b7.tar.gz
rust-7b1a8f0a911ac3b22ece888440758b70542d77b7.zip
Additional ; to , changes, disable "tag" and ";" in parser. Close #1430. Close #1428.
Diffstat (limited to 'src/comp/syntax/parse')
-rw-r--r--src/comp/syntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs
index ae0cf5bef60..46b6c474363 100644
--- a/src/comp/syntax/parse/parser.rs
+++ b/src/comp/syntax/parse/parser.rs
@@ -2074,7 +2074,7 @@ fn parse_item_tag(p: parser, attrs: [ast::attribute]) -> @ast::item {
             }
 
             alt p.token {
-              token::SEMI | token::COMMA {
+              token::COMMA {
                 p.bump();
                 if p.token == token::RBRACE { done = true; }
               }