fix type for sizeof

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9040 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-03-28 07:49:03 +00:00
commit 75226d2b35

View file

@ -5274,7 +5274,7 @@ expr : exprnum { $$ = $1; }
| SIZEOF LPAREN type parameter_declarator RPAREN {
SwigType_push($3,$4.type);
$$.val = NewStringf("sizeof(%s)",SwigType_str($3,0));
$$.type = T_INT;
$$.type = T_ULONG;
}
| exprcompound { $$ = $1; }
| CHARCONST {