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/filesAs 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