add new instructions and multiline comment support from makeworld
This commit is contained in:
parent
9f2b02cab0
commit
129886c4ac
1 changed files with 6 additions and 2 deletions
|
@ -6,6 +6,10 @@ detect:
|
||||||
rules:
|
rules:
|
||||||
- identifier: "[@,;.&][^\ \n\r]+"
|
- identifier: "[@,;.&][^\ \n\r]+"
|
||||||
- constant: "[\"#'|$][^\ \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"
|
- statement: "\\b(BRK|LIT|INC|POP|DUP|NIP|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:
|
||||||
|
start: "\\(\\ "
|
||||||
|
end: "\\ \\)"
|
||||||
|
rules: []
|
||||||
|
|
||||||
- symbol: "\\[|\\]"
|
- symbol: "\\[|\\]"
|
||||||
|
|
Loading…
Reference in a new issue