mark location for input parsing FML

This commit is contained in:
Grahame Grieve 2023-03-08 11:48:37 +11:00
parent 6870c7a32c
commit eb852a8d03

View File

@ -550,7 +550,7 @@ public class FmlParser extends ParserBase {
}
private void parseInput(Element group, FHIRLexer lexer, boolean newFmt) throws FHIRException {
Element input = group.addElement("input");
Element input = group.addElement("input").markLocation(lexer.getCurrentLocation());
if (newFmt) {
input.makeElement("mode").markLocation(lexer.getCurrentLocation()).setValue(lexer.take());
} else