]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/pagespec_parsing_chokes_on_function__40____41__.mdwn
Merge remote-tracking branch 'remotes/smcv/ready/git-push-origin-master'
[ikiwiki.git] / doc / bugs / pagespec_parsing_chokes_on_function__40____41__.mdwn
index b7379e7b424568c420fc399a2aea9ef9887f9469..78fed0e5db5eae2a9b4e73aee89bfa8910136a67 100644 (file)
@@ -54,5 +54,11 @@ case the user is given to rebuilding the wiki by hand. --Ethan
 +      }
        return IkiWiki::FailReason->new("syntax error") if $@;
        return $ret;
- } #}}}
-</pre>
\ No newline at end of file
+ }
+</pre>
+
+> 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.