diff options
author | harti <harti@FreeBSD.org> | 2005-05-24 15:30:03 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-05-24 15:30:03 +0000 |
commit | a5cd5bc554f6b026dded052ccf6bc9f633b3b6de (patch) | |
tree | b30a386f376d5959c81fae3a88c99830a548613e /usr.bin/make/parse.c | |
parent | b6ff4ff920cf5798accf03ca1ac826688d01b4f0 (diff) | |
download | FreeBSD-src-a5cd5bc554f6b026dded052ccf6bc9f633b3b6de.zip FreeBSD-src-a5cd5bc554f6b026dded052ccf6bc9f633b3b6de.tar.gz |
Factor out all the .SHELL parsing related stuff into its own file and
rename the function to be consistent with the naming scheme in the rest
of make. No functional changes.
Obtained from: DragonFlyBSD (idea and most of shell.h)
Diffstat (limited to 'usr.bin/make/parse.c')
-rw-r--r-- | usr.bin/make/parse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index 2f0a425..4d66103 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -90,6 +90,7 @@ __FBSDID("$FreeBSD$"); #include "make.h" #include "parse.h" #include "pathnames.h" +#include "shell.h" #include "str.h" #include "suff.h" #include "targ.h" @@ -1087,7 +1088,7 @@ ParseDoDependency(char *line) *line = '\0'; } else if (specType == ExShell) { - if (!Job_ParseShell(line)) { + if (!Shell_Parse(line)) { Parse_Error(PARSE_FATAL, "improper shell specification"); return; |