Menu ▾ ▴

#740 DEPENDING ON field of Typedef produces error at compile time

GC 3.x
accepted
5 - default
2022-12-31
2021-06-22
No

Hi GnuCOBOL team,

if you define a typdef with a pic 9 field and use it in combination with DEPENDING ON syntax you got an error at compile time, that this field is not declared.

Please take a look in the attached testcase while using command:

cobc -x tc2364.cbl

Kind regards

Sebastian Steinweg
Easirun Europa GmbH

2 Attachments

Related

Bugs: #738
Bugs: #739
Discussion: Issue with types and constant entries

Discussion

  • Simon Sobisch

    Simon Sobisch - 2022-12-31
    • labels: --> cobc, TYPEDEF
    • status: open --> accepted
    • assigned_to: Simon Sobisch
     
  • Simon Sobisch

    Simon Sobisch - 2022-12-31
    • Group: GC 3.1 --> GC 3.x
     

Log in to post a comment.