This commit is contained in:
gnembon committed 2020-05-04 23:09:02 -03:00
1 parent 771de74a03
commit cfe1a9e729
1 file changed
+2 -1
@@ -1164,7 +1164,8 @@ public class CarpetExpression
String reqString = requested.getString();
String structureName = FeatureGenerator.featureToStructure.get(reqString);
if (structureName == null) throw new InternalExpressionException("Unknown structure: " + reqString);
structure = Feature.STRUCTURES.get(structureName);
structure = Feature.STRUCTURES.get(structureName.toLowerCase(Locale.ROOT));
if (structure == null) throw new InternalExpressionException("Unsupported structure: " + structureName);
}
if (lv.size() > locator.offset+1)
{