aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/process-includes/invalid
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-30 13:34:28 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-30 13:34:28 +0100
commit978b2c445aa220a4138028335a44116479da58c1 (patch)
tree5b73d50f206deeb73418aa1b0347e5bf385a7c16 /test-files/mds-kbdc/process-includes/invalid
parentmds-kbdc: transfer of errors after inclusion (diff)
downloadmds-978b2c445aa220a4138028335a44116479da58c1.tar.gz
mds-978b2c445aa220a4138028335a44116479da58c1.tar.bz2
mds-978b2c445aa220a4138028335a44116479da58c1.tar.xz
mds-kbdc: process includes
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'test-files/mds-kbdc/process-includes/invalid')
-rw-r--r--test-files/mds-kbdc/process-includes/invalid/_error2
-rw-r--r--test-files/mds-kbdc/process-includes/invalid/include_error31
-rw-r--r--test-files/mds-kbdc/process-includes/invalid/include_nonexisting11
3 files changed, 44 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/process-includes/invalid/_error b/test-files/mds-kbdc/process-includes/invalid/_error
new file mode 100644
index 0000000..aa42b42
--- /dev/null
+++ b/test-files/mds-kbdc/process-includes/invalid/_error
@@ -0,0 +1,2 @@
+[.]
+
diff --git a/test-files/mds-kbdc/process-includes/invalid/include_error b/test-files/mds-kbdc/process-includes/invalid/include_error
new file mode 100644
index 0000000..cec9385
--- /dev/null
+++ b/test-files/mds-kbdc/process-includes/invalid/include_error
@@ -0,0 +1,31 @@
+include "_error"
+
+# (include (@ 1 0-7) ‘/home/mattias/git/mds/test-files/mds-kbdc/process-includes/invalid/_error’
+# (.inner
+# (map (@ 1 0-0)
+# (.sequence
+# (nothing (@ 1 1-2))
+# )
+# (.result nil)
+# )
+# )
+# )
+# .../test-files/mds-kbdc/process-includes/invalid/_error:1:0–1: warning: alternated value statement is undefined unless the alternatives are identical
+# [.]
+# ^
+# .../test-files/mds-kbdc/process-includes/invalid/include_error:1:0–7: note: included from here
+# include "_error"
+# ^^^^^^^
+# .../test-files/mds-kbdc/process-includes/invalid/_error:1:0–1: warning: singleton alternation
+# [.]
+# ^
+# .../test-files/mds-kbdc/process-includes/invalid/include_error:1:0–7: note: included from here
+# include "_error"
+# ^^^^^^^
+# .../test-files/mds-kbdc/process-includes/invalid/_error:1:1–2: error: nothing in value statement
+# [.]
+# ^
+# .../test-files/mds-kbdc/process-includes/invalid/include_error:1:0–7: note: included from here
+# include "_error"
+# ^^^^^^^
+
diff --git a/test-files/mds-kbdc/process-includes/invalid/include_nonexisting b/test-files/mds-kbdc/process-includes/invalid/include_nonexisting
new file mode 100644
index 0000000..9ff0f5c
--- /dev/null
+++ b/test-files/mds-kbdc/process-includes/invalid/include_nonexisting
@@ -0,0 +1,11 @@
+include "this file does not exist"
+
+# (include (@ 1 0-7) ‘this file does not exist’
+# (.inner nil)
+# )
+# this file does not exist: error: no such file or directory in ‘.../test-files/mds-kbdc/process-includes/invalid’
+#
+# .../test-files/mds-kbdc/process-includes/invalid/include_nonexisting:1:0–7: note: included from here
+# include "this file does not exist"
+# ^^^^^^^
+