TypeCobol is an Incremental Cobol parser for IBM Enterprise Cobol 6 for zOS syntax. TypeCobol is also an extension of Cobol 85 language which can then be converted to Cobol85.
We need to have an option to specify that files given to CLI are COPYs.
The available options in CLI should allow parsing a set of programs and a set of copybooks.
Possible ways to do this are :
1) Use the existing CLI option to detect file extension
2) Use 2 options to separate programs and copy files given to CLI, such as : CLI -pgm pgmfile1 pgmfile2 ... -cpy cpyfile1 cpyfile2 ...
Actually this is not required for our enhanced Cobol Editor since CLI won't be used. LanguageServer however requires the nature of document, see #1892.
Description
This issue is complementary to #1870.
We need to have an option to specify that files given to CLI are COPYs.
The available options in CLI should allow parsing a set of programs and a set of copybooks.
Possible ways to do this are : 1) Use the existing CLI option to detect file extension 2) Use 2 options to separate programs and copy files given to CLI, such as :
CLI -pgm pgmfile1 pgmfile2 ... -cpy cpyfile1 cpyfile2 ...