File tree Expand file tree Collapse file tree
java/src/processing/mode/java Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ public class ErrorCheckerService implements Runnable {
227227 */
228228 private static final Pattern SETUP_OR_DRAW_FUNCTION_DECL =
229229 Pattern .compile ("(^|;)\\ s*((public|private|protected|final|static)\\ s+)*" +
230- "(void|int|float|double|String|char|byte)" +
230+ "(void|int|float|double|String|char|byte|boolean )" +
231231 "(\\ s*\\ [\\ s*\\ ])?\\ s+(setup|draw)\\ s*\\ (" ,
232232 Pattern .MULTILINE );
233233
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ public static enum Mode {
193193 */
194194 private static final Pattern SETUP_OR_DRAW_FUNCTION_DECL =
195195 Pattern .compile ("(^|;)\\ s*((public|private|protected|final|static)\\ s+)*" +
196- "(void|int|float|double|String|char|byte)" +
196+ "(void|int|float|double|String|char|byte|boolean )" +
197197 "(\\ s*\\ [\\ s*\\ ])?\\ s+(setup|draw)\\ s*\\ (" ,
198198 Pattern .MULTILINE );
199199
You can’t perform that action at this time.
0 commit comments