diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-09-01 12:45:47 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:03:00 -0700 |
| commit | 80b880d61d0cbcee8bb6561d14f7cae841cfa2e2 (patch) | |
| tree | 1ae6bfc6867a4e767d04ed35f62b32ab50806272 /test-linearize.c | |
| parent | f2c8ee9082054c19d0635f79db16191e4c932074 (diff) | |
| download | sparse-dev-80b880d61d0cbcee8bb6561d14f7cae841cfa2e2.tar.gz | |
Make "next_path" be per-stream for better "include_next".
Maybe this makes us gcc-compatible. Maybe it doesn't.
Diffstat (limited to 'test-linearize.c')
| -rw-r--r-- | test-linearize.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test-linearize.c b/test-linearize.c index 549d0143..300a8b75 100644 --- a/test-linearize.c +++ b/test-linearize.c @@ -67,12 +67,12 @@ int main(int argc, char **argv) die("No such file: %s", filename); // Tokenize the input stream - token = tokenize(filename, fd, NULL); + token = tokenize(filename, fd, NULL, includepath); close(fd); // Prepend any "include" file to the stream. if (include_fd >= 0) - token = tokenize(include, include_fd, token); + token = tokenize(include, include_fd, token, includepath); // Prepend the initial built-in stream token = tokenize_buffer(pre_buffer, pre_buffer_size, token); |
