comment need to allow char that not in chartable
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   tang_xl
Posted On:   Wednesday, April 20, 2005 10:09 PM

like this
// some widechar comment

Re: comment need to allow char that not in chartable

Posted By:   deepak_dhananjaya  
Posted On:   Tuesday, April 26, 2005 02:19 AM

i am not sure what u meant, but i understood that u wanted a rule to identify a comment starting with //

with the above requirement as my intention, i here by try to give u a rule to identify a statement as comment which begins with "//"


comment: "//" (~'
')* '
' { $setType(Token.SKIP); }

hope what i understood was what u required.
hopefully it helps u in solving ur problem.

Re: comment need to allow char that not in chartable

Posted By:   deepak_dhananjaya  
Posted On:   Tuesday, April 26, 2005 02:17 AM


i am not sure what u meant, but i understood that u wanted a rule to identify a comment starting with //

with the above requirement as my intention, i here by try to give u a rule to identify a statement as comment which begins with "//"


comment: "//" (~'
')* '
'

hope what i understood was what u required.
hopefully it helps u in solving ur problem.


About | Sitemap | Contact