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