0
0

🔥 remove single equal sign

This commit is contained in:
DrMaxNix 2022-09-09 17:06:24 +02:00
parent 45690e798a
commit 2d7a85f6c9
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ class Juicescript_lexer {
case "=":
if (this.match("=")) this.token_add({type: Juicescript.token_type.EQUAL_EQUAL});
else this.token_add({type: Juicescript.token_type.EQUAL});
else this.error("unexpected character '" + this.char + "'");
break;
case "<":

View File

@ -13,7 +13,7 @@ class Juicescript {
"NULL",
// operators
"EQUAL", "NOT",
"NOT",
"EQUAL_EQUAL", "NOT_EQUAL",
"GREATER", "GREATER_EQUAL",
"LESS", "LESS_EQUAL",