mirror of https://github.com/citusdata/citus.git
Add an additional comment
Co-authored-by: Jelte Fennema <github-tech@jeltef.nl>pull/6763/head^2
parent
2ac56ef955
commit
5e9dd3c894
|
@ -700,6 +700,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