[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AW: Serialization of parse trees
> Thomas Leonhardt wrote:
> I'm the copyright holder. I've no problems if you put the code under
> the same
> license as sablecc in general or whatever (open source) license you
> choose.
Super. And thanks!
> ... I guess the reason was that java used the wrong
> serialization
> method if the attribute was of type LinkedList. I'll try to check and
> tell you.
I'll wait for your feedback.
> The change in the toString method of class Node was needed because
> we're using it
> to determine the name of the token. For this we can't have any
> whitespaces coming with
> the return value.
Any reason not to be using "getText()"?
Have fun!
Etienne
--
Etienne M. Gagnon egagnon@j-meg.com
SableVM: http://www.sablevm.org/
SableCC: http://www.sablecc.org/