scripts/specialize-patch: Simplify implementation

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6513 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-09-17 20:57:11 +00:00
parent bd19ba30fd
commit ead4f8c43e

View File

@@ -400,8 +400,7 @@ function process_preprocessor_statement(evaluated, condition) {
delete_next_blank_line = 1
}
else if (output && (!condition \
|| condition && matching_if !~ "^+#if [01]" \
&& matching_if !~ "^+#elif [01]"))
|| condition && matching_if !~ "^+#(el|)if [01]"))
{
if (evaluated == "+#if undecided" \
|| (evaluated !~ "^+#if" \