changnet

Results 3 issues of changnet

相关讨论 #203 ```lua local name = "ilise" local id = 10 local email = "[email protected]" local phone = {1 = {type = "MOBILE",number = "12312341234"},2 = {type = "WORK",number =...

当前这个库是只提供了Lua的接口,并且相关的数据结构(如lpb_State)是放在`pb.c`,在不修改原代码的情况下几乎无法对这个库进行二次开发 例如,通过socket的协议,不能直接在c调用decode函数来解析,哪怕想重新实现一个decode接口也不行,因为include不到对应的数据结构。又或者想实现不使用lua table而是lua栈来encode、decode,也无法在不修改原代码的情况下实现。 我知道大概是不会拆分的,现有的设置和Lua耦合比较紧密,拆分是需要大改。只是问一下对这事的看法

enhancement

if age > config:get_max_age( id, CONFIG.AGE ) then end should be if age > config:get_max_age( id, CONFIG.AGE ) then end solved:edit language-lua.cson '.source.lua': 'editor': 'commentStart': '-- ' 'increaseIndentPattern': '^\s_(else|elseif|for|(local\s+)?function|if|repeat|until|while)\b((?!end).)_$|\{\s_$|\([\s\S]_$' 'decreaseIndentPattern':...