Fix lexer bug, enable 5 more tests on rustc.

This commit is contained in:
Graydon Hoare 2010-11-22 11:35:00 -08:00
parent 3ba6736383
commit ccc21fd4da
2 changed files with 6 additions and 1 deletions

View File

@ -518,17 +518,22 @@ TEST_XFAILS_LLVM := $(TASK_XFAILS) \
TEST_XFAILS_SELF := $(filter-out \
$(addprefix test/run-pass/, \
arith-0.rs \
arith-1.rs \
arith-2.rs \
bool-not.rs \
char.rs \
dead-code-one-arm-if.rs \
deep.rs \
div-mod.rs \
fact.rs \
hello.rs \
int.rs \
item-name-overload.rs \
lazy-init.rs \
multiline-comment.rs \
return-nil.rs \
unit.rs \
while-and-do-while.rs \
), \
$(wildcard test/*/*.rs test/*/*.rc))

View File

@ -572,7 +572,7 @@ impure fn next_token(reader rdr) -> token.token {
}
case ('/') {
ret binop(rdr, token.STAR);
ret binop(rdr, token.SLASH);
}
case ('^') {