Skip to content

Commit e901230

Browse files
authored
Merge pull request microsoft#182167 from akbyrd/fix-mscompile-matcher
Fix issues with msCompile problem matcher
2 parents e291739 + 2d4867f commit e901230

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vs/workbench/contrib/tasks/common/problemMatcher.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1284,7 +1284,7 @@ class ProblemPatternRegistryImpl implements IProblemPatternRegistry {
12841284

12851285
private fillDefaults(): void {
12861286
this.add('msCompile', {
1287-
regexp: /^(?:\s+\d+>)?(\S.*)\((\d+|\d+,\d+|\d+,\d+,\d+,\d+)\)\s*:\s+(error|warning|info)\s+(\w+\d+)\s*:\s*(.*)$/,
1287+
regexp: /^(?:\s*\d+>)?(\S.*)\((\d+|\d+,\d+|\d+,\d+,\d+,\d+)\)\s*:\s+((fatal +)?error|warning|info)\s+(\w+\d+)\s*:\s*(.*)$/,
12881288
kind: ProblemLocationKind.Location,
12891289
file: 1,
12901290
location: 2,
@@ -1925,6 +1925,7 @@ class ProblemMatcherRegistryImpl implements IProblemMatcherRegistry {
19251925
name: 'msCompile',
19261926
label: localize('msCompile', 'Microsoft compiler problems'),
19271927
owner: 'msCompile',
1928+
source: 'cpp',
19281929
applyTo: ApplyToKind.allDocuments,
19291930
fileLocation: FileLocationKind.Absolute,
19301931
pattern: ProblemPatternRegistry.get('msCompile')

0 commit comments

Comments
 (0)