# HG changeset patch # User Richard M. Stallman # Date 730452459 0 # Node ID 1045deef809f3d4e0e19601dd545b2ea4321d451 # Parent 087889e85644e629175f283cb83f8e840bbe0468 (C_entries): Don't reset definedef when a newline inside a comment is met. diff -r 087889e85644 -r 1045deef809f lib-src/etags.c --- a/lib-src/etags.c Tue Feb 23 05:49:12 1993 +0000 +++ b/lib-src/etags.c Tue Feb 23 07:27:39 1993 +0000 @@ -1672,7 +1672,14 @@ /* Detect end of line, after having handled the last token on the line. */ if (c == 0) { - CNL; + if (incomm) + { + CNL_SAVE_DEFINEDEF; + } + else + { + CNL; + } gotone = FALSE; } if (c == ';' && tydef == end) /* clean with typedefs */