mirror of https://github.com/ARMmbed/mbed-os.git
Adding case insensitive 'error' detection
GCC Assembler errors were being missed because it prints 'error' with a captial 'E'. This change allows the 'e' to be either lower case or upper case.pull/3669/head
parent
65956d108e
commit
6be8278246
|
@ -25,7 +25,7 @@ class GCC(mbedToolchain):
|
|||
LIBRARY_EXT = '.a'
|
||||
|
||||
STD_LIB_NAME = "lib%s.a"
|
||||
DIAGNOSTIC_PATTERN = re.compile('((?P<file>[^:]+):(?P<line>\d+):)(\d+:)? (?P<severity>warning|error|fatal error): (?P<message>.+)')
|
||||
DIAGNOSTIC_PATTERN = re.compile('((?P<file>[^:]+):(?P<line>\d+):)(\d+:)? (?P<severity>warning|[eE]rror|fatal error): (?P<message>.+)')
|
||||
INDEX_PATTERN = re.compile('(?P<col>\s*)\^')
|
||||
|
||||
def __init__(self, target, notify=None, macros=None,
|
||||
|
|
Loading…
Reference in New Issue