Skip to content
Merged
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
2 changes: 0 additions & 2 deletions tree_plus_src/parse_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,6 @@ def parse_metal(content: str, *, timeout: float = DEFAULT_REGEX_TIMEOUT) -> List
# Remove comments first
content = remove_c_comments(content, timeout=timeout)

content = remove_c_comments(content, timeout=timeout)

# Attributes: [[...]]
# Correctly handles nested brackets within attributes if any, and non-greedy matching.
attribute_regex_str = r"(?:\[\[(?:[^\[\]]|\[[^\[\]]*\])*\]\]\s*)*"
Expand Down
Loading