help-flex
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
how to recognize a multiple line comment ?
From
:
James Yu
Subject
:
how to recognize a multiple line comment ?
Date
:
Thu, 7 Apr 2005 14:29:48 +0800
Dear all,
I am trying to define a rule for recognizing a multiple line comment in C, but I have not yet sueccessed.
Thus, I am posting my lex segment to this email and hope you can point out some mistakes for me.
== flex code segment ==
slash "/"
asterisk "*"
comment ({slash}{asterisk}+([^*]|[\n])*{asterisk}+{slash})
== flex code segment ==
Any help would be gratefully appreciated,
James
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
how to recognize a multiple line comment ?
,
James Yu
<=
Re: how to recognize a multiple line comment ?
,
Nicolas Peyrussie
,
2005/04/07
Re: how to recognize a multiple line comment ?
,
Bruce Lilly
,
2005/04/07
Re: how to recognize a multiple line comment ?
,
Hans Aberg
,
2005/04/07
RE: how to recognize a multiple line comment ?
,
Vincent Zweije
,
2005/04/07
Prev by Date:
Online Drugs - save up to 80%
Next by Date:
Help with Flex input matching
Previous by thread:
Online Drugs - save up to 80%
Next by thread:
Re: how to recognize a multiple line comment ?
Index(es):
Date
Thread