euclidianAce / ltreesitter

Standalone tree sitter bindings for the Lua language
MIT License
85 stars 4 forks source link

query: use lua_checkstack to prepare for calling predicates #14

Closed euclidianAce closed 1 year ago

euclidianAce commented 1 year ago

Calling predicates with a large number (~60) of arguments would cause some sort of segfault/memory corruption. Whether this actually fixes the root cause of that is unclear, but it solves the issue of a lot of arguments being passed to predicates.

euclidianAce commented 1 year ago

should hopefully fix #13