diff --git a/src/parse.c b/src/parse.c index 4b793ac..6cca1a1 100644 --- a/src/parse.c +++ b/src/parse.c @@ -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");