Rename constraint types to avoid ambiguity.

This commit is contained in:
2023-07-27 22:06:15 +08:00
parent 98e35fc6f6
commit 9b091a0084
2 changed files with 10 additions and 10 deletions

View File

@@ -59,7 +59,7 @@ namespace Cryville.Crtr {
break;
case ';':
case ':':
return new PropertyKey(a.Contains("var") ? PropertyType.Variable : PropertyType.Property, key);
return new ConstraintKey(a.Contains("var") ? ConstraintType.Variable : ConstraintType.Property, key);
case '{':
return new RulesetSelectors(s);
case '}':