diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-11-30 14:33:44 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-11-30 14:33:44 +0100 |
commit | 7e984e3e01a377e5fe33f565c1846de3c4d98709 (patch) | |
tree | ac813b77f1dac11387bc9c3b947abee41d956b1a /test-files/mds-kbdc/process-includes/invalid/inclusion_rho | |
parent | mds-kbdc: process includes (diff) | |
download | mds-7e984e3e01a377e5fe33f565c1846de3c4d98709.tar.gz mds-7e984e3e01a377e5fe33f565c1846de3c4d98709.tar.bz2 mds-7e984e3e01a377e5fe33f565c1846de3c4d98709.tar.xz |
mds-kbdc: detect resursive inclusion
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'test-files/mds-kbdc/process-includes/invalid/inclusion_rho')
-rw-r--r-- | test-files/mds-kbdc/process-includes/invalid/inclusion_rho | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/process-includes/invalid/inclusion_rho b/test-files/mds-kbdc/process-includes/invalid/inclusion_rho new file mode 100644 index 0000000..43aabc9 --- /dev/null +++ b/test-files/mds-kbdc/process-includes/invalid/inclusion_rho @@ -0,0 +1,43 @@ +include "_inclusion_rho_1" + +# (include (@ 1 0-7) ‘.../test-files/mds-kbdc/process-includes/invalid/_inclusion_rho_1’ +# (.inner +# (include (@ 1 0-7) ‘.../test-files/mds-kbdc/process-includes/invalid/_inclusion_rho_2’ +# (.inner +# (include (@ 1 0-7) ‘.../test-files/mds-kbdc/process-includes/invalid/_inclusion_rho_3’ +# (.inner +# (include (@ 1 0-7) ‘.../test-files/mds-kbdc/process-includes/invalid/_inclusion_rho_4’ +# (.inner +# (include (@ 1 0-7) ‘.../test-files/mds-kbdc/process-includes/invalid/_inclusion_rho_2’ +# (.inner +# (include (@ 1 0-7) ‘"_inclusion_rho_3"’ +# (.inner nil) +# ) +# ) +# ) +# ) +# ) +# ) +# ) +# ) +# ) +# ) +# ) +# .../test-files/mds-kbdc/process-includes/invalid/_inclusion_rho_2: error: resursive inclusion +# +# .../test-files/mds-kbdc/process-includes/invalid/inclusion_rho:1:0–7: note: included from here +# include "_inclusion_rho_1" +# ^^^^^^^ +# .../test-files/mds-kbdc/process-includes/invalid/_inclusion_rho_1:1:0–7: note: included from here +# include "_inclusion_rho_2" +# ^^^^^^^ +# .../test-files/mds-kbdc/process-includes/invalid/_inclusion_rho_2:1:0–7: note: included from here +# include "_inclusion_rho_3" +# ^^^^^^^ +# .../test-files/mds-kbdc/process-includes/invalid/_inclusion_rho_3:1:0–7: note: included from here +# include "_inclusion_rho_4" +# ^^^^^^^ +# .../test-files/mds-kbdc/process-includes/invalid/_inclusion_rho_4:1:0–7: note: included from here +# include "_inclusion_rho_2" +# ^^^^^^^ + |