fix false positive bug.

This commit is contained in:
gardners 2013-05-14 15:34:43 +09:30
parent 15b3b586d6
commit 80b195456f

View File

@ -41,6 +41,7 @@ int dofile(char *file)
} }
if (!strncmp(&line[i],"IN()",4)) { inoutActive=1; savedActive=1; } if (!strncmp(&line[i],"IN()",4)) { inoutActive=1; savedActive=1; }
if (!strncmp(&line[i],"OUT()",5)) inoutActive=0; if (!strncmp(&line[i],"OUT()",5)) inoutActive=0;
if (!strncmp(&line[i],"RETURN(",7)) inoutActive=0;
if (inoutActive&& if (inoutActive&&
(!strncmp(&line[i],"return",6))) (!strncmp(&line[i],"return",6)))
{ {