lua-users home
lua-l archive

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


> In this context a block is just a sequence of bytes.  The reader can
> "stream" data by breaking it up into multiple blocks, or just return a
> single block for all of the data.
>
> I don't think you should need to switch to using lua_load to improve your
> error messages. What exactly are you trying to do?

Actually, you're right.  I don't need to use lua_Reader.  Thanks for
clearing up what block means.  I'm just trying to get the same reports
back that luac gives, which luaL_dofile seems to be doing.
thanks,
wes