[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lua-l
Subject:    Re: Line info for Lua Scripts
From:       "Terence Martin" <odat () telus ! net>
Date:       2001-06-21 4:22:24
Message-ID: 001c01c0fa09$c60a7e40$070124ac () telus ! net
[Download RAW message or body]

> Is there a way that I can feed the information 'line' and 'file' into the
error
> exception handler of Lua? The aim is to make Lua generate error messages
that
> points to the error location according to 'line' and 'file'.

You could perhaps do this by redefining _ERRORMESSAGE to print those two
globals along with the normal error information.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic