From d04865884f40755f9ee8a8c1572ee859174d93eb Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 15 Feb 2011 22:27:13 +0900 Subject: [PATCH] Set the method's function pointer. --- tools/qfcc/source/qc-parse.y | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/qfcc/source/qc-parse.y b/tools/qfcc/source/qc-parse.y index c6bc345b3..0a9087179 100644 --- a/tools/qfcc/source/qc-parse.y +++ b/tools/qfcc/source/qc-parse.y @@ -1496,6 +1496,7 @@ methoddef current_func = begin_function (sym, nicename, ivar_scope, 1); class_finish_ivar_scope (current_class, ivar_scope, current_func->symtab); + method->func = sym->s.func; method->def = sym->s.func->def; current_symtab = current_func->symtab; current_storage = st_local;