more fixed for v0.3.6
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user