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/compiler_x86/NumOpe.cpp

    r523 r536  
    430430
    431431    if(lstrcmpi(termFull,"This")==0 && isProcedureCallOnly == false ){
    432         if( compiler.pCompilingClass == NULL )
     432        if( !compiler.IsCompilingClass() )
    433433        {
    434434            compiler.errorMessenger.Output(142,NULL,cp);
     
    437437
    438438        //Thisオブジェクト
    439         resultType.SetType( DEF_OBJECT, compiler.pCompilingClass );
     439        resultType.SetType( DEF_OBJECT, &compiler.GetCompilingClass() );
    440440
    441441        SetThisPtrToReg( useReg );
Note: See TracChangeset for help on using the changeset viewer.