Skip to content

Commit

Permalink
#2692 Fix flake8 and TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
sergisiso committed Aug 26, 2024
1 parent eeb32b2 commit c58853a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/psyclone/psyir/backend/fortran.py
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ def routine_node(self, node):
container = node.ancestor(Container)
rsym = None
if container:
# TODO: Will be node.symbol
# TODO #2592: When this is implemented it will be node.symbol
rsym = container.symbol_table.lookup(node.name, otherwise=None)
prefix = ""
if rsym:
Expand Down
2 changes: 0 additions & 2 deletions src/psyclone/psyir/symbols/symbol_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,8 +568,6 @@ def add(self, new_symbol, tag=None):
if not isinstance(new_symbol, Symbol):
raise InternalError(f"Symbol '{new_symbol}' is not a symbol, but "
f"'{type(new_symbol).__name__}'.'")
if new_symbol.name == "_psyclone_internal_div_hor":
import pdb; pdb.set_trace()

key = self._normalize(new_symbol.name)
if key in self._symbols:
Expand Down

0 comments on commit c58853a

Please sign in to comment.