Created
September 16, 2012 15:13
-
-
Save theirix/3732794 to your computer and use it in GitHub Desktop.
open-jade clang formula patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: jade/TeXFOTBuilder.cxx | |
=================================================================== | |
--- jade/TeXFOTBuilder.cxx | |
+++ jade/TeXFOTBuilder.cxx | |
@@ -92,6 +92,8 @@ public: | |
PageFloatNIC nic_; | |
StringC name_; | |
StringC placement; | |
+ public: | |
+ PageFloatFlowObj() { } | |
}; | |
class PageFootnoteFlowObj : public TeXCompoundExtensionFlowObj { | |
void start(TeXFOTBuilder &fotb, const NodePtr &) const { | |
@@ -102,6 +104,8 @@ public: | |
} | |
ExtensionFlowObj *copy() const { return new PageFootnoteFlowObj(*this); } | |
private: | |
+ public: | |
+ PageFootnoteFlowObj() { } | |
}; | |
////////////////////////////////////////////////////////////////////// | |
// Constructor and destructor. | |
Index: jade/TransformFOTBuilder.cxx | |
=================================================================== | |
--- jade/TransformFOTBuilder.cxx | |
+++ jade/TransformFOTBuilder.cxx | |
@@ -41,6 +41,7 @@ public: | |
}; | |
class EntityRefFlowObj : public TransformExtensionFlowObj { | |
public: | |
+ EntityRefFlowObj() { } | |
void atomic(TransformFOTBuilder &fotb, const NodePtr &) const { | |
fotb.entityRef(name_); | |
} | |
@@ -56,7 +57,8 @@ public: | |
}; | |
class ProcessingInstructionFlowObj : public TransformExtensionFlowObj { | |
public: | |
- void atomic(TransformFOTBuilder &fotb, const NodePtr &) const { | |
+ ProcessingInstructionFlowObj() { } | |
+ void atomic(TransformFOTBuilder &fotb, const NodePtr &) const { | |
fotb.processingInstruction(data_); | |
} | |
bool hasNIC(const StringC &name) const { | |
@@ -100,6 +102,8 @@ public: | |
ExtensionFlowObj *copy() const { return new EmptyElementFlowObj(*this); } | |
private: | |
ElementNIC nic_; | |
+ public: | |
+ EmptyElementFlowObj() { } | |
}; | |
class ElementFlowObj : public TransformCompoundExtensionFlowObj { | |
void start(TransformFOTBuilder &fotb, const NodePtr &nd) const { | |
@@ -135,6 +139,8 @@ public: | |
ExtensionFlowObj *copy() const { return new ElementFlowObj(*this); } | |
private: | |
ElementNIC nic_; | |
+ public: | |
+ ElementFlowObj() { } | |
}; | |
class EntityFlowObj : public TransformCompoundExtensionFlowObj { | |
void start(TransformFOTBuilder &fotb, const NodePtr &) const { | |
@@ -152,6 +158,8 @@ public: | |
ExtensionFlowObj *copy() const { return new EntityFlowObj(*this); } | |
private: | |
StringC systemId_; | |
+ public: | |
+ EntityFlowObj() { } | |
}; | |
class DocumentTypeFlowObj : public TransformExtensionFlowObj { | |
void atomic(TransformFOTBuilder &fotb, const NodePtr &nd) const { | |
@@ -176,6 +184,8 @@ public: | |
ExtensionFlowObj *copy() const { return new DocumentTypeFlowObj(*this); } | |
private: | |
DocumentTypeNIC nic_; | |
+ public: | |
+ DocumentTypeFlowObj() { } | |
}; | |
TransformFOTBuilder(CmdLineApp *, bool xml, const Vector<StringC> &options); | |
~TransformFOTBuilder(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment