summaryrefslogtreecommitdiff
path: root/macros/SymbolTable
diff options
context:
space:
mode:
authorjofret2010-06-17 10:10:04 +0000
committerjofret2010-06-17 10:10:04 +0000
commitb351d686f57f85cbe923132164ce718704bcdfa2 (patch)
tree8d73b023ff49f0d20d35bd28a85095be73ac4c1c /macros/SymbolTable
parent6dc276086ebb6bad8d2f4b3a13d583a04a1920f2 (diff)
downloadscilab2c-b351d686f57f85cbe923132164ce718704bcdfa2.tar.gz
scilab2c-b351d686f57f85cbe923132164ce718704bcdfa2.tar.bz2
scilab2c-b351d686f57f85cbe923132164ce718704bcdfa2.zip
Remove SCI2Cisnum wrapping around isnum function
Diffstat (limited to 'macros/SymbolTable')
-rw-r--r--macros/SymbolTable/ST_MatchSymbol.sci8
1 files changed, 4 insertions, 4 deletions
diff --git a/macros/SymbolTable/ST_MatchSymbol.sci b/macros/SymbolTable/ST_MatchSymbol.sci
index 621739fb..20f0bbe8 100644
--- a/macros/SymbolTable/ST_MatchSymbol.sci
+++ b/macros/SymbolTable/ST_MatchSymbol.sci
@@ -12,7 +12,7 @@ function [TBFlagfound,TBFlagEqualSymbols] = ST_MatchSymbol(TBName,TBType,TBSize,
// 1 = the symbol exits.
// 2 = the symbol exists but it is a non-initialized global variable.
// TBFlagEqualSymbols: 0 if the two symbols don't have the same settings,
-// 1 if the two symbols have the same settings.
+// 1 if the two symbols have the same settings.
//
// Status:
// 26-Oct-2007 -- Raffaele Nutricato: Author.
@@ -53,12 +53,12 @@ if (TBFlagfound == 1)
TBFlagEqualSymbols = 0;
end
// Then if the size is a number also its value is compared.
- if (SCI2Cisnum(tmpSize(1))) & (SCI2Cisnum(TBSize(1)))
+ if (isnum(tmpSize(1))) & (isnum(TBSize(1)))
if (mtlb_strcmp(tmpSize(1),TBSize(1)) == %F)
TBFlagEqualSymbols = 0;
end
end
- if (SCI2Cisnum(tmpSize(2))) & (SCI2Cisnum(TBSize(2)))
+ if (isnum(tmpSize(2))) & (isnum(TBSize(2)))
if (mtlb_strcmp(tmpSize(2),TBSize(2)) == %F)
TBFlagEqualSymbols = 0;
end
@@ -66,5 +66,5 @@ if (TBFlagfound == 1)
end
end
end
-
+
endfunction