# File lib/yard/parser/ruby/legacy/ruby_lex.rb, line 535
      def lex
        catch(:eof) do
          until (((tk = token).kind_of?(TkNL) || tk.kind_of?(TkEND_OF_SCRIPT)) &&
             !@continue or
             tk.nil?)
          end
          line = get_read

          if line == "" and tk.kind_of?(TkEND_OF_SCRIPT) || tk.nil?
            nil
          else
            line
          end
        end
      end