Changeset 329 in dev for trunk/abdev/BasicCompiler64
- Timestamp:
- Sep 25, 2007, 11:13:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler64/increment.cpp
r308 r329 6 6 #include "Opcode.h" 7 7 8 void IncDec(int idCalc, const char *lpszLeft, const char *lpszRight){ 8 void IncDec(int idCalc, const char *lpszLeft, const char *lpszRight) 9 { 10 Type varType; 11 if( GetVarType( lpszLeft, varType, false ) ) 12 { 13 if( varType.IsObject() ) 14 { 15 // オブジェクトが対象だったとき 16 char temporary[8192]; 17 char calcStr[32]; 18 GetCalcName( idCalc, calcStr ); 19 sprintf( temporary, "%s=%s %s %s", lpszLeft, lpszLeft, calcStr, lpszRight ); 20 SetEscapeSequenceFormat( temporary ); 21 KillStringSpaces( temporary ); 22 OpcodeCalc( temporary ); 23 return; 24 } 25 } 9 26 10 27 /////////////////////////// … … 13 30 14 31 RELATIVE_VAR VarRelativeVar; 15 Type varType;16 32 if(!GetVarOffsetReadWrite( 17 33 lpszLeft,
Note:
See TracChangeset
for help on using the changeset viewer.