parse local function definition
fix
reimpl parsing block
reimpl parsing newlines before 'def' token
reimpl parsing newlines before 'else' token