Release 0.94.10: Check for shift-space now works in UTF-8 as well. Docs contain list of built-in functions.

git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@31 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
marcobaye 2014-05-17 09:40:55 +00:00
parent af1521f258
commit 6c59f05179
4 changed files with 23 additions and 5 deletions

View File

@ -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
----------------------------------------------------------------------

View File

@ -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

View File

@ -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

View File

@ -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);
}