From f7c796518ed2128fe334576b4fb1f5509dd36007 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Mon, 29 Aug 2011 09:40:11 +0200 Subject: directive attribute colon syntax fix --- mod/tex/context/third/rst/rst_helpers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/tex/context/third/rst') diff --git a/mod/tex/context/third/rst/rst_helpers.lua b/mod/tex/context/third/rst/rst_helpers.lua index bbf1d1f..d2fc21d 100644 --- a/mod/tex/context/third/rst/rst_helpers.lua +++ b/mod/tex/context/third/rst/rst_helpers.lua @@ -100,7 +100,7 @@ do local escaped_colon = P"\\:" local nocolon = (escaped_colon + (1 - colon))^1 p.colon_right = nocolon * colon - p.colon_keyval = C(nocolon) * colon * p.space^1 * C((1 - (p.space^0 * P(-1)))^1) + p.colon_keyval = colon^-1 * C(nocolon) * colon * p.space^1 * C((1 - (p.space^0 * P(-1)))^1) -- color expression matching for text roles local digit = R"09" -- cgit v1.2.3