Fix undefined function: '∏'

Without this fix `prod(1,10,n)` works fine, but `∏(1,10,n)`
returns `Undefined function: '∏'.`
This commit is contained in:
Aurelien Jacobs 2021-10-03 14:44:40 +02:00 committed by PaddiM8
parent 946074066a
commit 12869efe08

View File

@ -236,6 +236,7 @@ impl<'a> Lexer<'a> {
let value = match value.as_ref() {
"Σ" | "" => String::from("sum"),
"" => String::from("prod"),
"" => String::from("integrate"),
"°" => String::from("deg"),
_ => value,