Made another adjustment.

This commit is contained in:
n-a-c-h
2005-07-10 14:45:36 +00:00
parent e03454b33b
commit c2c742738b

View File

@@ -138,7 +138,8 @@ void handle_file(const char *filename)
{
if (!contains_resx(line) && !contains_dx(line) && !label(line) && !strstr(line, "RMREGS") &&
!strstr(line, "NEWSYM") && !strstr(line, "EXTSYM") && !strstr(line, " equ ") &&
(*line != '%') && !strstr(line, "ALIGN") && strncasecmp(line, "bits ", strlen("bits ")))
(*line != '%') && strncasecmp(line, "ALIGN", strlen("ALIGN")) &&
strncasecmp(line, "bits ", strlen("bits ")))
{
cout << filename << ": line " << i << ": Error, code in non TEXT section. \"" << line << "\"" << endl;
}