File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -19928,8 +19928,6 @@ static __exception int next_token(JSParseState *s)
19928
19928
}
19929
19929
s->token.col_num = max_int(1, s->mark - s->eol);
19930
19930
s->buf_ptr = p;
19931
- s->last_line_num = s->token.line_num;
19932
- s->last_col_num = s->token.col_num;
19933
19931
19934
19932
// dump_token(s, &s->token);
19935
19933
return 0;
@@ -20399,8 +20397,8 @@ static void emit_source_loc(JSParseState *s)
20399
20397
DynBuf *bc = &fd->byte_code;
20400
20398
20401
20399
dbuf_putc(bc, OP_source_loc);
20402
- dbuf_put_u32(bc, s->last_line_num );
20403
- dbuf_put_u32(bc, s->last_col_num );
20400
+ dbuf_put_u32(bc, s->token.line_num );
20401
+ dbuf_put_u32(bc, s->token.col_num );
20404
20402
}
20405
20403
20406
20404
static void emit_op(JSParseState *s, uint8_t val)
You can’t perform that action at this time.
0 commit comments