Fixed bug where infix wouldn't rewind when encountering a comma, causing the rest of a syscall parse in an assignment expression to fail

This commit is contained in:
2025-12-10 00:09:16 -07:00
parent 0fde11a2bf
commit 9c260ef2d5
7 changed files with 14 additions and 7 deletions

View File

@@ -249,7 +249,7 @@ fn test_max_from_game() -> Result<()> {
debug
r#"
let item = 0;
item = max(1, 2);
item = max(1 + 2, 2);
"#
};
@@ -260,7 +260,7 @@ fn test_max_from_game() -> Result<()> {
j main
main:
move r8 0 #item
max r15 1 2
max r15 3 2
move r8 r15 #item
"
}