summaryrefslogtreecommitdiff
path: root/src/mangling
diff options
context:
space:
mode:
Diffstat (limited to 'src/mangling')
-rw-r--r--src/mangling/java_gram.y6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mangling/java_gram.y b/src/mangling/java_gram.y
index cb60d82..9f167c2 100644
--- a/src/mangling/java_gram.y
+++ b/src/mangling/java_gram.y
@@ -128,13 +128,11 @@ full_class_name:
TEXT { $$ = g_class_enum_type_new(CET_CLASS, $1); }
| full_class_name SLASH TEXT {
$$ = g_class_enum_type_new(CET_CLASS, $3);
- g_data_type_set_namespace($$, $1);
- g_object_unref($1);
+ g_data_type_set_namespace($$, $1, ".");
}
| full_class_name DOLLAR TEXT {
$$ = g_class_enum_type_new(CET_CLASS, $3);
- g_data_type_set_namespace($$, $1);
- g_object_unref($1);
+ g_data_type_set_namespace($$, $1, ".");
}
;