Changeset 94 in dev for BasicCompiler32/NumOpe.cpp
- Timestamp:
- Apr 14, 2007, 8:36:04 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/NumOpe.cpp
r93 r94 224 224 || isNothing_stack[sp-2] ){ 225 225 // 同一の型、またはNothingに対するAsはAs演算子を呼び出さない 226 } 227 else if( idCalc == CALC_AS 228 && type_stack[sp-1] == ( DEF_OBJECT | FLAG_CAST ) 229 && ( ((CClass *)index_stack[sp-1])->IsEqualsOrSubClass( (CClass *)index_stack[sp-2] ) || ((CClass *)index_stack[sp-2])->IsEqualsOrSubClass( (CClass *)index_stack[sp-1] ) 230 )){ 231 // ダウンキャストを許可する 226 232 } 227 233 else{
Note:
See TracChangeset
for help on using the changeset viewer.