瀏覽代碼

Stop when we find a match. Fixes #393.

woollybah 6 年之前
父節點
當前提交
be74f0b2eb
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      decl.bmx

+ 2 - 0
decl.bmx

@@ -2259,6 +2259,8 @@ Type TFuncDecl Extends TBlockDecl
 					errorDetails = errorDetails.Trim()
 				EndIf
 			End If
+			
+			If found Exit
 		Next
 		Return found
 	End Method