Major bug in qmake parser
mattr at kde.org
Thu Feb 1 01:50:18 UTC 2007
On Wednesday 31 January 2007 19:38, Andreas Pakulat wrote:
> some of us already saw this today on IRC I think. Now that 3.4.0 is
> released a rather nasty bug showed up in the QMake parser. It seems that
> the parser fails to parse even very simple (like 3 line) QMake project
> files when run inside KDevelop. It works perfectly fine when run outside
> KDevelop and I didn't investigate too much into the issue.
> I very much suspect that the problem is the usage of global variables in
> the QMake parser, though I'm not sure why it never showed up in tests I
> Anyway, I think I resolved this without changing the parser itself but
> instead making bison and flex both create C++ classes for parsing and
> lexing and let them work together. I already did the same thing for the
> parser in KDevelop4 so it was a rather straight-forward thing.
> I know this is really unfortunate as 3.4.0 has just been released and
> finally binary packages are available on major distro's, but still I
> think we should consider doing a 3.4.0a release with the
> aforementioned qmake bugfixe. It can be isolated easily as it is
> completely contained in the buildtools/lib/parsers/qmake directory. The
> svn revisions for the change to C++ classes are 628389 and 628390
> (I forgot a file in the first commit).
> What do you guys think? As Jens already said yesterday on IRC pushing
> out a full new release within a week or two is not a good idea because
> the new features are not yet polished.
It'll have to wait until KDevelop 3.4.1. Provide me with a patch and I'll
email it to kde-packagers so they can add it to their packages.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the KDevelop-devel