35 lines
1.5 KiB
Text
35 lines
1.5 KiB
Text
$NetBSD: patch-ac,v 1.5 2007/10/14 08:14:11 rillig Exp $
|
|
|
|
--- src/value.h.orig 2005-09-07 15:34:24.000000000 +0200
|
|
+++ src/value.h 2007-10-14 09:59:18.000000000 +0200
|
|
@@ -290,7 +290,7 @@ public:
|
|
|
|
bool getVal() { return value; }
|
|
|
|
- static Boolean* Boolean::typeCheck(Value* val, string valDesc);
|
|
+ static Boolean* typeCheck(Value* val, string valDesc);
|
|
virtual bool compare(ComparisonOperator *compOp, Value *rvalue);
|
|
|
|
virtual Value *copy() { return new Boolean(value); }
|
|
@@ -353,9 +353,9 @@ public:
|
|
virtual char *toString(char *, int len);
|
|
virtual char *toBitStr(char *, int len);
|
|
|
|
- static Integer* Integer::typeCheck(Value* val, string valDesc);
|
|
- static Integer* Integer::assertValid(Value* val, string valDesc, gint64 valMin);
|
|
- static Integer* Integer::assertValid(Value* val, string valDesc, gint64 valMin, gint64 valMax);
|
|
+ static Integer* typeCheck(Value* val, string valDesc);
|
|
+ static Integer* assertValid(Value* val, string valDesc, gint64 valMin);
|
|
+ static Integer* assertValid(Value* val, string valDesc, gint64 valMin, gint64 valMax);
|
|
virtual bool compare(ComparisonOperator *compOp, Value *rvalue);
|
|
|
|
inline operator gint64() {
|
|
@@ -498,7 +498,7 @@ public:
|
|
/// copy the object value to a user char array
|
|
virtual char *toString(char *, int len);
|
|
|
|
- static AbstractRange* AbstractRange::typeCheck(Value* val, string valDesc);
|
|
+ static AbstractRange* typeCheck(Value* val, string valDesc);
|
|
virtual bool compare(ComparisonOperator *compOp, Value *rvalue);
|
|
|
|
private:
|