diff options
| author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-08-05 03:24:49 +0000 |
|---|---|---|
| committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-08-05 03:24:49 +0000 |
| commit | abacdcce30a192fcf797ef2579475d365916bb0d (patch) | |
| tree | 517afadace41654a55d5eb39eff45ce1b175752a /textproc/opensp/files/patch-Attribute.h | |
| parent | Fix libc_r detection routine that didn't work on -current. (diff) | |
Use another approach for gcc33 taken from sourceforge.
Diffstat (limited to 'textproc/opensp/files/patch-Attribute.h')
| -rw-r--r-- | textproc/opensp/files/patch-Attribute.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/textproc/opensp/files/patch-Attribute.h b/textproc/opensp/files/patch-Attribute.h new file mode 100644 index 000000000000..013a3ff8bc2b --- /dev/null +++ b/textproc/opensp/files/patch-Attribute.h @@ -0,0 +1,64 @@ +--- include/Attribute.h.orig Fri Mar 10 03:30:56 2000 ++++ include/Attribute.h Tue Aug 5 11:49:19 2003 +@@ -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() { } +@@ -378,27 +398,6 @@ + AttributeSemantics *copy() const; + private: + 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 { |
