java_tools: fix comments in generated headers

This commit is contained in:
Andrey Gusakov 2024-01-03 22:54:16 +03:00 committed by rusefillc
parent b97a95bc76
commit d1ae0b3bf6
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ public class BaseCHeaderConsumer implements ConfigurationConsumer {
private static String getComment(String comment, int currentOffset, String units) {
String start = "\t/**";
String packedComment = packComment(comment, "\t");
String unitsComment = units.isEmpty() ? "" : "\t" + units + EOL;
String unitsComment = units.isEmpty() ? "" : "\t * units: " + units + EOL;
return start + EOL +
packedComment +
unitsComment +