Pulled it. A few minor fixes that I hope work for you:


Also added some documentation in the readme file. Hopefully this is all ok now. I am proceeding with the actual implementation.

Regards, Mark.

On 26 Nov 2018, at 2:53 AM, Craig Leres <leres@xse.com> wrote:

On 11/25/18 4:49 AM, Mark Webb-Johnson wrote:
Or try bison?

I already had bison installed so I changed the dbc component.mk file to use it on FreeBSD. Here's the pull request:

https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/176/files

As noted I think it would make more sense for YACC (and probably LEX) to be defined at a higher level. I couldn't figure out where CC and friends are defined so took the easy way out.

While I was making changes I added the YY_NO_INPUT and YY_NO_UNPUT defines to dbc_tokeniser.l.

Craig