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/VariableOpe.cpp

    r570 r579  
    10511051
    10521052        //定数と2重定義されていないる場合は抜け出す
    1053         if(compiler.GetObjectModule().meta.GetGlobalConsts().GetBasicType(VarName)){
     1053        if(compiler.GetObjectModule().meta.GetGlobalConsts().GetBasicType( ActiveBasic::Compiler::LexicalAnalyzer::FullNameToSymbol( VarName ) )){
    10541054            return;
    10551055        }
     
    10731073
    10741074    //定数と2重定義されていないかを調べる
    1075     if(compiler.GetObjectModule().meta.GetGlobalConsts().GetBasicType(VarName)){
     1075    if(compiler.GetObjectModule().meta.GetGlobalConsts().GetBasicType( ActiveBasic::Compiler::LexicalAnalyzer::FullNameToSymbol( VarName ) )){
    10761076        compiler.errorMessenger.Output(15,VarName,cp);
    10771077        return;
Note: See TracChangeset for help on using the changeset viewer.