2017-11-04 21:14:07 +01:00
|
|
|
#
|
2016-12-27 13:27:29 +01:00
|
|
|
regexp=\b(g?cc|[gc]\+\+|g?as|ld)\b
|
|
|
|
colours=white bold
|
|
|
|
count=once
|
2015-01-25 18:36:02 +01:00
|
|
|
.........
|
2017-11-04 21:14:07 +01:00
|
|
|
#
|
2015-01-25 18:36:02 +01:00
|
|
|
regexp=^[^:\s]*?:\d+:
|
|
|
|
colours=bold magenta
|
|
|
|
.........
|
|
|
|
regexp=^[^:\s]*?:
|
|
|
|
colours=cyan
|
|
|
|
count=once
|
|
|
|
.........
|
2017-11-04 21:14:07 +01:00
|
|
|
#
|
2015-01-25 18:36:02 +01:00
|
|
|
regexp=\`[A-Za-z0-9_():&*]+( const)?\'
|
|
|
|
colours=magenta
|
|
|
|
.........
|
2016-12-27 13:27:29 +01:00
|
|
|
# compilation method modifiers
|
|
|
|
regexp=\s\-(O\d?|f\S+|pthread|g\S*|c|W\S,\S+)\b
|
|
|
|
colours=yellow
|
|
|
|
.........
|
2015-01-25 18:36:02 +01:00
|
|
|
# -O
|
|
|
|
regexp=\-O\d
|
|
|
|
colours=green
|
|
|
|
.........
|
|
|
|
# -o
|
2015-02-27 16:34:02 +01:00
|
|
|
regexp=\-o\s[^\s]+
|
2015-01-25 18:36:02 +01:00
|
|
|
colours=yellow
|
|
|
|
.........
|
|
|
|
# warning and error won't work, unless you redirect also
|
2017-11-04 21:14:07 +01:00
|
|
|
# stderr to grcat
|
2015-01-25 18:36:02 +01:00
|
|
|
#
|
|
|
|
# warning
|
2016-12-27 13:27:29 +01:00
|
|
|
regexp=[Ww]arning[:\b]
|
2015-01-25 18:36:02 +01:00
|
|
|
colours=white
|
|
|
|
.........
|
|
|
|
regexp=warning:
|
|
|
|
colours=bold yellow
|
|
|
|
count=once
|
|
|
|
.........
|
|
|
|
# error
|
2016-12-27 13:27:29 +01:00
|
|
|
regexp=[Ee]rror[:\b]
|
2015-01-25 18:36:02 +01:00
|
|
|
colours=bold white
|
|
|
|
.........
|
|
|
|
regexp=error:
|
|
|
|
colours=bold white on_red
|
|
|
|
count=once
|
|
|
|
.........
|
|
|
|
#note
|
|
|
|
regexp=note:
|
|
|
|
colours=bold cyan
|
|
|
|
count=once
|