Changeset 3140 for trunk/src/kmk/commands.h
- Timestamp:
- Mar 14, 2018, 10:28:10 PM (7 years ago)
- Location:
- trunk/src/kmk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk
-
Property svn:mergeinfo
set to
/vendor/gnumake/current merged eligible
-
Property svn:mergeinfo
set to
-
trunk/src/kmk/commands.h
r2754 r3140 1 1 /* Definition of data structures describing shell commands for GNU Make. 2 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 3 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 4 2010 Free Software Foundation, Inc. 2 Copyright (C) 1988-2016 Free Software Foundation, Inc. 5 3 This file is part of GNU Make. 6 4 … … 22 20 struct commands 23 21 { 24 struct floc fileinfo; /* Where commands were defined. */ 25 char *commands; /* Commands text. */ 26 unsigned int ncommand_lines;/* Number of command lines. */ 27 char **command_lines; /* Commands chopped up into lines. */ 22 floc fileinfo; /* Where commands were defined. */ 23 char *commands; /* Commands text. */ 24 char **command_lines; /* Commands chopped up into lines. */ 28 25 #ifdef CONFIG_WITH_COMMANDS_FUNC 29 short *lines_flags;/* One set of flag bits for each line. */26 unsigned short *lines_flags;/* One set of flag bits for each line. */ 30 27 #else 31 char *lines_flags;/* One set of flag bits for each line. */28 unsigned char *lines_flags; /* One set of flag bits for each line. */ 32 29 #endif 33 int any_recurse; /* Nonzero if any `lines_recurse' elt has */ 34 /* the COMMANDS_RECURSE bit set. */ 30 unsigned short ncommand_lines;/* Number of command lines. */ 31 char recipe_prefix; /* Recipe prefix for this command set. */ 32 unsigned int any_recurse:1; /* Nonzero if any 'lines_flags' elt has */ 33 /* the COMMANDS_RECURSE bit set. */ 35 34 #ifdef CONFIG_WITH_MEMORY_OPTIMIZATIONS 36 35 int refs; /* References. */ … … 38 37 }; 39 38 40 /* Bits in `lines_flags'. */41 #define COMMANDS_RECURSE1 /* Recurses: + or $(MAKE). */42 #define COMMANDS_SILENT2 /* Silent: @. */43 #define COMMANDS_NOERROR4 /* No errors: -. */39 /* Bits in 'lines_flags'. */ 40 #define COMMANDS_RECURSE 1 /* Recurses: + or $(MAKE). */ 41 #define COMMANDS_SILENT 2 /* Silent: @. */ 42 #define COMMANDS_NOERROR 4 /* No errors: -. */ 44 43 #ifdef CONFIG_WITH_EXTENDED_NOTPARALLEL 45 44 # define COMMANDS_NOTPARALLEL 32 /* kmk: The commands must be executed alone. */ … … 53 52 #endif 54 53 54 RETSIGTYPE fatal_error_signal (int sig); 55 55 void execute_file_commands (struct file *file); 56 56 void print_commands (const struct commands *cmds);
Note:
See TracChangeset
for help on using the changeset viewer.