IBM / zopeneditor-about

IBM Z Open Editor: File issues here!
https://ibm.github.io/zopeneditor-about
Apache License 2.0
50 stars 20 forks source link

COBOL - Error on interpretation of LENGH OF if FUNCTION ALL INTRINSIC is active #431

Open FALLAI-Denis opened 3 months ago

FALLAI-Denis commented 3 months ago

Development environment used

Problem Description

When the FUNCTION ALL INTRINSIC declaration is active at the COBOL program level, using the LENGH OF special register triggers an error "LENGTH" expected instead of this input.

Observed behavior

image

Expected behavior

image

Probably the same error at origin but in a different context:

image

image

Also note a syntax highlighting issue if the length() function is used without its function prefix:

image image image image