summaryrefslogtreecommitdiff
path: root/sci2jsyacc.py
diff options
context:
space:
mode:
authorSunil Shetye2018-06-27 12:06:46 +0530
committerSunil Shetye2018-06-27 12:06:46 +0530
commita340efc94b289c1e1956e214baa76aade1de997d (patch)
tree0b1e1eead4a73f7ef32f0ac0ee465c28e3b3ed64 /sci2jsyacc.py
parenteb7c8e0cd42d4afe02be3adda2e94b6b0dfdaa00 (diff)
downloadsci2js-a340efc94b289c1e1956e214baa76aade1de997d.tar.gz
sci2js-a340efc94b289c1e1956e214baa76aade1de997d.tar.bz2
sci2js-a340efc94b289c1e1956e214baa76aade1de997d.zip
update function list
Diffstat (limited to 'sci2jsyacc.py')
-rwxr-xr-xsci2jsyacc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sci2jsyacc.py b/sci2jsyacc.py
index 2a94c32c..d88f2baf 100755
--- a/sci2jsyacc.py
+++ b/sci2jsyacc.py
@@ -118,7 +118,7 @@ def p_statement_functionblock(p):
def p_statement_resume(p):
'statement : lterm ASSIGNMENT RESUME OPENBRACKET expression CLOSEBRACKET EOL'
- p[0] = '%*s%s%s%s(%s)\n' % (INDENT_LEVEL * INDENT_SIZE, ' ', p[1], p[2], p[3], p[5])
+ p[0] = '%*s%s = %s(%s)\n' % (INDENT_LEVEL * INDENT_SIZE, ' ', p[1], p[3], p[5])
def p_statement_where(p):
'statement : lterm ASSIGNMENT WHERE OPENBRACKET CLOSEBRACKET EOL'