only:facilitating config reuse with non-bash consumers

This commit is contained in:
rusefillc 2023-06-17 15:04:20 -04:00
parent c07522328b
commit 312cbb8300
1 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,10 @@ public class CHeaderConsumer extends BaseCHeaderConsumer {
this.withC_Defines = withC_Defines;
SystemOut.println("Writing C header to " + destCHeader);
cHeader = new LazyFile(destCHeader);
}
@Override
public void startFile() {
cHeader.write("// this section " + state.getHeader() + EOL);
cHeader.write("// by " + getClass() + EOL);
cHeader.write("// begin" + EOL);