Sync with 5.4.2
[deliverable/titan.core.git] / xsdconvert / converter.cc
index cba52ad0ba42bee6d827d648c0554a5486c5ed9a..f41827d00b49e548e1030b59423d00996fc99008 100644 (file)
@@ -203,7 +203,7 @@ static void printProductinfo() {
 
 static void printUsage(const char * argv0) {
   fprintf(stderr, "\n"
-    "usage: %s [-cepstVwx] [-f file] schema.xsd ...\n"
+    "usage: %s [-ceghpstVwx] [-f file] schema.xsd ...\n"
     "  or %s -v\n"
     "\n"
     "OPTIONS:\n"
@@ -285,7 +285,8 @@ static bool generatePredefinedModules() {
     fclose(fileUsefulTtcn3Types);
   }
 
-  if (stat("XSD.ttcn", &stFileInfo) != 0) {
+  //XSD.ttcn changed
+  //if (stat("XSD.ttcn", &stFileInfo) != 0) {
     extern const char *moduleXSD;
     FILE *fileXsd = fopen("XSD.ttcn", "w");
     if (fileXsd == NULL) {
@@ -297,7 +298,7 @@ static bool generatePredefinedModules() {
       fprintf(stderr, "Notify: File \'XSD.ttcn\' was generated.\n");
     }
     fclose(fileXsd);
-  }
+  //}
   return true;
 }
 
This page took 0.026799 seconds and 5 git commands to generate.