aboutsummaryrefslogtreecommitdiff
path: root/src/comp
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-11-22 11:35:00 -0800
committerGraydon Hoare <[email protected]>2010-11-22 11:35:00 -0800
commitccc21fd4da49ed819d95eaea6599538071947cd4 (patch)
tree4b1e8d383bf9e355bef2b33b6f5323feb97f4a72 /src/comp
parentMore typeck hacking, check if and call exprs, enable fact and deep tests. (diff)
downloadrust-ccc21fd4da49ed819d95eaea6599538071947cd4.tar.xz
rust-ccc21fd4da49ed819d95eaea6599538071947cd4.zip
Fix lexer bug, enable 5 more tests on rustc.
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/front/lexer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/front/lexer.rs b/src/comp/front/lexer.rs
index d2f308e3..38e9367f 100644
--- a/src/comp/front/lexer.rs
+++ b/src/comp/front/lexer.rs
@@ -572,7 +572,7 @@ impure fn next_token(reader rdr) -> token.token {
}
case ('/') {
- ret binop(rdr, token.STAR);
+ ret binop(rdr, token.SLASH);
}
case ('^') {