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 {
internal class RulesetInterpreter : PdtInterpreter<PdtRuleset> {
public RulesetInterpreter(string src, Binder binder) : base(src, binder) { }
internal class RulesetInterpreter : PdtInterpreter {
public RulesetInterpreter(string src, Binder binder) : base(src, typeof(PdtRuleset), binder) { }
readonly List<RulesetSelector> s = new List<RulesetSelector>();
readonly List<string> a = new List<string>();