Skip to content

Commit d4a1220

Browse files
committed
Highlight 'fatal' errors during build
Fix #7614
1 parent 901d8c7 commit d4a1220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-core/src/cc/arduino/Compiler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ enum BuilderAction {
134134
}
135135
}
136136

137-
private static final Pattern ERROR_FORMAT = Pattern.compile("(.+\\.\\w+):(\\d+)(:\\d+)*:\\s*error:\\s*(.*)\\s*", Pattern.MULTILINE | Pattern.DOTALL);
137+
private static final Pattern ERROR_FORMAT = Pattern.compile("(.+\\.\\w+):(\\d+)(:\\d+)*:\\s*(fatal)?\\s*error:\\s*(.*)\\s*", Pattern.MULTILINE | Pattern.DOTALL);
138138

139139
private final File pathToSketch;
140140
private final Sketch sketch;

0 commit comments

Comments
 (0)