diff options
Diffstat (limited to 'xsd2c/main.c')
-rwxr-xr-x | xsd2c/main.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/xsd2c/main.c b/xsd2c/main.c index 6e866c6..ada134a 100755 --- a/xsd2c/main.c +++ b/xsd2c/main.c @@ -1,5 +1,7 @@ #include "xsd2c.h" #include "formatter.h" +#include "tr.h" +#include "obj.h" #include <string.h> @@ -45,7 +47,15 @@ int main(int argc, char *argv[]) return 1; } - xsdEngineRun(xsdNode, outDir); + + if (!xsdInitTrModule(xsdNode)) + return 1; + + if (!xsdInitObjModule(xsdNode)) + return 1; + + + xsdEngineRun(xsdNode, outDir); xmlFreeDoc(xsdNode->doc); |