fix problem parsing types

This commit is contained in:
Grahame Grieve 2023-03-08 09:11:00 +11:00
parent a736979d09
commit 015d53e8ee
1 changed files with 1 additions and 0 deletions

View File

@ -273,6 +273,7 @@ public class FmlParser extends ParserBase {
lexer.token("<");
if (lexer.hasToken("types")) {
group.makeElement("typeMode").markLocation(lexer.getCurrentLocation()).setValue(StructureMapGroupTypeMode.TYPES.toCode());
lexer.token("types");
} else {
group.makeElement("typeMode").markLocation(lexer.getCurrentLocation()).setValue(StructureMapGroupTypeMode.TYPEANDTYPES.toCode());
lexer.token("type");