Ignore:
Timestamp:
May 1, 2008, 11:26:31 AM (16 years ago)
Author:
dai_9181
Message:

[505][513]を64bit版にマージ。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/compiler_x64/Compile_Var.cpp

    r468 r514  
    1212int AllLocalVarSize;
    1313
     14using namespace ActiveBasic::Compiler;
    1415
    1516void SetRelativeOffset( Type &resultType, RELATIVE_VAR *pRelativeVar,const char *lpPtrOffset){
     
    416417        //////////////////
    417418
    418         const Variable *pVar = UserProc::CompilingUserProc().GetLocalVars().BackSearch( Symbol( VarName ) );
     419        const Variable *pVar = UserProc::CompilingUserProc().GetLocalVars().BackSearch( LexicalAnalyzer::FullNameToSymbol( VarName ) );
    419420        if( pVar ){
    420421            //ポインタ変数の場合
     
    538539            GetNowStaticVarFullName(VarName,temporary);
    539540
    540             pVar = compiler.GetObjectModule().meta.GetGlobalVars().Find( Symbol( temporary ) );
     541            pVar = compiler.GetObjectModule().meta.GetGlobalVars().Find( LexicalAnalyzer::FullNameToSymbol( temporary ) );
    541542            if( pVar ){
    542543                goto GlobalOk;
     
    569570            char temp2[VN_SIZE];
    570571            sprintf(temp2,"%s.%s",VarName,temporary);
    571             pVar = compiler.GetObjectModule().meta.GetGlobalVars().Find( Symbol( temp2 ) );
     572            pVar = compiler.GetObjectModule().meta.GetGlobalVars().Find( LexicalAnalyzer::FullNameToSymbol( temp2 ) );
    572573            if( pVar ){
    573574                lstrcpy(member,tempMember);
     
    581582            char temp2[VN_SIZE];
    582583            sprintf(temp2,"%s.%s",compiler.pCompilingClass->GetName().c_str(),VarName);
    583             pVar = compiler.GetObjectModule().meta.GetGlobalVars().Find( Symbol( temp2 ) );
     584            pVar = compiler.GetObjectModule().meta.GetGlobalVars().Find( LexicalAnalyzer::FullNameToSymbol( temp2 ) );
    584585            if( pVar ){
    585586                goto GlobalOk;
     
    591592        /////////////////////
    592593
    593         pVar = compiler.GetObjectModule().meta.GetGlobalVars().BackSearch( Symbol( VarName ) );
     594        pVar = compiler.GetObjectModule().meta.GetGlobalVars().BackSearch( LexicalAnalyzer::FullNameToSymbol( VarName ) );
    594595        if( pVar ){
    595596            goto GlobalOk;
     
    11111112        /////////////////
    11121113
    1113         if( UserProc::CompilingUserProc().GetLocalVars().DuplicateCheck( VarName ) ){
     1114        if( UserProc::CompilingUserProc().GetLocalVars().DuplicateCheck( LexicalAnalyzer::FullNameToSymbol( VarName ) ) ){
    11141115            //2重定義のエラー
    11151116            compiler.errorMessenger.Output(15,VarName,cp);
Note: See TracChangeset for help on using the changeset viewer.