aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/compile_time_info.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2020-10-16 19:16:18 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2020-10-19 13:26:15 -0400
commit0c693b23c4ff8f98a151884a24f150a5ff746dd4 (patch)
treef638d7942cab5b20adc3761ad7fcb62283eeefd8 /org/compile_time_info.org
parentcgi.d arsd update (diff)
org mode, unique code-block names & adjust headers
- avoid org-mode undefined behavior, provide unique code-block names
Diffstat (limited to 'org/compile_time_info.org')
-rw-r--r--org/compile_time_info.org8
1 files changed, 5 insertions, 3 deletions
diff --git a/org/compile_time_info.org b/org/compile_time_info.org
index e09409e..59ea6a4 100644
--- a/org/compile_time_info.org
+++ b/org/compile_time_info.org
@@ -7,6 +7,7 @@
#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah
#+LANGUAGE: en
#+STARTUP: content hideblocks hidestars noindent entitiespretty
+#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
#+PROPERTY: header-args :exports code
#+PROPERTY: header-args+ :noweb yes
#+PROPERTY: header-args+ :eval no
@@ -30,7 +31,8 @@ version(Windows) {} else { ... }
+/
module doc_reform.conf.compile_time_info;
template CompileTimeInfo() {
- <<spine_compile_time_info>>
+ <<spine_compile_time_info_0>>
+ <<spine_compile_time_info_1>>
}
#+END_SRC
@@ -39,7 +41,7 @@ OS type shows during compilation
*** set os flags
-#+NAME: spine_compile_time_info
+#+NAME: spine_compile_time_info_0
#+BEGIN_SRC d
version(Windows) {
pragma(msg, "[ Windows compilation ]");
@@ -97,7 +99,7 @@ static if(sysWindows) {
** 64 bit compilation?
-#+NAME: spine_compile_time_info
+#+NAME: spine_compile_time_info_1
#+BEGIN_SRC d
version(D_LP64) {
enum bits = "64 bit";