From 94c2d75ad8981eb16969f1349df2c8649d8272e5 Mon Sep 17 00:00:00 2001 From: Alexander Luzgarev Date: Thu, 5 Apr 2018 09:36:52 +0200 Subject: [PATCH] Add "else" to the list of keywords for dealing with command syntax --- Lexer/MLexer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lexer/MLexer.cs b/Lexer/MLexer.cs index cb0e559..dff20a5 100644 --- a/Lexer/MLexer.cs +++ b/Lexer/MLexer.cs @@ -387,7 +387,7 @@ namespace Lexer Keywords = new HashSet { "for", "if", "function", "while", "case", "try", "catch", "end", - "switch", "classdef", "elseif", "persistent", + "switch", "classdef", "elseif", "persistent", "else" }; }