Skip to content

Commit c0c0107

Browse files
committed
drop! debugging
1 parent 75566e0 commit c0c0107

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

run-test262.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,6 +1501,9 @@ static int eval_buf(JSContext *ctx, const char *buf, size_t buf_len,
15011501

15021502
if (s && (!str_equal(s, msg) || error_line != s_line)) {
15031503
printf("%s:%d: %sprevious error: %s\n", filename, s_line, strict_mode, s);
1504+
printf("***DEBUG*** %zu/%zu %zu/%zu\n",
1505+
strcspn(s, "\r"), strcspn(msg, "\n"),
1506+
strcspn(s, "\r"), strcspn(msg, "\n"));
15041507
atomic_inc(&changed_errors);
15051508
} else {
15061509
atomic_inc(&new_errors);

0 commit comments

Comments
 (0)