about summary refs log tree commit diff
path: root/src/comp/syntax/parse/parser.rs
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2011-12-22 09:30:03 -0800
committerGraydon Hoare <graydon@mozilla.com>2011-12-22 09:30:03 -0800
commit47d27af228e574e281184a10f9a98f47ecce32ac (patch)
treed5dce2b742d73bb01ea0a9c528d9f996aacf1216 /src/comp/syntax/parse/parser.rs
parent8005f0c564311fe2a3c0a72a5f3d4482ad0947e2 (diff)
parent07d7f828cd858bed67855e5a5ba24369625a981e (diff)
downloadrust-47d27af228e574e281184a10f9a98f47ecce32ac.tar.gz
rust-47d27af228e574e281184a10f9a98f47ecce32ac.zip
Merge branch 'master' of github.com:graydon/rust
Diffstat (limited to 'src/comp/syntax/parse/parser.rs')
-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 81e476e22c3..84c60144501 100644
--- a/src/comp/syntax/parse/parser.rs
+++ b/src/comp/syntax/parse/parser.rs
@@ -961,7 +961,7 @@ fn parse_bottom_expr(p: parser) -> @ast::expr {
         let e = parse_expr(p);
 
         // FIXME: Is this the right place for this check?
-        if /*check*/ ast_util::is_tail_call_expr(e) {
+        if /*check*/ast_util::is_call_expr(e) {
             hi = e.span.hi;
             ex = ast::expr_be(e);
         } else { p.fatal("Non-call expression in tail call"); }