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.org11
1 files changed, 7 insertions, 4 deletions
diff --git a/org/meta_read_source_files.org b/org/meta_read_source_files.org
index 9569ee4..5e32b1f 100644
--- a/org/meta_read_source_files.org
+++ b/org/meta_read_source_files.org
@@ -261,7 +261,8 @@ static template SiSUrawMarkupContent() {
final private string readInMarkupSource(in char[] fn_src) {
enforce(
exists(fn_src)!=0,
- "file not found"
+ "file not found: «" ~
+ fn_src ~ "»"
);
string source_txt_str;
try {
@@ -333,7 +334,8 @@ auto markupSourceReadIn(in string fn_src) {
static auto rgx = Rgx();
enforce(
fn_src.match(rgx.src_pth),
- "not a sisu markup filename"
+ "not a sisu markup filename: «" ~
+ fn_src ~ "»"
);
auto source_txt_str = readInMarkupSource(fn_src);
return source_txt_str;
@@ -364,12 +366,13 @@ auto markupSourceHeaderContentRawLineTupleArray(in string source_txt_str) {
#+name: meta_markup_source_raw_get_insert_source_line_array
#+BEGIN_SRC d
final char[][] getInsertMarkupSourceContentRawLineArray(
- in char[] fn_src_insert,
+ in char[] fn_src_insert,
Regex!(char) rgx_file
) {
enforce(
fn_src_insert.match(rgx_file),
- "not a sisu markup filename"
+ "not a sisu markup filename: «" ~
+ fn_src_insert ~ "»"
);
auto source_txt_str = readInMarkupSource(fn_src_insert);
auto source_line_arr = markupSourceLineArray(source_txt_str);