Skip to content

Commit

Permalink
Highlight 'fatal' errors during build
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed May 21, 2018
1 parent 901d8c7 commit d4a1220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arduino-core/src/cc/arduino/Compiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ enum BuilderAction {
}
}

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

private final File pathToSketch;
private final Sketch sketch;
Expand Down

0 comments on commit d4a1220

Please sign in to comment.