Re: [Vala] --version support



On Mit, 2006-10-18 at 01:13 +0200, Marc-André Lureau wrote:
Hola,

The '--version' cl option does not work properly:

elmarco vaiolin:~/cvs/gnome2/vala/compiler$ valac --version
No source file specified.

[...]

Is there a way to include plain C code (as %{ and %} work in
flex/bison)? 
Thus you could include the VERSION generated variable of
${top_builddir}/config.h
instead of a static string.

You can't include plain C code but I've added a simple binding so that
defines from config.h may be used.

Jürg




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]