diff options
Diffstat (limited to 'lib-src')
| -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) | |||
| 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 */ |