liquid_feedback_frontend

view lib/mldap/convert_errorcodes.lua @ 1138:e4df22c3a69f

Bugfix: Allow choosing a delegatee during voting phase
author bsw
date Fri Mar 20 22:35:16 2015 +0100 (2015-03-20)
parents 58f48a8a202a
children
line source
1 #!/usr/bin/env lua
2 for line in io.lines() do
3 local ident, code = line:match("^#define[ \t]+LDAP_([A-Z][A-Z_]*)[ \t]+([^ \t/]+)")
4 if ident then
5 io.stdout:write(' {"', ident:lower(), '", ', tonumber(code) or code, '},\n')
6 end
7 end

Impressum / About Us