fixed bug introduced in svn rev 214 ("Too late for postfix" error)

git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@219 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
marcobaye 2020-06-07 13:05:01 +00:00
parent b17203faa7
commit 93cea56d88
2 changed files with 3 additions and 2 deletions

View File

@ -149,7 +149,8 @@ static void symbol_forcebit(struct symbol *symbol, int force_bit)
// make sure the force bits don't clash
if ((symbol->object.type == &type_int)
|| (symbol->object.type == &type_float)) {
if ((symbol->object.u.number.flags & NUMBER_FORCEBITS) != force_bit)
if (force_bit
&& force_bit != (symbol->object.u.number.flags & NUMBER_FORCEBITS))
Throw_error("Too late for postfix.");
}
}

View File

@ -9,7 +9,7 @@
#define RELEASE "0.96.5" // update before release FIXME
#define CODENAME "Fenchurch" // update before release
#define CHANGE_DATE "6 June" // update before release FIXME
#define CHANGE_DATE "7 June" // 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