mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-21 17:26:41 +00:00
Update the kconfig stuff from git.kernel.org.
Commit 7826005e5a53645d7aab7c13eda76126eadebf0b /trunk/kconfig/lex.zconf.c | 7 5 2 0 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
This commit is contained in:
parent
03e2d3f07e
commit
a14760d58f
@ -2370,11 +2370,14 @@ void zconf_nextfile(const char *name)
|
|||||||
current_buf = buf;
|
current_buf = buf;
|
||||||
|
|
||||||
if (file->flags & FILE_BUSY) {
|
if (file->flags & FILE_BUSY) {
|
||||||
printf("recursive scan (%s)?\n", name);
|
printf("%s:%d: do not source '%s' from itself\n",
|
||||||
|
zconf_curname(), zconf_lineno(), name);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
if (file->flags & FILE_SCANNED) {
|
if (file->flags & FILE_SCANNED) {
|
||||||
printf("file %s already scanned?\n", name);
|
printf("%s:%d: file '%s' is already sourced from '%s'\n",
|
||||||
|
zconf_curname(), zconf_lineno(), name,
|
||||||
|
file->parent->name);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
file->flags |= FILE_BUSY;
|
file->flags |= FILE_BUSY;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user