Ok, I think I'm now understanding something that I had completely missed about that syntax: it's LR(1). I was assuming it was something much more complicated with unlimited backtracking.
Dumping my code and restarting the parser with lighter tools... Thanks and cheers, David On Tue, 2007-10-23 at 19:20 +0200, liorean wrote: > On 23/10/2007, David Teller <[EMAIL PROTECTED]> wrote: > > So I guess this could just be handled by making this rule have a lowest > > priority ? > > Not really. In statement context, a function without a name should be > a syntax error -- David Teller ------------------------------------------ Security of Distributed Systems ----------------------- Project JStify: Static Analysis for JavaScript 2 ----- -- http://www.univ-orleans.fr/lifo/Members/David.Teller ----- Laboratoire d'Informatique Fondamentale d'Orleans _______________________________________________ Es4-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es4-discuss
