Skip to content

TALLY is changed to ALL in error message #1120

@smedilol

Description

@smedilol

Describe the bug
Symbol TALLY is changed in ALL in error message

To Reproduce

       IDENTIFICATION DIVISION.
       PROGRAM-ID. DVZS0OSM.
      
       procedure division.
      
           if foo(tally)
                continue
           end-if
           goback.
       END PROGRAM DVZS0OSM.

As foo is not declared you get an error.
But you get:
Syntax error : Symbol foo(ALL) is not referenced
instead of
Syntax error : Symbol foo(TALLY) is not referenced

If foo is declared as a level 88, then there is no error.
The generated code is also ok.

Metadata

Metadata

Assignees

Labels

BugCobolUser VisibleVisible by the end user. Useful to priorize issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions