diff --git a/docs/Changes.txt b/docs/Changes.txt index 5ebfe53..61e85c9 100644 --- a/docs/Changes.txt +++ b/docs/Changes.txt @@ -12,6 +12,15 @@ platform used. There should be another help file in this archive outlining the platform specific changes. +---------------------------------------------------------------------- +Section: New in release 0.94.10 +---------------------------------------------------------------------- + +Warning about shift-space as first character of label name now works + for UTF-8 as well. +Operator priority list in docs now contains built-in function calls. + + ---------------------------------------------------------------------- Section: New in release 0.94.9 ---------------------------------------------------------------------- diff --git a/docs/QuickRef.txt b/docs/QuickRef.txt index 5b2ad63..0747793 100644 --- a/docs/QuickRef.txt +++ b/docs/QuickRef.txt @@ -259,6 +259,14 @@ This is a list of the operators currently known by ACME: Priority Example Meaning Alias ------------------------------------------------------------ + 14 sin(v) Trigonometric sine function + 14 cos(v) Trigonometric cosine function + 14 tan(v) Trigonometric tangent function + 14 arcsin(v) Inverse of sin() + 14 arccos(v) Inverse of cos() + 14 arctan(v) Inverse of tan() + 14 int(v) Convert to integer + 14 float(v) Convert to float 13 ! v Complement of NOT 12 v ^ w To the power of 11 - v Negate diff --git a/src/acme.c b/src/acme.c index b87caa9..8371a2e 100644 --- a/src/acme.c +++ b/src/acme.c @@ -15,9 +15,9 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -#define RELEASE "0.94.9" // update before release (FIXME) +#define RELEASE "0.94.10" // update before release (FIXME) #define CODENAME "Zarquon" // update before release -#define CHANGE_DATE "7 May" // update before release +#define CHANGE_DATE "17 May" // update before release #define CHANGE_YEAR "2014" // update before release //#define HOME_PAGE "http://home.pages.de/~mac_bacon/smorbrod/acme/" // FIXME #define HOME_PAGE "http://sourceforge.net/p/acme-crossass/" // FIXME diff --git a/src/global.c b/src/global.c index a0b1813..22435b7 100644 --- a/src/global.c +++ b/src/global.c @@ -186,9 +186,10 @@ static void parse_mnemo_or_global_label_def(int *statement_flags) if ((CPU_state.type->keyword_is_mnemonic(Input_read_keyword()) == FALSE) && first_label_of_statement(statement_flags)) { // Now GotByte = illegal char - // 04 Jun 2005 - this fix should help to - // explain "strange" error messages. - if (*GLOBALDYNABUF_CURRENT == ' ') + // 04 Jun 2005: this fix should help to explain "strange" error messages. + // 17 May 2014: now it works for UTF-8 as well. + if ((*GLOBALDYNABUF_CURRENT == (char) 0xa0) + || ((GlobalDynaBuf->size >= 2) && (GLOBALDYNABUF_CURRENT[0] == (char) 0xc2) && (GLOBALDYNABUF_CURRENT[1] == (char) 0xa0))) Throw_first_pass_warning("Label name starts with a shift-space character."); Label_parse_definition(ZONE_GLOBAL, *statement_flags); }