lua-toml
lua-toml copied to clipboard
Infinite loop
If last line in a file is '#', toml.parse enter in infinite loop and freeze
local toml = require( 'toml' )
local tomlStr = '[default]\ntest="test"\nnewTest="new test"\n#'
print(toml.parse(tomlStr))
I also ran into this bug