cmFortranParser: Parse keywords as lexical tokens
Teach the lexer to match and return specific Fortran keywords as tokens. Update the parser to use these instead of always using a WORD token and then checking the text. This avoids extra string comparisons and will allow more grammar productions to be unambiguously added later for additional Fortran statements.
This diff is collapsed.
This diff is collapsed.
-
mentioned in commit c5802271
-
mentioned in issue #18427 (closed)
-
mentioned in merge request !7529 (merged)
Please register or sign in to comment