summaryrefslogtreecommitdiff
path: root/macros/FunctionList
diff options
context:
space:
mode:
authorjofret2012-07-25 09:26:16 +0000
committerjofret2012-07-25 09:26:16 +0000
commit6f7bf42267c0c63de48bc103f5c05b38be556a80 (patch)
treed08bf9c674e31960580c45d958dfa9779c824b77 /macros/FunctionList
parentba22070d0145ef317b09012776aff9c4273f038e (diff)
downloadscilab2c-6f7bf42267c0c63de48bc103f5c05b38be556a80.tar.gz
scilab2c-6f7bf42267c0c63de48bc103f5c05b38be556a80.tar.bz2
scilab2c-6f7bf42267c0c63de48bc103f5c05b38be556a80.zip
Adapt Scilab2C to new save behaviour
Diffstat (limited to 'macros/FunctionList')
-rw-r--r--macros/FunctionList/FL_UpdateToBeConv.sci14
1 files changed, 7 insertions, 7 deletions
diff --git a/macros/FunctionList/FL_UpdateToBeConv.sci b/macros/FunctionList/FL_UpdateToBeConv.sci
index 456467da..1ee2e15d 100644
--- a/macros/FunctionList/FL_UpdateToBeConv.sci
+++ b/macros/FunctionList/FL_UpdateToBeConv.sci
@@ -30,8 +30,8 @@ nxtscifunnumber = SharedInfo.NextSCIFunNumber;
ReportFileName = FileInfo.Funct(nxtscifunnumber).ReportFileName;
SCI2CAvailableCDat = FileInfo.FunctionList.SCI2CAvailableCDat;
USER2CAvailableCDat = FileInfo.FunctionList.USER2CAvailableCDat;
-ConvertedDat = FileInfo.FunctionList.ConvertedDat;
-ToBeConvertedDat = FileInfo.FunctionList.ToBeConvertedDat;
+ConvertedDat = FileInfo.FunctionList.ConvertedDat;
+ToBeConvertedDat = FileInfo.FunctionList.ToBeConvertedDat;
FunInfoDatDir = FileInfo.FunctionList.FunInfoDatDir;
// #RNU_RES_B
@@ -47,7 +47,7 @@ PrintStringInfo(' C Function Name: '+CFunName,ReportFileName,'file','y');
// --------------------------------------------------
// --- Manage anticipated exit from the function. ---
// --------------------------------------------------
-//NUT: questo codice e' identico quasi a quello della CFunCall, si pu0 pensare di
+//NUT: questo codice e' identico quasi a quello della CFunCall, si pu0 pensare di
//NUT: di fare un'unica funzione.
// #RNU_RES_E
@@ -97,14 +97,14 @@ if (flagexist == %F)
// --- Add C function to the "ToBeConverted" function list. ---
// #RNU_RES_E
load(ToBeConvertedDat,'ToBeConverted');
-
+
NToConvP1 = size(ToBeConverted,1)+1;
ToBeConverted(NToConvP1).SCIFunctionName = ASTFunName;
ToBeConverted(NToConvP1).CFunctionName = CFunName;
-
- save(ToBeConvertedDat,ToBeConverted);
+
+ save(ToBeConvertedDat, "ToBeConverted");
SharedInfo.NFilesToTranslate = SharedInfo.NFilesToTranslate + 1;
-
+
// #RNU_RES_B
// --- Generate C Function dat file. ---
PrintStringInfo(' Add C Function ""'+CFunName+'"" to: '+ToBeConvertedDat,ReportFileName,'file','y');