From ee68f79246cebf0746381b9e16575feea383afc9 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Thu, 12 Aug 2021 11:38:07 -0600 Subject: [PATCH] require spaces between parens and comment for comment rule in uxntal syntax hilighting --- micro/syntax/uxn.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micro/syntax/uxn.yaml b/micro/syntax/uxn.yaml index 6f4ee64..f6919ba 100644 --- a/micro/syntax/uxn.yaml +++ b/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: "\\[|\\]"