- 
                Notifications
    You must be signed in to change notification settings 
- Fork 25
Closed
Labels
BlockerBugCobolUser VisibleVisible by the end user. Useful to priorize issueVisible by the end user. Useful to priorize issue
Milestone
Description
Describe the bug
Our parser cannot use standard Cobol Copy with a replacing clause containing string ::.
       01  xxxENT. COPY YxxxENT REPLACING ==::== BY ====. YxxxENT contains:
           05  xxxENT::-FCT01.
               10 xxxENT::-FCT01-Var1            PIC X(05).The parser interpret :: as TypeCobol operator but inside a replacing clause (Pseudo text), this operator should be considered as plain text.
Expected behavior
No error.
The expanded source is:
       01  xxxENT. 
           05  xxxENT-FCT01.
               10 xxxENT-FCT01-Var1            PIC X(05).Technical
See Scanner class and use property IsInsidePseudoText of the ScanState to inhibit creation of token :: inside pseudo text.
Metadata
Metadata
Labels
BlockerBugCobolUser VisibleVisible by the end user. Useful to priorize issueVisible by the end user. Useful to priorize issue