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