The
Relaxed Parsing option in the workspace verification options lets you verify a source file despite errors. Ordinarily, the parser stops at
a statement when it encounters an error. Relaxed parsing tells the parser to continue to the next statement.
For code verified with relaxed parsing, Component Maker behaves as follows:
- Statements included in a component that contain errors are treated as CONTINUE statements and appear in component text as
comments.
- Dummy declarations for undeclared identifiers appear in component text as comments.
- Declarations that are in error appear in component text as they were in the original program. Corrected declarations appear
in component text as comments.
- Commented-out code is identified by an extra comment line:
"COBOL Analyzer assumption".