75 lines
2.1 KiB
Diff
75 lines
2.1 KiB
Diff
--- OpenSP-1.5/include/Attribute.h.gcc33 2003-05-22 17:04:20.000000000 +0100
|
|
+++ OpenSP-1.5/include/Attribute.h 2003-05-22 17:04:48.000000000 +0100
|
|
@@ -25,12 +25,32 @@
|
|
class Entity;
|
|
class Notation;
|
|
class DeclaredValue;
|
|
-class AttributeValue;
|
|
class TokenizedAttributeValue;
|
|
class AttributeSemantics;
|
|
class AttributeContext;
|
|
class Syntax;
|
|
|
|
+class SP_API AttributeValue : public Resource {
|
|
+public:
|
|
+ enum Type {
|
|
+ implied,
|
|
+ cdata,
|
|
+ tokenized
|
|
+ };
|
|
+ AttributeValue();
|
|
+ virtual ~AttributeValue();
|
|
+ virtual AttributeSemantics *makeSemantics(const DeclaredValue *,
|
|
+ AttributeContext &,
|
|
+ const StringC &,
|
|
+ unsigned &,
|
|
+ unsigned &) const;
|
|
+ virtual Type info(const Text *&, const StringC *&) const = 0;
|
|
+ virtual const Text *text() const;
|
|
+ virtual Boolean recoverUnquoted(const StringC &, const Location &,
|
|
+ AttributeContext &, const StringC &);
|
|
+ static Boolean handleAsUnterminated(const Text &, AttributeContext &);
|
|
+};
|
|
+
|
|
class SP_API AttributeDefinitionDesc {
|
|
public:
|
|
AttributeDefinitionDesc() { }
|
|
@@ -380,27 +400,6 @@
|
|
ConstPtr<Notation> notation_;
|
|
};
|
|
|
|
-class SP_API AttributeValue : public Resource {
|
|
-public:
|
|
- enum Type {
|
|
- implied,
|
|
- cdata,
|
|
- tokenized
|
|
- };
|
|
- AttributeValue();
|
|
- virtual ~AttributeValue();
|
|
- virtual AttributeSemantics *makeSemantics(const DeclaredValue *,
|
|
- AttributeContext &,
|
|
- const StringC &,
|
|
- unsigned &,
|
|
- unsigned &) const;
|
|
- virtual Type info(const Text *&, const StringC *&) const = 0;
|
|
- virtual const Text *text() const;
|
|
- virtual Boolean recoverUnquoted(const StringC &, const Location &,
|
|
- AttributeContext &, const StringC &);
|
|
- static Boolean handleAsUnterminated(const Text &, AttributeContext &);
|
|
-};
|
|
-
|
|
class SP_API ImpliedAttributeValue : public AttributeValue {
|
|
public:
|
|
ImpliedAttributeValue();
|
|
--- OpenSP-1.5/include/RangeMap.cxx.gcc34 2004-01-31 13:50:50.000000000 +0000
|
|
+++ OpenSP-1.5/include/RangeMap.cxx 2004-01-31 13:51:36.000000000 +0000
|
|
@@ -7,6 +7,7 @@
|
|
#include "RangeMap.h"
|
|
#include "ISet.h"
|
|
#include "types.h"
|
|
+#include "constant.h"
|
|
|
|
#ifdef SP_NAMESPACE
|
|
namespace SP_NAMESPACE {
|