class Parser::LexerStrings
def extend_string_eol_words(current_literal, p)
def extend_string_eol_words(current_literal, p) if current_literal.words? && !eof_codepoint?(source_pts[p]) current_literal.extend_space @ts, @te else # A literal newline is appended if the heredoc was _not_ closed # this time (see fbreak above). See also Literal#nest_and_try_closing # for rationale of calling #flush_string here. current_literal.extend_string tok, @ts, @te current_literal.flush_string end end