version 1.17, 2009/05/05 19:35:30 |
version 1.18, 2015/10/18 03:04:11 |
|
|
TOP: |
TOP: |
cp1 = macros[i].mac_start; |
cp1 = macros[i].mac_start; |
while (cp1 != macros[i].mac_end) { |
while (cp1 != macros[i].mac_end) { |
while (isspace(*cp1)) { |
while (isspace((unsigned char)*cp1)) { |
cp1++; |
cp1++; |
} |
} |
cp2 = line; |
cp2 = line; |
|
|
*cp2++ = *++cp1; |
*cp2++ = *++cp1; |
break; |
break; |
case '$': |
case '$': |
if (isdigit(*(cp1+1))) { |
if (isdigit((unsigned char)*(cp1 + 1))) { |
j = 0; |
j = 0; |
while (isdigit(*++cp1)) { |
while (isdigit((unsigned char)*++cp1)) { |
j = 10*j + *cp1 - '0'; |
j = 10*j + *cp1 - '0'; |
} |
} |
cp1--; |
cp1--; |