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

Ranco Marcus ranco.marcus at epirion.nl
Thu Jun 18 05:49:41 PDT 2009


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090618/663caf55/attachment.html 


More information about the antlr-interest mailing list