Ignore:
Timestamp:
Oct 6, 2007, 12:56:48 AM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jenga/src/smoothie/LexicalAnalysis.cpp

    r333 r341  
    238238    return i;
    239239}
     240
     241void SplitParameter( const std::string &src, Jenga::Common::Strings &dests, bool isClear )
     242{
     243    const char *buffer = src.c_str();
     244    int i = 0;
     245
     246    if( isClear )
     247    {
     248        dests.clear();
     249    }
     250
     251    while( buffer[i] )
     252    {
     253        char result[8192];
     254        i = GetOneParameter( buffer, i, result );
     255        dests.push_back( result );
     256    }
     257}
     258
    240259
    241260bool SplitMemberName( const char *desc, char *object, char *member, ReferenceKind &refType ){
Note: See TracChangeset for help on using the changeset viewer.