diff options
author | elioat <hi@eli.li> | 2024-06-09 12:19:01 -0400 |
---|---|---|
committer | elioat <hi@eli.li> | 2024-06-09 12:19:01 -0400 |
commit | 0804a54d04e62672e02c850b50caa987eda46b67 (patch) | |
tree | 238fd5edade1f6b852ff2664fa5b6aa65dfa11f7 | |
parent | 1b5475e67cd31d6837a02e94e110f2091dc059d0 (diff) | |
download | tour-0804a54d04e62672e02c850b50caa987eda46b67.tar.gz |
*
-rw-r--r-- | lua/chupacabra/chupacabra.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/chupacabra/chupacabra.lua b/lua/chupacabra/chupacabra.lua index 963d17d..80a8d22 100644 --- a/lua/chupacabra/chupacabra.lua +++ b/lua/chupacabra/chupacabra.lua @@ -23,6 +23,7 @@ end function chupacabra.evaluate(tokens, context) local stack = {} + -- FIXME: explore if there is a better way to approach this, so that you don't need to special case the array math for _, token in ipairs(tokens) do if tonumber(token) then table.insert(stack, tonumber(token)) |