Fix actually use specified include dirs
This commit is contained in:
parent
0a29b5e6b2
commit
5c5187f0ff
@ -1511,7 +1511,7 @@ static void skim_chunk(Parser *P, int isTopLevel) {
|
||||
|
||||
FILE *f = NULL;
|
||||
for(const char **importPaths = ntc_get_import_paths(); *importPaths; importPaths++) {
|
||||
char *path2 = malp("tests/%s.nct", path);
|
||||
char *path2 = malp("%s/%s.nct", *importPaths, path);
|
||||
|
||||
f = fopen(path2, "rb");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user