Were you going to mirror this in the Java version? Without these changes I think you'll still be running into problems with the unbuffered streams in tree parsers.
Sam -----Original Message----- From: Terence Parr [mailto:[email protected]] Sent: Tuesday, March 03, 2009 8:14 PM To: Sam Harwell Cc: [email protected] Subject: Re: [antlr-dev] cyclicDFAState template incompatible with unbuffered tree node streams looks good. T On Mar 3, 2009, at 6:13 PM, Sam Harwell wrote: > Here's what I have in the C# port now: > > public virtual void Release( int marker ) > { > _markDepth--; > } > > public virtual void Rewind( int marker ) > { > Seek( marker ); > Release( marker ); > } > > public virtual void Rewind() > { > Seek( _lastMarker ); > } > > Sam > > -----Original Message----- > From: Terence Parr [mailto:[email protected]] > Sent: Tuesday, March 03, 2009 8:01 PM > To: Sam Harwell > Cc: [email protected] > Subject: Re: [antlr-dev] cyclicDFAState template incompatible with > unbuffered tree node streams > > Ah. ok, yeah, yank that added there and you should be okay. I agree > it's a bit weird. > Ter > _______________________________________________ antlr-dev mailing list [email protected] http://www.antlr.org/mailman/listinfo/antlr-dev
