Fixed weird code generation problem with enum types defined inside

of class definitions. Reported by Kevin Jacobs (1/25/00).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-01-28 16:59:11 +00:00
commit 8b05c332be

View file

@ -43,7 +43,7 @@ static String type_ext;
static char *isolate_type_name(char *tname) {
static String s;
s = "";
while ((*tname) && (isalnum(*tname) || (*tname == '_') || (*tname == '$') || (*tname == ' '))) {
while ((*tname) && (isalnum(*tname) || (*tname == '_') || (*tname == '$') || (*tname == ' ') || (*tname == ':'))) {
s << *tname;
tname++;
}