Пример #1
0
void    BIStartBlockData( sym_id ste_ptr ) {
//==========================================

    char        name[MAX_SYMLEN+1];

    if( _GenerateBrInfo() ) {
        memset( name, 0, MAX_SYMLEN+1 );
        DWDeclPos( cBIId, CurrFile->rec, 0 );
        DWBeginLexicalBlock( cBIId, 0,
                strncpy( name, ste_ptr->u.ns.name, ste_ptr->u.ns.u2.name_len ) );
    }
}
Пример #2
0
static void TestLexicalBlock( void )
{
    DWBeginLexicalBlock( Client, NULL, "FOOBAR" );
    TestTypedef();
    DWEndLexicalBlock( Client );
}