changeset 1938:1045deef809f

(C_entries): Don't reset definedef when a newline inside a comment is met.
author Richard M. Stallman <rms@gnu.org>
date Tue, 23 Feb 1993 07:27:39 +0000
parents 087889e85644
children def7b9c64935
files lib-src/etags.c
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 */