in reply to Parse::RecDescent Grammar Questions
and do you really want the following:def: "cluster" name "(" Attr(s?) ")" | "system" name "(" Attr(s?) ")" Attr: AttrScalar(s?) | AttrKeyList(s?) | AttrAssociation(s?)
Otherwise I wouldn't be surprised if the parser sees a reduce-reduce conflict.def: "cluster" name "(" Attr(s?) ")" | "system" name "(" Attr(s?) ")" Attr: AttrScalar | AttrKeyList | AttrAssociation
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parse::RecDescent Grammar Questions
by ikegami (Patriarch) on May 20, 2008 at 21:05 UTC | |
by pc88mxer (Vicar) on May 20, 2008 at 21:37 UTC | |
by ikegami (Patriarch) on May 20, 2008 at 21:53 UTC |