Match constant values

beta
Raymonzut 4 years ago
parent 81d1f775c3
commit 0e7476e873
No known key found for this signature in database
GPG Key ID: 1E9BCC39EDD1DD53
  1. 6
      grammars/mblf.cson

@ -7,6 +7,12 @@
'extension' 'extension'
] ]
'patterns': [ 'patterns': [
{
'match': '(^\\s*)(add(b)?|sub(b)?)\ +(((0x)?(\\d|[A-F])+)|(\"\[[:ascii:]]\"))'
'captures':
6: name: 'constant'
9: name: 'string'
},
{ {
'match': '(^\\s*)((del)?var)\ +([[:alnum:]]+)' 'match': '(^\\s*)((del)?var)\ +([[:alnum:]]+)'
'captures': 'captures':

Loading…
Cancel
Save