compiler does not include @-sign
Brought to you by:
ian_farmer,
jim_roseborough
The lua compiler includes debug information into the bytecode, amongst others the original lua file name that was used. In the 1.0.5 version of luaj-j2se, this name always starts with an '@'-sign, followed by the (relative) path to the lua file. This is in line with the behaviour of the luac compiler version 5.1.4, written in c (the reference implementation from lua.org). In version j2se-2.0.0, this has changed. The '@' sign as well as the filename extention '.lua' are not included anymore. Version jse-3.0-alpha1 also shows this error.
I'll take a look at this for the beta2 release.
Works fine for me.
yields:
nups: 1
source: @chain/cpp.lua <-------
what: Lua
nparams: 0
func: function: @chain/cpp.lua:0-0
istailcall: 0
lastlinedefined: 0
short_src: chain/cpp.lua
name: require
currentline: 4
isvararg: 1
namewhat: global
linedefined: 0
Version 3.0b1
Last edit: Qix 2013-07-26