From 33fc38e42d25d6651a2067aa638bba8daa9a7dca Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Thu, 17 May 2018 19:05:00 +0200 Subject: [PATCH] Fix bug with key variable in list within globals Mark the expression as simple also when ExtendedGlobalExpr is not set. --- lslopt/lslparse.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lslopt/lslparse.py b/lslopt/lslparse.py index 2c88312..808f744 100644 --- a/lslopt/lslparse.py +++ b/lslopt/lslparse.py @@ -2457,6 +2457,7 @@ list lazy_list_set(list L, integer i, list v) # Use LSL's dull global expression. value = self.Parse_simple_expr() self.expect(';') + value.Simple = True else: # must be semicolon value = None