فهرست منبع

Only semant args for a function pointer function declaration.

woollybah 10 سال پیش
والد
کامیت
4ee47a6442
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      decl.bmx

+ 4 - 1
decl.bmx

@@ -1147,7 +1147,10 @@ Type TFuncDecl Extends TBlockDecl
 			InsertDecl arg
 			arg.Semant
 		Next
-		
+
+		' if we are a function pointer declaration, we just want to semant the args here.
+		If attrs & FUNC_PTR Return
+
 		If actual<>Self Return
 		
 		'check for duplicate decl