src/tokeniser/tokeniser.c
hubbub_error emit_character_token(hubbub_tokeniser *tokeniser,
		const hubbub_string *chars)
{
	hubbub_token token;

	token.type = HUBBUB_TOKEN_CHARACTER;
	token.data.character = *chars;

	return hubbub_tokeniser_emit_token(tokeniser, &token);
}
/**
 * Emit a character token.
 *
 * \param tokeniser	Tokeniser instance
 * \param chars		Pointer to hubbub_string to emit
 * \return	true
 */
Emit a character token.
\param tokeniser     Tokeniser instance
\param chars         Pointer to hubbub_string to emit
\return      true
Emit a character token . \ param tokeniser Tokeniser instance \ param chars Pointer to hubbub_string to emit \ return true
hubbub_error emit_character_token(hubbub_tokeniser *tokeniser,
		const hubbub_string *chars)
{
	hubbub_token token;
	token.type = HUBBUB_TOKEN_CHARACTER;
	token.data.character = *chars;
	return hubbub_tokeniser_emit_token(tokeniser, &token);
}
hubbub_error emit_character_token ( hubbub_tokeniser * tokeniser , const hubbub_string * chars ) { hubbub_token token ; token . type = HUBBUB_TOKEN_CHARACTER ; token . data . character = * chars ; return hubbub_tokeniser_emit_token ( tokeniser , & token ) ; }
Emit a character token.
Emit a character token .