From d56624bce222d870298d937e634fe01aef5c39e4 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 27 Jul 2017 04:38:26 -0400 Subject: static, liberal use of keyword --- org/default_regex.org | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'org/default_regex.org') diff --git a/org/default_regex.org b/org/default_regex.org index 95167b4..f255bb6 100644 --- a/org/default_regex.org +++ b/org/default_regex.org @@ -30,9 +30,9 @@ http://dlang.org/phobos/std_regex.html regex: regular expressions used in sisu document parser +/ module sdp.meta.rgx; -template SiSUrgxInit() { +static template SiSUrgxInit() { import sdp.meta.defaults; - struct Rgx { + static struct Rgx { <> <> } @@ -88,8 +88,8 @@ static comments = ctRegex!(`^%+ |^%+$`); #+name: meta_rgx #+BEGIN_SRC d /+ header +/ -static make_simple_substitutions_rb = ctRegex!(`(?P/(?P.+?)/,[ ]*['"](?P.+?)['"])`); -static make_simple_substitutions_d = ctRegex!(`(?P``(?P.+?)``,[ ]*['"](?P.+?)['"])`); +static make_simple_substitutions_rb = ctRegex!(`(?P/(?P.+?)/,[ ]*['"](?P.+?)['"])`); +static make_simple_substitutions_d = ctRegex!(`(?P``(?P.+?)``,[ ]*['"](?P.+?)['"])`); #+END_SRC ** native headers @@ -369,9 +369,9 @@ http://dlang.org/phobos/std_regex.html regex: regular expressions used in sisu document parser +/ module sdp.output.rgx; -template SiSUoutputRgxInit() { +static template SiSUoutputRgxInit() { import sdp.output.defaults; - struct Rgx { + static struct Rgx { <> <> } -- cgit v1.2.3