summaryrefslogtreecommitdiff
path: root/commands.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2010-11-06 21:56:23 +0000
committerPaul Smith <psmith@gnu.org>2010-11-06 21:56:23 +0000
commit391456aad790172c3cbbceb5544dd785c0e60a99 (patch)
treefaf87797baba5fae47c98029e5d2c1ec741fb7d1 /commands.h
parenta86d1693bac05e04f90a2ee3c4fa3547c788377c (diff)
downloadgunmake-391456aad790172c3cbbceb5544dd785c0e60a99.tar.gz
Improve backslash/newline handling to adhere to POSIX requirements.
Diffstat (limited to 'commands.h')
-rw-r--r--commands.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/commands.h b/commands.h
index 24426fa..643347d 100644
--- a/commands.h
+++ b/commands.h
@@ -23,10 +23,11 @@ struct commands
{
struct floc fileinfo; /* Where commands were defined. */
char *commands; /* Commands text. */
- unsigned int ncommand_lines;/* Number of command lines. */
char **command_lines; /* Commands chopped up into lines. */
char *lines_flags; /* One set of flag bits for each line. */
- int any_recurse; /* Nonzero if any `lines_recurse' elt has */
+ unsigned short ncommand_lines;/* Number of command lines. */
+ char recipe_prefix; /* Recipe prefix for this command set. */
+ unsigned int any_recurse:1; /* Nonzero if any `lines_flags' elt has */
/* the COMMANDS_RECURSE bit set. */
};