Changeset 55 in dev for BasicCompiler64/Compile_Calc.cpp
- Timestamp:
- Feb 13, 2007, 3:14:57 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler64/Compile_Calc.cpp
r46 r55 11 11 SetBooleanVariable(CalcType,pRelativeVar); 12 12 } 13 if(VarType==DEF_CHAR||VarType==DEF_BYTE){13 else if(VarType==DEF_SBYTE||VarType==DEF_BYTE || (isUnicode==false&&VarType==DEF_CHAR)){ 14 14 //8ビット変数へalレジスタの内容を格納する 15 15 SetWholeVariable(sizeof(char),CalcType,pRelativeVar); 16 16 } 17 else if(VarType==DEF_INTEGER||VarType==DEF_WORD ){17 else if(VarType==DEF_INTEGER||VarType==DEF_WORD || (isUnicode&&VarType==DEF_CHAR)){ 18 18 //16ビット変数へaxレジスタの内容を格納する 19 19 SetWholeVariable(sizeof(short),CalcType,pRelativeVar); … … 34 34 //Single型変数へスタックの内容を格納する 35 35 SetSingleVariable(CalcType,pRelativeVar); 36 } 37 else{ 38 SetError(300,NULL,cp); 36 39 } 37 40 }
Note:
See TracChangeset
for help on using the changeset viewer.