diff options
author | Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> | 2010-09-15 16:17:48 +0200 |
---|---|---|
committer | Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> | 2010-09-15 16:17:48 +0200 |
commit | 32b085252affd98e0c4ed4bb2ec0748579e6bb56 (patch) | |
tree | 13ba331ba4e298144b6adc9eb78317d9429627b8 /rst_parser.lua | |
parent | 35b9bd9ecc9fc606f8652f20b1126e6019b96006 (diff) | |
download | context-rst-32b085252affd98e0c4ed4bb2ec0748579e6bb56.tar.gz |
context (ctx) and lua directives
Diffstat (limited to 'rst_parser.lua')
-rw-r--r-- | rst_parser.lua | 6 |
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 , |