Ignore:
Timestamp:
May 3, 2008, 6:32:50 PM (16 years ago)
Author:
dai_9181
Message:

Compiler::pCompilingClassメンバをprivateにし、setter/getterにあたるメソッドを用意した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/NumOpe_GetType.cpp

    r523 r536  
    480480
    481481
    482     if(lstrcmpi(termFull,"This")==0){
    483         if( compiler.pCompilingClass == NULL )
     482    if(lstrcmpi(termFull,"This")==0)
     483    {
     484        if( !compiler.IsCompilingClass() )
    484485        {
    485486            return false;
     
    487488
    488489        //Thisオブジェクト
    489         resultType.SetType( DEF_OBJECT, compiler.pCompilingClass );
     490        resultType.SetType( DEF_OBJECT, &compiler.GetCompilingClass() );
    490491        isLiteral = false;
    491492        return true;
Note: See TracChangeset for help on using the changeset viewer.