diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-07-08 19:48:30 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-07-08 19:48:30 (GMT) |
commit | 6f3c4bc6ec571dcca8e25b9f82a0c2e72310900c (patch) | |
tree | 35d5e178a8c93f69956d76e46ed2a2fa9ec84577 /plugins/dexbnf | |
parent | 70fe3101ebd8fe28ef821a0c9097ea51d4e0691b (diff) |
Changed the type of namespace separators.
Diffstat (limited to 'plugins/dexbnf')
-rw-r--r-- | plugins/dexbnf/type.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/dexbnf/type.c b/plugins/dexbnf/type.c index a6ce838..5a0d82c 100644 --- a/plugins/dexbnf/type.c +++ b/plugins/dexbnf/type.c @@ -24,6 +24,9 @@ #include "type.h" +#include <string.h> + + #include <analysis/types/basic.h> #include <analysis/types/cse.h> #include <analysis/types/encaps.h> @@ -113,7 +116,7 @@ static GDataType *dtd_full_class_name(input_buffer *buffer) result = g_class_enum_type_new(CET_CLASS, name); - g_data_type_set_namespace(result, ns, "."); + g_data_type_set_namespace(result, ns, strdup(".")); } while (1); |