Changeset 256 in dev for trunk/abdev/BasicCompiler_Common/calculation.cpp
- Timestamp:
- Aug 1, 2007, 11:19:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/calculation.cpp
r254 r256 500 500 //定数関数 501 501 502 ConstMacro *pConstMacro = compiler. GetMeta().GetGlobalConstMacros().Find( temporary );502 ConstMacro *pConstMacro = compiler.objectModule.meta.GetGlobalConstMacros().Find( temporary ); 503 503 if( !pConstMacro ) 504 504 { … … 665 665 ///////// 666 666 StrPtr[pnum]=0; 667 type[pnum] = compiler. GetMeta().GetGlobalConsts().GetBasicType(Parms);667 type[pnum] = compiler.objectModule.meta.GetGlobalConsts().GetBasicType(Parms); 668 668 if(type[pnum]){ 669 669 if(IsRealNumberType(type[pnum])){ 670 670 //実数型 671 nums[pnum] = compiler. GetMeta().GetGlobalConsts().GetDoubleData(Parms);671 nums[pnum] = compiler.objectModule.meta.GetGlobalConsts().GetDoubleData(Parms); 672 672 } 673 673 else if(IsWholeNumberType(type[pnum])){ 674 674 //整数 675 i64nums[pnum] = compiler. GetMeta().GetGlobalConsts().GetWholeData(Parms);675 i64nums[pnum] = compiler.objectModule.meta.GetGlobalConsts().GetWholeData(Parms); 676 676 } 677 677 /* else if(type[pnum]==DEF_STRING){ … … 1221 1221 1222 1222 //定数 1223 ConstMacro *pConstMacro = compiler. GetMeta().GetGlobalConstMacros().Find( temporary );1223 ConstMacro *pConstMacro = compiler.objectModule.meta.GetGlobalConstMacros().Find( temporary ); 1224 1224 if(pConstMacro){ 1225 1225 //マクロ関数の場合 … … 1231 1231 1232 1232 //定数 1233 i3 = compiler. GetMeta().GetGlobalConsts().GetBasicType(Command+i2);1233 i3 = compiler.objectModule.meta.GetGlobalConsts().GetBasicType(Command+i2); 1234 1234 if(i3==DEF_STRING) return 1; //文字列 1235 1235 if(i3) return 0; //数値
Note:
See TracChangeset
for help on using the changeset viewer.