From f7760de088b7da0bca973fb40ef4112c24775ac4 Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Tue, 5 Jun 2018 17:24:18 +0200 Subject: Return fix --- src/symbol_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/symbol_table.c') diff --git a/src/symbol_table.c b/src/symbol_table.c index 9d9617c..64399bd 100644 --- a/src/symbol_table.c +++ b/src/symbol_table.c @@ -213,6 +213,6 @@ static char *string_of_type(int type) { void check_expected_type(int type_to_check, int type_expected) { if (type_to_check != type_expected) fprintf(stderr, "Expected type : %s -> Got type : %s (near line %d)\n", - string_of_type(type_to_check), string_of_type(type_to_check), + string_of_type(type_expected), string_of_type(type_to_check), lineno); } -- cgit v1.2.3