Changeset 523 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/Compiler.cpp
- Timestamp:
- May 1, 2008, 11:03:14 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/Compiler.cpp
r465 r523 15 15 } 16 16 17 bool Compiler::StringToType( const st ring &typeName, Type &type ){17 bool Compiler::StringToType( const std::string &typeName, Type &type ){ 18 18 type.SetIndex( -1 ); 19 19 … … 85 85 } 86 86 87 const st ring &nextTypeName = typeName.substr( 1 );87 const std::string &nextTypeName = typeName.substr( 1 ); 88 88 89 89 if( !StringToType( nextTypeName, type ) ){ … … 166 166 } 167 167 168 const st ring Compiler::TypeToString( const Type &type )168 const std::string Compiler::TypeToString( const Type &type ) 169 169 { 170 170 if( PTR_LEVEL( type.GetBasicType() ) ){ … … 173 173 tempType.PtrLevelDown(); 174 174 175 return (st ring)"*" + TypeToString( tempType );175 return (std::string)"*" + TypeToString( tempType ); 176 176 } 177 177 else if( type.IsObject() || type.IsStruct() ){ … … 202 202 if( lpszTypeName ) 203 203 { 204 return (const st ring)lpszTypeName;204 return (const std::string)lpszTypeName; 205 205 } 206 206 } … … 208 208 compiler.errorMessenger.Output(1, NULL, cp); 209 209 210 return (st ring)"(null)";210 return (std::string)"(null)"; 211 211 }
Note:
See TracChangeset
for help on using the changeset viewer.