[BACK]Return to cond.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/cond.c between version 1.281 and 1.282

version 1.281, 2021/12/05 10:11:31 version 1.282, 2021/12/09 20:13:09
Line 1211  Cond_EvalLine(const char *line)
Line 1211  Cond_EvalLine(const char *line)
         if (IsEndif(p)) {       /* It is an '.endif'. */          if (IsEndif(p)) {       /* It is an '.endif'. */
                 if (p[5] != '\0') {                  if (p[5] != '\0') {
                         Parse_Error(PARSE_FATAL,                          Parse_Error(PARSE_FATAL,
                             "The .endif directive does not take arguments.");                              "The .endif directive does not take arguments");
                 }                  }
   
                 if (cond_depth == cond_min_depth) {                  if (cond_depth == cond_min_depth) {
Line 1242  Cond_EvalLine(const char *line)
Line 1242  Cond_EvalLine(const char *line)
   
                         if (p[2] != '\0')                          if (p[2] != '\0')
                                 Parse_Error(PARSE_FATAL,                                  Parse_Error(PARSE_FATAL,
                                             "The .else directive "                                      "The .else directive "
                                             "does not take arguments.");                                      "does not take arguments");
   
                         if (cond_depth == cond_min_depth) {                          if (cond_depth == cond_min_depth) {
                                 Parse_Error(PARSE_FATAL, "if-less else");                                  Parse_Error(PARSE_FATAL, "if-less else");

Legend:
Removed from v.1.281  
changed lines
  Added in v.1.282

CVSweb <webmaster@jp.NetBSD.org>