When merging code with includes via the PB compiler with the
--preprocess parameter, it would be helpful if the process would add comments that mark which include file it is, where the include code begins and where it ends.
Example:Main.pb:
Code:
Debug "Main 1"
IncludeFile "Include.pbi"
Debug "Main 2"
Include.pbi:
Code:
Debug "Include 1"
After running
Code:
$ pbcompiler Main.pb --preprocess All.pb
the content of the file
All.pb should look like this, for example:
Code:
Debug "Main 1"
; Start of include "Include.pbi"
Debug "Include 1"
; End of include
Debug "Main 2"