Commit 43eba9c9 authored by Kevin Swinton's avatar Kevin Swinton Committed by ROOL
Browse files

WHILE/ACS bug fix

Minor fix to prevent an ACS token from being mistaken for another WHILE token, whilst in an existing WHILE construct.
Fixes ticket #465.

Version 1.78. Tagged as 'BASIC-1_78'
parent 4e05249d
...@@ -9,12 +9,12 @@ ...@@ -9,12 +9,12 @@
GBLS Module_ApplicationDate GBLS Module_ApplicationDate
GBLS Module_HelpVersion GBLS Module_HelpVersion
GBLS Module_ComponentName GBLS Module_ComponentName
Module_MajorVersion SETS "1.77" Module_MajorVersion SETS "1.78"
Module_Version SETA 177 Module_Version SETA 178
Module_MinorVersion SETS "" Module_MinorVersion SETS ""
Module_Date SETS "29 Jun 2019" Module_Date SETS "17 Dec 2019"
Module_ApplicationDate SETS "29-Jun-19" Module_ApplicationDate SETS "17-Dec-19"
Module_ComponentName SETS "BASIC" Module_ComponentName SETS "BASIC"
Module_FullVersion SETS "1.77" Module_FullVersion SETS "1.78"
Module_HelpVersion SETS "1.77 (29 Jun 2019)" Module_HelpVersion SETS "1.78 (17 Dec 2019)"
END END
/* (1.77) /* (1.78)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* *
*/ */
#define Module_MajorVersion_CMHG 1.77 #define Module_MajorVersion_CMHG 1.78
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 29 Jun 2019 #define Module_Date_CMHG 17 Dec 2019
#define Module_MajorVersion "1.77" #define Module_MajorVersion "1.78"
#define Module_Version 177 #define Module_Version 178
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "29 Jun 2019" #define Module_Date "17 Dec 2019"
#define Module_ApplicationDate "29-Jun-19" #define Module_ApplicationDate "17-Dec-19"
#define Module_ComponentName "BASIC" #define Module_ComponentName "BASIC"
#define Module_FullVersion "1.77" #define Module_FullVersion "1.78"
#define Module_HelpVersion "1.77 (29 Jun 2019)" #define Module_HelpVersion "1.78 (17 Dec 2019)"
#define Module_LibraryVersionInfo "1:77" #define Module_LibraryVersionInfo "1:78"
...@@ -1742,8 +1742,13 @@ EWHILP LDRB R10,[LINE],#1 ...@@ -1742,8 +1742,13 @@ EWHILP LDRB R10,[LINE],#1
CMPNE R10,#TREM CMPNE R10,#TREM
MOVEQ R1,#4 MOVEQ R1,#4
BEQ EWHILP BEQ EWHILP
CMP R10,#TWHILE CMP R10,#TWHILE ;check for WHILE (if relevant, check 1st token byte to disassociate ACS)
BNE NOTWHILE
LDRB R10,[LINE, #-2]
CMP R10,#TESCSTMT
MOV R10,#TWHILE
ADDEQ IACC,IACC,#1 ADDEQ IACC,IACC,#1
NOTWHILE
CMP R10,#TENDWH CMP R10,#TENDWH
SUBEQ IACC,IACC,#1 SUBEQ IACC,IACC,#1
BNE EWHILP BNE EWHILP
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment