Hi all
Maybe I'm overlooking something, but it seems to me that the Java.g
v.1.0.6 grammar (
http://openjdk.java.net/projects/compiler-grammar/antlrworks/Java.g )
does not emit the standard Java comments ( /* COMMENT */ ).
When I process the following file, with antlr 3.2:
/** Is this comment returned?*/
public class TestComment {
/* Is this comment returned?*/
}
I get:
/** Is this comment returned?*/publicclassTestComment{}
One "previous version" (*) returned:
/** Is this comment returned?*/
public class TestComment {
/* Is this comment returned?*/
}
Is this behaviour really changed or am I missing/forgetting anything?
Thanks,
Roberto
(*) The previous version was based on Java.g v.1.0.5 (it contains also
some template calls, anyway):
http://codesounding.svn.sourceforge.net/viewvc/codesounding/CodeSounding/trunk/src/codesounding/antlr/JavaRewrite.g?view=markup
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en.