You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now I've replaced the whitespace check with space and tab; would require detecting and ignoring comments otherwise.
Proper detection of in syntax likely requires a real Lua parser rather than the basic pattern matching used right now; we need to ensure any instances of in aren't part of a comment, string, function, iterator, etc.
However in syntax has also been known to cause crashes* in the Lua runtime in some rare cases, and per the author of LuaGLM
Should probably avoid using any of the syntax extensions.
* Seemingly when failing to unpack the return value from a function? Can't quite remember. Safe navigation can lead to funny errors too.
thelindat
changed the title
in behaves incorrectly when commented
in unpacking not fully supported
Aug 18, 2023
The text was updated successfully, but these errors were encountered: