From 7b1a8f0a911ac3b22ece888440758b70542d77b7 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Thu, 19 Jan 2012 19:29:21 -0800 Subject: Additional ; to , changes, disable "tag" and ";" in parser. Close #1430. Close #1428. --- src/comp/syntax/parse/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/comp/syntax/parse/parser.rs') 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; } } -- cgit 1.4.1-3-g733a5