mirror of
https://github.com/processing/processing4.git
synced 2026-01-28 19:01:08 +01:00
Fix parsing of java error messages containing ":"
This commit is contained in:
@@ -133,7 +133,7 @@ public class Compiler {
|
||||
|
||||
// get first line, which contains file name, line number,
|
||||
// and at least the first line of the error message
|
||||
String errorFormat = "([\\w\\d_]+.java):(\\d+):\\s*(.*):\\s*(.*)\\s*";
|
||||
String errorFormat = "([\\w\\d_]+\\.java):(\\d+):\\s*([^:]*):\\s*(.*)\\s*";
|
||||
String[] pieces = PApplet.match(line, errorFormat);
|
||||
//PApplet.println(pieces);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user