Changeset 598 in dev for trunk/ab5.0/abdev/compiler_x64


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

SplitMemberNameの依存関係を排除。

Location:
trunk/ab5.0/abdev/compiler_x64
Files:
3 edited

Legend:

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

    r584 r598  
    140140                if( !pobj_c )
    141141                {
    142                     pobj_c = compiler.GetObjectModule().meta.FindClassSupportedTypeDef( ObjectName );
     142                    pobj_c = compiler.GetObjectModule().meta.FindClassSupportedTypeDef(
     143                        LexicalAnalyzer::FullNameToSymbol( ObjectName )
     144                    );
    143145                    if( pobj_c ){
    144146                        isStatic = true;
  • trunk/ab5.0/abdev/compiler_x64/Compile_Var.cpp

    r592 r598  
    564564            }
    565565
    566             int typeDefIndex = compiler.GetObjectModule().meta.GetTypeDefs().GetIndex( VarName );
     566            int typeDefIndex = compiler.GetObjectModule().meta.GetTypeDefs().GetIndex(
     567                LexicalAnalyzer::FullNameToSymbol( VarName )
     568            );
    567569            if( typeDefIndex != -1 ){
    568570                // TypeDef後の型名だったとき
  • trunk/ab5.0/abdev/compiler_x64/NumOpe.cpp

    r592 r598  
    55#include "../BasicCompiler_Common/common.h"
    66#include "Opcode.h"
     7
     8using namespace ActiveBasic::Compiler;
    79
    810void NewStringObject(int reg, const char *str){
     
    426428
    427429    if( pIsClassName ){
    428         if( compiler.GetObjectModule().meta.FindClassSupportedTypeDef( termFull ) ){
     430        if( compiler.GetObjectModule().meta.FindClassSupportedTypeDef( LexicalAnalyzer::FullNameToSymbol( termFull ) ) ){
    429431            *pIsClassName = true;
    430432            return true;
Note: See TracChangeset for help on using the changeset viewer.