about summary refs log tree commit diff
path: root/src/comp/syntax/parse
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-08-15 11:40:26 +0200
committerMarijn Haverbeke <marijnh@gmail.com>2011-08-15 11:40:38 +0200
commit9538b0036358acc1e1d9ca8b00128bc0fa9940b2 (patch)
treeb73c9feabcdcb66f6cc318e7ce03727c9db4af6f /src/comp/syntax/parse
parent25b85df3704de79467dafa30ed185e8d94cd46c7 (diff)
downloadrust-9538b0036358acc1e1d9ca8b00128bc0fa9940b2.tar.gz
rust-9538b0036358acc1e1d9ca8b00128bc0fa9940b2.zip
Tuple types back, not constructable yet
Diffstat (limited to 'src/comp/syntax/parse')
-rw-r--r--src/comp/syntax/parse/parser.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs
index 39843072c2a..58c7b618ec3 100644
--- a/src/comp/syntax/parse/parser.rs
+++ b/src/comp/syntax/parse/parser.rs
@@ -1569,6 +1569,7 @@ fn stmt_ends_with_semi(stmt: &ast::stmt) -> bool {
         ret alt e.node {
               ast::expr_vec(_, _, _) { true }
               ast::expr_rec(_, _) { true }
+              ast::expr_tup(_) { true }
               ast::expr_call(_, _) { true }
               ast::expr_self_method(_) { false }
               ast::expr_bind(_, _) { true }