[BACK]Return to varmodifiers.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/varmodifiers.c between version 1.2 and 1.3

version 1.2, 2000/07/17 23:26:51 version 1.3, 2000/07/17 23:54:26
Line 1072 
Line 1072 
                     termc = *cp;                      termc = *cp;
                     break;                      break;
                 }                  }
                 /*FALLTHRU*/                  /* FALLTHROUGH */
             case 'T':              case 'T':
                 if (tstr[1] == endc || tstr[1] == ':') {                  if (tstr[1] == endc || tstr[1] == ':') {
                     newStr = VarModify(str, VarTail, NULL);                      newStr = VarModify(str, VarTail, NULL);
Line 1080 
Line 1080 
                     termc = *cp;                      termc = *cp;
                     break;                      break;
                 }                  }
                 /*FALLTHRU*/                  /* FALLTHROUGH */
             case 'H':              case 'H':
                 if (tstr[1] == endc || tstr[1] == ':') {                  if (tstr[1] == endc || tstr[1] == ':') {
                     newStr = VarModify(str, VarHead, NULL);                      newStr = VarModify(str, VarHead, NULL);
Line 1088 
Line 1088 
                     termc = *cp;                      termc = *cp;
                     break;                      break;
                 }                  }
                 /*FALLTHRU*/                  /* FALLTHROUGH */
             case 'E':              case 'E':
                 if (tstr[1] == endc || tstr[1] == ':') {                  if (tstr[1] == endc || tstr[1] == ':') {
                     newStr = VarModify(str, VarSuffix, NULL);                      newStr = VarModify(str, VarSuffix, NULL);
Line 1096 
Line 1096 
                     termc = *cp;                      termc = *cp;
                     break;                      break;
                 }                  }
                 /*FALLTHRU*/                  /* FALLTHROUGH */
             case 'R':              case 'R':
                 if (tstr[1] == endc || tstr[1] == ':') {                  if (tstr[1] == endc || tstr[1] == ':') {
                     newStr = VarModify(str, VarRoot, NULL);                      newStr = VarModify(str, VarRoot, NULL);
Line 1104 
Line 1104 
                     termc = *cp;                      termc = *cp;
                     break;                      break;
                 }                  }
                 /*FALLTHRU*/                  /* FALLTHROUGH */
             case 'U':              case 'U':
                 if (tstr[1] == endc || tstr[1] == ':') {                  if (tstr[1] == endc || tstr[1] == ':') {
                     newStr = VarModify(str, VarUppercase, NULL);                      newStr = VarModify(str, VarUppercase, NULL);
Line 1112 
Line 1112 
                     termc = *cp;                      termc = *cp;
                     break;                      break;
                 }                  }
                 /*FALLTHRU*/                  /* FALLTHROUGH */
             case 'L':              case 'L':
                 if (tstr[1] == endc || tstr[1] == ':') {                  if (tstr[1] == endc || tstr[1] == ':') {
                     newStr = VarModify(str, VarLowercase, NULL);                      newStr = VarModify(str, VarLowercase, NULL);
Line 1120 
Line 1120 
                     termc = *cp;                      termc = *cp;
                     break;                      break;
                 }                  }
                 /*FALLTHRU*/                  /* FALLTHROUGH */
 #ifdef SUNSHCMD  #ifdef SUNSHCMD
             case 's':              case 's':
                 if (tstr[1] == 'h' && (tstr[2] == endc || tstr[2] == ':')) {                  if (tstr[1] == 'h' && (tstr[2] == endc || tstr[2] == ':')) {
Line 1132 
Line 1132 
                     termc = *cp;                      termc = *cp;
                     break;                      break;
                 }                  }
                 /*FALLTHRU*/                  /* FALLTHROUGH */
 #endif  #endif
             default:              default:
             {              {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3