Changeset 69 in dev for BasicCompiler32
- Timestamp:
- Mar 13, 2007, 4:52:59 AM (18 years ago)
- Location:
- BasicCompiler32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/Compile_Var.cpp
r67 r69 857 857 *(_int64 *)(initGlobalBuf+offset)=i64data; 858 858 else if(type==DEF_LONG||type==DEF_DWORD||IsPtrType(type)){ 859 if(type== DEF_PTR_CHAR&&lpCalcIndex==LITERAL_STRING){859 if(type==typeOfPtrChar&&lpCalcIndex==LITERAL_STRING){ 860 860 //文字列定数のとき 861 861 … … 1047 1047 } 1048 1048 else if(type==DEF_LONG||type==DEF_DWORD||IsPtrType(type)){ 1049 if(type== DEF_PTR_CHAR&&lpCalcIndex==LITERAL_STRING){1049 if(type==typeOfPtrChar&&lpCalcIndex==LITERAL_STRING){ 1050 1050 //文字列定数のとき 1051 1051 -
BasicCompiler32/NumOpe.cpp
r68 r69 205 205 type[sp]=DEF_OBJECT; 206 206 index_stack[sp]=(LONG_PTR)pobj_StringClass; 207 bUseHeap[sp]=1;208 207 bLiteralCalculation=0; 209 208 … … 214 213 215 214 216 type[sp]= DEF_PTR_CHAR;215 type[sp]=typeOfPtrChar; 217 216 index_stack[sp]=LITERAL_STRING; 218 217 bLiteralCalculation=0; -
BasicCompiler32/VarList.cpp
r64 r69 47 47 } 48 48 else{ 49 if(type== DEF_PTR_CHAR||type==MAKE_PTR_TYPE(DEF_BYTE,1)){49 if(type==MAKE_PTR_TYPE(DEF_SBYTE,1)||type==MAKE_PTR_TYPE(DEF_BYTE,1)){ 50 50 if(ReadProcessMemory(hDebugProcess,(void *)offset,&dwData,sizeof(DWORD),&dwAccessByte)){ 51 51 for(i2=0;;i2++){
Note:
See TracChangeset
for help on using the changeset viewer.