Properly fail to parse >== and <== - fixes T2921

This commit is contained in:
Logan Smyth
2016-02-13 10:08:05 -08:00
parent 13cb34a966
commit 40e5f505f4
3 changed files with 6 additions and 1 deletions

View File

@@ -373,7 +373,8 @@ export default class Tokenizer {
}
if (next === 61) {
size = this.input.charCodeAt(this.state.pos + 2) === 61 ? 3 : 2;
// <= | >=
size = 2;
}
return this.finishOp(tt.relational, size);