allow -merror to understand grep -n

--HG--
branch : pmacs2
This commit is contained in:
Erik Osheim 2010-03-27 23:06:27 -04:00
parent bd12116477
commit 215a53dbee
1 changed files with 1 additions and 1 deletions

View File

@ -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]