[BACK]Return to parse.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / usr.bin / make

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/usr.bin/make/parse.c between version 1.263 and 1.264

version 1.263, 2020/08/26 22:55:46 version 1.264, 2020/08/27 06:13:53
Line 1254  ParseDoDependency(char *line)
Line 1254  ParseDoDependency(char *line)
              * went well and FAILURE if there was an error in the               * went well and FAILURE if there was an error in the
              * specification. On error, line should remain untouched.               * specification. On error, line should remain untouched.
              */               */
             if (Arch_ParseArchive(&line, targets, VAR_CMD) != SUCCESS) {              if (!Arch_ParseArchive(&line, targets, VAR_CMD)) {
                 Parse_Error(PARSE_FATAL,                  Parse_Error(PARSE_FATAL,
                              "Error in archive specification: \"%s\"", line);                               "Error in archive specification: \"%s\"", line);
                 goto out;                  goto out;
Line 1713  ParseDoDependency(char *line)
Line 1713  ParseDoDependency(char *line)
   
             if (*cp == LPAREN) {              if (*cp == LPAREN) {
                 sources = Lst_Init();                  sources = Lst_Init();
                 if (Arch_ParseArchive(&line, sources, VAR_CMD) != SUCCESS) {                  if (!Arch_ParseArchive(&line, sources, VAR_CMD)) {
                     Parse_Error(PARSE_FATAL,                      Parse_Error(PARSE_FATAL,
                                  "Error in source archive spec \"%s\"", line);                                   "Error in source archive spec \"%s\"", line);
                     goto out;                      goto out;

Legend:
Removed from v.1.263  
changed lines
  Added in v.1.264

CVSweb <webmaster@jp.NetBSD.org>