summaryrefslogtreecommitdiff
path: root/sci2jslex.py
diff options
context:
space:
mode:
authorSunil Shetye2018-06-29 17:35:45 +0530
committerSunil Shetye2018-06-29 17:35:45 +0530
commit154c6f55d02ccbdd48ee3876e62619de7a3ab997 (patch)
tree6414c3ef348aa2526a0d3166781993062a79623b /sci2jslex.py
parent1ffcfaa90ce19fea94a19bfe21b2d6cb86a2c904 (diff)
downloadsci2js-154c6f55d02ccbdd48ee3876e62619de7a3ab997.tar.gz
sci2js-154c6f55d02ccbdd48ee3876e62619de7a3ab997.tar.bz2
sci2js-154c6f55d02ccbdd48ee3876e62619de7a3ab997.zip
handle list separately
Diffstat (limited to 'sci2jslex.py')
-rwxr-xr-xsci2jslex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sci2jslex.py b/sci2jslex.py
index a2c332c3..e3c2f18f 100755
--- a/sci2jslex.py
+++ b/sci2jslex.py
@@ -32,6 +32,7 @@ SYNTAX_TOKENS = {
'if': 'IF',
'in': 'IN',
'job': 'JOB',
+ 'list': 'LIST',
'part': 'PART',
'resume': 'RESUME',
'return': 'RETURN',
@@ -147,7 +148,6 @@ FUNCTION_NAMES = {
'length',
'lines',
'linspace',
- 'list',
'log',
'lstsize',
'matrix',