-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
fsource lex does not recognize the token 1H1 in the line FORMAT (1H1)
This should be expected behavior since fsource is advertised as handling F77 and later, and Hollerith fields were considered obsolete by F77.
I am working on a project to detect and evaluate problematic constructs in legacy code such as Hollerith fields, alternate return points, ENTRY statements, character data stored in non-character variables, etc. My question is where I should focus my efforts to extend lexer.py to recognize these difficult and obsolete constructs? After a quick scan of lexer.py, it looks like I should modify formattok in get_lexer_regex() - does this seem reasonable?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels