From 210ab31b6e25e02fbb76c449bdba9406dd4468ee Mon Sep 17 00:00:00 2001 From: d6 Date: Wed, 20 Apr 2022 23:02:27 -0400 Subject: [PATCH] improve comment compatibility --- femto.tal | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/femto.tal b/femto.tal index 2fe15a0..bd4144d 100644 --- a/femto.tal +++ b/femto.tal @@ -30,8 +30,8 @@ ( these save one byte and are easier to read. ) %emit-! { LIT2 '! 18 DEO } %emit-$ { LIT2 '$ 18 DEO } -%emit-( { LIT2 '( 18 DEO } -%emit-) { LIT2 ') 18 DEO } +%emit-lpar { LIT2 28 18 DEO } +%emit-rpar { LIT2 29 18 DEO } %emit-, { LIT2 ', 18 DEO } %emit-0 { LIT2 '0 18 DEO } %emit-1 { LIT2 '1 18 DEO } @@ -1154,11 +1154,11 @@ sp .buffer/line-count LDZ2 ;emit-dec2 JSR2 ;messages/lines ;print JSR2 - sp emit-( + sp emit-lpar ;cur-col JSR2 INC2 ;emit-dec2 JSR2 emit-, .cursor/row LDZ2 INC2 ;emit-dec2 JSR2 - emit-) sp emit-[ + emit-rpar sp emit-[ LIT 's .config/insert-tabs LDZ ADD emit emit-] sp ;messages/help-msg ;print JSR2