HI ALL
I am facing a problem in SL_Comment..
My code has //[FEATURE_PDL_START]//
but when it finds //, it ignores the line or rather skip it.
It should not skip the line //[FEATURE_PDL_START]//, when it finds such
syntax like //[id]//
Can you please let me know how to modify the single line comment
so that when ever it finds syntax like //[FEATURE_PDL_START]// it should
not ignore it. I am using the below single line comment
// Single-line comments
SL_COMMENT
: "//" (~('\r'|'\n'))* {$setType(Token.SKIP);}
//:"//" (~('\r'|'\n'))*
;
Please help me..
Its very urgent.
Vasanthi.
--~--~---------~--~----~------------~-------~--~----~
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