c-family: highlight 0X style int literals
This commit is contained in:
parent
56c3ab4ff8
commit
6a630ae3e6
|
@ -217,7 +217,7 @@ evaluate-commands %sh{
|
|||
}
|
||||
|
||||
# c specific
|
||||
add-highlighter shared/c/code/numbers regex %{\b-?(0x[0-9a-fA-F]+|\d+)([uU][lL]{0,2}|[lL]{1,2}[uU]?|[fFdDiI]|([eE][-+]?\d+))?|'((\\.)?|[^'\\])'} 0:value
|
||||
add-highlighter shared/c/code/numbers regex %{\b-?(0[xX][0-9a-fA-F]+|\d+)([uU][lL]{0,2}|[lL]{1,2}[uU]?|[fFdDiI]|([eE][-+]?\d+))?|'((\\.)?|[^'\\])'} 0:value
|
||||
evaluate-commands %sh{
|
||||
# Grammar
|
||||
keywords='asm break case continue default do else for goto if return
|
||||
|
|
Loading…
Reference in New Issue
Block a user