require spaces between parens and comment for comment rule in uxntal syntax hilighting

This commit is contained in:
Iris Lightshard 2021-08-12 11:38:07 -06:00
parent 5bd49afc24
commit ee68f79246
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

View file

@ -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: "\\[|\\]"