Changeset 632 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/StrOperation.cpp
- Timestamp:
- Jun 5, 2008, 10:04:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/StrOperation.cpp
r603 r632 365 365 lstrcpy(name,"End Enum"); 366 366 break; 367 case ESC_OPERATOR: 368 lstrcpy( name, "Operator" ); 369 break; 367 370 } 368 371 } … … 378 381 if( temporary[i] == 1 ) 379 382 { 383 int esc = temporary[i+1]; 380 384 char temp2[255]; 381 GetDefaultNameFromES( temporary[i+1], temp2 );385 GetDefaultNameFromES( esc, temp2 ); 382 386 if( i>0 ) 383 387 { … … 391 395 } 392 396 397 int slide = 2; 398 399 if( esc == ESC_OPERATOR ) 400 { 401 extern char *calcNames[256]; 402 char calcId = temporary[i+2]; 403 if( calcNames[calcId] ) 404 { 405 lstrcat( temp2, calcNames[calcId] ); 406 } 407 slide = 3; 408 } 409 393 410 int length = lstrlen( temp2 ); 394 SlideString( temporary + i+ 2, length-2);411 SlideString( temporary + i+slide, length-slide ); 395 412 memcpy( temporary + i, temp2, length ); 396 413 maxLength = lstrlen( temporary );
Note:
See TracChangeset
for help on using the changeset viewer.