On Tue, Nov 14, 2000 at 05:41:59PM +0100, Kaiserovi wrote:
> Thanks Robin. Actually I had made a few fixes in the string functions,
> including this one, in the working version; as far as I can tell, the
> translate problem mentioned by Nicolas also appears fixed.
Oh dear, I should have checked that first...
Anyway, this bit is still relevant (though it doesn't affect
the behaviour):
cvs server: Diffing .
Index: expr.cpp
===================================================================
RCS file: /usr/local/cvs-master/ga/src/Sablot/engine/expr.cpp,v
retrieving revision 1.17
diff -u -r1.17 expr.cpp
--- expr.cpp 2000/11/14 12:14:02 1.17
+++ expr.cpp 2000/11/14 17:05:33
@@ -1553,18 +1553,6 @@
return "";
}
-char *Expression::tostringCharPtr()
-{
- assert((functor == EXF_ATOM) && (type == EX_STRING));
- return (char*)(*NZ(patomstring));
-}
-
-const Str& Expression::tostringRef() const
-{
- assert((functor == EXF_ATOM) && (type == EX_STRING));
- return (*NZ(patomstring));
-}
-
Number Expression::tonumber()
{
assert(functor == EXF_ATOM);
.robin.