<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Pulled it. A few minor fixes that I hope work for you:<div class=""><br class=""></div><div class=""><ul class="MailOutline"><li class="">HOSTTYPE is not universally used, so I re-worked that (defaulting to yacc)</li><li class="">Bison doesn’t seem to support YY_NO_UNPUT, but instead uses '%option nounput’, so I used both</li></ul><div><br class=""></div><div>Also added some documentation in the readme file. Hopefully this is all ok now. I am proceeding with the actual implementation.</div><div><br class=""></div><div>Regards, Mark.</div><div><br class=""><blockquote type="cite" class=""><div class="">On 26 Nov 2018, at 2:53 AM, Craig Leres <<a href="mailto:leres@xse.com" class="">leres@xse.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On 11/25/18 4:49 AM, Mark Webb-Johnson wrote:<br class=""><blockquote type="cite" class="">Or try bison?<br class=""></blockquote><br class="">I already had bison installed so I changed the dbc component.mk file to use it on FreeBSD. Here's the pull request:<br class=""><br class=""><a href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/176/files" class="">https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/176/files</a><br class=""><br class="">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.<br class=""><br class="">While I was making changes I added the YY_NO_INPUT and YY_NO_UNPUT defines to dbc_tokeniser.l.<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre">    </span>Craig<br class=""></div></div></blockquote></div><br class=""></div></body></html>