diff --git a/CHANGES b/CHANGES index f459cda0a0..3bb6870f75 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ + 552. [bug] We were not correctly detecting the end of all c-style + comments. [RT #455] 551. [func] Implemented the 'sortlist' option. diff --git a/lib/isc/lex.c b/lib/isc/lex.c index 77ae5e7e91..3ae952c809 100644 --- a/lib/isc/lex.c +++ b/lib/isc/lex.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: lex.c,v 1.42 2000/11/10 01:41:00 bwelling Exp $ */ +/* $Id: lex.c,v 1.43 2000/11/13 04:09:40 marka Exp $ */ #include @@ -668,7 +668,7 @@ isc_lex_gettoken(isc_lex_t *lex, unsigned int options, isc_token_t *tokenp) { no_comments = ISC_FALSE; state = saved_state; goto no_read; - } else + } else if (c != '*') state = lexstate_ccomment; break; case lexstate_eatline: