Merge "sip_to_pjsip: Make multiline comment parsing consistent with Asterisk" into 16

This commit is contained in:
Joshua Colp 2019-03-05 09:20:17 -06:00 committed by Gerrit Code Review
commit 24b94aa27f
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ def remove_comment(line, is_comment):
return "", True
part = line.partition(COMMENT_START)
if part[1]:
if part[1] and not part[2].startswith('-'):
# found multi-line comment start check string before
# it to make sure there wasn't an eol comment in it
has_comment = part[0].partition(COMMENT)