I think that we need to see the diff but is not just that there is a time 
stamp? Just alter the template not to include transient data and I should think 
it is fine. However, I am having a hard time seeing why caching the generated 
code would help anything. I am sure there is a good reason, but perhaps we can 
help better if we know what the rationale is?



Jim



From: [email protected] [mailto:[email protected]] On 
Behalf Of Terence Parr
Sent: Wednesday, June 09, 2010 10:04 AM
To: Ben McCann
Cc: [email protected]
Subject: Re: [antlr-dev] Non-deterministic output



wow. that's weird.  surely the grammar changes between runs?  Computers are 
usually good about determinism ;)

What version of antlr?

Ter

On Jun 8, 2010, at 9:52 PM, Ben McCann wrote:





Hi,

It appears that ANTLR is generating varying output between runs.  This causes 
problems for us when trying to diff to see if anything has changed.  Could 
someone file a bug for this?  I was not able to register for the JIRA.



Thanks,

Ben McCann

Software Engineer

Google Inc.





$diff ~/PathParser.java.1 ~/PathParser.java.2

560c560

<                     // elements: Variable, expr

---

>                     // elements: expr, Variable



_______________________________________________
antlr-dev mailing list
[email protected]
http://www.antlr.org/mailman/listinfo/antlr-dev





_______________________________________________
antlr-dev mailing list
[email protected]
http://www.antlr.org/mailman/listinfo/antlr-dev

Reply via email to