aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-05-24 21:31:23 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-05-24 21:31:23 +0000
commitb93b7d11befe80f204689861fdaa729f36298ebb (patch)
treedde1e3116ecf6ffe31024dac18349426a772973e /mandoc.c
parentc96b6e579c812eed08e99af59d7134e91eb8bfbf (diff)
downloadmandoc-b93b7d11befe80f204689861fdaa729f36298ebb.tar.gz
mandoc-b93b7d11befe80f204689861fdaa729f36298ebb.tar.zst
mandoc-b93b7d11befe80f204689861fdaa729f36298ebb.zip
Remove all references to ESCAPE_PREDEF, which is now not exposed passed
the libroff point. This clears up a nice chunk of code.
Diffstat (limited to 'mandoc.c')
-rw-r--r--mandoc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/mandoc.c b/mandoc.c
index c9290214..465965a4 100644
--- a/mandoc.c
+++ b/mandoc.c
@@ -1,4 +1,4 @@
-/* $Id: mandoc.c,v 1.52 2011/05/15 15:30:33 kristaps Exp $ */
+/* $Id: mandoc.c,v 1.53 2011/05/24 21:31:23 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -164,10 +164,6 @@ mandoc_escape(const char **end, const char **start, int *sz)
if (ESCAPE_ERROR == gly)
gly = ESCAPE_IGNORE;
/* FALLTHROUGH */
- case ('*'):
- if (ESCAPE_ERROR == gly)
- gly = ESCAPE_PREDEF;
- /* FALLTHROUGH */
case ('f'):
if (ESCAPE_ERROR == gly)
gly = ESCAPE_FONT;