Ignore:
Timestamp:
Jun 26, 2007, 1:48:18 PM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/src/TypeDef.cpp

    r193 r195  
    55#include <TypeDef.h>
    66#include <Compiler.h>
     7#include <NamespaceSupporter.h>
    78
    89TypeDef::TypeDef( const NamespaceScopes &namespaceScopes, const string &name, const string &baseName, int nowLine )
     
    2425        return false;
    2526    }
    26     return compiler.IsSameAreaNamespace( this->namespaceScopes, namespaceScopes );
     27    return namespaceSupporter.IsSameAreaNamespace( this->namespaceScopes, namespaceScopes );
    2728}
    2829bool TypeDef::IsEqualSymbol( const string &fullName ) const
     
    147148
    148149    // 名前空間管理
    149     NamespaceScopes &namespaceScopes = Smoothie::Temp::liveingNamespaceScopes;
     150    NamespaceScopes &namespaceScopes = namespaceSupporter.GetLivingNamespaceScopes();
    150151    namespaceScopes.clear();
    151152
    152153    // Importsされた名前空間の管理
    153     NamespaceScopesCollection &importedNamespaces = compiler.GetImportedNamespaces();
     154    NamespaceScopesCollection &importedNamespaces = namespaceSupporter.GetImportedNamespaces();
    154155    importedNamespaces.clear();
    155156
     
    192193                temporary[i2]=basbuf[i];
    193194            }
    194             if( !compiler.ImportsNamespace( temporary ) )
     195            if( !namespaceSupporter.ImportsNamespace( temporary ) )
    195196            {
    196197                SmoothieException::Throw(64,temporary,i );
Note: See TracChangeset for help on using the changeset viewer.