require spaces between parens and comment for comment rule in uxntal syntax hilighting
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAmEVXH8ACgkQO3+8IhRO Y5is7A//f3QIoyGNYpPwaxR//fNLlvRzuSvpOuxcwmBiueQTutjLdHUOqUl5aNif So9VqgG/vWRkV3zQQAnZCHe4vDZ/UNbH/fKDydh3aU4BIbQDjCZBmfsAviBbqOMu oH0MC6tG+S0cZUkJYufw+sHTCnQ3kVAIe9j2llW4YSFafR+lDXxeNYWKHpwN1Uj+ ktCMZnEJ5tHHEsBqpinLHI1FnyWECqQn8/axzbGvLqnFhPE5xbxtI43bGQJKzCSD ax+WXXZZGtLKNXB/1nW5SUhGFn8A6eLoGjP/RPJxyTvYDO7kRuqNtZUlh0ITLAqd zHQ8m8Z3FTUH3TPgP4LzlyTCZOnwleES3PAMoAHAqfwcIZ7YLWELzrF6N367Bo2c Ia94zMzTAFMePBG+QVqA9kdR5tFZfTeAk6qV85LeX/MbBV/sDG4gW5upzMCjWC7A BwWE7S7D93C/oSuGgrhT6aslbQJ5fVxv0SRBMwGB4XQ00rSDVTY2BnVk33akOlCD S/NAvcA1BlPyh/FAjmIntZ9G8xcaadKwtk344nkaM5dOOF4edy8zjobEoMxXHdf4 aLQ8BduKL2qDBs5b/A1Mj3AhRVjvfOdGuCqzZf7/HSxSX5HN4l9Q1pDI6CRmwAwM +Kdoi5vL4p4vmk/y4pOEDiFbyZHZZ8nSqklTuuFBWt0xhubqLH4= =3w2g -----END PGP SIGNATURE-----
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
micro/syntax/uxn.yaml
→
micro/syntax/uxn.yaml
@@ -7,5 +7,5 @@ rules:
- constant: "[\"#'|$][^\ \n\r]+" - identifier: "[@,;.&][^\ \n\r]+" - statement: "\\b(BRK|LIT|NOP|POP|DUP|SWP|OVR|ROT|EQU|NEQ|GTH|LTH|JMP|JCN|JSR|STH|LDZ|STZ|LDR|STR|LDA|STA|DEI|DEO|ADD|SUB|MUL|DIV|AND|ORA|EOR|SFT)[2rk]{0,3}\\b" - - comment: "\\([\\S\\s]*\\)" + - comment: "\\(\\ [\\S\\s]*\\ \\)" - symbol: "\\[|\\]"