🐛 update this.char
when match()
matches
This commit is contained in:
parent
1e57dad38e
commit
d9256b243a
@ -574,7 +574,8 @@ class Juicescript_lexer {
|
|||||||
if(this.peek(offset) != needle) return false;
|
if(this.peek(offset) != needle) return false;
|
||||||
|
|
||||||
// consume if it matches
|
// consume if it matches
|
||||||
this.end += offset + 1;
|
this.end += offset;
|
||||||
|
this.next();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user