Skip to content

Commit 274ca90

Browse files
committed
Update a2ml.go
removed check for unexpected keywords as some might occur in the a2ml.
1 parent 37dfc5b commit 274ca90

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

a2l/a2ml.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ forLoop:
2525
} else if tok.current() == endA2mlToken {
2626
a2ml.formatSpecificationSet = true
2727
break forLoop
28-
} else if isKeyword(tok.current()) {
29-
err = errors.New("unexpected token " + tok.current())
30-
log.Err(err).Msg("a2ml could not be parsed")
31-
break forLoop
3228
} else if !a2ml.formatSpecificationSet {
3329
a2ml.formatSpecification = a2ml.formatSpecification + spaceToken + tok.current()
3430
}

0 commit comments

Comments
 (0)