[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: debug.getinfo( aLevel, 'S' ).source?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 6 Aug 2008 23:11:02 -0300
> 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).