Ignore:
Timestamp:
Sep 25, 2007, 8:56:38 AM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

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

    r322 r325  
    10481048        while( true )
    10491049        {
    1050             std::string::size_type index = result.find( "#" + it->first + "#" );
     1050            std::string::size_type index = result.find( it->first );
    10511051            if( index == std::string::npos )
    10521052            {
     
    10541054            }
    10551055
    1056             result = result.substr( 0, index ) + it->second + result.substr( index + it->first.length() + 2 );
     1056            result = result.substr( 0, index ) + it->second + result.substr( index + it->first.length() );
    10571057        }
    10581058        it++;
Note: See TracChangeset for help on using the changeset viewer.