From e832d5dd6ec48c5e6d0258f7897513666e5b202a Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Tue, 23 Aug 2005 09:17:28 +0000 Subject: [PATCH] Fix swig -help since support for -lua was added git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7382 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/Modules/swigmain.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SWIG/Source/Modules/swigmain.cxx b/SWIG/Source/Modules/swigmain.cxx index 55af1ec0b..684668f6d 100644 --- a/SWIG/Source/Modules/swigmain.cxx +++ b/SWIG/Source/Modules/swigmain.cxx @@ -63,7 +63,7 @@ struct swig_module { Place an entry for new language modules here, keeping the list sorted alphabetically. */ -swig_module modules[] = { +static swig_module modules[] = { {"-allegrocl", swig_allegrocl, "ALLEGROCL"}, {"-chicken", swig_chicken, "CHICKEN"}, {"-clisp", swig_clisp, "CLISP"}, @@ -188,7 +188,7 @@ int main(int margc, char **margv) { Printf(stdout," %-15s - Generate %s wrappers\n", modules[j].name, modules[j].help); } } - Swig_mark_arg(i); + // Swig_mark_arg not called as the general -help options also need to be displayed later on } } }