Add exception description on PDT parsing error.

This commit is contained in:
2023-01-24 23:10:52 +08:00
parent 02794d88b9
commit 2304257201
6 changed files with 68 additions and 28 deletions

View File

@@ -4,8 +4,8 @@ using System.Collections.Generic;
using System.Reflection;
namespace Cryville.Crtr {
public class SkinInterpreter : PdtInterpreter<PdtSkin> {
public SkinInterpreter(string src, Binder binder) : base(src, binder) { }
public class SkinInterpreter : PdtInterpreter {
public SkinInterpreter(string src, Binder binder) : base(src, typeof(PdtSkin), binder) { }
readonly List<SkinSelector> s = new List<SkinSelector>();
readonly List<string> a = new List<string>();