Tweak clang menu highlight so that we dont separate backspace from the escaped char
This commit is contained in:
parent
b3674a2f03
commit
60d0813704
|
@ -68,7 +68,7 @@ The syntaxic errors detected during parsing are shown when auto-diagnostics are
|
|||
END {
|
||||
for (id in docstrings) {
|
||||
menu=id
|
||||
gsub(/(^|[^[:alnum:]_])(operator|new|delete)($|[^[:alnum:]_])/, "{keyword}&{}", menu)
|
||||
gsub(/(^|[^[:alnum:]_])(operator|new|delete)($|[^[:alnum:]{}_]+)/, "{keyword}&{}", menu)
|
||||
gsub(/(^|[[:space:]])(int|size_t|bool|char|unsigned|signed|long)($|[[:space:]])/, "{type}&{}", menu)
|
||||
gsub(/[^[:alnum:]{}_]+/, "{operator}&{}", menu)
|
||||
print id "|" docstrings[id] "|" menu
|
||||
|
|
Loading…
Reference in New Issue
Block a user