diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-03-07 09:11:09 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | 5a4df097b2976c24c449c56cf035995edfb1261e (patch) | |
tree | 9112c6f32f1b9a8d7cdc7849754d6b8f602de0c5 /src/sdp/ao_conf_make_meta_sdlang.d | |
parent | org files minor touches (diff) |
0.13.6 dlang function calls, syntax (ufcs related), logic should be retained
Diffstat (limited to 'src/sdp/ao_conf_make_meta_sdlang.d')
-rw-r--r-- | src/sdp/ao_conf_make_meta_sdlang.d | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sdp/ao_conf_make_meta_sdlang.d b/src/sdp/ao_conf_make_meta_sdlang.d index 04261d0..533f482 100644 --- a/src/sdp/ao_conf_make_meta_sdlang.d +++ b/src/sdp/ao_conf_make_meta_sdlang.d @@ -216,7 +216,7 @@ template SiSUheaderExtractSDLang() { static assert(is(typeof(src_header) == char[])); } char[][] source_header_arr = - split(cast(char[]) src_header, rgx.newline_eol_delimiter); + (cast(char[]) src_header).split(rgx.newline_eol_delimiter); char[] header_clean; // TODO foreach(header_line; source_header_arr) { @@ -263,9 +263,9 @@ template SiSUheaderExtractSDLang() { } dochead_meta["creator"]["author_raw"] = dochead_meta["creator"]["author"]; string[] authors_arr; - auto authors_raw_arr = split(dochead_meta["creator"]["author"], rgx.arr_delimiter); + auto authors_raw_arr = dochead_meta["creator"]["author"].split(rgx.arr_delimiter); foreach (author_raw; authors_raw_arr) { - authors_arr ~= (author_raw).replace(rgx.raw_author_munge, "$2 $1"); + authors_arr ~= author_raw.replace(rgx.raw_author_munge, "$2 $1"); } dochead_meta["creator"]["author"] = join(authors_arr, ", ").chomp.chomp; auto t = tuple(dochead_make, dochead_meta); |