summaryrefslogtreecommitdiffstats
path: root/src/printdocvisitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/printdocvisitor.h')
-rw-r--r--src/printdocvisitor.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/printdocvisitor.h b/src/printdocvisitor.h
index 33b2e60..7fdc159 100644
--- a/src/printdocvisitor.h
+++ b/src/printdocvisitor.h
@@ -215,6 +215,15 @@ class PrintDocVisitor : public DocVisitor
indent_leaf();
printf("<simplesectsep/>");
}
+ void visit(DocCite *cite)
+ {
+ indent_leaf();
+ printf("<cite ref=\"%s\" file=\"%s\" "
+ "anchor=\"%s\" text=\"%s\""
+ "/>\n",
+ cite->ref().data(),cite->file().data(),cite->anchor().data(),
+ cite->text().data());
+ }
//--------------------------------------