Advance pos until the next end of line or a #

Property definitions

gamnit :: model_parser_base $ StringProcessor :: read_until_eol_or_comment
	# Advance `pos` until the next end of line or a `#`
	protected fun read_until_eol_or_comment: String
	do
		ignore_whitespaces
		var start = pos
		while not eof and src[pos] != '#' and src[pos] != '\n' do
			pos += 1
		end
		var ending = pos
		var str = src.substring(start, ending-start)
		return str.trim
	end
lib/gamnit/model_parsers/model_parser_base.nit:159,2--170,4