Memcached: keep only the parser in memcached-grammar.rl.
We modify memcached code quite often, and asking ragel to regenerate .m from .rl file every time .rl file changed was tiresome both for revision control and for code reviews. Leave in memcached-grammar.rl only memcached_dispsatch(), which is generated by ragel, and everything else move to memcached.m. This should lessen cases when we have to re-generate memcached-grammar.m. This patch doesn't produce any code changes, only moves the code (and cleans up include files at start of memcached.m).
Showing
- mod/box/CMakeLists.txt 4 additions, 1 deletionmod/box/CMakeLists.txt
- mod/box/memcached-grammar.m 252 additions, 572 deletionsmod/box/memcached-grammar.m
- mod/box/memcached-grammar.rl 0 additions, 320 deletionsmod/box/memcached-grammar.rl
- mod/box/memcached.m 342 additions, 0 deletionsmod/box/memcached.m
Loading
Please register or sign in to comment