equal
deleted
inserted
replaced
156 end |
156 end |
157 |
157 |
158 function action_handlers.LOG(string) |
158 function action_handlers.LOG(string) |
159 local level = string:match("^%[(%a+)%]") or "info"; |
159 local level = string:match("^%[(%a+)%]") or "info"; |
160 string = string:gsub("^%[%a+%] ?", ""); |
160 string = string:gsub("^%[%a+%] ?", ""); |
161 return meta(("log(%q, %q)"):format(level, string)); |
161 return meta(("(session.log or log)(%q, %q)"):format(level, string)); |
162 end |
162 end |
163 |
163 |
164 function action_handlers.RULEDEP(dep) |
164 function action_handlers.RULEDEP(dep) |
165 return "", { dep }; |
165 return "", { dep }; |
166 end |
166 end |