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"); |