fix problem parsing types
This commit is contained in:
parent
a736979d09
commit
015d53e8ee
|
@ -273,6 +273,7 @@ public class FmlParser extends ParserBase {
|
||||||
lexer.token("<");
|
lexer.token("<");
|
||||||
if (lexer.hasToken("types")) {
|
if (lexer.hasToken("types")) {
|
||||||
group.makeElement("typeMode").markLocation(lexer.getCurrentLocation()).setValue(StructureMapGroupTypeMode.TYPES.toCode());
|
group.makeElement("typeMode").markLocation(lexer.getCurrentLocation()).setValue(StructureMapGroupTypeMode.TYPES.toCode());
|
||||||
|
lexer.token("types");
|
||||||
} else {
|
} else {
|
||||||
group.makeElement("typeMode").markLocation(lexer.getCurrentLocation()).setValue(StructureMapGroupTypeMode.TYPEANDTYPES.toCode());
|
group.makeElement("typeMode").markLocation(lexer.getCurrentLocation()).setValue(StructureMapGroupTypeMode.TYPEANDTYPES.toCode());
|
||||||
lexer.token("type");
|
lexer.token("type");
|
||||||
|
|
Loading…
Reference in New Issue