LuaCATS / lpeg

Definitions for the LPeg library
MIT License
2 stars 4 forks source link

lpeg.Cmt(): Type definition of return value is wrong #8

Closed AndreasMatthias closed 7 months ago

AndreasMatthias commented 7 months ago

https://github.com/LuaCATS/lpeg/blob/c3e321fe1c4dbeb6f45cd79afa9aad154bba2fd4/library/lpeg.lua#L631

I believe the question mark in position? is wrong and should be deleted.

Josef-Friedrich commented 7 months ago

Thank you for reporting this issue.