mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-06-28 17:43:24 -04:00
minor update
This commit is contained in:
parent
94ad34768b
commit
ee46bc8a48
4 changed files with 28 additions and 32 deletions
|
@ -240,8 +240,8 @@ def expand_text(text, params):
|
|||
iter = 0
|
||||
|
||||
while True:
|
||||
if iter > 99:
|
||||
raise Exception("Macro recursion!")
|
||||
if iter > 65536:
|
||||
raise Exception("Macro recursion!")
|
||||
has_func = False
|
||||
while True:
|
||||
params_updated = False
|
||||
|
@ -257,7 +257,7 @@ def expand_text(text, params):
|
|||
has_func = do_repl.has_func
|
||||
if not (params_updated or do_repl.expanded):
|
||||
break
|
||||
text = new_text
|
||||
text = new_text
|
||||
changed = True
|
||||
if not has_func:
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue