diff options
author | siddhu8990 | 2017-06-30 11:35:55 +0530 |
---|---|---|
committer | siddhu8990 | 2017-06-30 11:35:55 +0530 |
commit | bee6bf6e37f6c36fb18b6132702e1528b7edafc2 (patch) | |
tree | 1090789e0205f0054c6b31b356b9417c8707176b /macros/ASTManagement/AST_HandleEndGenFun.sci | |
parent | 2c3b9e1055c8c9dfe874df3b7743c4a765042316 (diff) | |
parent | 7325b038e06f1571402a63caef2d75db30bd13c1 (diff) | |
download | Scilab2C_fossee_old-bee6bf6e37f6c36fb18b6132702e1528b7edafc2.tar.gz Scilab2C_fossee_old-bee6bf6e37f6c36fb18b6132702e1528b7edafc2.tar.bz2 Scilab2C_fossee_old-bee6bf6e37f6c36fb18b6132702e1528b7edafc2.zip |
Matrix declaration modified
Diffstat (limited to 'macros/ASTManagement/AST_HandleEndGenFun.sci')
-rw-r--r-- | macros/ASTManagement/AST_HandleEndGenFun.sci | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/macros/ASTManagement/AST_HandleEndGenFun.sci b/macros/ASTManagement/AST_HandleEndGenFun.sci index 32685de..807b8ba 100644 --- a/macros/ASTManagement/AST_HandleEndGenFun.sci +++ b/macros/ASTManagement/AST_HandleEndGenFun.sci @@ -1,5 +1,5 @@ -function [FileInfo,SharedInfo] = AST_HandleEndGenFun(FileInfo,SharedInfo,ASTFunType) +function [disp_isthere,FileInfo,SharedInfo] = AST_HandleEndGenFun(disp_isthere,FileInfo,SharedInfo,ASTFunType) // function [FileInfo,SharedInfo] = AST_HandleEndGenFun(FileInfo,SharedInfo,ASTFunType) // ----------------------------------------------------------------- // #RNU_RES_B @@ -36,7 +36,7 @@ function [FileInfo,SharedInfo] = AST_HandleEndGenFun(FileInfo,SharedInfo,ASTFunT // ------------------------------ // --- Check input arguments. --- // ------------------------------ -SCI2CNInArgCheck(argn(2),3,3); +SCI2CNInArgCheck(argn(2),4,4); // ----------------------- // --- Initialization. --- @@ -61,6 +61,8 @@ PrintStepInfo('Handling Funcall/Operation/Equal',FileInfo.Funct(nxtscifunnumber) global SCI2CSTACK global StackPosition; global STACKDEDUG + +disp_isthere = 0; // --------------------------- // --- End Initialization. --- // --------------------------- @@ -81,6 +83,11 @@ NOutArg_mod = NOutArg AST_PushASTStack('||'); return; end + + if ASTFunName == 'disp' + disp_isthere = 1; + end + if(mtlb_strcmp(part(ASTFunName,1:2),'CV') == %T) SharedInfo.OpenCVUsed = %T; end |