aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r--gcc/java/decl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index b8f09e1..014fcc7 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -1860,6 +1860,7 @@ java_expand_body (tree fndecl)
current_function_decl = fndecl;
input_location = DECL_SOURCE_LOCATION (fndecl);
+ current_class = DECL_CONTEXT (fndecl);
timevar_push (TV_EXPAND);