fixed bug in ruby -feature option handling
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e4444a5c78
commit
b279a1c3f4
1 changed files with 3 additions and 6 deletions
|
|
@ -95,9 +95,9 @@ Ruby Options (available with -ruby)\n\
|
||||||
-module name - Set module name\n\
|
-module name - Set module name\n\
|
||||||
-feature name - Set feature name (used by `require')\n";
|
-feature name - Set feature name (used by `require')\n";
|
||||||
|
|
||||||
static char *module;
|
static char *module = 0;
|
||||||
static char *modvar;
|
static char *modvar = 0;
|
||||||
static char *feature;
|
static char *feature = 0;
|
||||||
static String *other_extern = 0;
|
static String *other_extern = 0;
|
||||||
static String *other_init = 0;
|
static String *other_init = 0;
|
||||||
static char *import_file;
|
static char *import_file;
|
||||||
|
|
@ -188,9 +188,6 @@ static void insert_file(char *filename, File *file) {
|
||||||
* --------------------------------------------------------------------- */
|
* --------------------------------------------------------------------- */
|
||||||
|
|
||||||
void RUBY::parse() {
|
void RUBY::parse() {
|
||||||
module = 0;
|
|
||||||
modvar = 0;
|
|
||||||
feature = 0;
|
|
||||||
import_file = 0;
|
import_file = 0;
|
||||||
current = NO_CPP;
|
current = NO_CPP;
|
||||||
klass = 0;
|
klass = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue