Fix generated Python code for Doxygen comments ending with quote

Single-line Doxygen comments ending with a double quote resulted in
syntactically-invalid Python docstrings in the output, so use triple
single quotes as delimiters in this case to avoid it.
This commit is contained in:
Vadim Zeitlin 2020-03-03 15:39:37 +01:00
commit b81cd1bdab
4 changed files with 25 additions and 3 deletions

View file

@ -131,3 +131,7 @@ Spaces at the start of line should be taken into account:
:type fileName: string
:param fileName: name of the log file"""
);
comment_verifier.check(inspect.getdoc(doxygen_misc_constructs.doc_ends_with_quote),
r'''This doc comment ends with a quote: "and that's ok"'''
);