Skip to content

Commit fe35017

Browse files
committed
Do not spill colour from the -o' option in gcc'
The `-o' rule for gcc was a bit too greedy, matching everything until the *last* word boundary. Simply match non-space chars instead.
1 parent 02079fc commit fe35017

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

conf.gcc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ regexp=\-O\d
2020
colours=green
2121
.........
2222
# -o
23-
regexp=\-o\s.+\b
23+
regexp=\-o\s[^\s]+
2424
colours=yellow
2525
.........
2626
# warning and error won't work, unless you redirect also

0 commit comments

Comments
 (0)