static void RCInclude( const char *ptr ) { const char *token; size_t len; token = ptr; while( (*ptr >= 'a' && *ptr <= 'z') || (*ptr >= 'A' && *ptr <= 'Z' ) ) { ++ptr; } len = ptr - token; if( len == 9 && stricmp( token, "rcinclude" ) == 0 ) { if( NestLevel == SkipLevel ) { PP_RCInclude( ptr ); } } }
static void RCInclude( char *ptr ) { char *token; char c; token = ptr; while( (*ptr >= 'a' && *ptr <= 'z') || (*ptr >= 'A' && *ptr <= 'Z' ) ) { ++ptr; } c = *ptr; *ptr = '\0'; if( stricmp( token, "rcinclude" ) == 0 ) { *ptr = c; if( NestLevel == SkipLevel ) { PP_RCInclude( ptr ); } } else { *ptr = c; } }