From 80b195456f596011357c2c024ab8c6ef10cfdb1f Mon Sep 17 00:00:00 2001 From: gardners Date: Tue, 14 May 2013 15:34:43 +0930 Subject: [PATCH] fix false positive bug. --- check-in-out-return.c | 1 + 1 file changed, 1 insertion(+) diff --git a/check-in-out-return.c b/check-in-out-return.c index 8efee5fc..a2e10125 100644 --- a/check-in-out-return.c +++ b/check-in-out-return.c @@ -41,6 +41,7 @@ int dofile(char *file) } if (!strncmp(&line[i],"IN()",4)) { inoutActive=1; savedActive=1; } if (!strncmp(&line[i],"OUT()",5)) inoutActive=0; + if (!strncmp(&line[i],"RETURN(",7)) inoutActive=0; if (inoutActive&& (!strncmp(&line[i],"return",6))) {