<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 12, 2014 at 2:08 PM, Mark Brethen <span dir="ltr">&lt;<a href="mailto:mark.brethen@gmail.com" target="_blank">mark.brethen@gmail.com</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":35p" class="a3s" style="overflow:hidden">:info:build head -n 73 agrampar.tab.h &gt; agrampar.codes.h<br>
:info:build c++ -c -o agrampar.tab.o <a href="http://agrampar.tab.cc" target="_blank">agrampar.tab.cc</a><div style="display:inline-block;width:16px;height:16px"> </div> -g -Wall -Wno-deprecated -D__UNIX__ -O2 -DNDEBUG -I../smbase<br>
:info:build c++ -c -o ccsstr.o ccsstr.cc -g -Wall -Wno-deprecated -D__UNIX__ -O2 -DNDEBUG -I../smbase<br>
:info:build perl ../smbase/<a href="http://run-flex.pl" target="_blank">run-flex.pl</a><div style="display:inline-block;width:16px;height:16px"> </div> -<a href="http://oagramlex.yy.cc" target="_blank">oagramlex.yy.cc</a><div style="display:inline-block;width:16px;height:16px"> </div> agramlex.lex<br>
:info:build flex -<a href="http://oagramlex.yy.cc" target="_blank">oagramlex.yy.cc</a><div style="display:inline-block;width:16px;height:16px"> </div> agramlex.lex<br>
:info:build modifying <a href="http://agramlex.yy.cc" target="_blank">agramlex.yy.cc</a><div style="display:inline-block;width:16px;height:16px"> </div><br>
:info:build c++ -c -o agramlex.yy.o <a href="http://agramlex.yy.cc" target="_blank">agramlex.yy.cc</a><div style="display:inline-block;width:16px;height:16px"> </div> -g -Wall -Wno-deprecated -D__UNIX__ -O2 -DNDEBUG -I../smbase<br>
:info:build In file included from agramlex.lex:14:<br>
:info:build ./agrampar.codes.h:44:2: error: unterminated conditional directive<br>
:info:build #ifndef YYTOKENTYPE<br>
:info:build  ^<br>
:info:build ./agrampar.codes.h:33:2: error: unterminated conditional directive<br>
:info:build #ifndef YY_YY_AGRAMPAR_TAB_H_INCLUDED<br>
:info:build  ^<br>
:info:build In file included from <a href="http://agramlex.yy.cc:548" target="_blank">agramlex.yy.cc:548</a><div style="display:inline-block;width:16px;height:16px"> </div>:<br>
:info:build In file included from /usr/include/unistd.h:72:<br>
:info:build /usr/include/sys/unistd.h:132:1: error: expected identifier<br></div></blockquote></div><br>Apparently bison has changed since this was written; the above errors come from agrampar.codes.h being truncated in the middle of an enum declaration. You may need to find an old version of bison to find out what it&#39;s really trying to extract from the generated header, and either adjust the head -n to match (if it&#39;s similar enough) or possibly write a script to generate whatever it&#39;s actually expecting (if, say, the enum created by current versions of bison was expected to be a set of #define-s).<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>