mirror of https://github.com/garabik/grc.git
Support more coloring around gcc
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
parent
021439191c
commit
38d8cd75fe
14
conf.gcc
14
conf.gcc
|
@ -1,7 +1,7 @@
|
|||
#
|
||||
regexp=\bgcc\b
|
||||
colours=yellow
|
||||
count=more
|
||||
regexp=\b(g?cc|[gc]\+\+|g?as|ld)\b
|
||||
colours=white bold
|
||||
count=once
|
||||
.........
|
||||
#
|
||||
regexp=^[^:\s]*?:\d+:
|
||||
|
@ -15,6 +15,10 @@ count=once
|
|||
regexp=\`[A-Za-z0-9_():&*]+( const)?\'
|
||||
colours=magenta
|
||||
.........
|
||||
# compilation method modifiers
|
||||
regexp=\s\-(O\d?|f\S+|pthread|g\S*|c|W\S,\S+)\b
|
||||
colours=yellow
|
||||
.........
|
||||
# -O
|
||||
regexp=\-O\d
|
||||
colours=green
|
||||
|
@ -27,7 +31,7 @@ colours=yellow
|
|||
# stderr to grcat
|
||||
#
|
||||
# warning
|
||||
regexp=warning:.*
|
||||
regexp=[Ww]arning[:\b]
|
||||
colours=white
|
||||
.........
|
||||
regexp=warning:
|
||||
|
@ -35,7 +39,7 @@ colours=bold yellow
|
|||
count=once
|
||||
.........
|
||||
# error
|
||||
regexp=error:.*
|
||||
regexp=[Ee]rror[:\b]
|
||||
colours=bold white
|
||||
.........
|
||||
regexp=error:
|
||||
|
|
Loading…
Reference in New Issue