git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a7f8303
)
do not add an include dir for every file we parse
author
Matthias Kramm
<kramm@quiss.org>
Sat, 14 Feb 2009 02:02:59 +0000
(
03:02
+0100)
committer
Matthias Kramm
<kramm@quiss.org>
Sat, 14 Feb 2009 02:02:59 +0000
(
03:02
+0100)
lib/as3/files.c
patch
|
blob
|
history
diff --git
a/lib/as3/files.c
b/lib/as3/files.c
index
8deefbf
..
5cd1e2e
100644
(file)
--- 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;
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);
add_include_dir(dir);
- free(dir);
+ free(dir);*/
+
include_stack_ptr++;
dbg("entering file %s", filename);
include_stack_ptr++;
dbg("entering file %s", filename);