Skip to content

Commit 492db95

Browse files
authored
Merge pull request #3669 from bridadan/catching_assembler_errors
Adding case insensitive 'error' detection
2 parents e0fb062 + 6be8278 commit 492db95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/toolchains/gcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class GCC(mbedToolchain):
2525
LIBRARY_EXT = '.a'
2626

2727
STD_LIB_NAME = "lib%s.a"
28-
DIAGNOSTIC_PATTERN = re.compile('((?P<file>[^:]+):(?P<line>\d+):)(\d+:)? (?P<severity>warning|error|fatal error): (?P<message>.+)')
28+
DIAGNOSTIC_PATTERN = re.compile('((?P<file>[^:]+):(?P<line>\d+):)(\d+:)? (?P<severity>warning|[eE]rror|fatal error): (?P<message>.+)')
2929
INDEX_PATTERN = re.compile('(?P<col>\s*)\^')
3030

3131
def __init__(self, target, notify=None, macros=None,

0 commit comments

Comments
 (0)