[Ovmsdev] yacc/lex on component/dbc

Craig Leres leres at xse.com
Mon Nov 26 02:53:45 HKT 2018


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



More information about the OvmsDev mailing list