mirror of
https://github.com/PaddiM8/kalker.git
synced 2025-01-07 05:59:03 +01:00
Fixed tick symbol resulting in panic
This commit is contained in:
parent
d9db16a7fb
commit
22bec9ff40
@ -699,7 +699,11 @@ fn parse_identifier(context: &mut Context) -> Result<Expr, CalcError> {
|
||||
}
|
||||
}
|
||||
|
||||
split_into_variables(context, &identifier)
|
||||
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