Merge pull request #3669 from bridadan/catching_assembler_errors

Adding case insensitive 'error' detection
pull/3734/head
Sam Grove 2017-02-09 09:33:17 -06:00 committed by GitHub
commit 492db95be9
1 changed files with 1 additions and 1 deletions

View File

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