Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Modifications by (in alphabetical order):
* P. Hill, University of York, UK
* I. Kavcic, UK Met Office
* A. Morvan, Bull S. A. S., France
* N. M. Nobre, Science & Technology Facilities Council, UK
* A. R. Porter, Science & Technology Facilities Council, UK
* B. Reuter, ECMWF, UK
* S. Siso, Science & Technology Facilities Council, UK
Expand All @@ -20,6 +21,10 @@ Modifications by (in alphabetical order):
* P. Vitt, University of Siegen, Germany
* A. Voysey, UK Met Office

15/12/2025 PR #487. Adds interfaces to the set of things a module provides.
Fixes fparser1 errors such as "fparser.common.utils.AnalyzeError:
entity name 'dummy_code' is not in module 'dummy_mod'"

25/11/2025 PR #488 for #483. Do not recognize inline comments as Directives.

31/10/2025 PR #486 for #483. Recognize any comment that begins ``!$``, ``c$`` or ``*$`` followed by
Expand Down
1 change: 1 addition & 0 deletions src/fparser/one/statements.py
Original file line number Diff line number Diff line change
Expand Up @@ -1345,6 +1345,7 @@ def analyze(self): # pylint: disable=invalid-name
renames = [split_comma(item, comma="=>") for item in self.items if "=>" in item]
norenames = [item for item in self.items if "=>" not in item]
all_mod_provides = dict(module.a.module_provides)
all_mod_provides.update(module.a.module_interface)
all_mod_provides.update(module.a.use_provides)
if self.isonly:
# populate use_provides with items/renames only.
Expand Down