summaryrefslogtreecommitdiffstats
path: root/src/mangen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mangen.cpp')
-rw-r--r--src/mangen.cpp15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/mangen.cpp b/src/mangen.cpp
index c438a15..35ffc26 100644
--- a/src/mangen.cpp
+++ b/src/mangen.cpp
@@ -356,7 +356,7 @@ void ManGenerator::endTitle()
t << "\"";
}
-void ManGenerator::writeListItem()
+void ManGenerator::startItemListItem()
{
if (!firstCol) t << endl;
t << ".TP" << endl;
@@ -365,6 +365,10 @@ void ManGenerator::writeListItem()
col=0;
}
+void ManGenerator::endItemListItem()
+{
+}
+
void ManGenerator::startCodeFragment()
{
newParagraph();
@@ -476,7 +480,7 @@ void ManGenerator::startDescItem()
// paragraph=TRUE;
//}
-void ManGenerator::writeDescItem()
+void ManGenerator::startDescForItem()
{
if (!firstCol) t << endl;
if (!paragraph) t << ".in -1c" << endl;
@@ -486,6 +490,10 @@ void ManGenerator::writeDescItem()
col=0;
}
+void ManGenerator::endDescForItem()
+{
+}
+
void ManGenerator::endDescItem()
{
t << "\" 1c" << endl;
@@ -669,13 +677,14 @@ void ManGenerator::startConstraintList(const char *header)
void ManGenerator::startConstraintParam()
{
- writeListItem();
+ startItemListItem();
startEmphasis();
}
void ManGenerator::endConstraintParam()
{
endEmphasis();
+ endItemListItem();
t << " : ";
}