extend error mode to handle grep -n output
--HG-- branch : pmacs2
This commit is contained in:
parent
7ba2fc4720
commit
980510180c
|
@ -5,7 +5,7 @@ from mode import Fundamental
|
||||||
_error_regexes = [
|
_error_regexes = [
|
||||||
r'at (?P<file>\S+) line (?P<line>\d+)\.?$', #perl
|
r'at (?P<file>\S+) line (?P<line>\d+)\.?$', #perl
|
||||||
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<line>\d+):', #grep
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue