Changeset 36 in dev for BasicCompiler32/Compile_Var.cpp
- Timestamp:
- Jan 20, 2007, 4:55:26 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/Compile_Var.cpp
r34 r36 837 837 else if(type==DEF_INTEGER||type==DEF_WORD) 838 838 *(WORD *)(initGlobalBuf+offset)=(WORD)i64data; 839 else if(type==DEF_CHAR||type==DEF_BYTE )839 else if(type==DEF_CHAR||type==DEF_BYTE||type==DEF_BOOLEAN) 840 840 *(BYTE *)(initGlobalBuf+offset)=(BYTE)i64data; 841 841 //String型が未完成 … … 1050 1050 obp+=sizeof(long); 1051 1051 } 1052 else if(type==DEF_CHAR||type==DEF_BYTE ){1052 else if(type==DEF_CHAR||type==DEF_BYTE||type==DEF_BOOLEAN){ 1053 1053 //mov byte ptr[ebp+offset],InitValue 1054 1054 OpBuffer[obp++]=(char)0xC6;
Note:
See TracChangeset
for help on using the changeset viewer.