🔥 remove single equal sign
This commit is contained in:
parent
45690e798a
commit
2d7a85f6c9
@ -88,7 +88,7 @@ class Juicescript_lexer {
|
|||||||
|
|
||||||
case "=":
|
case "=":
|
||||||
if (this.match("=")) this.token_add({type: Juicescript.token_type.EQUAL_EQUAL});
|
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;
|
break;
|
||||||
|
|
||||||
case "<":
|
case "<":
|
||||||
|
@ -13,7 +13,7 @@ class Juicescript {
|
|||||||
"NULL",
|
"NULL",
|
||||||
|
|
||||||
// operators
|
// operators
|
||||||
"EQUAL", "NOT",
|
"NOT",
|
||||||
"EQUAL_EQUAL", "NOT_EQUAL",
|
"EQUAL_EQUAL", "NOT_EQUAL",
|
||||||
"GREATER", "GREATER_EQUAL",
|
"GREATER", "GREATER_EQUAL",
|
||||||
"LESS", "LESS_EQUAL",
|
"LESS", "LESS_EQUAL",
|
||||||
|
Reference in New Issue
Block a user