mirror of https://github.com/citusdata/citus.git
Add an additional comment
Co-authored-by: Jelte Fennema <github-tech@jeltef.nl>pull/6753/head
parent
1df9260f82
commit
3f61a62420
|
@ -630,6 +630,8 @@ ExtractTopComment(const char *inputString)
|
||||||
|
|
||||||
/* Skip the comment start characters */
|
/* Skip the comment start characters */
|
||||||
commentEndCharsIndex += commentStartCharsLength;
|
commentEndCharsIndex += commentStartCharsLength;
|
||||||
|
|
||||||
|
/* Find the first comment end character */
|
||||||
while (commentEndCharsIndex < inputStringLen &&
|
while (commentEndCharsIndex < inputStringLen &&
|
||||||
!(inputString[commentEndCharsIndex] == '*' &&
|
!(inputString[commentEndCharsIndex] == '*' &&
|
||||||
inputString [commentEndCharsIndex + 1] == '/'))
|
inputString [commentEndCharsIndex + 1] == '/'))
|
||||||
|
|
Loading…
Reference in New Issue