int ejsLexGetToken(Ejs *ep, int state) { mprAssert(ep); ep->tid = getLexicalToken(ep, state); return ep->tid; }
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; }