Hi,
   I am trying to filter out multi-line comments, for which i am using the
following Token definition (provided in antlr.org)
ML_COMMENT
    :    '/*' ( options { greedy = false; } : .* ) '*/' { skip(); };

But i intend to provide a informative error message, when EOF occurs without
any '*/'.  Can someone help me on how to achieve this? I am trying out lot
of things, but nothing seems to work and i seem to missing some basic
fact/knowledge.

Thanks,
Gokul.

--~--~---------~--~----~------------~-------~--~----~
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

Reply via email to