From 78a0de5a604ee23de16896cd3b2f2f1b70fc1dca Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 22 Jul 2010 14:03:50 +0000 Subject: Accept "\s0" (i.e., properly ignore it). Found in the wild (e.g., gfdl.7). --- mandoc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mandoc.c') diff --git a/mandoc.c b/mandoc.c index 69972c04..68caf719 100644 --- a/mandoc.c +++ b/mandoc.c @@ -1,4 +1,4 @@ -/* $Id: mandoc.c,v 1.25 2010/07/21 20:35:03 kristaps Exp $ */ +/* $Id: mandoc.c,v 1.26 2010/07/22 14:03:50 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -109,6 +109,9 @@ mandoc_special(char *p) case ('\''): term = '\''; break; + case ('0'): + i++; + /* FALLTHROUGH */ default: len = 1; p--; -- cgit v1.2.3