View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/share/grc/conf.gcc (-40 / +11 lines)
 Lines 1-10    Link Here 
# 
# 
regexp=\b(g?cc|[gc]\+\+|g?as|ld)\b
regexp=\bgcc\b
colours=white bold
colours=yellow
count=once
count=more
.........
.........
# 
# 
regexp=^\S*:
regexp=^.*?:
colours=red
colours=red
count=once
count=once
.........
.........
 Lines 12-62    Link Here 
regexp=\`\w+\'
regexp=\`\w+\'
colours=green
colours=green
.........
.........
# compilation method modifiers
# -O
regexp=\s\-(O\d?|f\S+|pthread|g\S*|c|W\S,\S+)\b
regexp=\-O\d 
colours=yellow
.........
# source file name
regexp=\s[^-]\S*\.(c|C|cc|c[x\+p]{2,2}|m|o|a|s)\b
colours=green
colours=green
.........
.........
# -o
# -o
regexp=\-o\s+\S+
regexp=\-o\s.+\b
colours=green bold
colours=yellow
count=once
.........
# -W... or -w
regexp=\s\-(W\S[^,]\S*|w\b)
colours=blue
.........
# -D...
regexp=\s\-D\S+
colours=blue bold
.........
# -I...
regexp=\s\-I[^- ]\S*
colours=cyan
.........
# -I-
regexp=\s\-I\-
colours=cyan bold
.........
# -L...
regexp=\s\-L\S*
colours=magenta
.........
# -l...
regexp=\s\-l\S+
colours=magenta bold
.........
.........
# warning and error won't work, unless you redirect also
# warning and error won't work, unless you redirect also
# stderr to grcat 
# stderr to grcat 
#
#
# warning
# warning
regexp=[Ww]arning[:\b]
regexp=warning
colours=yellow bold
colours=yellow
.........
.........
# error
# error
regexp=[Ee]rror[:\b]
regexp=error
colours=red blink
colours=red blink
count=stop
count=stop