From 93cea56d88231ee9a79e0e5e0b2b42acfeb75a23 Mon Sep 17 00:00:00 2001 From: marcobaye Date: Sun, 7 Jun 2020 13:05:01 +0000 Subject: [PATCH] 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 --- src/symbol.c | 3 ++- src/version.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/symbol.c b/src/symbol.c index 347d839..3d34087 100644 --- a/src/symbol.c +++ b/src/symbol.c @@ -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."); } } diff --git a/src/version.h b/src/version.h index 6b332f9..f6ca355 100644 --- a/src/version.h +++ b/src/version.h @@ -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