Skip to content

Commit fd0b0b2

Browse files
committed
add the :pointer keyword. :pointer is a companion to :byte, for working with 16-bit addresses, with support for forward-reference.
1 parent 0b5472e commit fd0b0b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Octo.YAML-tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ patterns:
4444

4545
- comment: Metaprogramming commands
4646
name: support.function.octo
47-
match: (?<=^|\s)(?:\:macro|\:calc|\:byte|\:stringmode)(?=$|\s)
47+
match: (?<=^|\s)(?:\:macro|\:calc|\:byte|\:pointer|\:stringmode)(?=$|\s)
4848

4949
- comment: Breakpoint command
5050
name: support.function.octo

Octo.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
<key>comment</key>
8787
<string>Metaprogramming commands</string>
8888
<key>match</key>
89-
<string>(?&lt;=^|\s)(?:\:macro|\:calc|\:byte|\:stringmode)(?=$|\s)</string>
89+
<string>(?&lt;=^|\s)(?:\:macro|\:calc|\:byte|\:pointer|\:stringmode)(?=$|\s)</string>
9090
<key>name</key>
9191
<string>support.function.octo</string>
9292
</dict>

0 commit comments

Comments
 (0)