Fixed some bugs on parsing the appDefs

This commit is contained in:
Simon Martens
2022-11-25 20:50:09 +01:00
parent ccfcadb91b
commit e12223209a
3 changed files with 3 additions and 2 deletions

View File

@@ -10,14 +10,13 @@ namespace HaDocument.Reactors {
class AppDefsReactor : Reactor {
internal Dictionary<string, App> CreatedInstances;
// State
private string Index;
private string Name;
private bool Category;
internal AppDefsReactor(IReader reader, IntermediateLibrary lib) : base(reader, lib) {
lib.Locations = new Dictionary<string, Location>();
lib.Apps = new Dictionary<string, App>();
CreatedInstances = lib.Apps;
reader.Tag += Listen;
}