lua-users home
lua-l archive

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


Hmm! Just found that "man luac" says:

       -p     load  files  but  do not generate any output file.  Used mainly
              for syntax checking and for testing  precompiled  chunks:  cor-
              rupted  files  will  probably generate errors when loaded.  Lua
              always  performs  a  thorough  integrity  test  on  precompiled
              chunks.   Bytecode that passes this test is completely safe, in
              the sense that it will not  break  the  interpreter.

"Lua always performs a thorough integrity test on precompiled chunks"?
I thought everybody agreed that bytecode is unsafe in 5.1.

How can the contradiction be solved?

Stefan