lua-users home
lua-l archive

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


Is there any way to enumerate all statements (or even all line numbers)
in all Lua functions?

Write your own Lua parser. Thats what Software Verification did when they wrote their coverage tool for Lua.

Stephen
--
Stephen Kellett
Object Media Limited    http://www.objmedia.demon.co.uk/software.html
Computer Consultancy, Software Development
Windows C++, Java, Assembler, Performance Analysis, Troubleshooting