From 7922a663c08bafffc010c7700c1a5759abc4d443 Mon Sep 17 00:00:00 2001 From: joey Date: Sat, 11 Aug 2007 23:31:57 +0000 Subject: * Support pagespec "functions" with no parameters, like included() in the conditional plugin. --- doc/bugs/pagespec_parsing_chokes_on_function__40____41__.mdwn | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/bugs/pagespec_parsing_chokes_on_function__40____41__.mdwn b/doc/bugs/pagespec_parsing_chokes_on_function__40____41__.mdwn index b7379e7b4..a2eba694c 100644 --- a/doc/bugs/pagespec_parsing_chokes_on_function__40____41__.mdwn +++ b/doc/bugs/pagespec_parsing_chokes_on_function__40____41__.mdwn @@ -55,4 +55,10 @@ case the user is given to rebuilding the wiki by hand. --Ethan return IkiWiki::FailReason->new("syntax error") if $@; return $ret; } #}}} - \ No newline at end of file + + +> Thanks, [[done]] --[[Joey]] +> +> Note that the printing of the error isn't needed though. pagespec_match() +> returns an IkiWiki::FailReason object if parsing fails, and its caller +> can use that as desired to print the error. -- cgit v1.2.3