Re: [q-lang-users] CVS head failed to build, flex yytext_ptr problems
Brought to you by:
agraef
From: Albert G. <Dr....@t-...> - 2006-05-17 00:34:53
|
Peter Minten wrote: > This works. However when I removed the qclex.c file (which was in the > archive) and ran make again to recreate the file it fails in exactly the > same way as before (not suprisingly as there is no difference between > the 7.1rc2 qclex.l file and the one in CVS HEAD). Ok, so we know for sure now that it's a flex compatibility issue. The necessary change apparently is to move all the routines which use unput to the first %{ %} code section of the Lex source. Unfortunately, that doesn't work with older Flex versions. Stupid. :( I've attached a patch which I *think* should make qmlex.l compile, according to the little documentation that I have about this "feature" of the new flex version. Could you please try whether that works for you? Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |