RE: Conditional generation of Grammar rules

2006-05-02 Thread Jeganatan, Srividhya
Fang, Thanks for the response. But I'm not sure I understood what you have mentioned. Could you please give an example or a bit more detail? Appreciate it. Thanks! -Original Message- From: David Fang [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 02, 2006 12:55 PM To: Jeganatan, Sriv

Conditional generation of Grammar rules

2006-05-02 Thread Jeganatan, Srividhya
All, Is there a way to conditionally generate grammar rules? For example, I need to do something like nonterminal X: #ifdef FEATURE { rule 1 } #else { rule 1; rule 2 } #endif I know that ifdefs dont work with the grammar but is there anything else that can be done? Or is it possible to make bi