mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 19:31:16 +01:00
Boolean was not invited to the party
This commit is contained in:
@@ -227,7 +227,7 @@ public class ErrorCheckerService implements Runnable {
|
||||
*/
|
||||
private static final Pattern SETUP_OR_DRAW_FUNCTION_DECL =
|
||||
Pattern.compile("(^|;)\\s*((public|private|protected|final|static)\\s+)*" +
|
||||
"(void|int|float|double|String|char|byte)" +
|
||||
"(void|int|float|double|String|char|byte|boolean)" +
|
||||
"(\\s*\\[\\s*\\])?\\s+(setup|draw)\\s*\\(",
|
||||
Pattern.MULTILINE);
|
||||
|
||||
|
||||
@@ -193,7 +193,7 @@ public class PdePreprocessor {
|
||||
*/
|
||||
private static final Pattern SETUP_OR_DRAW_FUNCTION_DECL =
|
||||
Pattern.compile("(^|;)\\s*((public|private|protected|final|static)\\s+)*" +
|
||||
"(void|int|float|double|String|char|byte)" +
|
||||
"(void|int|float|double|String|char|byte|boolean)" +
|
||||
"(\\s*\\[\\s*\\])?\\s+(setup|draw)\\s*\\(",
|
||||
Pattern.MULTILINE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user