Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
GhostOps77 committed Aug 10, 2024
1 parent ee0cf1b commit 066988c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions fprettify/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,11 +463,7 @@ def build_scope_parser(fypp=True, mod=True):
"lock_type", "atomic_int_kind", "atomic_logical_kind",
)) + r")\b", RE_FLAGS)

F90_INT_RE = r"[-+]?[0-9]+"
F90_FLOAT_RE = r"[-+]?([0-9]+\.[0-9]*|\.[0-9]+)"
F90_NUMBER_RE = "(" + F90_INT_RE + "|" + F90_FLOAT_RE + ")"
F90_FLOAT_EXP_RE = F90_NUMBER_RE + r"[eEdD]" + F90_NUMBER_RE
F90_NUMBER_ALL_RE = "(" + F90_NUMBER_RE + "|" + F90_FLOAT_EXP_RE + ")"
F90_NUMBER_ALL_RE = r"[-+]?([0-9]+(\.[0-9]*)?|\.[0-9]+)([dDeE][-+]?[0-9]+)?"
F90_NUMBER_ALL_REC = re.compile(F90_NUMBER_ALL_RE, RE_FLAGS)

## F90_CONSTANTS_TYPES_RE = re.compile(r"\b" + F90_NUMBER_ALL_RE + "_(" + "|".join([a + r"\b" for a in (
Expand Down

0 comments on commit 066988c

Please sign in to comment.