Skip to content

Parser fails if an identifier contains '@' #437

@yruslan

Description

@yruslan

Describe the bug

Given the following copybook:

      01  ROOT-GROUP.
          05  F@TEST PIC X(1).

Got:

Syntax error in the copybook at line 3: Invalid input 'TEST' at position 3:16
za.co.absa.cobrix.cobol.parser.exceptions.SyntaxErrorException: Syntax error in the copybook at line 3: Invalid input 'TEST' at position 3:16

Expected behaviour

Cobrix should replace such characters with '_' as in 0.5.4.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions