mirror of
https://github.com/ksherlock/65816.tmbundle.git
synced 2024-12-21 19:29:16 +00:00
local identifiers
This commit is contained in:
parent
9c9afb75ef
commit
a6f23cc030
@ -7,6 +7,7 @@ scope: source.asm.65816.merlin
|
||||
variables:
|
||||
ws: '[ \t]+'
|
||||
ident: '[:-~][0-~]*'
|
||||
lident: '[\]:][0-~]*'
|
||||
|
||||
contexts:
|
||||
prototype:
|
||||
@ -27,7 +28,7 @@ contexts:
|
||||
|
||||
- match: '^({{ident}}){{ws}}((?i)MAC)\b'
|
||||
captures:
|
||||
1: entity.name.macro
|
||||
1: entity.name.function
|
||||
2: keyword.directive
|
||||
push: operand
|
||||
|
||||
@ -50,10 +51,12 @@ contexts:
|
||||
2: keyword.directive
|
||||
push: operand
|
||||
|
||||
- match: '^{{lident}}'
|
||||
scope: entity.name.label.local
|
||||
|
||||
|
||||
- match: '^{{ident}}'
|
||||
scope: entity.name.label
|
||||
scope: entity.name.function
|
||||
|
||||
|
||||
opcode:
|
||||
|
Loading…
Reference in New Issue
Block a user