Changeset 341 in dev
- Timestamp:
- Oct 6, 2007, 12:56:48 AM (17 years ago)
- Location:
- trunk/jenga
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jenga/include/smoothie/BasicFixed.h
r328 r341 216 216 #define ESC_ENDINTERFACE (char)0xAA 217 217 #define ESC_DELEGATE (char)0xAB 218 #define ESC_IMPLEMENTS (char)0xAC -
trunk/jenga/include/smoothie/LexicalAnalysis.h
r300 r341 5 5 6 6 #include <windows.h> 7 8 #include <jenga/include/common/String.h> 7 9 8 10 typedef std::vector<int> Subscripts; … … 29 31 int GetStringInPare_RemovePare(char *buffer,const char *ReadBuffer); 30 32 void GetArrange(char *variable,char *variAnswer, Subscripts &subscripts ); 33 void SplitParameter( const std::string &src, Jenga::Common::Strings &dests, bool isClear = true ); 31 34 bool SplitMemberName( const char *desc, char *object, char *member, ReferenceKind &refType ); 32 35 bool SplitMemberName( const char *desc, char *object, char *member ); -
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.