%interface family of macros enum fix for Java
enums were being generated into the interface class instead of the proxy class.
This commit is contained in:
parent
a87e722834
commit
63bbf642f4
1 changed files with 1 additions and 4 deletions
|
|
@ -1332,10 +1332,7 @@ public:
|
|||
// Add extra indentation
|
||||
Replaceall(enum_code, "\n", "\n ");
|
||||
Replaceall(enum_code, " \n", "\n");
|
||||
if (GetFlag(getCurrentClass(), "feature:interface"))
|
||||
Printv(interface_class_code, " ", enum_code, "\n\n", NIL);
|
||||
else
|
||||
Printv(proxy_class_constants_code, " ", enum_code, "\n\n", NIL);
|
||||
Printv(proxy_class_constants_code, " ", enum_code, "\n\n", NIL);
|
||||
} else {
|
||||
// Global enums are defined in their own file
|
||||
String *output_directory = outputDirectory(nspace);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue