fix problem parsing types
This commit is contained in:
parent
a736979d09
commit
015d53e8ee
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue