aboutsummaryrefslogtreecommitdiff
path: root/src/comp
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-03-07 10:33:04 -0800
committerGraydon Hoare <[email protected]>2011-03-07 10:33:04 -0800
commitdfa85968c346e7d7892a7399cc2b79bfb7e0e5ef (patch)
tree19f264488eeb9acc3893838bfe4a2570a520a8c2 /src/comp
parentComplain on unexpected native symbol, rather than failing with none-exhaustiv... (diff)
downloadrust-dfa85968c346e7d7892a7399cc2b79bfb7e0e5ef.tar.xz
rust-dfa85968c346e7d7892a7399cc2b79bfb7e0e5ef.zip
Stage the last compile fix to put out fire. Thanks git.
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/front/parser.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs
index 67eec424..8141595b 100644
--- a/src/comp/front/parser.rs
+++ b/src/comp/front/parser.rs
@@ -1838,6 +1838,7 @@ impure fn parse_native_item(parser p) -> @ast.native_item {
}
case (?t) {
unexpected(p, t);
+ fail;
}
}
}