From 5bd49afc24ec7a2935a0adfb4c5ca22daea02dc5 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Wed, 11 Aug 2021 16:41:33 -0600 Subject: [PATCH] fix opcodes rule in uxntal syntax --- 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 1eb39f0..6f4ee64 100644 --- a/micro/syntax/uxn.yaml +++ b/micro/syntax/uxn.yaml @@ -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: "\\[|\\]"