Added jump labels

This commit is contained in:
John Mumm 2013-10-10 16:37:52 -04:00
parent 26cf928524
commit 3470287d5a
2 changed files with 21 additions and 0 deletions

View File

@ -40,6 +40,19 @@
"comment": "Comment line"
},
{
"match": "(?i)\\b([\\w|\\d]*)\\:",
"name": "string.asm",
"comment": "Jump label"
},
// {
// "match": "(?i)\\.([\\w|\\d]*)\\b",
// "name": "variable.macro.asm",
// "comment": "."
// },
{
"match": "(^|\\s)\"[\\w\\s\\W]*\"($|\\s)",
"name": "string.asm",

View File

@ -58,6 +58,14 @@
<key>name</key>
<string>comment.line.asm</string>
</dict>
<dict>
<key>comment</key>
<string>Jump label</string>
<key>match</key>
<string>(?i)\b([\w|\d]*)\:</string>
<key>name</key>
<string>string.asm</string>
</dict>
<dict>
<key>comment</key>
<string>Single-line string</string>