[antlr-interest] error when using svn:keywords in comment

Terence Parr parrt at cs.usfca.edu
Thu Jun 18 11:35:27 PDT 2009


Try \$
Ter
On Jun 18, 2009, at 5:49 AM, Ranco Marcus wrote:

> Hi guys,
>
> Specifying an svn:keyword like $Id$ in a comment line results in an  
> error message “reference to attribute outside of a rule: Id”. It  
> seems as if ANTLR does not treat the comment as ordinary plain text.  
> Can anybody confirm that this is a bug? Is there a workaround for  
> this?
>
> @header
> {
> //  … header info …
> // $Id$
> //
> }
>
> Best regards,
>
> Ranco Marcus
> Epirion Knowledge Solutions B.V.
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address



More information about the antlr-interest mailing list