summaryrefslogtreecommitdiff
path: root/src/plain.hpp
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-02-03 15:53:56 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-02-03 15:53:56 +0300
commit8d4981fcc1c545396df3eac87a3c1a67f3d30038 (patch)
tree0e4f373313f7b251847fecd1186786574e8d450c /src/plain.hpp
parent3032869b86efa52f20ad9840381a37017980f587 (diff)
downloadtexo-8d4981fcc1c545396df3eac87a3c1a67f3d30038.tar
texo-8d4981fcc1c545396df3eac87a3c1a67f3d30038.tar.xz
texo-8d4981fcc1c545396df3eac87a3c1a67f3d30038.zip
[texo] Abolished dependency on ScriptPP.
Diffstat (limited to 'src/plain.hpp')
-rw-r--r--src/plain.hpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/plain.hpp b/src/plain.hpp
index adc5bd8..8863c4e 100644
--- a/src/plain.hpp
+++ b/src/plain.hpp
@@ -11,7 +11,7 @@
*/
class TexoProducerPlain: public TexoProducer {
public:
- TexoProducerPlain(TexoExporter & exporter);
+ TexoProducerPlain(TexoExporter &exporter);
bool End();
@@ -34,7 +34,7 @@ private:
*/
class TexoImporterPlain: public TexoImporter {
public:
- TexoImporterPlain(TexoProducer & producer);
+ TexoImporterPlain(TexoProducer &producer);
protected:
@@ -56,14 +56,14 @@ private:
paragraph_rule
} state;
- void Text(char c);
- void Newline(char c);
- void Paragraph(char c);
- void QuotePre(char c);
- void Quote(char c);
- void QuoteNewline(char c);
- void Rule(char c);
- void ParagraphRule(char c);
+ bool Text(char c);
+ bool Newline(char c);
+ bool Paragraph(char c);
+ bool QuotePre(char c);
+ bool Quote(char c);
+ bool QuoteNewline(char c);
+ bool Rule(char c);
+ bool ParagraphRule(char c);
int dash_count;
};