From 40be3ccb3037c932d29137a00c484873fcd8ae20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D0=BE=D0=BD=D0=B4=D0=B0=D1=80=D0=B5=D0=B2=20=D0=98?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD?= Date: Tue, 9 Apr 2019 21:59:45 +0200 Subject: [PATCH] fix pascalabcnet/pascalabcnetide#103 --- ParserTools/ParserTools/DefaultLanguageInformation.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ParserTools/ParserTools/DefaultLanguageInformation.cs b/ParserTools/ParserTools/DefaultLanguageInformation.cs index dc3f63421..0692e4d82 100644 --- a/ParserTools/ParserTools/DefaultLanguageInformation.cs +++ b/ParserTools/ParserTools/DefaultLanguageInformation.cs @@ -588,7 +588,7 @@ namespace PascalABCCompiler.Parsers } else sb.Append(prepare_member_name(t.Name)); - sb.Append(" = " + GetClassKeyword(t)); + sb.Append(" = " + (t.IsSealed && t.IsAbstract ? "static ":"")+GetClassKeyword(t)); bool bracket = false; if (t.IsEnum) {