Menu

#453 Listing to include object field name of occurs depending on

GC 3.x
accepted
5 - default
2024-07-23
2023-11-05
No

The symbol map of the listing file, for example, ORDER-ITEMS does not indicate the object of the OCCURS X to Y Times Depending On.
The only way for me to determine the object, is to parse source program or use the lex / parse tree file.
Any chance you could add the object to the listing file ?

00270 GROUP 05 ORDER-ITEMS OCCURS 0 TO 10

Discussion

  • Simon Sobisch

    Simon Sobisch - 2024-07-23
    • labels: --> cobc, listing
    • status: open --> accepted
    • assigned_to: Simon Sobisch
    • Group: unclassified --> GC 3.x
     
  • Simon Sobisch

    Simon Sobisch - 2024-07-23

    also: missing in the symbol listing and the xref (at least with GC 3.2) are internal indexes INDEXED BY and level 78 constants; the later may should be shown with its full value for numeric variables and up to the same size the start of alphanumeric/national literals as well, but if this is done, then the conditionals may should also be shown.

    Side note: there should be a recheck if level 78 is made available with the COBC_GEN_DUMP_COMMENTS option (level 88 is since GC 3.2).

     

Log in to post a comment.