Changeset 62 in dev for BasicCompiler64/Compile_Calc.cpp
- Timestamp:
- Feb 22, 2007, 3:57:56 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler64/Compile_Calc.cpp
r55 r62 286 286 } 287 287 288 if( VarType == DEF_OBJECT && VarRelativeVar.dwKind == VAR_REFLOCAL ){ 288 if( VarType == DEF_OBJECT 289 && (VarRelativeVar.dwKind == VAR_REFLOCAL || VarRelativeVar.dwKind == VAR_REFGLOBAL ) ){ 289 290 // 参照型オブジェクトへの代入(初期化)はポインタ変数と同様の処理に値する 290 291 PTR_LEVEL_UP( VarType ); 291 292 292 VarRelativeVar.dwKind = VAR_LOCAL; 293 if( VarRelativeVar.dwKind == VAR_REFGLOBAL ){ 294 VarRelativeVar.dwKind = VAR_GLOBAL; 295 } 296 else if( VarRelativeVar.dwKind == VAR_REFLOCAL ){ 297 VarRelativeVar.dwKind = VAR_LOCAL; 298 } 293 299 294 300 if( CalcType == DEF_OBJECT ){
Note:
See TracChangeset
for help on using the changeset viewer.