Changeset 69 in dev for BasicCompiler64
- Timestamp:
- Mar 13, 2007, 4:52:59 AM (18 years ago)
- Location:
- BasicCompiler64
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler64/Compile_Var.cpp
r65 r69 899 899 *(float *)(initGlobalBuf+offset)=(float)dbl; 900 900 else if(type==DEF_INT64||type==DEF_QWORD||IsPtrType(type)){ 901 if(type== DEF_PTR_CHAR&&lpCalcIndex==LITERAL_STRING){901 if(type==typeOfPtrChar&&lpCalcIndex==LITERAL_STRING){ 902 902 //文字列定数のとき 903 903 … … 1048 1048 } 1049 1049 else if(type==DEF_INT64||type==DEF_QWORD||IsPtrType(type)){ 1050 if(type== DEF_PTR_CHAR&&lpCalcIndex==LITERAL_STRING){1050 if(type==typeOfPtrChar&&lpCalcIndex==LITERAL_STRING){ 1051 1051 //文字列定数のとき 1052 1052 -
BasicCompiler64/NumOpe.cpp
r68 r69 14 14 ////////////////////////////////////////////////////// 15 15 16 char *parameter = (char *)malloc( lstrlen( lpszText ) + 3 );17 lstrcpy( parameter, lpszText);16 char *parameter = (char *)malloc( lstrlen( lpszText ) + 32 ); 17 sprintf( parameter, "\"%s\"%c%c*Char", lpszText, 1, ESC_AS ); 18 18 SetStringQuotes( parameter ); 19 19 … … 222 222 type[sp]=DEF_OBJECT; 223 223 index_stack[sp]=(LONG_PTR)pobj_StringClass; 224 bUseHeap[sp]=1;225 224 bLiteralCalculation=0; 226 225 … … 233 232 } 234 233 235 type[sp]= DEF_PTR_CHAR;234 type[sp]=typeOfPtrChar; 236 235 bLiteralCalculation=0; 237 236 -
BasicCompiler64/varlist.cpp
r64 r69 49 49 } 50 50 else{ 51 if(type== DEF_PTR_CHAR||type==MAKE_PTR_TYPE(DEF_BYTE,1)){51 if(type==MAKE_PTR_TYPE(DEF_SBYTE,1)||type==MAKE_PTR_TYPE(DEF_BYTE,1)){ 52 52 if(ReadProcessMemory(hDebugProcess,(void *)offset,&pData,sizeof(void *),&stAccBytes)){ 53 53 for(i2=0;;i2++){
Note:
See TracChangeset
for help on using the changeset viewer.