Esempio n. 1
0
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 );
        }
    }
}
Esempio n. 2
0
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;
    }
}