Re: version specific enum members

2009-10-30 Thread Phil Deets
On Fri, 30 Oct 2009 06:38:44 -0500, Ary Borenszweig a...@esperanto.org.ar wrote: Phil Deets wrote: On Thu, 29 Oct 2009 18:28:12 -0500, Ary Borenszweig a...@esperanto.org.ar wrote: Ellery Newcomer wrote: Unfortunately, that's going to be about the best you can do, unless you're willing

version specific enum members

2009-10-29 Thread Phil Deets
Hi, is there a way to add members to an enum based on conditional compilation symbols. I tried enum Tag { A, B, version (symbol) { C, D, } E, } but it doesn't work. I know I could do version (symbol) { enum Tag { A, B, C, D, E } } else { enum Tag { A, B, E } } but I

Re: version specific enum members

2009-10-29 Thread Ellery Newcomer
Phil Deets wrote: Hi, is there a way to add members to an enum based on conditional compilation symbols. I tried enum Tag { A, B, version (symbol) { C, D, } E, } but it doesn't work. I know I could do version (symbol) { enum Tag { A, B, C, D, E } } else {

Re: version specific enum members

2009-10-29 Thread Ary Borenszweig
Ellery Newcomer wrote: Phil Deets wrote: Hi, is there a way to add members to an enum based on conditional compilation symbols. I tried enum Tag { A, B, version (symbol) { C, D, } E, } but it doesn't work. I know I could do version (symbol) { enum Tag { A, B, C, D, E } }

Re: version specific enum members

2009-10-29 Thread Phil Deets
On Thu, 29 Oct 2009 18:28:12 -0500, Ary Borenszweig a...@esperanto.org.ar wrote: Ellery Newcomer wrote: Phil Deets wrote: Hi, is there a way to add members to an enum based on conditional compilation symbols. I tried enum Tag { A, B, version (symbol) { C, D, } E, } but

Re: version specific enum members

2009-10-29 Thread Daniel Keep
Phil Deets wrote: Hi, is there a way to add members to an enum based on conditional compilation symbols. I tried enum Tag { A, B, version (symbol) { C, D, } E, } but it doesn't work. I know I could do version (symbol) { enum Tag { A, B, C, D, E } } else {

Re: version specific enum members

2009-10-29 Thread Phil Deets
On Fri, 30 Oct 2009 00:03:23 -0500, Daniel Keep daniel.keep.li...@gmail.com wrote: Phil Deets wrote: Hi, is there a way to add members to an enum based on conditional compilation symbols. I tried enum Tag { A, B, version (symbol) { C, D, } E, } but it doesn't work. I