allow -merror to understand grep -n
--HG-- branch : pmacs2
This commit is contained in:
parent
bd12116477
commit
215a53dbee
|
@ -7,7 +7,7 @@ _error_regexes = [
|
||||||
r'File "(?P<file>.+?)", line (?P<line>\d+)(?:, in \S+)?$', #python
|
r'File "(?P<file>.+?)", line (?P<line>\d+)(?:, in \S+)?$', #python
|
||||||
r'^(?P<file>\S+?):(?P<line>\d+):', #javac/gcc
|
r'^(?P<file>\S+?):(?P<line>\d+):', #javac/gcc
|
||||||
r'at \S+\((?P<file>.+?):(?P<line>\d+)\)$', #java
|
r'at \S+\((?P<file>.+?):(?P<line>\d+)\)$', #java
|
||||||
r'^(?P<line>\d+):', #grep
|
r'^(?P<file>\S+?):(?P<line>\d+) ', #grep
|
||||||
]
|
]
|
||||||
error_regexes = [re.compile(s) for s in _error_regexes]
|
error_regexes = [re.compile(s) for s in _error_regexes]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue