diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-08-29 16:30:15 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-08-29 16:30:15 +0000 |
commit | 0691bcbd11897694a604f99fa58af6b4286c7195 (patch) | |
tree | a5259e0b1118c5d294cb4bfb77fa3d25fed4d121 /src/config/tipidee-config-preprocess.c | |
parent | e6ada0b74352f77124a682d98c6d842fd5c44b45 (diff) | |
download | tipidee-0691bcbd11897694a604f99fa58af6b4286c7195.tar.xz |
More examples, some fixes, some more doc
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/config/tipidee-config-preprocess.c')
-rw-r--r-- | src/config/tipidee-config-preprocess.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/config/tipidee-config-preprocess.c b/src/config/tipidee-config-preprocess.c index 6ac4812..03b54f1 100644 --- a/src/config/tipidee-config-preprocess.c +++ b/src/config/tipidee-config-preprocess.c @@ -206,9 +206,11 @@ static void includefromhere (char const *file) switch (cmd) { case 2 : + if (namesa.s[d] & 2) + strerr_dief5x(3, "in ", namesa.s + d + 1, " line ", linefmt, ": extra !included: directive") ; if (!strcmp(sa.s + sastart, "unique")) namesa.s[d] |= 3 ; else if (!strcmp(sa.s + sastart, "multiple")) namesa.s[d] |= 2 ; - else strerr_dief6x(3, "in ", namesa.s + d + 1, " line ", linefmt, "invalid !included: argument: ", sa.s + sastart) ; + else strerr_dief6x(3, "in ", namesa.s + d + 1, " line ", linefmt, ": invalid !included: argument: ", sa.s + sastart) ; break ; case 1 : case 0 : |