Fixing "Unknown variable ∞." message.
It occured when using a domain with the infinity symbol.
This commit is contained in:
parent
3039aade29
commit
9f2b08b938
1 changed files with 1 additions and 1 deletions
|
@ -692,7 +692,7 @@ TokenStream.prototype.isConst = function () {
|
||||||
var i = startPos;
|
var i = startPos;
|
||||||
for (; i < this.expression.length; i++) {
|
for (; i < this.expression.length; i++) {
|
||||||
var c = this.expression.charAt(i);
|
var c = this.expression.charAt(i);
|
||||||
if (c.toUpperCase() === c.toLowerCase()) {
|
if (c.toUpperCase() === c.toLowerCase() && !ADDITIONAL_VARCHARS.includes(c)) {
|
||||||
if (i === this.pos || (c !== '_' && c !== '.' && (c < '0' || c > '9'))) {
|
if (i === this.pos || (c !== '_' && c !== '.' && (c < '0' || c > '9'))) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue