mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
scripts/specialize-patch: Add more debugging output
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6512 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -374,9 +374,12 @@ function process_preprocessor_statement(evaluated, condition) {
|
||||
if (condition)
|
||||
{
|
||||
output = 1
|
||||
if (debug)
|
||||
printf "/* debug specialize-patch: (g1a) if_nesting_level = %d */\n", \
|
||||
if_nesting_level
|
||||
for (i = if_nesting_level; i >= 0; i--) {
|
||||
if (debug)
|
||||
printf "/* debug specialize-patch: (g1) %s: decision[%d] = %s */\n", \
|
||||
printf "/* debug specialize-patch: (g1b) %s: decision[%d] = %s */\n", \
|
||||
evaluated, i, decision[i]
|
||||
output = output && decision[i] != "+#if 0" && decision[i] != "+#elif 0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user