(at_endline_loc_p): Use 0, not NULL, in ?: for next_next.