From b2c68bc5cc48ce0a517389faa52b605f49137fbe Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Thu, 23 Sep 2010 15:20:19 +0200 Subject: comments in lists invalid; forced at least two list items --- rst_parser.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rst_parser.lua b/rst_parser.lua index fb0fb4a..f0e2709 100644 --- a/rst_parser.lua +++ b/rst_parser.lua @@ -833,7 +833,7 @@ local parser = P{ -- the next rule handles enumerations as well bullet_list = V"bullet_init" - * (V"blank_line"^-1 * (V"bullet_list" + V"bullet_continue" + V"comment"))^0 + * (V"blank_line"^-1 * (V"bullet_list" + V"bullet_continue"))^1 * V"bullet_stop" * Cmt(Cc(nil), function (s, i) local t = state -- cgit v1.2.3