}
if (!strcmp(option, "warn")) {
state->ws_error_action = warn_on_ws_error;
}
if (!strcmp(option, "warn")) {
state->ws_error_action = warn_on_ws_error;
}
if (!strcmp(option, "nowarn")) {
state->ws_error_action = nowarn_ws_error;
}
if (!strcmp(option, "nowarn")) {
state->ws_error_action = nowarn_ws_error;
}
if (!strcmp(option, "error")) {
state->ws_error_action = die_on_ws_error;
}
if (!strcmp(option, "error")) {
state->ws_error_action = die_on_ws_error;
}
if (!strcmp(option, "error-all")) {
state->ws_error_action = die_on_ws_error;
state->squelch_whitespace_errors = 0;
}
if (!strcmp(option, "error-all")) {
state->ws_error_action = die_on_ws_error;
state->squelch_whitespace_errors = 0;
}
if (!strcmp(option, "strip") || !strcmp(option, "fix")) {
state->ws_error_action = correct_ws_error;
}
if (!strcmp(option, "strip") || !strcmp(option, "fix")) {
state->ws_error_action = correct_ws_error;
if (apply_default_ignorewhitespace)
parse_ignorewhitespace_option(state, apply_default_ignorewhitespace);
}
if (apply_default_ignorewhitespace)
parse_ignorewhitespace_option(state, apply_default_ignorewhitespace);
}