more fixed for v0.3.6

This commit is contained in:
Luxferre
2026-07-10 10:11:13 +03:00
parent 6c3a48d796
commit 94a809d224
3 changed files with 16 additions and 6 deletions
+5 -2
View File
@@ -108,7 +108,10 @@ class Clyx:
t = stream
break
if t is None:
t = self._tokens
if not self._token_streams:
t = self._tokens
else:
return None
if not t: return None
val = t.pop(0)
if val == '[': return self._parse_qform(t)
@@ -120,7 +123,7 @@ class Clyx:
if stream:
t = stream
break
if t is None:
if t is None and not self._token_streams:
t = self._tokens
val = self._pop_caller_token() if (t and (t[0] == '[' or isinstance(t[0], list))) else self._stack.pop()
if isinstance(val, str): val = self._norm_token(val)