diff options
author | ukashanoor | 2017-06-27 16:51:16 +0530 |
---|---|---|
committer | ukashanoor | 2017-06-27 16:51:16 +0530 |
commit | 07340fdb9cf47753da9a30dd691d105757eaefd5 (patch) | |
tree | 891353df5f5f14b30dc97ecf16c526227f342010 /2.3-1/macros/ASTManagement/AST_HandleFunCC.sci | |
parent | df47b2d32bec63d0b2be8ed5bb1dba216be3bcfa (diff) | |
download | Scilab2C-07340fdb9cf47753da9a30dd691d105757eaefd5.tar.gz Scilab2C-07340fdb9cf47753da9a30dd691d105757eaefd5.tar.bz2 Scilab2C-07340fdb9cf47753da9a30dd691d105757eaefd5.zip |
matrix complete1
Diffstat (limited to '2.3-1/macros/ASTManagement/AST_HandleFunCC.sci')
-rw-r--r-- | 2.3-1/macros/ASTManagement/AST_HandleFunCC.sci | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/2.3-1/macros/ASTManagement/AST_HandleFunCC.sci b/2.3-1/macros/ASTManagement/AST_HandleFunCC.sci index 063cdc47..12cb577a 100644 --- a/2.3-1/macros/ASTManagement/AST_HandleFunCC.sci +++ b/2.3-1/macros/ASTManagement/AST_HandleFunCC.sci @@ -160,13 +160,23 @@ for i = 1:NInArg end -PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y'); -OutArg(1).Type = InArg(1).Type; -OutArg(1).Size(1) = string(NRow); -OutArg(1).Size(2) = string(NCol); -OutArg(1).Dimension = 2; -OutArg(1).Value = InArg(1).Value; -OutArg(1).FindLike = InArg(1).FindLike; +if com_type == 0 + PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y'); + OutArg(1).Type = InArg(1).Type; + OutArg(1).Size(1) = string(NCol); + OutArg(1).Size(2) = string(NRow); + OutArg(1).Dimension = 2; + OutArg(1).Value = InArg(1).Value; + OutArg(1).FindLike = InArg(1).FindLike; +else + PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y'); + OutArg(1).Type = 'z'; + OutArg(1).Size(1) = string(NCol); + OutArg(1).Size(2) = string(NRow); + OutArg(1).Dimension = 2; + OutArg(1).Value = InArg(1).Value; + OutArg(1).FindLike = InArg(1).FindLike; +end //--- Check for output Argument in symbol table ---// OutArg = ST_AnalyzeScope(OutArg,NOutArg,FileInfo,SharedInfo); |