]> git.cameronkatri.com Git - mandoc.git/blobdiff - chars.c
Major cleanup; may imply minor changes in edge cases of error reporting.
[mandoc.git] / chars.c
diff --git a/chars.c b/chars.c
index 46f408d4bbb8b391bf39e56c520df90b0c503bb0..3ef273c182b3a57d52fd73d89a179b38c2f2550a 100644 (file)
--- a/chars.c
+++ b/chars.c
@@ -1,4 +1,4 @@
-/*     $Id: chars.c,v 1.75 2018/08/21 01:59:22 schwarze Exp $ */
+/*     $Id: chars.c,v 1.77 2018/12/14 01:18:25 schwarze Exp $ */
 /*
  * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2011, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -23,6 +23,7 @@
 #include <ctype.h>
 #include <stddef.h>
 #include <stdint.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
@@ -83,10 +84,10 @@ static struct ln lines[] = {
        { "sh",                 "#",            0x0023  },
        { "CR",                 "<cr>",         0x21b5  },
        { "OK",                 "\\/",          0x2713  },
-       { "CL",                 "<club>",       0x2663  },
-       { "SP",                 "<spade>",      0x2660  },
-       { "HE",                 "<heart>",      0x2665  },
-       { "DI",                 "<diamond>",    0x2666  },
+       { "CL",                 "C",            0x2663  },
+       { "SP",                 "S",            0x2660  },
+       { "HE",                 "H",            0x2665  },
+       { "DI",                 "D",            0x2666  },
 
        /* Legal symbols. */
        { "co",                 "(C)",          0x00a9  },
@@ -363,7 +364,7 @@ static struct ln lines[] = {
        { "Eu",                 "EUR",          0x20ac  },
        { "eu",                 "EUR",          0x20ac  },
        { "Ye",                 "=\bY",         0x00a5  },
-       { "Po",                 "GBP",          0x00a3  },
+       { "Po",                 "-\bL",         0x00a3  },
        { "Cs",                 "o\bx",         0x00a4  },
        { "Fn",                 ",\bf",         0x0192  },