[DEVELOPMENT ENVIRONMENT]

* BUG: "F2" now correctly finds the definition of classes used as method or 
  array.


git-svn-id: svn://localhost/gambas/trunk@7302 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2015-09-12 18:37:46 +00:00
parent 4c26b8485c
commit 083e138e9f

View file

@ -2128,6 +2128,14 @@ Private Function GetExpressionSymbol(aExpr As String[], aType As Integer[]) As C
'ENDIF
If Not $hSymbol Then
If sPattern = "(" Then
Try $hSymbol = CComponent.GetClassSymbols(sType)["_call"]
Else If sPattern = "[" Then
Try $hSymbol = CComponent.GetClassSymbols(sType)["_get"]
Endif
Endif
Return $hSymbol
End