diff options
| author | Richard M. Stallman <rms@gnu.org> | 1993-02-23 07:27:39 +0000 |
|---|---|---|
| committer | Richard M. Stallman <rms@gnu.org> | 1993-02-23 07:27:39 +0000 |
| commit | 57e83cfeff9b98c81790d0a01693f6db75b9cade (patch) | |
| tree | c40dd9e6f1bbd4504d62b2cad67b87b6002e1c43 | |
| parent | 1ba3de0010efb5fe36e28231c898892c7eba6ce5 (diff) | |
| download | emacs-57e83cfeff9b98c81790d0a01693f6db75b9cade.tar.gz | |
(C_entries): Don't reset definedef when a newline inside a comment is met.
| -rw-r--r-- | lib-src/etags.c | 9 |
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) /* 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 */ |
