From a292846d28cbdb0ee6c154b2f7bbac2323564584 Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Sat, 7 Mar 2015 14:50:25 +0100 Subject: [PATCH] Fix missing scope table index when generating the call to lazy_list_set. --- lslopt/lslparse.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lslopt/lslparse.py b/lslopt/lslparse.py index ac70564..e362f2c 100644 --- a/lslopt/lslparse.py +++ b/lslopt/lslparse.py @@ -805,6 +805,7 @@ list lazy_list_set(list L, integer i, list v) return {'nt':'=', 't':'list', 'ch':[lvalue, { 'nt':'FNCALL', 't':'list', 'name':'lazy_list_set', + 'scope':0, 'ch':[lvalue.copy(), idxexpr, {'nt':'LIST','t':'list', 'ch':[expr]}] }]}