summaryrefslogtreecommitdiff
path: root/sci2jsyacc.py
diff options
context:
space:
mode:
Diffstat (limited to 'sci2jsyacc.py')
-rwxr-xr-xsci2jsyacc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sci2jsyacc.py b/sci2jsyacc.py
index 176f0799..4ce30f8b 100755
--- a/sci2jsyacc.py
+++ b/sci2jsyacc.py
@@ -1620,6 +1620,8 @@ def print_var(var):
l = var.find('.')
basevar = var[:l] if l != -1 else var
if basevar in GLOBAL_VARS:
+ if var == 'in1':
+ var = 'in'
ret = 'this.%s' % (var)
else:
ret = '%s' % (var)