From e0cce79cf40ca89ded697a27af804355ef9512a3 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 12 Apr 2005 08:38:28 +0000 Subject: input.c was capable of generating a paragraph structure with no text in it, if the input paragraph contained (say) an unrecognised control command and nothing else. Such paragraphs can confuse back ends later on, so input.c should refrain from generating them. Added a check and a polite error message (just in case the user manages to generate an empty paragraph using otherwise legal syntax). [originally from svn r5629] --- halibut.h | 1 + 1 file changed, 1 insertion(+) (limited to 'halibut.h') diff --git a/halibut.h b/halibut.h index ed2a0da..99b9a0e 100644 --- a/halibut.h +++ b/halibut.h @@ -244,6 +244,7 @@ enum { err_text_codeline, /* \c line too long in text backend */ err_htmlver, /* unrecognised HTML version keyword */ err_charset, /* unrecognised character set name */ + err_emptypara, /* paragraph contains no actual text */ err_whatever /* random error of another type */ }; -- cgit v1.1