commit d2927d61156153709a4a9fb28b7b1d922b269491
parent e59ae9bf958f82d34a2897172774fdff94523785
Author: Umar Getagazov <umar@handlerug.me>
Date: Thu, 26 May 2022 15:56:16 +0000
haredoc: fix extraneous newline after reference
Fixes paragraphs that begin with references getting split into a
reference text and a remainder paragraph. scantext handles references
already.
Signed-off-by: Umar Getagazov <umar@handlerug.me>
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/cmd/haredoc/docstr.ha b/cmd/haredoc/docstr.ha
@@ -70,8 +70,6 @@ fn scandoc(par: *parser) (token | void) = {
switch (rn) {
case ' ', '\t' =>
return scansample(par);
- case '[' =>
- return scanref(par);
case '-' =>
return scanlist(par);
case =>