Changeset 290 in dev for trunk/abdev/BasicCompiler32/Compile_Func.cpp
- Timestamp:
- Aug 21, 2007, 11:00:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/Compile_Func.cpp
r265 r290 259 259 260 260 char ObjectName[VN_SIZE]; 261 int RefType;262 SplitObjectName(name,ObjectName, &RefType);261 ReferenceKind referenceKind; 262 SplitObjectName(name,ObjectName, referenceKind ); 263 263 264 264 if(ObjectName[0]){ … … 274 274 275 275 //参照タイプが整合しているかをチェック 276 if(type.GetBasicType()!=RefType) SetError(104,ObjectName,cp); 276 if( !( type.IsObject() && referenceKind == RefDot 277 || type.IsObjectPtr() && referenceKind == RefPointer ) ) 278 { 279 SetError(104,ObjectName,cp); 280 } 277 281 278 282 if(type.IsObjectPtr()){
Note:
See TracChangeset
for help on using the changeset viewer.