diff options
author | harti <harti@FreeBSD.org> | 2005-05-10 14:06:19 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-05-10 14:06:19 +0000 |
commit | cb3c429895e388d8e36394ff2da6fa84ab71dad1 (patch) | |
tree | ddc9181d1cb567d5cb2c0a93e230bcce7c8af26a /usr.bin/make/parse.h | |
parent | 3a6b30eead99f1ccb10d79b6111060ece6811f89 (diff) | |
download | FreeBSD-src-cb3c429895e388d8e36394ff2da6fa84ab71dad1.zip FreeBSD-src-cb3c429895e388d8e36394ff2da6fa84ab71dad1.tar.gz |
Make shellPath and shellName static - they're used in job.c only.
Move definition of parsing error levels from make.h into parse.h.
Patches: 7.202,7.203
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Diffstat (limited to 'usr.bin/make/parse.h')
-rw-r--r-- | usr.bin/make/parse.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.bin/make/parse.h b/usr.bin/make/parse.h index 7917440..dd5cd81 100644 --- a/usr.bin/make/parse.h +++ b/usr.bin/make/parse.h @@ -48,6 +48,14 @@ struct GNode; struct Lst; +/* + * Error levels for parsing. PARSE_FATAL means the process cannot continue + * once the makefile has been parsed. PARSE_WARNING means it can. Passed + * as the first argument to Parse_Error. + */ +#define PARSE_WARNING 2 +#define PARSE_FATAL 1 + void Parse_Error(int, const char *, ...); Boolean Parse_AnyExport(void); Boolean Parse_IsVar(char *); |