Skip to content

Commit b545a7e

Browse files
committed
Remove the artifacts of the old implementation
1 parent 33925fe commit b545a7e

File tree

10 files changed

+1
-2323
lines changed

10 files changed

+1
-2323
lines changed

interpreter/errors.c

-10
Original file line numberDiff line numberDiff line change
@@ -244,16 +244,6 @@ void throw_error_base(
244244
if (ast_stack != NULL)
245245
ast_stack[0] = 0;
246246

247-
// char *function_name = NULL;
248-
// if (is_preemptive) {
249-
// function_name = function->name;
250-
// } else {
251-
// if (function_call_stack.size > 0) {
252-
// FunctionCall* function_call = function_call_stack.arr[function_call_stack.size - 1];
253-
// function_name = function_call->function->name;
254-
// }
255-
// }
256-
257247
sprintf(
258248
traceback_line_msg[traceback_size - 1],
259249
"%*cFile: \"%s\", line %d",

0 commit comments

Comments
 (0)