From c9085d0e272a29db6623d25600407c2f278ed74b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Sun, 30 Oct 2016 13:13:05 +0000 Subject: [PATCH] [DEVELOPMENT ENVIRONMENT] * BUG: Editor: Workaround an interpreter crash when analyzing an expression including the LAST keyword. git-svn-id: svn://localhost/gambas/trunk@7947 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- app/src/gambas3/.src/Editor/Code/FEditor.class | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/gambas3/.src/Editor/Code/FEditor.class b/app/src/gambas3/.src/Editor/Code/FEditor.class index 418323eb4..1a31e22f1 100644 --- a/app/src/gambas3/.src/Editor/Code/FEditor.class +++ b/app/src/gambas3/.src/Editor/Code/FEditor.class @@ -3406,6 +3406,8 @@ Private Sub GetExpressionTypeWithEval(aSym As String[], aType As Integer[]) As S sType = GetSymbolType("ME") Else If aSym[I] = "SUPER" Then sType = GetSymbolType("SUPER") + Else If aSym[I] = "LAST" Then + sType = "o" Endif Else If aType[I] = Highlight.Symbol Then