diff --git a/a2l/a2ml.go b/a2l/a2ml.go index 9ae5d94..fe16672 100644 --- a/a2l/a2ml.go +++ b/a2l/a2ml.go @@ -25,10 +25,6 @@ forLoop: } else if tok.current() == endA2mlToken { a2ml.formatSpecificationSet = true break forLoop - } else if isKeyword(tok.current()) { - err = errors.New("unexpected token " + tok.current()) - log.Err(err).Msg("a2ml could not be parsed") - break forLoop } else if !a2ml.formatSpecificationSet { a2ml.formatSpecification = a2ml.formatSpecification + spaceToken + tok.current() }