diff options
author | albert-github <albert.tests@gmail.com> | 2020-08-04 11:23:41 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2020-08-04 11:23:41 (GMT) |
commit | 8f7394212564e1c466636d737fcb7abec5fdbfe6 (patch) | |
tree | baad6d962355b9a660d92df82314b37c7f7d3618 /src/CMakeLists.txt | |
parent | aa89f8773a50887ad20fbf683ff3c9af38c8fc5e (diff) | |
download | Doxygen-8f7394212564e1c466636d737fcb7abec5fdbfe6.zip Doxygen-8f7394212564e1c466636d737fcb7abec5fdbfe6.tar.gz Doxygen-8f7394212564e1c466636d737fcb7abec5fdbfe6.tar.bz2 |
Empty python comment gives problems
In case we have an empty python comment like: `"""""""` (i.e. 6 double quotes) doxygen will crash in the pyscanner.l version of `stripIndentation`.
```
class Translator(nodes.NodeVisitor):
""""""
## the var
words_and_spaces = re.compile(r'\S+| +|\n')
```
In case of an empty comment we should not call `stripIndentation` and not place `\verbatim` / `\endverbatim` around the empty comment (the later would give an non-understandable empty comment block).
An empty comment should be handled as no comment.
Found by Fossies whilst generating documentation for Mercural 5.5).
Diffstat (limited to 'src/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions