On 05/10/2010 10:59, Antonio Petrelli wrote:
2010/10/4 Nathan Bubna<[email protected]>:
No.  Usually, after i run the 'ant parser' task, the only file i need
to tweak is the JJTParserState class, to re-add a need import
statement.   And those three classes you mentioned are not generated
by 'ant parser'.  Perhaps they were once, long ago, but they've been
hand-edited for a long time.
In fact I read this at the end of "build.sh":

<snip>
rm -f AST*
rm -f Node.java
rm -f SimpleNode.java
rm -f ParserVisitor.java
</snip>

So JJTree generates them and kills them. I will try to re-enable
automatic generation, since it is a waste IMHO.

I'm not sure it is worth the effort, since tuning the grammar shouldn't impact those files. And in fact, AST files are more easily changed as plain independant files.


  Claude

Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to