Ugly tokenizer, phantom token on extra newline