diff --git a/Source/Modules/lua.cxx b/Source/Modules/lua.cxx index cfb3a3f5b..a33898a2f 100644 --- a/Source/Modules/lua.cxx +++ b/Source/Modules/lua.cxx @@ -106,7 +106,6 @@ private: File *f_wrappers; File *f_init; File *f_initbeforefunc; - String *PrefixPlusUnderscore; String *s_cmd_tab; // table of command names String *s_var_tab; // table of global variables String *s_const_tab; // table of global constants @@ -150,7 +149,6 @@ public: f_wrappers(0), f_init(0), f_initbeforefunc(0), - PrefixPlusUnderscore(0), s_cmd_tab(0), s_var_tab(0), s_const_tab(0), diff --git a/Source/Modules/modula3.cxx b/Source/Modules/modula3.cxx index ffb172f8f..4c56d0664 100644 --- a/Source/Modules/modula3.cxx +++ b/Source/Modules/modula3.cxx @@ -204,9 +204,6 @@ private: String *proxy_class_name; String *variable_name; //Name of a variable being wrapped String *variable_type; //Type of this variable - String *enumeration_name; //Name of the current enumeration type - Hash *enumeration_items; //and its members - int enumeration_max; Hash *enumeration_coll; //Collection of all enumerations. /* The items are nodes with members: "items" - hash of with key 'itemname' and content 'itemvalue' @@ -268,9 +265,6 @@ MODULA3(): proxy_class_name(NULL), variable_name(NULL), variable_type(NULL), - enumeration_name(NULL), - enumeration_items(NULL), - enumeration_max(0), enumeration_coll(NULL), constant_values(NULL), constantfilename(NULL), @@ -1784,19 +1778,6 @@ MODULA3(): } } -#if 0 - void generateEnumerationItem(const String *name, const String *value, int numvalue) { - String *oldsymname = Getattr(enumeration_items, value); - if (oldsymname != NIL) { - Swig_warning(WARN_MODULA3_BAD_ENUMERATION, input_file, line_number, "The value <%s> is already assigned to <%s>.\n", value, oldsymname); - } - Setattr(enumeration_items, value, name); - if (enumeration_max < numvalue) { - enumeration_max = numvalue; - } - } -#endif - void emitEnumeration(File *file, String *name, Node *n) { Printf(file, "%s = {", name); int i;