Changeset 341 in dev for trunk/jenga/src/smoothie/LexicalAnalysis.cpp
- Timestamp:
- Oct 6, 2007, 12:56:48 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jenga/src/smoothie/LexicalAnalysis.cpp
r333 r341 238 238 return i; 239 239 } 240 241 void 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 240 259 241 260 bool SplitMemberName( const char *desc, char *object, char *member, ReferenceKind &refType ){
Note:
See TracChangeset
for help on using the changeset viewer.