fixed newline state after blocks, macros, and environments.