aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-09-01 12:45:47 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:03:00 -0700
commit80b880d61d0cbcee8bb6561d14f7cae841cfa2e2 (patch)
tree1ae6bfc6867a4e767d04ed35f62b32ab50806272 /compile.c
parentImplement "include_next" (diff)
downloadsparse-80b880d61d0cbcee8bb6561d14f7cae841cfa2e2.tar.gz
sparse-80b880d61d0cbcee8bb6561d14f7cae841cfa2e2.tar.bz2
sparse-80b880d61d0cbcee8bb6561d14f7cae841cfa2e2.zip
Make "next_path" be per-stream for better "include_next".
Maybe this makes us gcc-compatible. Maybe it doesn't.
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index 3fe191e..3f3370f 100644
--- a/compile.c
+++ b/compile.c
@@ -79,7 +79,7 @@ int main(int argc, char **argv)
die("No such file: %s", argv[1]);
// Tokenize the input stream
- token = tokenize(filename, fd, NULL);
+ token = tokenize(filename, fd, NULL, includepath);
close(fd);
// Prepend the initial built-in stream