Nice/src/bossa/syntax constant.nice,1.13,1.14
Arjan Boeijink <[email protected]> Sat, 12 Mar 2005 00:46:30 +0000
| Newsgroups | gmane.comp.lang.nice.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/nice/Nice/src/bossa/syntax
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8721/F:/nice/src/bossa/syntax
Modified Files:
constant.nice
Log Message:
Fix sign of hex literals.
Index: constant.nice
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/syntax/constant.nice,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** constant.nice 12 Mar 2005 00:01:55 -0000 1.13
--- constant.nice 12 Mar 2005 00:46:26 -0000 1.14
***************
*** 132,136 ****
{ // handle 32 bit bin/hex literals which don't fit in a int
if (value > 0)
! value = (1L << 32) - value;
else
value = (1L << 32) + value;
--- 132,136 ----
{ // handle 32 bit bin/hex literals which don't fit in a int
if (value > 0)
! value = -((1L << 32) - value);
else
value = (1L << 32) + value;
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click