[Vala] preprocessor rules

2009-04-23 Thread pancake
In vala 0.7 we have some preprocessor rules '#if','#else','#endif'...But looks that it can only work with variables, so if i do: #if 0 commented code #else code that will be compiled #endif works, because it handles 0 as a variable and it is not defined, so the conditional will not match,

Re: [Vala] preprocessor rules

2009-04-23 Thread Jürg Billeter
On Thu, 2009-04-23 at 12:47 +0200, pancake wrote: In vala 0.7 we have some preprocessor rules '#if','#else','#endif'...But looks that it can only work with variables, so if i do: [...] Are there plans to support numeric values in preprocessing conditionals? There are no plans for numeric