浏览代码

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