Ignore:
Timestamp:
Jun 28, 2008, 4:46:59 PM (16 years ago)
Author:
dai_9181
Message:

NamespaceSupporter::ClearImportedNamespacesを追加。
NamespaceSupporter::GetImportedNamespacesをconstにした。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/LexicalAnalyzer_TypeDef.cpp

    r637 r668  
    8787    namespaceScopes.clear();
    8888
    89     // Importsされた名前空間の管理
    90     NamespaceScopesCollection &importedNamespaces = compiler.GetNamespaceSupporter().GetImportedNamespaces();
    91     importedNamespaces.clear();
     89    // Imports情報のクリア
     90    compiler.GetNamespaceSupporter().ClearImportedNamespaces();
    9291
    9392    int i=-1, i2;
     
    135134            continue;
    136135        }
    137         else if( source[i] == 1 && source[i+1] == ESC_CLEARNAMESPACEIMPORTED ){
    138             importedNamespaces.clear();
     136        else if( source[i] == 1 && source[i+1] == ESC_CLEARNAMESPACEIMPORTED )
     137        {
     138            // Imports情報のクリア
     139            compiler.GetNamespaceSupporter().ClearImportedNamespaces();
    139140            continue;
    140141        }
Note: See TracChangeset for help on using the changeset viewer.