From 0fd5761860f8e8a07f15158aa7c8e7d6f58723bd Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 22 Jun 2008 01:24:56 +0000 Subject: [PATCH] Deleted legacy code for function-definition --- src/parser.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/parser.c b/src/parser.c index 94334f2..b4dec18 100644 --- a/src/parser.c +++ b/src/parser.c @@ -310,15 +310,6 @@ static int _function_definition(C99 * c99) int ret = 0; DEBUG_GRAMMAR(); -#if 0 - if(code_function_begin(c99->code, c99->identifier) != 0) - ret |= _parse_error(c99, error_get()); - free(c99->identifier); - c99->identifier = NULL; - ret |= _compound_statement(c99); - if(code_function_end(c99->code) != 0) - ret |= _parse_error(c99, error_get()); -#endif code_context_set(c99->code, CODE_CONTEXT_FUNCTION_START); ret |= _compound_statement(c99); code_context_set(c99->code, CODE_CONTEXT_FUNCTION_END);