summaryrefslogtreecommitdiff
path: root/dep.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-07-22 02:23:02 -0400
committerPaul Smith <psmith@gnu.org>2013-07-22 02:23:02 -0400
commit7a4d7947a0854e932c501d46fb9fe42c3aa2071d (patch)
tree375c8261aad11579344b11fabba4a74adef327ca /dep.h
parentde9068a389bb4f9dbd952abafbd63d90af463320 (diff)
downloadmake-7a4d7947a0854e932c501d46fb9fe42c3aa2071d.tar.gz
[Bug #39310] Parse simple pattern prereqs for globbing.
We tried to get some efficiency by avoiding a parse_file_seq() for simple pattern prerequisites, but this also means no wildcard expansion was happening, so add it back. Add regression tests for wildcards in target and prerequisite lists.
Diffstat (limited to 'dep.h')
-rw-r--r--dep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dep.h b/dep.h
index 4abfefe3..13cefdc5 100644
--- a/dep.h
+++ b/dep.h
@@ -62,6 +62,8 @@ struct nameseq
#define PARSE_FILE_SEQ(_s,_t,_c,_p,_f) \
(_t *)parse_file_seq ((_s),sizeof (_t),(_c),(_p),(_f))
+#define PARSE_SIMPLE_SEQ(_s,_t) \
+ (_t *)parse_file_seq ((_s),sizeof (_t),MAP_NUL,NULL,PARSEFS_NONE)
#ifdef VMS
void *parse_file_seq ();