patch 9.0.1353: too many "else if" statements to handle option values
Problem: Too many "else if" statements to handle option values.
Solution: Add more functions to handle option value changes. (Yegappan
Lakshmanan, closes #12058)
diff --git a/src/structs.h b/src/structs.h
index 6552939..d33ddb2 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -4819,4 +4819,9 @@
// When set by the called function: Stop processing the option further.
// Currently only used for boolean options.
int os_doskip;
+
+ // If the value specified for an option is not valid and the error message
+ // is parameterized, then the "os_errbuf" buffer is used to store the error
+ // message (when it is not NULL).
+ char *os_errbuf;
} optset_T;