Пример #1
0
void GTokenizer::skipTo(GCharSet& delimeters)
{
	while(has_more())
	{
		char c = peek();
		if(delimeters.find(c))
			break;
		c = get();
	}
}
Пример #2
0
void GTokenizer::skipTo(GCharSet& delimeters)
{
	while(m_len > 0)
	{
		char c = m_pStream->peek();
		if(delimeters.find(c))
			break;
		c = get();
	}
}