Changeset 97 in dev for BasicCompiler32/Compile_Var.cpp
- Timestamp:
- Apr 16, 2007, 3:52:40 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/Compile_Var.cpp
r96 r97 336 336 337 337 return true; 338 }339 void GetWithName(char *buffer){340 extern WITHINFO WithInfo;341 int i;342 343 buffer[0]=0;344 for(i=0;i<WithInfo.num;i++)345 lstrcat(buffer,WithInfo.ppName[i]);346 338 } 347 339 … … 836 828 } 837 829 else if( type.IsLong() || type.IsDWord() || type.IsPointer() ){ 838 if(type.GetBasicType()==typeOfPtrChar &&calcType.GetIndex()==LITERAL_STRING){830 if(type.GetBasicType()==typeOfPtrChar){ 839 831 //文字列定数のとき 840 832 … … 1022 1014 } 1023 1015 else if( type.IsDWord() || type.IsLong() || type.IsPointer() ){ 1024 if(type.GetBasicType()==typeOfPtrChar &&calcType.GetIndex()==LITERAL_STRING){1016 if(type.GetBasicType()==typeOfPtrChar){ 1025 1017 //文字列定数のとき 1026 1018 … … 1307 1299 } 1308 1300 } 1301 void SetVarPtrToReg(int reg,RELATIVE_VAR *pRelativeVar){ 1302 if( reg != REG_EAX ){ 1303 SetError(); 1304 //TODO: 未完成 1305 } 1306 SetVarPtrToEax( pRelativeVar ); 1307 } 1309 1308 1310 1309 bool Compile_AddGlobalRootsForGc(){
Note:
See TracChangeset
for help on using the changeset viewer.