From: Matt Corallo Date: Wed, 1 Dec 2021 01:14:45 +0000 (+0000) Subject: Replace unicode … with ... as java complains about non-ASCII docs X-Git-Tag: v0.0.103.1^2~4 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=4187444af755731bbd6f557e581b730225cdcf05;p=ldk-java Replace unicode … with ... as java complains about non-ASCII docs --- diff --git a/genbindings.py b/genbindings.py index 247aecb3..640400ee 100755 --- a/genbindings.py +++ b/genbindings.py @@ -855,7 +855,7 @@ with open(sys.argv[1]) as in_h, open(f"{sys.argv[2]}/bindings{consts.file_ext}", last_struct_block_comment = block_comment.strip("\n") block_comment = None else: - block_comment = block_comment + "\n" + struct_line.strip(" /*") + block_comment = block_comment + "\n" + struct_line.strip(" /*").replace("…", "...") else: struct_name_match = struct_name_regex.match(struct_line) if struct_name_match is not None: