lexer.getBuffer() + ": Illegal Host name ",
lexer.getBuffer() + ": Missing host name",
	public Host host() throws ParseException {		if (debug)			dbg_enter("host");		try {			StringBuffer hname = new StringBuffer();			//IPv6 referene			if (lexer.lookAhead(0) == '[') {				hname.append(ipv6Reference());			}			//IPv4 address or hostname			else {				String nextTok = domainLabel();				hname.append(nextTok);				// Bug reported by Stuart Woodsford (used to barf on				// more than 4 components to the name).				while (lexer.hasMoreChars()) {					// Reached the end of the buffer.					if (lexer.lookAhead(0) == '.') {						lexer.consume(1);						nextTok = domainLabel();						hname.append(".");						hname.append(nextTok);					} else						break;				}			}			String hostname = hname.toString();			if (hostname.equals(""))				throw new ParseException(					lexer.getBuffer() + ": Illegal Host name ",					lexer.getPtr());			else				return new Host(hostname);		} finally {			if (debug)				dbg_leave("host");		}	}