mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
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:
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user