mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
My "helpful" message was worse than nothing.
This commit is contained in:
@@ -1320,13 +1320,6 @@ public class Sketch {
|
||||
errorFile, errorLine, re.getColumn());
|
||||
}
|
||||
|
||||
if (msg.indexOf("unexpected token:") != -1) {
|
||||
System.err.println(msg);
|
||||
throw new RunnerException("Syntax error, " +
|
||||
"maybe a missing ;, an extra }, an extra math symbol, or an unclosed comment?",
|
||||
errorFile, errorLine, re.getColumn());
|
||||
}
|
||||
|
||||
if (msg.indexOf("preproc.web_colors") != -1) {
|
||||
throw new RunnerException("A web color (such as #ffcc00) " +
|
||||
"must be six digits.",
|
||||
|
||||
Reference in New Issue
Block a user