Support for Lua added - patch from Mark Gossage

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-08-15 20:38:34 +00:00
commit 15150feff5
9 changed files with 175 additions and 7 deletions

View file

@ -338,7 +338,7 @@ void SWIG_getoptions(int argc, char *argv[])
int includecount = 0;
// Get options
for (i = 1; i < argc; i++) {
if (argv[i]) {
if (argv[i] && !Swig_check_marked(i)) {
if (strncmp(argv[i],"-I-",3) == 0) {
// Don't push/pop directories
Swig_set_push_dir(0);