Remove input and length from state (#9646)
This commit is contained in:
@@ -82,8 +82,7 @@ export default (superClass: Class<Parser>): Class<Parser> =>
|
||||
getTokenFromCode(code: number) {
|
||||
if (
|
||||
code === charCodes.percentSign &&
|
||||
this.state.input.charCodeAt(this.state.pos + 1) ===
|
||||
charCodes.percentSign
|
||||
this.input.charCodeAt(this.state.pos + 1) === charCodes.percentSign
|
||||
) {
|
||||
return this.finishOp(tt.placeholder, 2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user