diff options
author | Marc Laukien <marc@zeroc.com> | 2002-07-25 14:33:59 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-07-25 14:33:59 +0000 |
commit | 260036ac03e885107995e8d03d94d06716c80aa5 (patch) | |
tree | 7b6bcc7555ac3154acc98f6733fddf21d09323de /cpp/src | |
parent | Changed Slice parser to disallow leading underscore for identifiers. (diff) | |
download | ice-260036ac03e885107995e8d03d94d06716c80aa5.tar.bz2 ice-260036ac03e885107995e8d03d94d06716c80aa5.tar.xz ice-260036ac03e885107995e8d03d94d06716c80aa5.zip |
added dummy --ice
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/slice2freezej/Main.cpp | 10 | ||||
-rw-r--r-- | cpp/src/slice2java/Main.cpp | 10 | ||||
-rw-r--r-- | cpp/src/slice2wsdl/Main.cpp | 10 | ||||
-rw-r--r-- | cpp/src/slice2xsd/Main.cpp | 10 |
4 files changed, 40 insertions, 0 deletions
diff --git a/cpp/src/slice2freezej/Main.cpp b/cpp/src/slice2freezej/Main.cpp index 6cfa614db7d..b06ce6efeab 100644 --- a/cpp/src/slice2freezej/Main.cpp +++ b/cpp/src/slice2freezej/Main.cpp @@ -308,6 +308,7 @@ usage(const char* n) " option may be specified multiple times for\n" " different names. NAME may be a scoped name.\n" "--output-dir DIR Create files in the directory DIR.\n" + "--ice TBD.\n" "-d, --debug Print debug messages.\n" ; } @@ -462,6 +463,15 @@ main(int argc, char* argv[]) } argc -= 2; } + else if(strcmp(argv[idx], "--ice") == 0) + { + // TBD + for(int i = idx ; i + 1 < argc ; ++i) + { + argv[i] = argv[i + 1]; + } + --argc; + } else if(argv[idx][0] == '-') { cerr << argv[0] << ": unknown option `" << argv[idx] << "'" << endl; diff --git a/cpp/src/slice2java/Main.cpp b/cpp/src/slice2java/Main.cpp index e03751fe8a6..0d01dd27769 100644 --- a/cpp/src/slice2java/Main.cpp +++ b/cpp/src/slice2java/Main.cpp @@ -32,6 +32,7 @@ usage(const char* n) "--impl Generate sample implementations.\n" "--impl-tie Generate sample TIE implementations.\n" "--clone Generate clone().\n" + "--ice TBD.\n" "-d, --debug Print debug messages.\n" ; } @@ -173,6 +174,15 @@ main(int argc, char* argv[]) } --argc; } + else if(strcmp(argv[idx], "--ice") == 0) + { + // TBD + for(int i = idx ; i + 1 < argc ; ++i) + { + argv[i] = argv[i + 1]; + } + --argc; + } else if(argv[idx][0] == '-') { cerr << argv[0] << ": unknown option `" << argv[idx] << "'" diff --git a/cpp/src/slice2wsdl/Main.cpp b/cpp/src/slice2wsdl/Main.cpp index 6e86e708626..a0eb13321ec 100644 --- a/cpp/src/slice2wsdl/Main.cpp +++ b/cpp/src/slice2wsdl/Main.cpp @@ -26,6 +26,7 @@ usage(const char* n) "-DNAME=DEF Define NAME as DEF.\n" "-UNAME Remove any definition for NAME.\n" "-IDIR Put DIR in the include file search path.\n" + "--ice TBD.\n" "-d, --debug Print debug messages.\n" ; } @@ -121,6 +122,15 @@ main(int argc, char* argv[]) } argc -= 2; } + else if(strcmp(argv[idx], "--ice") == 0) + { + // TBD + for(int i = idx ; i + 1 < argc ; ++i) + { + argv[i] = argv[i + 1]; + } + --argc; + } else if(argv[idx][0] == '-') { cerr << argv[0] << ": unknown option `" << argv[idx] << "'" << endl; diff --git a/cpp/src/slice2xsd/Main.cpp b/cpp/src/slice2xsd/Main.cpp index 833228b50aa..f3c485ad95c 100644 --- a/cpp/src/slice2xsd/Main.cpp +++ b/cpp/src/slice2xsd/Main.cpp @@ -26,6 +26,7 @@ usage(const char* n) "-DNAME=DEF Define NAME as DEF.\n" "-UNAME Remove any definition for NAME.\n" "-IDIR Put DIR in the include file search path.\n" + "--ice TBD.\n" "-d, --debug Print debug messages.\n" ; } @@ -121,6 +122,15 @@ main(int argc, char* argv[]) } argc -= 2; } + else if(strcmp(argv[idx], "--ice") == 0) + { + // TBD + for(int i = idx ; i + 1 < argc ; ++i) + { + argv[i] = argv[i + 1]; + } + --argc; + } else if(argv[idx][0] == '-') { cerr << argv[0] << ": unknown option `" << argv[idx] << "'" << endl; |