aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/meta_read_source_files.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/meta_read_source_files.org')
-rw-r--r--org/meta_read_source_files.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/org/meta_read_source_files.org b/org/meta_read_source_files.org
index 06c3cb7..c8355ae 100644
--- a/org/meta_read_source_files.org
+++ b/org/meta_read_source_files.org
@@ -161,7 +161,7 @@ template SiSUrawMarkupContent() {
sdp.meta.rgx;
<<imports_std>>
mixin SiSUrgxInit;
- auto rgx = Rgx();
+ static auto rgx = Rgx();
auto rawsrc = RawMarkupContent();
auto SiSUrawMarkupContent(Fn)(Fn fn_src) {
auto _0_header_1_body_content_2_insert_filelist_tuple =
@@ -313,7 +313,7 @@ final private char[][] markupSourceLineArray(in char[] src_text) {
#+name: meta_markup_source_raw_read_in_file
#+BEGIN_SRC d
auto markupSourceReadIn(in string fn_src) {
- auto rgx = Rgx();
+ static auto rgx = Rgx();
enforce(
fn_src.match(rgx.src_pth),
"not a sisu markup filename"