Skip to content

Commit

Permalink
Update a2ml.go
Browse files Browse the repository at this point in the history
removed check for unexpected keywords as some might occur in the a2ml.
  • Loading branch information
asap2Go committed Nov 10, 2022
1 parent 37dfc5b commit 274ca90
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions a2l/a2ml.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 274ca90

Please sign in to comment.