From 019f10805eba1247bfd5bb94d1ba37526d522af6 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/SWIG@7382 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/Modules/swigmain.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Modules/swigmain.cxx b/Source/Modules/swigmain.cxx index 55af1ec0b..684668f6d 100644 --- a/Source/Modules/swigmain.cxx +++ b/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 } } }