Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
CensoredUsername committed Mar 16, 2024
1 parent 3a175af commit 96f335e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions decompiler/sl2decompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,12 +447,12 @@ def sort_keywords_and_children(self, node, immediate_block=False, ignore_childre
current_keyword_line = (lineno, "keywords", [content])

elif ty == "broken":
contents_grouped.append(current_keyword_line[0], "keywords_broken", current_keyword_line[2], content)
contents_grouped.append((current_keyword_line[0], "keywords_broken", current_keyword_line[2], content))
current_keyword_line = None

elif ty == "atl":
if current_keyword_line[0] == lineno:
contents_grouped.append(lineno, "keywords_atl", current_keyword_line[2], content)
contents_grouped.append((lineno, "keywords_atl", current_keyword_line[2], content))
current_keyword_line = None
else:
contents_grouped.append(current_keyword_line)
Expand Down

0 comments on commit 96f335e

Please sign in to comment.