From 3a1d56aefdf4e82d65dcbd575f33f3e301435fb4 Mon Sep 17 00:00:00 2001 From: biwa <6475593+biwa@users.noreply.github.com> Date: Sat, 13 Jul 2024 17:27:09 +0200 Subject: [PATCH] ZScript parser: added support for the missing "internal" modifier. Fixes #1080 --- Source/Core/ZDoom/ZScriptActorStructure.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/ZDoom/ZScriptActorStructure.cs b/Source/Core/ZDoom/ZScriptActorStructure.cs index 68abd5874..e0793c4ca 100755 --- a/Source/Core/ZDoom/ZScriptActorStructure.cs +++ b/Source/Core/ZDoom/ZScriptActorStructure.cs @@ -676,7 +676,7 @@ namespace CodeImp.DoomBuilder.ZDoom // try to read in a variable/method. bool bmethod = false; - string[] availablemodifiers = new string[] { "static", "native", "action", "readonly", "protected", "private", "virtual", "override", "meta", "transient", "deprecated", "final", "play", "ui", "clearscope", "virtualscope", "version", "const", "abstract" }; + string[] availablemodifiers = new string[] { "static", "native", "action", "internal", "readonly", "protected", "private", "virtual", "override", "meta", "transient", "deprecated", "final", "play", "ui", "clearscope", "virtualscope", "version", "const", "abstract" }; string[] versionedmodifiers = new string[] { "version", "deprecated" }; string[] methodmodifiers = new string[] { "action", "virtual", "override", "final", "abstract" }; HashSet<string> modifiers = new HashSet<string>(); -- GitLab