summaryrefslogtreecommitdiff
path: root/macros/ASTManagement/AST_ExtractNameAndScope.sci
diff options
context:
space:
mode:
authorsiddhu89902016-10-18 10:31:23 +0530
committersiddhu89902016-10-18 10:31:23 +0530
commit52de97290366abe6cfb0576ca19d9c1732c1f0ea (patch)
treec2effe8b6e60c112b126f1d39ddb0d82253dc4e9 /macros/ASTManagement/AST_ExtractNameAndScope.sci
parent9a30882032e80661fe6c69d7c50da0154e4e431f (diff)
downloadScilab2C_fossee_old-52de97290366abe6cfb0576ca19d9c1732c1f0ea.tar.gz
Scilab2C_fossee_old-52de97290366abe6cfb0576ca19d9c1732c1f0ea.tar.bz2
Scilab2C_fossee_old-52de97290366abe6cfb0576ca19d9c1732c1f0ea.zip
Suppressed declaration of not required variables and functions
Diffstat (limited to 'macros/ASTManagement/AST_ExtractNameAndScope.sci')
-rw-r--r--macros/ASTManagement/AST_ExtractNameAndScope.sci1
1 files changed, 1 insertions, 0 deletions
diff --git a/macros/ASTManagement/AST_ExtractNameAndScope.sci b/macros/ASTManagement/AST_ExtractNameAndScope.sci
index fe5dc05..1dbaaad 100644
--- a/macros/ASTManagement/AST_ExtractNameAndScope.sci
+++ b/macros/ASTManagement/AST_ExtractNameAndScope.sci
@@ -75,6 +75,7 @@ if (SCI2Cstrncmps1size(tagname(1),ASTField))
ArgName = stripblanks(part(ASTField,taglength(1)+3:fieldlength));
ArgScope = stripblanks(part(ASTField,1:taglength(1)+1));
end
+
elseif (SCI2Cstrncmps1size(tagname(2),ASTField))
ArgName = stripblanks(part(ASTField,taglength(2)+1:fieldlength));
ArgName = part(ArgName,2:length(ArgName)-1); // I remove also the first and the last "