Skip to content

Commit 38406e3

Browse files
authored
Merge pull request #4 from JohnEarnest/master
Update keyword list to reflect the 'pitch := vx' instruction
2 parents 789842e + 149a6e0 commit 38406e3

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
@@ -64,7 +64,7 @@ patterns:
6464

6565
- comment: Statement keywords (standard)
6666
name: keyword.other.octo
67-
match: (?<=^|\s)(?:clear|bcd|save|load|sprite|hex|random|delay|key|-key|buzzer|native)(?=$|\s)
67+
match: (?<=^|\s)(?:clear|bcd|save|load|sprite|hex|random|delay|pitch|key|-key|buzzer|native)(?=$|\s)
6868

6969
- comment: Statement keywords (SCHIP)
7070
name: keyword.other.octo

Octo.tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
<key>comment</key>
127127
<string>Statement keywords (standard)</string>
128128
<key>match</key>
129-
<string>(?&lt;=^|\s)(?:clear|bcd|save|load|sprite|hex|random|delay|key|-key|buzzer|native)(?=$|\s)</string>
129+
<string>(?&lt;=^|\s)(?:clear|bcd|save|load|sprite|hex|random|delay|pitch|key|-key|buzzer|native)(?=$|\s)</string>
130130
<key>name</key>
131131
<string>keyword.other.octo</string>
132132
</dict>

0 commit comments

Comments
 (0)