Re: How to determine if a given line is a C/C++ comment
- From: "Nico" <listas@xxxxxxxxxxxxxxx>
- Date: 12 Aug 2006 13:09:35 -0400
There is a (c-style comments) example of this on K&R's book. You could
also use a finite automata.
chtaylo3@xxxxxxxxx ha escrito:
Hello all,
First, I must admit that I know squat about compilers. I've asked
around about how to determine if a given line of source contains
nothing but comments and I've been referred to this newsgroup severla
times.
I'm trying to determine if a given line is a C/C++ style comment.
[...]
.
- References:
- How to determine if a given line is a C/C++ comment
- From: chtaylo3
- How to determine if a given line is a C/C++ comment
- Prev by Date: ML 2006: Call for Participation (Portland OR, Sept 16)
- Next by Date: Better error recovery
- Previous by thread: Re: How to determine if a given line is a C/C++ comment
- Next by thread: Re: How to determine if a given line is a C/C++ comment
- Index(es):