From 3bc34476914c23572293407ff55fb4bb9960891d Mon Sep 17 00:00:00 2001 From: Kotov <44296606+AIexandrKotov@users.noreply.github.com> Date: Sun, 6 Oct 2019 12:11:42 +0300 Subject: [PATCH] fix pascalabcnet/pascalabcnetide#160 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit я думал это будет сложнее --- ParserTools/ParserTools/DefaultLanguageInformation.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ParserTools/ParserTools/DefaultLanguageInformation.cs b/ParserTools/ParserTools/DefaultLanguageInformation.cs index b9145b53f..11c715e93 100644 --- a/ParserTools/ParserTools/DefaultLanguageInformation.cs +++ b/ParserTools/ParserTools/DefaultLanguageInformation.cs @@ -126,6 +126,7 @@ namespace PascalABCCompiler.Parsers keywords.Add("exit", "exit"); keys.Add("exit"); keywords.Add("event", "event"); keys.Add("event"); keywords.Add("match", "match"); keys.Add("match"); + keywords.Add("when", "when"); keys.Add("when"); keywords.Add("static", "static"); keys.Add("static"); //keywords.Add("typeof", "typeof"); //keys.Add("typeof"); //keywords.Add("sizeof", "sizeof"); //keys.Add("sizeof");