summary refs log tree commit diff
path: root/src/comp/syntax/ast.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/syntax/ast.rs')
-rw-r--r--src/comp/syntax/ast.rs4
1 files changed, 2 insertions, 2 deletions
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 }
     }
 }