Ignore:
Timestamp:
Mar 14, 2018, 10:28:10 PM (7 years ago)
Author:
bird
Message:

kmk: Merged in changes from GNU make 4.2.1 (2e55f5e4abdc0e38c1d64be703b446695e70b3b6 / https://git.savannah.gnu.org/git/make.git).

Location:
trunk/src/kmk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk

  • trunk/src/kmk/commands.h

    r2754 r3140  
    11/* 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.
     2Copyright (C) 1988-2016 Free Software Foundation, Inc.
    53This file is part of GNU Make.
    64
     
    2220struct commands
    2321  {
    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.  */
    2825#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.  */
    3027#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.  */
    3229#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.  */
    3534#ifdef CONFIG_WITH_MEMORY_OPTIMIZATIONS
    3635    int refs;                   /* References.  */
     
    3837  };
    3938
    40 /* Bits in `lines_flags'.  */
    41 #define COMMANDS_RECURSE        1 /* Recurses: + or $(MAKE).  */
    42 #define COMMANDS_SILENT         2 /* Silent: @.  */
    43 #define COMMANDS_NOERROR        4 /* 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: -.  */
    4443#ifdef CONFIG_WITH_EXTENDED_NOTPARALLEL
    4544# define COMMANDS_NOTPARALLEL   32  /* kmk: The commands must be executed alone. */
     
    5352#endif
    5453
     54RETSIGTYPE fatal_error_signal (int sig);
    5555void execute_file_commands (struct file *file);
    5656void print_commands (const struct commands *cmds);
Note: See TracChangeset for help on using the changeset viewer.