[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lpeg grammar questions
- From: Duncan Cross <duncan.cross@...>
- Date: Wed, 12 Feb 2014 13:42:34 +0000
On Wed, Feb 12, 2014 at 11:03 AM, Simon Cozens <simon@simon-cozens.org> wrote:
> local incrementline = Cg( Cb"linenum" )/ function ( a ) print("NL"); return a + 1 end , "linenum"
Looks like a typo here...? "linenum" is just thrown away, when it
looks like it should probably be the second parameter of Cg().
-Duncan