input.c was capable of generating a paragraph structure with no text
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 12 Apr 2005 08:38:28 +0000 (08:38 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 12 Apr 2005 08:38:28 +0000 (08:38 +0000)
commit176f95481102941f215f5b36a17e8b43f6bd513e
tree78fd51fedaca3d031abad136490794599e70d91b
parent0bac815b87dee89332b3bd7afb0fe8d2e5d5737a
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).

git-svn-id: svn://svn.tartarus.org/sgt/halibut@5629 cda61777-01e9-0310-a592-d414129be87e
error.c
halibut.h
input.c