Community
Participate
Working Groups
Adding continue to Lua is a common modification to Lua. See http://lua-users.org/wiki/LuaPowerPatches Unfortunately, LDT doesn't parse it correctly and the Outline view becomes empty as soon as a continue is used in a file. This is a big problem for us since most of the bigger scripts we have contain such continue statements and those are the scripts that need an Outline view the most. I see 2 options: 1. Add support in LDT itself (with a preference?) 2. Add an extension point that can be used to allow LDT to parse modified Lua correctly. Silly sample code: function foo() for i=0, 10 do continue end end Outline disappears, continue has no coloring.
I have discussed this matter with Fabien (the main developer of Metalua), he is suggesting that the following changes in metalua should "fix" the support for continue : mlp.lexer :add 'continue' mlp.stat :add{ "continue", builder=function() return { } end }