[antlr-interest] How to prepare the intstream for function call?

Mu Qiao qiaomuf at gmail.com
Mon Jul 4 07:07:36 PDT 2011


Hi,

I'm using the C API to implement function call. I've already recorded
the index of the function body and created a new node stream for the
function call. But I find that I have to call istream->size(istream)
before calling istream->seek. Or errors will be reported.
Is it because the input buffer is not ready or anything else? What is
the correct step to reset the index?

-- 
Best wishes,
Mu Qiao
GnuPG fingerprint: 92B1 B0C4 8D14 F8C4 EFA5  3ACC 30B3 0DE4 17B1 57E9


More information about the antlr-interest mailing list