Changeset 103 in dev for BasicCompiler32/NumOpe.cpp
- Timestamp:
- May 2, 2007, 4:08:58 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/NumOpe.cpp
r102 r103 257 257 Type leftType; 258 258 if( !TermOpe( termLeft, baseType, leftType, isLiteral, pbUseHeap, &isClassName ) ){ 259 return false;259 goto globalArea; 260 260 } 261 261 … … 836 836 ////////////// 837 837 838 i3 = CDBConst::obj.Get Type(term);838 i3 = CDBConst::obj.GetBasicType(term); 839 839 if(i3){ 840 if( CDBConst::obj.IsStringPtr( term ) ){ 841 //リテラル文字列 842 843 double dbl = CDBConst::obj.GetDoubleData(term); 844 memcpy(&i64data,&dbl,sizeof(double)); 845 846 //バイト数 847 i3=lstrlen((char *)i64data); 848 849 memcpy(term,(char *)i64data,i3); 850 term[i3]=0; 851 goto StrLiteral; 852 } 853 840 854 type_stack[sp]=i3; 841 855 if(IsRealNumberType(i3)){ … … 850 864 goto Literal; 851 865 } 852 /*else if(i3==DEF_STRING){853 //リテラル文字列854 855 //バイト数856 i3=(int)dbl;857 858 memcpy(term,temporary,i3);859 goto StrLiteral;860 }*/861 866 else{ 862 867 SetError(300,NULL,cp);
Note:
See TracChangeset
for help on using the changeset viewer.