summaryrefslogtreecommitdiff
path: root/2.3-1/macros/scilab2c.sci
diff options
context:
space:
mode:
authorsiddhu89902016-03-29 22:11:40 +0530
committersiddhu89902016-03-29 22:11:40 +0530
commitd0dae962944e7fdb42bca7d0aa80055c44881b45 (patch)
treee315bbe940e601a177d4ff584976fb05ff05e08c /2.3-1/macros/scilab2c.sci
parent7198d73fe85d35ef63a88e3c5cc87dc9bbd24ccb (diff)
downloadScilab2C-d0dae962944e7fdb42bca7d0aa80055c44881b45.tar.gz
Scilab2C-d0dae962944e7fdb42bca7d0aa80055c44881b45.tar.bz2
Scilab2C-d0dae962944e7fdb42bca7d0aa80055c44881b45.zip
Function conversion using scilab2c call (not working)
Diffstat (limited to '2.3-1/macros/scilab2c.sci')
-rw-r--r--2.3-1/macros/scilab2c.sci12
1 files changed, 6 insertions, 6 deletions
diff --git a/2.3-1/macros/scilab2c.sci b/2.3-1/macros/scilab2c.sci
index 118232ea..f352d1c5 100644
--- a/2.3-1/macros/scilab2c.sci
+++ b/2.3-1/macros/scilab2c.sci
@@ -66,8 +66,8 @@ function scilab2c(varargin)
return
end
end
- if varargin(4) <> "All" & varargin(4) <> "Translate" & varargin(4) <> "GenLibraryStructure"
- error(msprintf(gettext("%s: argument #%d must be: ""All"", ""Translate"" or ""GenLibraryStructure"".\n"),"scilab2c",4));
+ if varargin(4) <> "All" & varargin(4) <> "Translate" & varargin(4) <> "GenLibraryStructure" & varargin(4) <> "FunCall"
+ error(msprintf(gettext("%s: argument #%d must be: ""All"", ""Translate"",""GenLibraryStructure"" or ""FunCall"".\n"),"scilab2c",4));
return
end
UserScilabMainFile = varargin(1);
@@ -87,8 +87,8 @@ function scilab2c(varargin)
return
end
end
- if varargin(4) <> "All" & varargin(4) <> "Translate" & varargin(4) <> "GenLibraryStructure"
- error(msprintf(gettext("%s: argument #%d must be: ""All"", ""Translate"" or ""GenLibraryStructure"".\n"),"scilab2c",4));
+ if varargin(4) <> "All" & varargin(4) <> "Translate" & varargin(4) <> "GenLibraryStructure" & varargin(4) <> "FunCall"
+ error(msprintf(gettext("%s: argument #%d must be: ""All"", ""Translate"",""GenLibraryStructure"" or ""FunCall"".\n"),"scilab2c",4));
return
end
if varargin(5) <> "make" & varargin(5) <> "nmake"
@@ -112,8 +112,8 @@ function scilab2c(varargin)
return
end
end
- if varargin(4) <> "All" & varargin(4) <> "Translate" & varargin(4) <> "GenLibraryStructure"
- error(msprintf(gettext("%s: argument #%d must be: ""All"", ""Translate"" or ""GenLibraryStructure"".\n"),"scilab2c",4));
+ if varargin(4) <> "All" & varargin(4) <> "Translate" & varargin(4) <> "GenLibraryStructure" & varargin(4) <> "FunCall"
+ error(msprintf(gettext("%s: argument #%d must be: ""All"", ""Translate"" ,""GenLibraryStructure"" or ""FunCall"".\n"),"scilab2c",4));
return
end
if varargin(5) <> "make" & varargin(5) <> "nmake"