mirror of
https://github.com/uffejakobsen/acme.git
synced 2024-11-22 18:32:09 +00:00
fixed behaviour of NOT operator concerning type checking: address refs are now negated.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@152 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
parent
e908284773
commit
abdea30e33
@ -1042,7 +1042,7 @@ static void int_handle_monadic_operator(struct number *self, enum op_handle op)
|
||||
case OPHANDLE_NOT:
|
||||
self->val.intval = ~(self->val.intval);
|
||||
self->flags &= ~NUMBER_FITS_BYTE;
|
||||
refs = self->addr_refs; // no change (FIXME - negate?)
|
||||
refs = -(self->addr_refs); // negate address ref count
|
||||
break;
|
||||
case OPHANDLE_NEGATE:
|
||||
self->val.intval = -(self->val.intval);
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
#define RELEASE "0.96.5" // update before release FIXME
|
||||
#define CODENAME "Fenchurch" // update before release
|
||||
#define CHANGE_DATE "10 May" // update before release FIXME
|
||||
#define CHANGE_DATE "11 May" // update before release FIXME
|
||||
#define CHANGE_YEAR "2020" // update before release
|
||||
//#define HOME_PAGE "http://home.pages.de/~mac_bacon/smorbrod/acme/"
|
||||
#define HOME_PAGE "http://sourceforge.net/p/acme-crossass/" // FIXME
|
||||
|
Loading…
Reference in New Issue
Block a user