Added CS rule for parser files
Added parser support for elseif, fix #214
Generate code
Split elseif statements, add tests