blob: 57f60a74ae131e97bfd920077fda4eada0a7150c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
diff -ur grc-1.0.6.orig/conf.gcc grc-1.0.6/conf.gcc
--- grc-1.0.6.orig/conf.gcc 2004-08-25 23:23:15.898638944 -0400
+++ grc-1.0.6/conf.gcc 2004-08-25 23:26:54.297437280 -0400
@@ -1,10 +1,10 @@
#
-regexp=\bgcc\b
-colours=yellow
-count=more
+regexp=\b(g?cc|[gc]\+\+|g?as|ld)\b
+colours=white bold
+count=once
.........
#
-regexp=^.*?:
+regexp=^\S*:
colours=red
count=once
.........
@@ -12,6 +12,10 @@
regexp=\`\w+\'
colours=green
.........
+# 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
@@ -24,10 +28,10 @@
# stderr to grcat
#
# warning
-regexp=warning
+regexp=[Ww]arning[:\b]
colours=yellow
.........
# error
-regexp=error
+regexp=[Ee]rror[:\b]
colours=red blink
count=stop
diff -ur grc-1.0.6.orig/grc.conf grc-1.0.6/grc.conf
--- grc-1.0.6.orig/grc.conf 2004-08-25 23:23:15.870643200 -0400
+++ grc-1.0.6/grc.conf 2004-08-25 23:23:57.814266800 -0400
@@ -15,9 +15,13 @@
conf.traceroute
# gcc command
-(^|[/\w\.]+/)g?cc\s
+(^|[/\w\.]+/)(g?cc|[gc]\+\+)\s
conf.gcc
+# configure command
+(^|[/\w\.]+/)configure
+conf.configure
+
# make command
(^|[/\w\.]+/)g?make\s?
conf.gcc
|