cxgo icon indicating copy to clipboard operation
cxgo copied to clipboard

Preserve comments

Open dennwc opened this issue 4 years ago • 1 comments

Currently cxgo cannot translate any comments. To make it work, we need some support from cc side.

dennwc avatar Jan 10 '21 18:01 dennwc

From the chat with cznic:

cc/v3 can capture all semantic white space, which includes comments. Set PreserveWhiteSpace to true in https://godoc.org/modernc.org/cc/v3#Config3.

dennwc avatar Jan 10 '21 20:01 dennwc