Changeset 360 in dev for trunk/jenga/src/smoothie
- Timestamp:
- Nov 9, 2007, 8:52:10 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jenga/src/smoothie/LexicalAnalysis.cpp
r341 r360 301 301 ReferenceKind dummyRefType; 302 302 return SplitMemberName( desc, object, member, dummyRefType ); 303 } 304 305 void SplitSyntacticForAs( const char *src, char *varName, char *typeName) 306 { 307 int i = 0; 308 for( ; ; i++ ) 309 { 310 if( src[i] == '\0' || src[i] == 1 && src[i+1] == ESC_AS ) 311 { 312 varName[i] = 0; 313 break; 314 } 315 varName[i] = src[i]; 316 } 317 318 if( src[i] ) 319 { 320 i += 2; 321 lstrcpy( typeName, src + i ); 322 } 323 else 324 { 325 typeName[i] = 0; 326 } 303 327 } 304 328
Note:
See TracChangeset
for help on using the changeset viewer.