lua-users home
lua-l archive

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


> On the other hand... code coming from source or bytecode should be  
> equivalent for all practical purpose, no? But, in the case of  
> debug.getinfo at least, they seem to behave rather differently...  

That's why precompiled code stores the name of the original source file,
so that error messages are identical whether the file is precompiled or not.
This happens even when several programs are combined into one precompiled
file. The only new fact is that in this case there is a hidden main program
that gets a neutral name (but only when two or more programs are combined).