summaryrefslogtreecommitdiff
path: root/src/mangling
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-07-02 22:39:25 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-07-02 22:40:18 (GMT)
commitde2cb8e2fad4a3031d7b7c2cb189a6dbdaf8d5a9 (patch)
treeeb9b01fc893ace47e0311ebca7511162769c36be /src/mangling
parent4630eb7a2b0b61a4e9ea3a99e7a8cdaba05392cd (diff)
Extented the types definitions.
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, ".");
}
;