lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


In the LPEG documentation on http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html it says for lpeg.Cc in the table:
    lpeg.Cc(values) the given values (matches the empty string)
whereas in the description furtheron it reads:
    lpeg.Cc ({value})
These descriptions are different. Both in the braces as well as in the singular/plural. Putting a table with {...} as an argument generates an error in the Lua-interpreter.
If it is a typo in the docs, I will be glad -- however small this contribution is -- to help iron it out.

Hans van der Meer