summaryrefslogtreecommitdiff
path: root/sci2jslex.py
diff options
context:
space:
mode:
authorSunil Shetye2018-07-13 23:47:42 +0530
committerSunil Shetye2018-07-15 07:11:58 +0530
commit884d1b369dec2654d46c2dab31d2ae85b0be01ba (patch)
tree07284f0a65cca09fd7811c9592c33f17b4d0f8ad /sci2jslex.py
parent6ee02952c836bb31e9b51783e6a16724fba64637 (diff)
downloadsci2js-884d1b369dec2654d46c2dab31d2ae85b0be01ba.tar.gz
sci2js-884d1b369dec2654d46c2dab31d2ae85b0be01ba.tar.bz2
sci2js-884d1b369dec2654d46c2dab31d2ae85b0be01ba.zip
support for new standard_define
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 6fc60027..ad184e5c 100755
--- a/sci2jslex.py
+++ b/sci2jslex.py
@@ -39,6 +39,7 @@ SYNTAX_TOKENS = {
'return': 'RETURN',
'scicos_getvalue': 'SCICOS_GETVALUE',
'select': 'SELECT',
+ 'standard_define': 'STANDARD_DEFINE',
'string': 'STRING',
'then': 'THEN',
'try': 'TRY',
@@ -185,7 +186,6 @@ UNKNOWN_FUNCTION_NAMES = {
'size',
'splin',
'sqrt',
- 'standard_define',
'standard_origin',
'strcat',
'strindex',