@@ -103,7 +103,7 @@ function tokenizer( line, context ) {
103
103
*/
104
104
function onToken ( token ) {
105
105
// Ignore placeholders & EOF tokens:
106
- if ( token . start == = token . end ) {
106
+ if ( token . start > = token . end ) {
107
107
return ;
108
108
}
109
109
if ( token . type . isLoop || isControlKeyword ( token . type . keyword ) || ( token . type . label === 'name' && isUnrecognizedControlKeyword ( token . value ) ) ) {
@@ -196,7 +196,7 @@ function tokenizer( line, context ) {
196
196
var i ;
197
197
198
198
// Ignore placeholder nodes:
199
- if ( node . start == = node . end ) {
199
+ if ( node . start > = node . end ) {
200
200
return true ;
201
201
}
202
202
// Ignore node if it is an unrecognized `keyword`:
@@ -275,7 +275,7 @@ function tokenizer( line, context ) {
275
275
var obj ;
276
276
277
277
// Ignore placeholder nodes:
278
- if ( node . start == = node . end ) {
278
+ if ( node . start > = node . end ) {
279
279
return ;
280
280
}
281
281
@@ -308,7 +308,7 @@ function tokenizer( line, context ) {
308
308
property = properties . next ( ) ;
309
309
while ( ! property . done ) {
310
310
// Ignore placeholder nodes:
311
- if ( property . value . start == = property . value . end ) {
311
+ if ( property . value . start > = property . value . end ) {
312
312
return ;
313
313
}
314
314
// Case: 'bar' in `foo['bar']` - property already pushed as a string token. Ignore...
0 commit comments