Skip to content

Commit

Permalink
Added #TODO so that this can be removed once fparser supports sentinels.
Browse files Browse the repository at this point in the history
  • Loading branch information
hiker committed Jul 17, 2024
1 parent 054921d commit 2aa6d30
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/fab/parse/fortran.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,9 @@ def _process_comment(self, analysed_file, obj):
analysed_file.add_symbol_dep(dep)
if comment[:2] == "!$":
# Check if it is a use statement with an OpenMP sentinel:
# Use fparser's string reader to discard potential comments
# Use fparser's string reader to discard potential comment
# TODO #13: once fparser supports reading the sentinels,
# this can be removed.
reader = FortranStringReader(comment[2:])
line = reader.next()
try:
Expand Down

0 comments on commit 2aa6d30

Please sign in to comment.