diff options
Diffstat (limited to 'tools/scan_includes.c')
-rw-r--r-- | tools/scan_includes.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/scan_includes.c b/tools/scan_includes.c index 63af3bcf..c34effb5 100644 --- a/tools/scan_includes.c +++ b/tools/scan_includes.c @@ -79,6 +79,9 @@ void scan_file(char* filename) { char *include = malloc(length + 1); strncpy(include, buffer, length); include[length] = '\0'; + if (strstr(include, "\\1")) { + break; + } printf("%s ", include); if (is_include) { scan_file(include); |