EOF characters should be allowed as heredoc delimiter · Issue #809 · whitequark/parser
Problem ^D, ^Z, and \0 should be allowed as heredoc delimiter if it is surrounded with quotes, but isn't. For example: # test.rb puts <<~RUBY <<~'\0' \0 RUBY $ ruby test.rb | ruby -c Syntax OK $ ru...