mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 19:31:16 +01:00
Remove color debug message
Typing "new color()" now results in error "class 'color' does not exists"
This commit is contained in:
@@ -210,16 +210,16 @@ public class XQPreprocessor {
|
||||
// }
|
||||
|
||||
|
||||
/**
|
||||
* This is added just for debugging purposes - to make sure that all
|
||||
* instances of color type have been substituded as in by the regex
|
||||
* search in ErrorCheckerService.preprocessCode().
|
||||
*/
|
||||
public boolean visit(SimpleType node) {
|
||||
if (node.toString().equals("color")) {
|
||||
System.err.println("Color type detected: please report as an issue.");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
// /**
|
||||
// * This is added just for debugging purposes - to make sure that all
|
||||
// * instances of color type have been substituded as in by the regex
|
||||
// * search in ErrorCheckerService.preprocessCode().
|
||||
// */
|
||||
// public boolean visit(SimpleType node) {
|
||||
// if (node.toString().equals("color")) {
|
||||
// System.err.println("Color type detected: please report as an issue.");
|
||||
// }
|
||||
// return true;
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user