Fix bad output in "unsupported" message for -perl -package and -perl -interface
caused by unescaped "%module" in Printf format string. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8505bb9d6b
commit
91f0fcb0ba
1 changed files with 4 additions and 4 deletions
|
|
@ -135,12 +135,12 @@ public:
|
|||
for (i = 1; i < argc; i++) {
|
||||
if (argv[i]) {
|
||||
if (strcmp(argv[i], "-package") == 0) {
|
||||
Printf(stderr,
|
||||
"*** -package is no longer supported\n*** use the directive '%module A::B::C' in your interface file instead\n*** see the Perl section in the manual for details.\n");
|
||||
Printv(stderr,
|
||||
"*** -package is no longer supported\n*** use the directive '%module A::B::C' in your interface file instead\n*** see the Perl section in the manual for details.\n", NIL);
|
||||
SWIG_exit(EXIT_FAILURE);
|
||||
} else if (strcmp(argv[i], "-interface") == 0) {
|
||||
Printf(stderr,
|
||||
"*** -interface is no longer supported\n*** use the directive '%module A::B::C' in your interface file instead\n*** see the Perl section in the manual for details.\n");
|
||||
Printv(stderr,
|
||||
"*** -interface is no longer supported\n*** use the directive '%module A::B::C' in your interface file instead\n*** see the Perl section in the manual for details.\n", NIL);
|
||||
SWIG_exit(EXIT_FAILURE);
|
||||
} else if (strcmp(argv[i], "-exportall") == 0) {
|
||||
export_all = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue