cobol-check
cobol-check copied to clipboard
Make it more obvious what's boilerplate and what's code being tested
Currently line numbers are not being used in columns 1-6. Can the code being tested have line numbers matching the line in the original, viz:
boilerplate code
000001 identification division.
000002 program-id. code-being-tested.
more boilerplate code
Thus when gnucobol complains, the programmer can open the CC##*.cob file at the point of error and see the line number of the code being tested and be able to go back to the source at the matching line.
That would be a great addition. I'll implement it when I've got the time. Currently you can have Cobol Check insert start- and end tags for injected code, in the form of comments. You can add it to the configuration file like this
Bump. Here we are almost two years later. Do you have any time yet?