uxn.yaml: swap order of identifiers and constants, so, for example, the whole of a string constant with a period in it is highlighted as a constant
This commit is contained in:
parent
ee68f79246
commit
9f2b02cab0
1 changed files with 1 additions and 1 deletions
|
@ -4,8 +4,8 @@ detect:
|
|||
filename: "\\.(tal|uxn|uxntal)$"
|
||||
|
||||
rules:
|
||||
- constant: "[\"#'|$][^\ \n\r]+"
|
||||
- identifier: "[@,;.&][^\ \n\r]+"
|
||||
- constant: "[\"#'|$][^\ \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]*\\ \\)"
|
||||
- symbol: "\\[|\\]"
|
||||
|
|
Loading…
Reference in a new issue