Lines Matching defs:filename
805 sparse_error(start->pos, "expected '>' at end of filename");
899 static int try_include(struct position pos, const char *path, const char *filename, int flen, struct token **where, const char **next_path)
910 memcpy(fullname+plen, filename, flen);
923 static int do_include_path(const char **pptr, struct token **list, struct token *token, const char *filename, int flen)
928 if (!try_include(token->pos, path, filename, flen, list, pptr))
947 const char *filename;
966 filename = token_name_sequence(token, expect, token);
967 flen = strlen(filename) + 1;
970 if (filename[0] == '/') {
971 if (try_include(token->pos, "", filename, flen, list, includepath))
991 if (do_include_path(path, list, token, filename, flen))
994 error_die(token->pos, "unable to open '%s'", filename);