diff options
author | ukashanoor | 2017-06-27 16:51:16 +0530 |
---|---|---|
committer | ukashanoor | 2017-06-27 16:51:16 +0530 |
commit | f15ab8a9f06e3936309886b52b0eb547ab1094e0 (patch) | |
tree | da9c1a9de0bc0d96fc3821120efc34d074f99ca8 /macros/ASTManagement | |
parent | 956aa2b9bcf6171234bc9749acbfabf8660beade (diff) | |
download | scilab2c-f15ab8a9f06e3936309886b52b0eb547ab1094e0.tar.gz scilab2c-f15ab8a9f06e3936309886b52b0eb547ab1094e0.tar.bz2 scilab2c-f15ab8a9f06e3936309886b52b0eb547ab1094e0.zip |
matrix complete1
Diffstat (limited to 'macros/ASTManagement')
-rw-r--r-- | macros/ASTManagement/AST_HandleFunCC.bin | bin | 20772 -> 22244 bytes | |||
-rw-r--r-- | macros/ASTManagement/AST_HandleFunCC.sci | 24 | ||||
-rw-r--r-- | macros/ASTManagement/AST_HandleFunRC.bin | bin | 20896 -> 22288 bytes | |||
-rw-r--r-- | macros/ASTManagement/AST_HandleFunRC.sci | 24 |
4 files changed, 34 insertions, 14 deletions
diff --git a/macros/ASTManagement/AST_HandleFunCC.bin b/macros/ASTManagement/AST_HandleFunCC.bin Binary files differindex 615d1471..4689450d 100644 --- a/macros/ASTManagement/AST_HandleFunCC.bin +++ b/macros/ASTManagement/AST_HandleFunCC.bin diff --git a/macros/ASTManagement/AST_HandleFunCC.sci b/macros/ASTManagement/AST_HandleFunCC.sci index 063cdc47..12cb577a 100644 --- a/macros/ASTManagement/AST_HandleFunCC.sci +++ b/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); diff --git a/macros/ASTManagement/AST_HandleFunRC.bin b/macros/ASTManagement/AST_HandleFunRC.bin Binary files differindex 8b61e486..b9fcd1ff 100644 --- a/macros/ASTManagement/AST_HandleFunRC.bin +++ b/macros/ASTManagement/AST_HandleFunRC.bin diff --git a/macros/ASTManagement/AST_HandleFunRC.sci b/macros/ASTManagement/AST_HandleFunRC.sci index 654f04d8..10f51519 100644 --- a/macros/ASTManagement/AST_HandleFunRC.sci +++ b/macros/ASTManagement/AST_HandleFunRC.sci @@ -162,13 +162,23 @@ for i = 1:NInArg end -PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y'); -OutArg(1).Type = InArg(1).Type; -OutArg(1).Size(1) = '1' -OutArg(1).Size(2) = string(size_count); -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) = '1' + OutArg(1).Size(2) = string(size_count); + 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) = '1' + OutArg(1).Size(2) = string(size_count); + 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); |