There's one more bug with the imm of U-Types, trying to find it

This commit is contained in:
Lumi Kalt 2024-01-26 01:45:20 +00:00
parent 3ee54491be
commit 98c8e3d4eb

View file

@ -165,7 +165,7 @@ fn parse_line(env: &Env, input: &str, loc: &mut Loc) -> Result<Vec<(Token, Loc)>
loc.end += 1;
}
if let Some('(') | Some(' ') | None = chars.peek() {
Immediate(num.parse().unwrap())
dbg!(Immediate(num.parse().unwrap()))
} else {
let err = Err((
SyntaxErr::UnexpectedChar,