From b75498acad9f3642032ece24fd8ed1f368da4549 Mon Sep 17 00:00:00 2001 From: mar77i Date: Mon, 18 Nov 2024 18:38:40 +0100 Subject: [PATCH] remove debug output --- runtime.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/runtime.c b/runtime.c index d8389eb..c6baab1 100644 --- a/runtime.c +++ b/runtime.c @@ -123,7 +123,6 @@ static inline int assign_value( struct growable *scope, char *name, struct scope_value value ) { size_t i; - printf("assigning %s value %"PRIdMAX"\n", name, value.u.i); for (i = 0; i < scope->len; i++) { if (strcmp(GET_SCOPE_ITEM(*scope, i).name, name) == 0) { GET_SCOPE_ITEM(*scope, i).value = value; @@ -157,7 +156,6 @@ int evaluate_statement(const struct program p, struct growable *scope, size_t *s if (evaluate_arith(p, scope, stmt, UNTIL_SEMICOLON, &value.u.i) < 0) return -1; *stmt = value.u.i; - printf("goto %zu\n", *stmt); } else { fprintf(stderr, "Error: canot execute: "); ast_item_dump(stderr, *item); -- 2.47.0