scripts/specialize-patch: Simplify implementation

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

View File

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