TypeCobolTeam / TypeCobol

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.
Other
78 stars 26 forks source link

New CLI option to specify COPY parsing #1876

Open rooksdo opened 3 years ago

rooksdo commented 3 years ago

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 ...

fm-117 commented 3 years ago

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.

rooksdo commented 3 years ago

Closing this issue regarding @fm-117 comment.