Added support for "abstract" ZScript functions. Fixes #523

This commit is contained in:
biwa 2021-01-30 23:08:41 +01:00
parent 5bcb27e51f
commit 4eb223b3f0

View file

@ -617,9 +617,9 @@ namespace CodeImp.DoomBuilder.ZDoom
// try to read in a variable/method. // try to read in a variable/method.
bool bmethod = false; 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" }; string[] availablemodifiers = new string[] { "static", "native", "action", "readonly", "protected", "private", "virtual", "override", "meta", "transient", "deprecated", "final", "play", "ui", "clearscope", "virtualscope", "version", "const", "abstract" };
string[] versionedmodifiers = new string[] { "version", "deprecated" }; string[] versionedmodifiers = new string[] { "version", "deprecated" };
string[] methodmodifiers = new string[] { "action", "virtual", "override", "final" }; string[] methodmodifiers = new string[] { "action", "virtual", "override", "final", "abstract" };
HashSet<string> modifiers = new HashSet<string>(); HashSet<string> modifiers = new HashSet<string>();
List<string> types = new List<string>(); List<string> types = new List<string>();
List<List<int>> typearraylens = new List<List<int>>(); List<List<int>> typearraylens = new List<List<int>>();