Ignore:
Timestamp:
Aug 1, 2007, 11:19:01 PM (17 years ago)
Author:
dai_9181
Message:

MetaImplを廃止し、Metaにした。
ObjectModuleクラス、Linkerクラスを用意。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/src/Const.cpp

    r254 r256  
    2828
    2929    //重複チェック
    30     if( compiler.GetMeta().GetGlobalConstMacros().IsExist( name )
    31         || compiler.GetMeta().GetGlobalConsts().IsExist( name ) )
     30    if( compiler.objectModule.meta.GetGlobalConstMacros().IsExist( name )
     31        || compiler.objectModule.meta.GetGlobalConsts().IsExist( name ) )
    3232    {
    3333        SetError(15,name,cp);
     
    3838        //定数マクロ
    3939
    40         compiler.GetMeta().GetGlobalConstMacros().Add( namespaceScopes, name, buffer + i );
     40        compiler.objectModule.meta.GetGlobalConstMacros().Add( namespaceScopes, name, buffer + i );
    4141    }
    4242    else{
     
    4444        char *expression = buffer + i + 1;
    4545
    46         compiler.GetMeta().GetGlobalConsts().Add( namespaceScopes, name, expression );
     46        compiler.objectModule.meta.GetGlobalConsts().Add( namespaceScopes, name, expression );
    4747    }
    4848}
Note: See TracChangeset for help on using the changeset viewer.