✨ keep track of single equal sign =
This commit is contained in:
parent
d9256b243a
commit
53254b88a0
@ -86,8 +86,8 @@ class Juicescript_lexer {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case "=":
|
case "=":
|
||||||
if (this.match("=")) this.token_add({type: Juicescript.token_type.EQUAL});
|
if (this.match("=")) this.token_add({type: Juicescript.token_type.EQUAL_EQUAL});
|
||||||
else this.error("unexpected character '" + this.char + "'");
|
else this.token_add({type: Juicescript.token_type.EQUAL});
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "<":
|
case "<":
|
||||||
|
Reference in New Issue
Block a user