From c87b1eb960d7bb862a9fbb6a8c115d6a9ba34769 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sun, 28 Aug 2011 22:29:50 +0200 Subject: directive definition fix --- mod/tex/context/third/rst/rst_parser.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/tex/context/third') diff --git a/mod/tex/context/third/rst/rst_parser.lua b/mod/tex/context/third/rst/rst_parser.lua index eeaa5fd..c871fb6 100644 --- a/mod/tex/context/third/rst/rst_parser.lua +++ b/mod/tex/context/third/rst/rst_parser.lua @@ -4,8 +4,8 @@ -- USAGE: refer to doc/documentation.rst -- DESCRIPTION: https://bitbucket.org/phg/context-rst/overview -- AUTHOR: Philipp Gesang (Phg), --- VERSION: 0.6 --- CHANGED: 2011-08-28 13:47:15+0200 +-- VERSION: 0.5 +-- CHANGED: 2011-08-28 22:29:33+0200 -------------------------------------------------------------------------------- -- @@ -203,7 +203,7 @@ local parser = P{ substitution_definition = V"explicit_markup_start" * V"substitution_text" - * V"whitespace" + * V"whitespace"^1 * C((1 - V"colon" - V"space" - V"eol")^1) -- directive * V"double_colon" * Ct(V"data_directive_block") -- cgit v1.2.3