spgennard / vscode_cobol

Visual Studio Code Extension for COBOL, JCL and MF Directive Files
MIT License
37 stars 16 forks source link

Comment not recognise #144

Closed heshm closed 4 years ago

heshm commented 4 years ago

Describe the bug At fixed format cobol source,when the first element is '|',the color of the comment is not correct.

such as:

spgennard commented 4 years ago

This is a non-standard comment character.

If you use the ACUCOBOL, then I suspect it will be okay.

[click on COBOL, change to ACUCOBOL]

spgennard commented 4 years ago

For example:

Using COBOL dialect:

image

and ACUCOBOL dialect:

image

GitMensch commented 4 years ago

The most important thing here: the | works as inline comment (not only in column 7), where ISO2002 added *> for this (quite well supported in most dialects; the | as inline comment is only supported in ACUCOBOL which is correct).

I've verified that this works - issue can be closed.