summaryrefslogtreecommitdiff
path: root/rst_parser.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2010-09-15 16:17:48 +0200
committerPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2010-09-15 16:17:48 +0200
commit32b085252affd98e0c4ed4bb2ec0748579e6bb56 (patch)
tree13ba331ba4e298144b6adc9eb78317d9429627b8 /rst_parser.lua
parent35b9bd9ecc9fc606f8652f20b1126e6019b96006 (diff)
downloadcontext-rst-32b085252affd98e0c4ed4bb2ec0748579e6bb56.tar.gz
context (ctx) and lua directives
Diffstat (limited to 'rst_parser.lua')
-rw-r--r--rst_parser.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/rst_parser.lua b/rst_parser.lua
index dd20354..1ef0aa0 100644
--- a/rst_parser.lua
+++ b/rst_parser.lua
@@ -128,6 +128,10 @@ local parser = P{
--+ V"comment block"
,
+ explicit_markup_block = V"explicit_markup"^1
+ * V"end_block"
+ ,
+
--------------------------------------------------------------------------------
-- Substitution definition block
--------------------------------------------------------------------------------
@@ -140,7 +144,7 @@ local parser = P{
* C((1 - V"colon" - V"space" - V"eol")^1) -- directive
* V"double_colon"
* C(V"data_directive_block")
- * V"end_block"
+ * V"blank_line"^-1
/ rst.substitution_definition
,