fix opcodes rule in uxntal syntax

This commit is contained in:
Iris Lightshard 2021-08-11 16:41:33 -06:00
parent c464e7c84a
commit 5bd49afc24
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

View file

@ -6,6 +6,6 @@ detect:
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]?\\b"
- 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]*\\)"
- symbol: "\\[|\\]"