[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [StrongED] v4.70a12 BASIC Assembler comments



In message <568862453dlist01@xxxxxxxxxxxxxxxx>
          Martin <list01@xxxxxxxxxxxxxxxx> wrote:

> I think there is a problem with assembler comments in BASIC...
> 
> When using both BASIC and BasAsm modes, if a comment within [...]
> assembler statements is preceeded by either ; or \ then any BASIC
> keywords which happen to be in the comment are tokenised. 

It's actually the other way round. Top-bit-set characters are not
converted to keywords on detokenisation when in assembler comments.

To avoid the problem of top-bit-set characters being converted to
keywords when the file was reloaded (see Manual -> Q and A) I added
some code to detect assembler sections. If in a section top-bit-set
characters would not be touched.

Unfortunately this has issues as you've noticed. Another problem is
that it doesn't work with selections that don't contain '[' and ']'
which are used to detect assembler sections.

You can turn off the option 'Detect ASM sections' in Global Choices ->
BASIC to go back to the old behaviour.

Cheers,
Fred.

-- 
StrongED Developer
http://www.stronged.iconbar.com/

--=20
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxx
List archives at http://www.Torrens.org/RO/StrongED/index.html