summaryrefslogtreecommitdiff
path: root/commands.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-02-05 22:31:57 +0000
committerRoland McGrath <roland@redhat.com>1993-02-05 22:31:57 +0000
commit720b21097cbbfbe7d5b51afaf0d45337278acec1 (patch)
tree239d62c37ee682dddc835580e171228e9e352523 /commands.h
parent162269418e41dea16a5e321f61b4ea3267c9e648 (diff)
downloadgunmake-720b21097cbbfbe7d5b51afaf0d45337278acec1.tar.gz
Formerly commands.h.~2~
Diffstat (limited to 'commands.h')
-rw-r--r--commands.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/commands.h b/commands.h
index 7b3a036..d99bec8 100644
--- a/commands.h
+++ b/commands.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1988, 1989, 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1988, 1989, 1991, 1993 Free Software Foundation, Inc.
This file is part of GNU Make.
GNU Make is free software; you can redistribute it and/or modify
@@ -25,10 +25,15 @@ struct commands
char *commands; /* Commands text. */
unsigned int ncommand_lines;/* Number of command lines. */
char **command_lines; /* Commands chopped up into lines. */
- char *lines_recurse; /* One flag for each line. */
- char any_recurse; /* Nonzero if any `lines_recurse' elt is. */
+ char *lines_flags; /* One set of flag bits for each line. */
+ int any_recurse; /* Nonzero if any `lines_recurse' elt has */
+ /* the COMMANDS_RECURSE bit set. */
};
+/* Bits in `lines_flags'. */
+#define COMMANDS_RECURSE 1 /* Recurses: + or $(MAKE). */
+#define COMMANDS_SILENT 2 /* Silent: @. */
+#define COMMANDS_NOERROR 4 /* No errors: -. */
extern void execute_file_commands ();
extern void print_commands ();