fix ² and ³ in parser

This commit is contained in:
nothingTVatYT
2024-01-31 22:05:24 +01:00
parent 245cf63b0b
commit 54658cbb3b
@@ -189,7 +189,7 @@ namespace FlaxEditor.Utilities
if (Operators.ContainsKey(str))
return TokenType.Operator;
if (char.IsLetter(c))
if (char.IsLetter(c) || c=='²' || c=='³')
return TokenType.Variable;
throw new ParsingException("wrong character");