fix #2540 (allow newlines in dict comprehensions)