mykovalenko / legstar-cob2xsd

Automatically exported from code.google.com/p/legstar-cob2xsd
Other
0 stars 0 forks source link

Would be nice to get warnings when extraneous characters are removed by cleaner #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The parsing process starts by cleaning the source code. This entails 2 
phases:

phase 1: remove line sequence numbering between column 1 and 6 and beyond 
column 72.

phase 2: remove any characters that are not part of a sequence starting 
with a level number and ending with a period.

The objective of the cleaning is to reduce the complexity of the lexer.

The extraneous characters removed are typically part of comments, COBOL 
compiler directives (SKIP, EJECT) or COPY/REPLACE statements that the 
parser does not currently handle.

Right now the removal process is silent. It would be better if all non-
space extraneous characters removed are reported as warnings.

Original issue reported on code.google.com by fady.mou...@gmail.com on 8 Dec 2009 at 10:17

GoogleCodeExporter commented 9 years ago

Original comment by fady.mou...@gmail.com on 8 Dec 2009 at 5:34