This patch fixes it for me: --- ragel/parsedata.cpp (revision 660) +++ ragel/parsedata.cpp (working copy) @@ -116,7 +116,7 @@ } if ( unusedBits && keyOps->alphType->isSigned && ul >> (size * 8 - 1) ) - ul |= (0xffffffff >> (size*8 ) ) << (size*8); + ul |= (-1L >> (size*8 ) ) << (size*8); return Key( (long)ul ); }
Apologies for the lack of proper threading on this message. -- William <[email protected]> _______________________________________________ ragel-users mailing list [email protected] http://www.complang.org/mailman/listinfo/ragel-users
