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;