From fb9befa3d883250d67b6cec492018c78f89ef2e8 Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Mon, 4 Jun 2018 23:26:01 +0200 Subject: Modifying print function to handle char and int automatically, implementing reade and readc, handling two variables with the same name in different scope => local variable has priority on the global one --- src/symbol_table.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/symbol_table.c') diff --git a/src/symbol_table.c b/src/symbol_table.c index d03f858..60f2cd6 100644 --- a/src/symbol_table.c +++ b/src/symbol_table.c @@ -172,8 +172,6 @@ int loc_get_addr(const char name[]) { return loc_symbol_table.entries[count].addr; } } - fprintf(stderr, "No definition of the variable %s near line %d\n", name, - lineno); return -1; } void loc_display_table() { -- cgit v1.2.3