Skip to content

Commit 456256c

Browse files
committed
diagnostics: remove debug prints
1 parent 41d6874 commit 456256c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

common/diagnostics.c2

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,6 @@ fn void Diags.internal(Diags* diags,
199199
if (end_col < range_end_col) // output until the end of the region
200200
end_col = range_end_col;
201201
}
202-
printf("loc: %d,%d,%d start: %d,%d,%d end: %d,%d,%d\n",
203-
sloc, loc.line, loc.column,
204-
range.start, startLoc.line, startLoc.column,
205-
range.end, endLoc.line, endLoc.column);
206202
}
207203
// If the line is long, show a fragment up to 128 bytes around the error
208204
u32 skip = 0;
@@ -232,9 +228,6 @@ fn void Diags.internal(Diags* diags,
232228
if (end_col > len + 2) // no need to output ~ past the end of the visible part
233229
end_col = len + 2;
234230

235-
printf("len: %d skip: %d loc_col: %d range_start: %d range_end: %d end_col: %d\n",
236-
len, skip, loc_col, range_start_col, range_end_col, end_col);
237-
238231
// output the source line or fragment thereof
239232
if (skip) out.add("...");
240233
out.add2(text, len);

0 commit comments

Comments
 (0)