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:
parent
b84495613a
commit
75226d2b35
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue