From 4a4d009cbba73b06e8b16fdf8f8f59e712a4bc6f Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 29 Sep 2005 13:04:26 +0000 Subject: Remove the error message `no text found in paragraph'. Aaron Brown points out that it's perfectly possible to generate an empty paragraph using legal Halibut syntax: a paragraph containing nothing but a \#{...} comment will do the job, and is quite likely to happen if you've commented out a load of Halibut code. Therefore, an empty paragraph is now silently ignored rather than being an error condition in itself; if you create an empty paragraph due to it containing an unrecognised directive, then you'll get an error for _that_ and only that. [originally from svn r6361] --- inputs/test.but | 2 ++ 1 file changed, 2 insertions(+) (limited to 'inputs/test.but') diff --git a/inputs/test.but b/inputs/test.but index 4682d5f..2088de4 100644 --- a/inputs/test.but +++ b/inputs/test.but @@ -43,6 +43,8 @@ has line\#{yet another one} breaks in between words, multiple spaces (ignored), and \e{emphasised text} as well as \c{code fragments}. +\#{This is an inline comment alone in a paragraph.} + \cw{This} is weak code; \cq{this} is quoted code. And \k{head} contains some other stuff. \K{subhead} does too. -- cgit v1.1