예제 #1
0
파일: ecLex.c 프로젝트: jsjohnst/ejscript
/*
 *  Put back the current input token
 */
int ecPutToken(EcInput *input)
{
    ecPutSpecificToken(input, input->token);
    input->token = 0;

    return 0;
}
예제 #2
0
파일: ecLex.c 프로젝트: liexusong/ejs-2
/*
    Put back the current lexer token
 */
PUBLIC int ecPutToken(EcCompiler *cp)
{
    ecPutSpecificToken(cp, cp->token);
    cp->token = 0;
    return 0;
}