Changeset 668 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/LexicalAnalyzer_Delegate.cpp
- Timestamp:
- Jun 28, 2008, 4:46:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/LexicalAnalyzer_Delegate.cpp
r637 r668 12 12 namespaceScopes.clear(); 13 13 14 // Importsされた名前空間の管理 15 NamespaceScopesCollection &importedNamespaces = compiler.GetNamespaceSupporter().GetImportedNamespaces(); 16 importedNamespaces.clear(); 14 // Imports情報のクリア 15 compiler.GetNamespaceSupporter().ClearImportedNamespaces(); 17 16 18 17 int length = lstrlen( source ); … … 57 56 continue; 58 57 } 59 else if( source[i] == 1 && source[i+1] == ESC_CLEARNAMESPACEIMPORTED ){ 60 importedNamespaces.clear(); 58 else if( source[i] == 1 && source[i+1] == ESC_CLEARNAMESPACEIMPORTED ) 59 { 60 // Imports情報のクリア 61 compiler.GetNamespaceSupporter().ClearImportedNamespaces(); 61 62 continue; 62 63 } … … 115 116 } 116 117 117 delegates.Put( new Delegate( Symbol( namespaceScopes, name ), importedNamespaces, procKind, paramStr, returnTypeName, nowLine ) );118 delegates.Put( new Delegate( Symbol( namespaceScopes, name ), compiler.GetNamespaceSupporter().GetImportedNamespaces(), procKind, paramStr, returnTypeName, nowLine ) ); 118 119 } 119 120 }
Note:
See TracChangeset
for help on using the changeset viewer.