summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2010-09-23 15:20:19 +0200
committerPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2010-09-23 15:20:19 +0200
commitb2c68bc5cc48ce0a517389faa52b605f49137fbe (patch)
tree6269236f5bf5e08771d8ef84af8de0a0c138aebd
parent1595aa8c7af1b06bc7c5b792154339adbbaf6fc5 (diff)
downloadcontext-rst-b2c68bc5cc48ce0a517389faa52b605f49137fbe.tar.gz
comments in lists invalid; forced at least two list items
-rw-r--r--rst_parser.lua2
1 files changed, 1 insertions, 1 deletions
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