uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit cabccd61fc443120566bf0a0608a4231f6d400e6
parent f7498cff5cc5995abe074caace991043bab66fdf
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date:   Thu,  9 Jun 2022 21:42:13 +0100

(asma) only ignore [ or ] if it is a whole token

Diffstat:
Mprojects/library/asma.tal | 17+++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/projects/library/asma.tal b/projects/library/asma.tal @@ -210,7 +210,10 @@ JMP2r &preamble - "%BRK 20 '{ 20 "00 20 '} 20 "@on-reset 20 + "%BRK 20 '{ 20 "00 20 '} 20 + "%[ 20 '{ 20 '} 20 + "%] 20 '{ 20 '} 20 + "@on-reset 20 &preamble-end ( @@ -963,14 +966,12 @@ &28 :&27 $2 '( 00 :asma-comment-start &29 :&28 :&2c ') 00 :asma-comment-end &2c $2 $2 ', 00 :asma-literal-rel-addr - &_entry :&26 :&5d '. 00 :asma-literal-zero-addr + &_entry :&26 :&7b '. 00 :asma-literal-zero-addr &3a $2 $2 ': 00 :asma-abs-addr - &3b :&3a $2 '; 00 :asma-literal-abs-addr - &40 :&3b :&5b '@ 00 :asma-label-define - &5b $2 $2 '[ 00 :asma-ignore - &5d :&40 :&7d '] 00 :asma-ignore - &7b $2 $2 '{ 00 :asma-ignore - &7c :&7b $2 '| 00 :asma-pad-absolute + &3b :&3a :&40 '; 00 :asma-literal-abs-addr + &40 $2 $2 '@ 00 :asma-label-define + &7b :&3b :&7d '{ 00 :asma-ignore + &7c $2 $2 '| 00 :asma-pad-absolute &7d :&7c :&7e '} 00 :asma-ignore &7e $2 $2 '~ 00 :asma-include