diff options
author | Bernard Normier <bernard@zeroc.com> | 2007-12-21 11:12:14 -0500 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2007-12-21 11:12:14 -0500 |
commit | 08ec7524df324e627bbb8d93c509f0d90badbe3b (patch) | |
tree | a640ae99a5e35b210352150feef4f71832b265c5 /cpp/src/Slice/Parser.cpp | |
parent | Merge branch 'master' of ssh://cvs.zeroc.com/home/git/ice (diff) | |
download | ice-08ec7524df324e627bbb8d93c509f0d90badbe3b.tar.bz2 ice-08ec7524df324e627bbb8d93c509f0d90badbe3b.tar.xz ice-08ec7524df324e627bbb8d93c509f0d90badbe3b.zip |
IceUtil cleanup (first commit)
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r-- | cpp/src/Slice/Parser.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp index e58f65d9ec6..cdc74772be9 100644 --- a/cpp/src/Slice/Parser.cpp +++ b/cpp/src/Slice/Parser.cpp @@ -8,6 +8,7 @@ // ********************************************************************** #include <IceUtil/Functional.h> +#include <IceUtil/InputUtil.h> #include <Slice/Parser.h> #include <Slice/GrammarUtil.h> #ifdef __BCPLUSPLUS__ @@ -4274,7 +4275,7 @@ Slice::Const::isInRange(const string& name, const TypePtr& constType, const stri { case Builtin::KindByte: { - IceUtil::Int64 l = IceUtil::strToInt64(value.c_str(), 0, 0); + IceUtil::Int64 l = IceUtilInternal::strToInt64(value.c_str(), 0, 0); if(l < ByteMin || l > ByteMax) { string msg = "initializer `" + value + "' for constant `" + name + "' out of range for type byte"; @@ -4285,7 +4286,7 @@ Slice::Const::isInRange(const string& name, const TypePtr& constType, const stri } case Builtin::KindShort: { - IceUtil::Int64 l = IceUtil::strToInt64(value.c_str(), 0, 0); + IceUtil::Int64 l = IceUtilInternal::strToInt64(value.c_str(), 0, 0); if(l < Int16Min || l > Int16Max) { string msg = "initializer `" + value + "' for constant `" + name + "' out of range for type short"; @@ -4296,7 +4297,7 @@ Slice::Const::isInRange(const string& name, const TypePtr& constType, const stri } case Builtin::KindInt: { - IceUtil::Int64 l = IceUtil::strToInt64(value.c_str(), 0, 0); + IceUtil::Int64 l = IceUtilInternal::strToInt64(value.c_str(), 0, 0); if(l < Int32Min || l > Int32Max) { string msg = "initializer `" + value + "' for constant `" + name + "' out of range for type int"; |