commit a035febe87b660abc688e2f7258a59a57bbcd816
parent 1c03e5775018d991f4ca1e5e72ee2b40371d9da1
Author: Drew DeVault <sir@cmpwn.com>
Date: Sun, 7 Oct 2018 11:31:00 -0400
Move premable comments from roff to C
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/main.c b/src/main.c
@@ -599,14 +599,14 @@ static void parse_document(struct parser *p) {
static void output_scdoc_preamble(struct parser *p) {
fprintf(p->output, ".\\\" Generated by scdoc " VERSION "\n");
- fprintf(p->output, ".\\\" Fix weird quotation marks:\n");
- fprintf(p->output, ".\\\" http://bugs.debian.org/507673\n");
- fprintf(p->output, ".\\\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html\n");
+ // Fix weird quotation marks
+ // http://bugs.debian.org/507673
+ // http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
fprintf(p->output, ".ie \\n(.g .ds Aq \\(aq\n");
fprintf(p->output, ".el .ds Aq '\n");
- fprintf(p->output, ".\\\" Disable hyphenation:\n");
+ // Disable hyphenation:
roff_macro(p, "nh", NULL);
- fprintf(p->output, ".\\\" Disable justification:\n");
+ // Disable justification:
roff_macro(p, "ad l", NULL);
fprintf(p->output, ".\\\" Generated content:\n");
}