version 1.16, 2009/03/29 19:17:26 |
version 1.17, 2014/01/08 13:23:55 |
|
|
|
|
flags = 0; |
flags = 0; |
p = val = line; |
p = val = line; |
while (!isspace(*p) && *p != '\0') |
while (!isspace((unsigned char)*p) && *p != '\0') |
p++; |
p++; |
|
|
if (*p == '\0') |
if (*p == '\0') |
|
|
*(p++) = '\0'; |
*(p++) = '\0'; |
module = val; |
module = val; |
|
|
while (isspace(*p)) |
while (isspace((unsigned char)*p)) |
p++; |
p++; |
|
|
if (*p == '\0') |
if (*p == '\0') |
goto bad; |
goto bad; |
|
|
val = p; |
val = p; |
while (!isspace(*p) && *p != '\0') |
while (!isspace((unsigned char)*p) && *p != '\0') |
p++; |
p++; |
|
|
while (val[0] == '-') { |
while (val[0] == '-') { |
p = val; |
p = val; |
while (!isspace(*p) && *p != '\0') |
while (!isspace((unsigned char)*p) && *p != '\0') |
p++; |
p++; |
|
|
if (*p == '\0') |
if (*p == '\0') |
|
|
} |
} |
|
|
val = p; |
val = p; |
while (!isspace(*val) && *val != '\0') |
while (!isspace((unsigned char)*val) && *val != '\0') |
val++; |
val++; |
if (*val == '\0') |
if (*val == '\0') |
goto bad; |
goto bad; |
|
|
|
|
for (sp = val; *sp != '\0'; sp = dp) { |
for (sp = val; *sp != '\0'; sp = dp) { |
dp = sp; |
dp = sp; |
while (!isspace(*dp) && *dp != '\0') |
while (!isspace((unsigned char)*dp) && *dp != '\0') |
dp++; |
dp++; |
if (*dp != '\0') |
if (*dp != '\0') |
*(dp++) = '\0'; |
*(dp++) = '\0'; |