diff options
author | 2003-03-23 00:12:56 -0700 | |
---|---|---|
committer | 2005-04-07 20:59:36 -0700 | |
commit | 40c1647b14dae3b3172206e9028a78fb83c03ff6 (patch) | |
tree | 08a6eed1245d804c5a38497d409ddc4cd281bf40 /test-lexing.c | |
parent | Fix up more stupidities in the type parsing. It might even be getting close (diff) | |
download | sparse-40c1647b14dae3b3172206e9028a78fb83c03ff6.tar.gz sparse-40c1647b14dae3b3172206e9028a78fb83c03ff6.tar.bz2 sparse-40c1647b14dae3b3172206e9028a78fb83c03ff6.zip |
Move includepath[] array out of pre-processor, since we want
to change it from the callers..
Diffstat (limited to 'test-lexing.c')
-rw-r--r-- | test-lexing.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test-lexing.c b/test-lexing.c index 1cd82c9..0886001 100644 --- a/test-lexing.c +++ b/test-lexing.c @@ -15,6 +15,19 @@ #include "token.h" #include "symbol.h" +char *includepath[] = { + "/usr/lib/gcc-lib/i386-redhat-linux/3.2.1/include/", +#if 1 + "/home/torvalds/v2.5/linux/include/", +#else + "/usr/include/", + "/usr/local/include/", +#endif + "", + NULL +}; + + int main(int argc, char **argv) { int fd = open(argv[1], O_RDONLY); |