Better colorization of the linker in the g++ theme

This commit is contained in:
Johann Dreo 2013-09-19 11:50:39 +02:00
commit 460b126583

View file

@ -26,16 +26,17 @@ def theme():
enc = locale.getpreferredencoding()
if "UTF" in enc:
# gcc will use unicode quotes
qo = ""
qc = ""
qo = "[`]"
qc = "[']"
else:
# rather than ascii ones
qo = "'"
qo = "['`]"
qc = "'"
return [
[ _("error: "), "red", "bold" ],
[ _("warning: "), "magenta", "bold" ],
[ _("undefined reference to "), "red", "bold" ],
# [-Wflag]
[ "\[-W.*\]", "magenta"],