cosmetic fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
765013d984
commit
c1972a89f7
1 changed files with 2 additions and 2 deletions
|
|
@ -1515,8 +1515,8 @@ SwigType *Swig_symbol_typedef_reduce(SwigType *ty, Symtab *tab) {
|
||||||
{
|
{
|
||||||
const char* dclass[3] = {"struct ", "union ", "class "};
|
const char* dclass[3] = {"struct ", "union ", "class "};
|
||||||
int i;
|
int i;
|
||||||
|
char * c = Char(nt);
|
||||||
for (i=0; i<3; i++) {
|
for (i=0; i<3; i++) {
|
||||||
char * c = Char(nt);
|
|
||||||
if (strstr(c, dclass[i]) == c) {
|
if (strstr(c, dclass[i]) == c) {
|
||||||
Replace(nt,dclass[i],"", DOH_REPLACE_FIRST);
|
Replace(nt,dclass[i],"", DOH_REPLACE_FIRST);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue