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


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

VariableクラスのLexicalAnalyzerクラスへの依存性をなくした。

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

Legend:

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

    r565 r580  
    352352        Parameter &param = *pUserProc->RealParams()[i3];
    353353
    354         Variable *pVar = new Variable( param.GetVarName(), param, false, param.IsRef(), "", false );
     354        Variable *pVar = new Variable(
     355            ActiveBasic::Compiler::LexicalAnalyzer::FullNameToSymbol( param.GetVarName().c_str() ),
     356            param,
     357            false,
     358            param.IsRef(),
     359            "",
     360            false
     361        );
    355362
    356363        if( param.IsArray() ){
  • trunk/ab5.0/abdev/compiler_x86/Compile_Var.cpp

    r570 r580  
    11181118        bool isConst = ( dwFlags & DIMFLAG_CONST ) ? true:false;
    11191119
    1120         Variable *pVar = new Variable( VarName, type, isConst, false, ConstractParameter, false );
     1120        Variable *pVar = new Variable(
     1121            ActiveBasic::Compiler::LexicalAnalyzer::FullNameToSymbol( VarName ),
     1122            type,
     1123            isConst,
     1124            false,
     1125            ConstractParameter,
     1126            false
     1127        );
    11211128
    11221129        if( subscripts.size() > 0 ){
Note: See TracChangeset for help on using the changeset viewer.