lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> I'd like to suggest the following patch so that 'string.unpack("z", "abc")'
> raises an error instead of returning as if it "consumed" more bytes than
> are present in the string.

Lua 5.4 already does that.

-- Roberto