0
0

🐛 update this.char when match() matches

This commit is contained in:
DrMaxNix 2022-09-08 20:25:07 +02:00
parent 1e57dad38e
commit d9256b243a

View File

@ -574,7 +574,8 @@ class Juicescript_lexer {
if(this.peek(offset) != needle) return false;
// consume if it matches
this.end += offset + 1;
this.end += offset;
this.next();
return true;
}