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:
parent
b64cde24a6
commit
8b05c332be
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ static String type_ext;
|
||||||
static char *isolate_type_name(char *tname) {
|
static char *isolate_type_name(char *tname) {
|
||||||
static String s;
|
static String s;
|
||||||
s = "";
|
s = "";
|
||||||
while ((*tname) && (isalnum(*tname) || (*tname == '_') || (*tname == '$') || (*tname == ' '))) {
|
while ((*tname) && (isalnum(*tname) || (*tname == '_') || (*tname == '$') || (*tname == ' ') || (*tname == ':'))) {
|
||||||
s << *tname;
|
s << *tname;
|
||||||
tname++;
|
tname++;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue