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.

 

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?

 

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

Reply via email to