Closed raehik closed 2 years ago
fortran-vars handles cases where a BOZ constant is used as an integer. I think I'd reconsider putting BOZs as a constructor in an evaluated Fortran value type if it's possible. Instead get all their logic done early, convert them down to typed values.
Discussed. There's more code to consider adapting from fortran-vars for handling BOZs -- getting the AST change out of the way makes future changes easier, so merging.
In the same vein as #193 , we do what we can for BOZs as early as possible.
Thoughts and notes:
INTEGER_LITERAL
rule (in most of the parsers).