From 04a2887f8791bb080b4e76a55949a7c1954dbb97 Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Wed, 18 Jan 2012 22:37:22 -0800 Subject: Remove '.' after nullary tags in patterns Does what it says on the tin. The next commit will remove support for this syntax. --- src/comp/syntax/ast.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/comp/syntax/ast.rs') diff --git a/src/comp/syntax/ast.rs b/src/comp/syntax/ast.rs index 6419e690c44..7449d8a53f8 100644 --- a/src/comp/syntax/ast.rs +++ b/src/comp/syntax/ast.rs @@ -129,8 +129,8 @@ tag proto { pure fn is_blockish(p: ast::proto) -> bool { alt p { - proto_any. | proto_block. { true } - proto_bare. | proto_uniq. | proto_box. { false } + proto_any | proto_block { true } + proto_bare | proto_uniq | proto_box { false } } } -- cgit 1.4.1-3-g733a5