From b336330ce2ae27becd91c59010ab095f9a68e973 Mon Sep 17 00:00:00 2001 From: Manindra Moharana Date: Thu, 26 Jun 2014 17:37:55 +0530 Subject: [PATCH] Fixes #73 --- pdex/src/processing/mode/experimental/ErrorCheckerService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdex/src/processing/mode/experimental/ErrorCheckerService.java b/pdex/src/processing/mode/experimental/ErrorCheckerService.java index 8a40cee6d..9e95c4f9d 100644 --- a/pdex/src/processing/mode/experimental/ErrorCheckerService.java +++ b/pdex/src/processing/mode/experimental/ErrorCheckerService.java @@ -218,7 +218,7 @@ public class ErrorCheckerService implements Runnable{ */ final Pattern 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+[a-zA-Z0-9]+\\s*\\(", Pattern.MULTILINE); protected ErrorMessageSimplifier errorMsgSimplifier;