grammars/source.c.json in github-linguist-4.8.17 vs grammars/source.c.json in github-linguist-4.8.18
- old
+ new
@@ -712,9 +712,13 @@
"string_placeholder": {
"patterns": [
{
"match": "(?x)%\n \t\t\t\t\t\t(\\d+\\$)? # field (argument #)\n \t\t\t\t\t\t[#0\\- +']* # flags\n \t\t\t\t\t\t[,;:_]? # separator character (AltiVec)\n \t\t\t\t\t\t((-?\\d+)|\\*(-?\\d+\\$)?)? # minimum field width\n \t\t\t\t\t\t(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)? # precision\n \t\t\t\t\t\t(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)? # length modifier\n \t\t\t\t\t\t[diouxXDOUeEfFgGaACcSspn%] # conversion type\n \t\t\t\t\t",
"name": "constant.other.placeholder.c"
+ },
+ {
+ "match": "%",
+ "name": "invalid.illegal.placeholder.c"
}
]
}
},
"scopeName": "source.c",
\ No newline at end of file