language-65asm/grammars/error-multiscope.cson
2018-06-07 16:39:14 +02:00

24 lines
380 B
Plaintext

scopeName: 'source.multi1'
patterns: [
{ include: '#binnum' }
{ include: '#hexnum' }
]
repository:
# Binary numbers
binnum:
patterns: [
{
match: '%[01]+'
name: 'constant.numeric.binary.multi1'
}
]
hexnum:
patterns: [
{
match: '\\$[a-zA-Z0-9]+\\b'
name: 'constant.numeric.binary.multi1'
}
]