Parse multiple heredocs on a line