Browse Source

Only semant args for a function pointer function declaration.

woollybah 10 years ago
parent
commit
4ee47a6442
1 changed files with 4 additions and 1 deletions
  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