소스 검색

Fixed extern class references not #including decl file.

Mark Sibly 9 년 전
부모
커밋
cc722e8273
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/mx2cc/translator.monkey2

+ 1 - 0
src/mx2cc/translator.monkey2

@@ -414,6 +414,7 @@ Class Translator
 	
 		Local ctype:=TCast<ClassType>( type )
 		If ctype
+			If ctype.cdecl.IsExtern Uses( ctype.transFile ) ; return
 			If IsStruct( ctype ) Uses( ctype ) ; Return
 			If AddRef( ctype ) Return
 			_refsTypes.Push( ctype )