Code cleanup.
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Cryville.Crtr {
|
||||
public RulesetInterpreter(string src, Binder binder) : base(src, binder) { }
|
||||
|
||||
readonly List<RulesetSelector> s = new List<RulesetSelector>();
|
||||
readonly List<string> a = new List<string>();
|
||||
readonly HashSet<string> a = new HashSet<string>();
|
||||
protected override object InterpretKey(Type type) {
|
||||
if (type == typeof(Constraint))
|
||||
return InterpretConstraintKey();
|
||||
@@ -52,7 +52,7 @@ namespace Cryville.Crtr {
|
||||
break;
|
||||
}
|
||||
ws();
|
||||
if (Position == pp) throw new FormatException("Invalid selector or key format");
|
||||
if (Position == pp) throw new FormatException("Invalid selector or key format.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user