Use NSPACE_SEPARATOR rather than liter string for package seperator.

This commit is contained in:
Brant K. Kyser 2013-01-08 21:28:13 -06:00
commit 6cb5b5487f
2 changed files with 3 additions and 3 deletions

View file

@ -357,7 +357,7 @@ Language::~Language() {
const char *attrib = "director:classname";
String *classname = Getattr(n, "sym:name");
Replace(nspace, ".", "_", DOH_REPLACE_ANY);
Replace(nspace, NSPACE_SEPARATOR, "_", DOH_REPLACE_ANY);
if (Len(nspace) > 0)
dirclassname = NewStringf("SwigDirector_%s_%s", nspace, classname);
else