summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/parse.c
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-05-24 15:30:03 +0000
committerharti <harti@FreeBSD.org>2005-05-24 15:30:03 +0000
commita5cd5bc554f6b026dded052ccf6bc9f633b3b6de (patch)
treeb30a386f376d5959c81fae3a88c99830a548613e /usr.bin/make/parse.c
parentb6ff4ff920cf5798accf03ca1ac826688d01b4f0 (diff)
downloadFreeBSD-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.c3
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;
OpenPOWER on IntegriCloud