Exemplo n.º 1
0
int ejsLexGetToken(Ejs *ep, int state)
{
	mprAssert(ep);

	ep->tid = getLexicalToken(ep, state);
	return ep->tid;
}
Exemplo n.º 2
0
int ejLexGetToken(ej_t* ep, int state)
{
    ep->tid = getLexicalToken(ep, state);
    /*
     * commented out 04 Apr 02 Bg Porter -- we found a case where very long
     * arguments to write() were being corrupted downstream in the trace call
     * (the ep->token pointer was being overwritten with the trace message.
     * restore this if it's useful for your debugging.
    trace(9, T("ejGetToken: %d, \"%s\"\n"), ep->tid, ep->token);
     */
    return ep->tid;
}