src/tokeniser/tokeniser.c
hubbub_error emit_current_comment(hubbub_tokeniser *tokeniser)
{
	hubbub_token token;

	token.type = HUBBUB_TOKEN_COMMENT;
	token.data.comment.ptr = tokeniser->buffer->data;
	token.data.comment.len = tokeniser->buffer->length;

	return hubbub_tokeniser_emit_token(tokeniser, &token);
}
/**
 * Emit the current comment token being stored in the tokeniser context.
 *
 * \param tokeniser	Tokeniser instance
 * \return	true
 */
Emit the current comment token being stored in the tokeniser context.
\param tokeniser     Tokeniser instance
\return      true
Emit the current comment token being stored in the tokeniser context . \ param tokeniser Tokeniser instance \ return true
hubbub_error emit_current_comment(hubbub_tokeniser *tokeniser)
{
	hubbub_token token;
	token.type = HUBBUB_TOKEN_COMMENT;
	token.data.comment.ptr = tokeniser->buffer->data;
	token.data.comment.len = tokeniser->buffer->length;
	return hubbub_tokeniser_emit_token(tokeniser, &token);
}
hubbub_error emit_current_comment ( hubbub_tokeniser * tokeniser ) { hubbub_token token ; token . type = HUBBUB_TOKEN_COMMENT ; token . data . comment . ptr = tokeniser -> buffer -> data ; token . data . comment . len = tokeniser -> buffer -> length ; return hubbub_tokeniser_emit_token ( tokeniser , & token ) ; }
Emit the current comment token being stored in the tokeniser context.
Emit the current comment token being stored in the tokeniser context .