[antlr-interest] Unnecessary Java output file diffs

Sam Harwell sharwell at pixelminegames.com
Wed May 20 12:56:43 PDT 2009


"timestamp" works for the timestamp, but not for the line/column numbers
throughout. That is the type of option I'm referring to though.

Would we make it two options, or find a name that means something for
both items?

Sam

-----Original Message-----
From: Jim Idle [mailto:jimi at temporal-wave.com] 
Sent: Wednesday, May 20, 2009 2:47 PM
To: Terence Parr
Cc: Sam Harwell; antlr-interest at antlr.org
Subject: Re: [antlr-interest] Unnecessary Java output file diffs

Terence Parr wrote:
> All you have to do is alter the line in Java.stg template file.  We  
> could add an action variable like @members that fills in the version  
> template string.
>   
Changing the template means they have to do it for every release though,

which is probably a pain. I like that latter idea actually, probably 
better than options { timestamp = false; } as then you can make it hold 
whatever you like.


Jim




More information about the antlr-interest mailing list