openresty / meta-lua-nginx-module

Meta Lua Nginx Module supporting both Http Lua Module and Stream Lua Module
66 stars 20 forks source link

bugfix: checked function call indentation in macro. #29

Closed spacewander closed 6 years ago

spacewander commented 6 years ago

Current implementation won't indent function call in the macro, and output something like this:

define ngx_stream_lua_regex_exec(re, e, s, start, captures, size, \

                                     opts)                                \

This commit fixed it by applying the indentation in macro.