mirror of
https://github.com/open-goal/jak-project
synced 2026-07-11 07:25:37 -04:00
misc low hanging fruit fixes (#3034)
Fixes #2235 Fixes #2236 Fixes #2963 Fixes #3027
This commit is contained in:
@@ -198,7 +198,7 @@ Val* Compiler::compile_cond(const goos::Object& form, const goos::Object& rest,
|
||||
throw_compiler_error(form, "Cond from cannot have any cases after else.");
|
||||
}
|
||||
|
||||
if (test.is_symbol() && symbol_string(test) == "else") {
|
||||
if (test.is_symbol("else")) {
|
||||
got_else = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user