mirror of
https://github.com/PaddiM8/kalker.git
synced 2025-02-28 22:31:15 +01:00
Fixed tick symbol resulting in panic
This commit is contained in:
parent
a7ad38b6fa
commit
7f3c2ce8a7
@ -699,7 +699,11 @@ fn parse_identifier(context: &mut Context) -> Result<Expr, CalcError> {
|
||||
}
|
||||
}
|
||||
|
||||
if identifier.pure_name.len() > 1 {
|
||||
split_into_variables(context, &identifier)
|
||||
} else {
|
||||
Err(CalcError::UndefinedVar(identifier.full_name))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user