Fix highlighting of unsigned long long in C filetype
Values like `0xffffffffffffffffull` were highlighted only till first `u` leaving `ll` without highlighting. This change addresses this issue. It also adds uppercase `ULL` highlighting in values.
This commit is contained in:
parent
7956e893be
commit
b3f817c1ff
|
@ -154,7 +154,7 @@ evaluate-commands %sh{
|
|||
}
|
||||
|
||||
# c specific
|
||||
add-highlighter shared/c/code/numbers regex %{\b-?(0x[0-9a-fA-F]+|\d+)[fdiu]?|'((\\.)?|[^'\\])'} 0:value
|
||||
add-highlighter shared/c/code/numbers regex %{\b-?(0x[0-9a-fA-F]+|\d+)([fdiuUlL]+)?|'((\\.)?|[^'\\])'} 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