allow_lines could be garbage because a goto could be hit before allow_lines is set. Continuation of 2e0cee37