diff options
Diffstat (limited to 'src/third_party/wiredtiger/dist/s_comment.py')
-rw-r--r-- | src/third_party/wiredtiger/dist/s_comment.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/dist/s_comment.py b/src/third_party/wiredtiger/dist/s_comment.py index 482fded4fff..92e4ef348da 100644 --- a/src/third_party/wiredtiger/dist/s_comment.py +++ b/src/third_party/wiredtiger/dist/s_comment.py @@ -104,11 +104,11 @@ for line in sys.stdin: (sline[2].islower() or sline[2] == '_') and sline.endswith('--')): function_desc = True # We're only reformatting block comments where each line begins with a space and an - # alphabetic character after the asterisk, or a parenthetical. The only exceptions + # normal comment character after the asterisk, or a parenthetical. The only exceptions # are function descriptions. block = block and \ len(sline) >= 3 and sline.startswith('*') and sline[1] == ' ' and \ - (sline[2].isalpha() or (len(sline) >= 5 and \ + (sline[2].isalpha() or sline[2] == '"' or sline[2] == "'" or (len(sline) >= 5 and \ (sline[2] == '(' and sline[3].isalpha() and sline[4] != ')'))) or function_desc # Trim asterisks at the beginning of each line in a multiline comment. if sline.startswith('*'): |