]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/c.micro
adding hexidecimal numbers to the existing C syntax rules
[micro.git] / runtime / syntax / c.micro
index 72de5717505253d69e38bc35c27bf3a00508fb93..035df1ca42f74be255619d17cc9733ac68416e36 100644 (file)
@@ -21,6 +21,7 @@ color statement "[.:;,+*|=!\%]" "<" ">" "/" "-" "&"
 #Parenthetical Color
 # color magenta "[(){}]" "\[" "\]"
 
+color constant.number "\b[0-9]+\b" "\b0x[0-9A-Fa-f]+\b"
 
 ##
 ## String highlighting.  You will in general want your brightblacks and