ihedvall / a2llib

ASAM ASAP2 parser for A2L files
MIT License
4 stars 1 forks source link

Keyword CONTROLLER_ADDRESSES is not identified by the lib #6

Closed sabarinathbs closed 1 month ago

sabarinathbs commented 1 month ago

There is an issue with one of the keyword CONTROLLER_ADDRESSES in a2l file. While parsing, I am getting a syntax error for this keyword. The error shows "syntax error near /begin CONTROLLER_ADDRESSES"

ihedvall commented 1 month ago

The supplied A2L files have some issues as there is a /end MODULE tag but no matching /begin MODULE tag. Is it OK to add this tag to the controller_ADDRESSES files?

sabarinathbs commented 1 month ago

The supplied A2L files have some issues as there is a /end MODULE tag but no matching /begin MODULE tag. Is it OK to add this tag to the controller_ADDRESSES files?

Yes it is ok

ihedvall commented 1 month ago

I have fixed the parser but I had to add an underscore to the BYTE ORDER tag (BYTE_ORDER). Just checking if it's more changes needed? I have not checked in changes yet.

ihedvall commented 1 month ago

I have added the CONTROLLER_ADDRESSES tag support. Please test on your A2L files

sabarinathbs commented 1 month ago

Hi @ihedvall , tested the fix. Its working fine