added a todo

This commit is contained in:
IgorCielniak
2025-12-30 10:30:59 +00:00
parent 1376c7bbc5
commit 2319785702
2 changed files with 1 additions and 0 deletions

View File

@@ -2581,6 +2581,7 @@ class Compiler:
in_py_block = False in_py_block = False
for idx, line in enumerate(contents.splitlines()): for idx, line in enumerate(contents.splitlines()):
stripped = line.strip() stripped = line.strip()
# TODO: implement proper depth tracking for {} in py blocks
# Detect :py block start/end # Detect :py block start/end
if stripped.startswith(":py") and "{" in stripped: if stripped.startswith(":py") and "{" in stripped:
in_py_block = True in_py_block = True

BIN
str.out

Binary file not shown.