Changeset 750 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/LexicalAnalyzer_Enum.cpp
- Timestamp:
- Sep 24, 2008, 2:02:16 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/LexicalAnalyzer_Enum.cpp
r715 r750 160 160 buffer.reserve(65536); 161 161 162 BOOST_FOREACH( const EnumInfo &enumInfo, enums )162 foreach( const EnumInfo &enumInfo, enums ) 163 163 { 164 BOOST_FOREACH( const std::string &namespaceStr, enumInfo.GetNamespaceScopes() ){164 foreach( const std::string &namespaceStr, enumInfo.GetNamespaceScopes() ){ 165 165 buffer.append("Namespace ").append(namespaceStr) += '\n'; 166 166 } … … 179 179 buffer.append("\tEnd Sub\n"); 180 180 181 BOOST_FOREACH( const EnumMember &member, enumInfo.GetMembers() )181 foreach( const EnumMember &member, enumInfo.GetMembers() ) 182 182 { 183 183 buffer.append("\tStatic ") … … 190 190 buffer.append("End Class\n"); 191 191 192 BOOST_FOREACH( const std::string &namespaceStr, enumInfo.GetNamespaceScopes() ){192 foreach( const std::string &namespaceStr, enumInfo.GetNamespaceScopes() ){ 193 193 buffer.append("End Namespace\n"); 194 194 }
Note:
See TracChangeset
for help on using the changeset viewer.