void json_lexer_init(JSONLexer *lexer, JSONLexerEmitter func)

{

    lexer->emit = func;

    lexer->state = IN_START;

    lexer->token = qstring_new();

    lexer->x = lexer->y = 0;

}

void json_lexer_init(JSONLexer *lexer, JSONLexerEmitter func)

{

    lexer->emit = func;

    lexer->state = IN_START;

    lexer->token = qstring_new();

    lexer->x = lexer->y = 0;

}

void FUNC_0(JSONLexer *VAR_0, JSONLexerEmitter VAR_1)

{

    VAR_0->emit = VAR_1;

    VAR_0->state = IN_START;

    VAR_0->token = qstring_new();

    VAR_0->x = VAR_0->y = 0;

}

void FUNC_0(JSONLexer *VAR_0, JSONLexerEmitter VAR_1)
{ VAR_0->emit = VAR_1; VAR_0->state = IN_START; VAR_0->token = qstring_new(); VAR_0->x = VAR_0->y = 0; }