From 099f720a2eb374c5ac8541aeedd75c215b422ce2 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Sat, 14 Feb 2009 03:02:59 +0100 Subject: [PATCH] do not add an include dir for every file we parse --- lib/as3/files.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/as3/files.c b/lib/as3/files.c index 8deefbf..5cd1e2e 100644 --- a/lib/as3/files.c +++ b/lib/as3/files.c @@ -249,9 +249,11 @@ void enter_file(const char*name, const char*filename, void*state) shortfilename_stack[include_stack_ptr] = current_filename_short; filename_stack[include_stack_ptr] = current_filename; includedir_stack[include_stack_ptr] = current_include_dirs; - char*dir = get_path(filename); + + /*char*dir = get_path(filename); add_include_dir(dir); - free(dir); + free(dir);*/ + include_stack_ptr++; dbg("entering file %s", filename); -- 1.7.10.4