Sam Harwell schrieb:
> I’d like to add an option “VerboseCode” to help users that want/need to
> diff generated code. I’m looking for feedback on this. When /disabled/,
> the following would not be part of the generated code:
> 
> 
> The timestamp at the top of the file.
> 
> Line/column numbers from the grammar file in comments.
> 
You have my vote for this.
> 
> I’d like the following as well:
> 
>  
> 
> When the grammar file referenced in a comment in a rule matches the
> grammar file stated at the top of the file, suppress the filename in the
> comment. I believe the only filenames that would still show in the
> interleaved comments would be those mentioning rules in a delegate grammar?

Makes sense. Then delegate grammars stand more out, as they should.

Johannes
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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