Lexer: fix for indent/outdent/newline detection
Fix block syntax based on the layout.