use more complex regex to handle all suffix combinations
This commit is contained in:
parent
ab09864bd5
commit
5dce923785
|
@ -154,7 +154,7 @@ evaluate-commands %sh{
|
|||
}
|
||||
|
||||
# c specific
|
||||
add-highlighter shared/c/code/numbers regex %{\b-?(0x[0-9a-fA-F]+|\d+)([fFdDiIuUlL]+)?|'((\\.)?|[^'\\])'} 0:value
|
||||
add-highlighter shared/c/code/numbers regex %{\b-?(0x[0-9a-fA-F]+|\d+)([uU][lL]{1,2}|[uU]|[lL]{1,2}|[lL]{1,2}[uU]|[fFdDiI])?|'((\\.)?|[^'\\])'} 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