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

Consts/ConstMacrosクラスのLexicalAnalyzerクラスへの依存性をなくした。

File:
1 edited

Legend:

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

    r578 r579  
    534534        else
    535535        {
    536             ConstMacro *pConstMacro = compiler.GetObjectModule().meta.GetGlobalConstMacros().Find( procName );
     536            ConstMacro *pConstMacro = compiler.GetObjectModule().meta.GetGlobalConstMacros().Find(
     537                ActiveBasic::Compiler::LexicalAnalyzer::FullNameToSymbol( procName )
     538            );
    537539            if( pConstMacro )
    538540            {
     
    843845                    //////////////
    844846
    845                     i3 = compiler.GetObjectModule().meta.GetGlobalConsts().GetBasicType(term);
     847                    i3 = compiler.GetObjectModule().meta.GetGlobalConsts().GetBasicType(
     848                        ActiveBasic::Compiler::LexicalAnalyzer::FullNameToSymbol( term )
     849                    );
    846850                    if(i3){
    847                         if( compiler.GetObjectModule().meta.GetGlobalConsts().IsStringPtr( term ) ){
     851                        if( compiler.GetObjectModule().meta.GetGlobalConsts().IsStringPtr( ActiveBasic::Compiler::LexicalAnalyzer::FullNameToSymbol( term ) ) ){
    848852                            //リテラル文字列
    849853                            goto StrLiteral;
Note: See TracChangeset for help on using the changeset viewer.