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


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

SplitMemberNameの依存関係を排除。

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

Legend:

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

    r566 r598  
    132132                if( !pobj_c )
    133133                {
    134                     pobj_c = compiler.GetObjectModule().meta.FindClassSupportedTypeDef( ObjectName );
     134                    pobj_c = compiler.GetObjectModule().meta.FindClassSupportedTypeDef(
     135                        LexicalAnalyzer::FullNameToSymbol( ObjectName )
     136                    );
    135137                    if( pobj_c ){
    136138                        isStatic = true;
  • trunk/ab5.0/abdev/compiler_x86/Compile_Var.cpp

    r591 r598  
    546546            }
    547547
    548             int typeDefIndex = compiler.GetObjectModule().meta.GetTypeDefs().GetIndex( VarName );
     548            int typeDefIndex = compiler.GetObjectModule().meta.GetTypeDefs().GetIndex(
     549                LexicalAnalyzer::FullNameToSymbol( VarName )
     550            );
    549551            if( typeDefIndex != -1 ){
    550552                // TypeDef後の型名だったとき
  • trunk/ab5.0/abdev/compiler_x86/NumOpe.cpp

    r591 r598  
    55#include "../BasicCompiler_Common/common.h"
    66#include "Opcode.h"
     7
     8using namespace ActiveBasic::Compiler;
    79
    810void PushReturnValue(int type){
     
    415417
    416418    if( pIsClassName ){
    417         if( compiler.GetObjectModule().meta.FindClassSupportedTypeDef( termFull ) ){
     419        if( compiler.GetObjectModule().meta.FindClassSupportedTypeDef( LexicalAnalyzer::FullNameToSymbol( termFull ) ) ){
    418420            *pIsClassName = true;
    419421            return true;
Note: See TracChangeset for help on using the changeset viewer.