/** */ is a javadoc comment and only allowed on rules and grammar headers. T On Nov 8, 2009, at 12:44 AM, Steve McFarlin wrote:
> Hello, > > ANTLR Version 3.2 > Error - Cannot generate the grammar because: > error(100) : ... : syntax error: antlr: ... : unexpected token: / > ************* comment 2 *********/ > > This is a very minor issue you could assign a priority of -1 to. > Placing block comments in a grammar file with nothing between them > will cause a generation error. e.g. > > > prog : test; > > /****** > comment 1 > ******/ > > /********* > comment 2 > *********/ > > test : 'a' ; > > > > Steve McFarlin > > > > > 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 -~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
