<div class="gmail_quote">2011/6/18 Nicolás Alvarez <span dir="ltr"><<a href="mailto:nicolas.alvarez@gmail.com">nicolas.alvarez@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi devs,<br>
<br>
I'm working on some stuff in the CMake parser which involves changes<br>
to the lexer. It's written in flex, and currently taken unmodified<br>
from the CMake project.<br>
<br>
We currently ship both the generated code (.c) and the flex source<br>
(.in.l) in the git repository. With current versions of flex, the<br>
.in.l file doesn't even work; and after fixing it, flex unsurprisingly<br>
generates a different .c than we have now.<br>
<br>
It's being annoying to have to manually run flex to regenerate the .c<br>
between changing something and running 'make'. I think it would be<br>
better to ship only the .l file and run flex at compile time. But this<br>
would mean adding a required compile-time dependency on flex to<br>
kdevelop. What do you think about it? Is it an acceptable dep to add?<br>
Or should I just continue keeping the .l and .c in sync in every<br>
commit?<br>
<br>
--<br>
Nicolas<br>
<font color="#888888"><br>
--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</font></blockquote></div><br><div><meta http-equiv="content-type" content="text/html; charset=utf-8">As I said on IRC, I don't think we should add this dependency. Just version the generated file and we all can be happy.</div>

<div><br></div><div>Aleix</div>