vscode-ibmi-languages icon indicating copy to clipboard operation
vscode-ibmi-languages copied to clipboard

Fix single line `end-pr` and `end-ds` syntax highlighting error

Open barrettotte opened this issue 5 months ago • 1 comments

The end keyword of single line declarations of dcl-pr and dcl-ds seem to have broken at some point.

Sample from tests/issues/29.rpgle

dcl-pr main extpgm('TESTR') end-pr;

image

Sample from tests/issues/115.rpgle

dcl-ds prtDs len(132) end-ds;

image

Probably some convoluted regex problem I broke without looking through prior samples. I'll fix this while fixing a couple other reported issues.

barrettotte avatar Feb 06 '24 06:02 barrettotte

@barrettotte Nice having you back! 😃

chrjorgensen avatar Feb 06 '24 17:02 chrjorgensen