lua-users home
lua-l archive

Re: error in luac 4.1 work 4

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


>If this is run from source it prints "hello", but if its run as precompiled
>chunk I get
>
>error: bad constant type (0) in `luac.out'
This is a bug in lundump.c.
Add 
 case LUA_TNIL: break;
to LoadConstants (and also in perhaps to DumpConstants in dump.c).
--lhf

AltStyle によって変換されたページ (->オリジナル) /