diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-04-12 19:24:10 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-04-12 19:24:10 +0000 |
commit | 44eecac3d2aaf223f3e96869a6e2e50ac07e075a (patch) | |
tree | 0673f6fd19785b19d7991d3e665b4464a6953784 | |
parent | 46efc2522501cd7521cb08c1686de2dbf6544a03 (diff) | |
download | mandoc-44eecac3d2aaf223f3e96869a6e2e50ac07e075a.tar.gz |
Added \^ and \~ escapes (Joerg).
-rw-r--r-- | ascii.in | 2 | ||||
-rw-r--r-- | mdoc_strings.c | 4 |
2 files changed, 6 insertions, 0 deletions
@@ -32,6 +32,8 @@ LINE("`", 1, "`", 1) LINE("%", 1, "%", 1) LINE("-", 1, "-", 1) LINE(" ", 1, " ", 1) +LINE("~", 1, " ", 1) +LINE("^", 1, "", 0) LINE("0", 1, " ", 1) LINE(".", 1, ".", 1) LINE("&", 1, "", 0) diff --git a/mdoc_strings.c b/mdoc_strings.c index cdd6c45d..c5fa51bc 100644 --- a/mdoc_strings.c +++ b/mdoc_strings.c @@ -87,6 +87,10 @@ mdoc_isescape(const char *p) /* FALLTHROUGH */ case ('-'): /* FALLTHROUGH */ + case ('~'): + /* FALLTHROUGH */ + case ('^'): + /* FALLTHROUGH */ case ('%'): /* FALLTHROUGH */ case ('0'): |