summaryrefslogtreecommitdiff
path: root/sci2jsyacc.py
diff options
context:
space:
mode:
Diffstat (limited to 'sci2jsyacc.py')
-rwxr-xr-xsci2jsyacc.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/sci2jsyacc.py b/sci2jsyacc.py
index b89c5bdc..24743129 100755
--- a/sci2jsyacc.py
+++ b/sci2jsyacc.py
@@ -65,8 +65,6 @@ JOB_BLOCKS = {}
FUNCTION_VARS = set()
LOCAL_VARS = set()
GLOBAL_VARS = {
- 'exprs',
- 'gr_i',
'graphics',
'model',
'x',
@@ -570,7 +568,7 @@ def p_lterm_assignment_expression(p):
else:
prefix = ''
value = p[3][0]
- if var == 'this.gr_i' and value == '[]':
+ if var == 'gr_i' and value == '[]':
value = 'new ScilabString(["xstringb(orig(1),orig(2),\\"%s\\",sz(1),sz(2));"])' % (SCICOS_BLOCK_NAME)
if var in LOCAL_VARS and '.' not in var:
prefix = 'var '