-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with lpeg 0.12 #5
Comments
I got the same issue here. Looked into the re.lua and it is something with this piece of code, starting at line 170 - 183 in re.lua: Suffix = m.Cf(m.V"Primary" * S *
( ( m.P"+" * m.Cc(1, mt.__pow)
+ m.P"*" * m.Cc(0, mt.__pow)
+ m.P"?" * m.Cc(-1, mt.__pow)
+ "^" * ( m.Cg(num * m.Cc(mult))
+ m.Cg(m.C(m.S"+-" * m.R"09"^1) * m.Cc(mt.__pow))
)
+ "->" * S * ( m.Cg((String + num) * m.Cc(mt.__div))
+ m.P"{}" * m.Cc(nil, m.Ct)
+ m.Cg(Def / getdef * m.Cc(mt.__div))
)
+ "=>" * S * m.Cg(Def / getdef * m.Cc(m.Cmt))
) * S
)^0 |
I asked about this on the Lua mailing list. Here's what Tom Harris answered:
Then Roberto Ierusalimschy wrote:
I will test his solution and submit a pull request asap. |
Cosmo is broken with lpeg 0.12. This stacktrace use LuaJIT but the problem also happens with PUC Lua.
The text was updated successfully, but these errors were encountered: