aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-02-23 07:27:39 +0000
committerRichard M. Stallman1993-02-23 07:27:39 +0000
commit57e83cfeff9b98c81790d0a01693f6db75b9cade (patch)
treec40dd9e6f1bbd4504d62b2cad67b87b6002e1c43 /lib-src
parent1ba3de0010efb5fe36e28231c898892c7eba6ce5 (diff)
downloademacs-57e83cfeff9b98c81790d0a01693f6db75b9cade.tar.gz
emacs-57e83cfeff9b98c81790d0a01693f6db75b9cade.zip
(C_entries): Don't reset definedef when a newline inside a comment is met.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index 67b76826727..25fe5507ff6 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -1672,7 +1672,14 @@ C_entries (c_ext)
1672 /* Detect end of line, after having handled the last token on the line. */ 1672 /* Detect end of line, after having handled the last token on the line. */
1673 if (c == 0) 1673 if (c == 0)
1674 { 1674 {
1675 CNL; 1675 if (incomm)
1676 {
1677 CNL_SAVE_DEFINEDEF;
1678 }
1679 else
1680 {
1681 CNL;
1682 }
1676 gotone = FALSE; 1683 gotone = FALSE;
1677 } 1684 }
1678 if (c == ';' && tydef == end) /* clean with typedefs */ 1685 if (c == ';' && tydef == end) /* clean with typedefs */