Apply patch #3392264 from Sebastien Bine to parse (unsigned) long long types in enum value assignment.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6f729a05d9
commit
aae9c18e6e
3 changed files with 26 additions and 3 deletions
|
|
@ -5638,6 +5638,7 @@ etype : expr {
|
|||
$$ = $1;
|
||||
if (($$.type != T_INT) && ($$.type != T_UINT) &&
|
||||
($$.type != T_LONG) && ($$.type != T_ULONG) &&
|
||||
($$.type != T_LONGLONG) && ($$.type != T_ULONGLONG) &&
|
||||
($$.type != T_SHORT) && ($$.type != T_USHORT) &&
|
||||
($$.type != T_SCHAR) && ($$.type != T_UCHAR) &&
|
||||
($$.type != T_CHAR) && ($$.type != T_BOOL)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue